JPH0256169A - Constant speed control device and image reading device - Google Patents
Constant speed control device and image reading deviceInfo
- Publication number
- JPH0256169A JPH0256169A JP63207601A JP20760188A JPH0256169A JP H0256169 A JPH0256169 A JP H0256169A JP 63207601 A JP63207601 A JP 63207601A JP 20760188 A JP20760188 A JP 20760188A JP H0256169 A JPH0256169 A JP H0256169A
- Authority
- JP
- Japan
- Prior art keywords
- sub
- phase difference
- data
- scanning unit
- encoder
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Landscapes
- Facsimile Scanning Arrangements (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明は制御対象を定速度に制御する定速度制御装置に
関するものであり、例えば、画像読み取り装置、ディジ
タル複写機の副走査ユニットの駆動制御に用いる。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a constant speed control device that controls a controlled object at a constant speed, and is used, for example, to drive control of a sub-scanning unit of an image reading device or a digital copying machine. .
従来の技術
近年、画像読み取り装置およびディジタル複写機の画像
読み取り部は、読み取り速度の高速化が要求され、文様
々な編集機能をもつので、画像読み取り部の副走査ユニ
ットの駆動制御に、定速度制御時の高い精度や定速度制
御時以外でも様々な柔軟な動作が要求される。2. Description of the Related Art In recent years, the image reading units of image reading devices and digital copying machines are required to have higher reading speeds and have various editing functions. High precision during control and various flexible operations are required even outside of constant speed control.
従来の定速度制御装置はPLL (フェーズ・ロックド
・ループ)制御を用いるのが一般的であり、定速度制御
時以外の柔軟な制御が困難であった。Conventional constant speed control devices generally use PLL (phase locked loop) control, making it difficult to perform flexible control other than during constant speed control.
(例えば特開昭59−63876号公報、特開昭61−
45670号公報)
発明が解決しようとする課題
従来の定速度制御装置では、停止、反転、加減速プロフ
ィール制御など、定速度制御以外の制御が容易ではなか
った。(For example, JP-A No. 59-63876, JP-A No. 61-Sho.
45670 Publication) Problems to be Solved by the Invention In conventional constant speed control devices, it is not easy to perform controls other than constant speed control, such as stopping, reversing, and acceleration/deceleration profile control.
本発明は上記問題点に鑑み、定速度制御時の制御性能を
PLL制御と同等に保ちつつ、PLL制御の欠点である
同期はずれをなくし、定速度制御時以外の柔軟な制御動
作を容易に行うことのできる定速度制御装置を提供しよ
うとするものである。In view of the above problems, the present invention maintains the control performance during constant speed control equivalent to PLL control, eliminates the synchronization loss that is a drawback of PLL control, and easily performs flexible control operations other than during constant speed control. The purpose of this invention is to provide a constant speed control device that can control the speed of the vehicle.
課題を解決するための手段
本発明による定速度制御装置は、定速度制御する制御対
象と、制御対象を駆動する駆動手段と、制御対象の位置
を測定するためのエンコーダと、定速度制御すべき速度
に対応した基準クロックを発生する手段と、前記クロッ
クと、エンコーダの出力する位置に対応したエンコーダ
パルスとの位相差を測定する位相差測定手段と、エンコ
ーダの位置情報と前記基準クロックとエンコーダパルス
の位相差を合成して制御対象の位置情報とする位置情報
合成手段と、位置サーボループを形成する手段からなる
。Means for Solving the Problems A constant speed control device according to the present invention includes a controlled object to be controlled at a constant speed, a driving means for driving the controlled object, an encoder for measuring the position of the controlled object, and a device to be controlled at a constant speed. means for generating a reference clock corresponding to the speed; phase difference measuring means for measuring the phase difference between the clock and the encoder pulse corresponding to the position output by the encoder; position information of the encoder, the reference clock and the encoder pulse; The control device is composed of a position information synthesizing means for synthesizing the phase differences between the two to obtain position information of the controlled object, and a means for forming a position servo loop.
ひとつの好ましい例として、位置情報合成手段は、マイ
クロプロセッサを用いる。As one preferable example, the position information synthesis means uses a microprocessor.
もうひとつの好ましい例として、位相差測定手段は、定
速度制御すべき速度に対応した基準クロックとエンコー
ダパルスとの位相差の時間を、前記基準クロックの周期
より小さい周期の位相差測定用クロックで計数する。As another preferred example, the phase difference measuring means measures the phase difference time between the reference clock and the encoder pulse corresponding to the speed to be controlled using a phase difference measuring clock having a cycle smaller than the cycle of the reference clock. Count.
本発明による画像読み取り装置は、原稿を載置する原稿
台と、原稿を照明する光源と、イメージセンサと、原稿
からの反射光又は透過光をイメージセンサ上の集束する
光学系と、前記光源を含み原稿台上の原稿を走査する副
走査ユニットと、前記副走査ユニットを駆動する駆動手
段と、副走査ユニットの位置を測定するためのエンコー
ダと、副走査速度に対応した基準クロックを発生する手
段と、前記クロックと、エンコーダの出力する位置に対
応したエンコーダパルスとの位相差を測定する位相差測
定手段と、エンコーダの位置情報と前記基準クロックと
エンコーダパルスの位相差を合成して副走査ユニットの
位置情報とする位置情報合成手段と、位置サーボループ
を形成する手段から成る。An image reading device according to the present invention includes a document table on which a document is placed, a light source that illuminates the document, an image sensor, an optical system that focuses reflected light or transmitted light from the document on the image sensor, and the light source. A sub-scanning unit that scans a document on a document table, a driving means for driving the sub-scanning unit, an encoder for measuring the position of the sub-scanning unit, and a means for generating a reference clock corresponding to a sub-scanning speed. a phase difference measuring means for measuring a phase difference between the clock and an encoder pulse corresponding to a position output by the encoder; and a sub-scanning unit that synthesizes the position information of the encoder and the phase difference between the reference clock and the encoder pulse. It consists of a position information synthesizing means for generating position information, and a means for forming a position servo loop.
作用
本発明は上述した構成により制御対象を精密にかつ柔軟
に制御することができる。Operation The present invention can precisely and flexibly control a controlled object with the above-described configuration.
実施例
以下本発明の一実施例の定速度制御装置、画像読み取り
装置を用いたディジタル複写機について図面を参照しな
がら説明する。Embodiment A digital copying machine using a constant speed control device and an image reading device according to an embodiment of the present invention will be described below with reference to the drawings.
第1図はディジタル複写機の概略外観図である。FIG. 1 is a schematic external view of a digital copying machine.
1は給紙カセット、2は原稿カバー、3はキー表示部な
どを具備する操作パネル、4は排紙トレーであり、−船
釣な複写機と同様である。5a。1 is a paper feed cassette, 2 is a document cover, 3 is an operation panel having a key display section, etc., and 4 is a paper discharge tray, which is similar to a copying machine carried on a boat. 5a.
5bはトリミング等の編集操作を行うときに用いる座標
入力用タブレットとペンである。Reference numeral 5b denotes a coordinate input tablet and pen used when performing editing operations such as trimming.
第2図は第1図の複写機の内部構成及び副走査ユニット
の駆動部分を表すブロック図である。透明な原稿台14
の上に原稿11を置き、原稿カバー2により原稿11を
原稿台14に押える。光源15により原稿面を照らし、
原稿から反射した光をロッドレンズアレイ16により、
ラインイメージセンサ28上に集束する。イメージセン
サ28は原稿11からの反射光量に応じた電気信号30
を出力する。画像信号処理部21はイメージセンサ28
の出力30を入力とし、A/D変換、シェーディング補
正、ガンマ補正、擬似中間調処理などの信号処理を行な
いプリンタ部23にビデオデータ31を出力する。FIG. 2 is a block diagram showing the internal structure of the copying machine shown in FIG. 1 and the driving portion of the sub-scanning unit. Transparent manuscript table 14
The original 11 is placed on top of the original and the original 11 is pressed against the original table 14 by the original cover 2. The light source 15 illuminates the document surface,
The light reflected from the original is transmitted through the rod lens array 16.
It is focused onto the line image sensor 28. The image sensor 28 generates an electrical signal 30 according to the amount of light reflected from the original 11.
Output. The image signal processing unit 21 is an image sensor 28
The video data 31 is outputted to the printer section 23 after signal processing such as A/D conversion, shading correction, gamma correction, and pseudo halftone processing is performed.
光源15、ロッドレンズアレイ16、イメージセンサ2
8を含む副走査ユニット29は、ワイヤ38、ブー’J
17a、17bを介してモータ19により、矢印S方向
に駆動されて原稿の副走査を行うゆモータ19の速度、
すなわち副走査ユニット29の速度と位置はパルスエン
コーダ20の出力を元にして得られる。Light source 15, rod lens array 16, image sensor 2
8, the sub-scanning unit 29 includes a wire 38, a Boo'J
The speed of the motor 19 which is driven in the direction of arrow S by the motor 19 via 17a and 17b to perform sub-scanning of the document;
That is, the speed and position of the sub-scanning unit 29 are obtained based on the output of the pulse encoder 20.
白色基準板13は、イメージセンサ28の素子毎の感度
ばらつきや光R15の照度むらを補正するシューディン
グ補正を行うためのものである。The white reference plate 13 is used to perform shuding correction to correct variations in sensitivity among elements of the image sensor 28 and unevenness in illuminance of the light R15.
原稿位置検出回路22は画像信号処理部21の出力する
濃度を含むデータ32から原稿台上の原稿の位置を検出
する。原稿の位置検出は、あらかじめ原稿をプリスキャ
ンすることにより行う。The document position detection circuit 22 detects the position of the document on the document table from data 32 including density output from the image signal processing section 21. The position of the original is detected by pre-scanning the original.
副走査ユニット制御ユニット24は、モータ19に連結
されたパルスエンコーダ2oの出方信号36ト操作パネ
ル3上の複写モード選択キー27からの複写モード選択
データ34、座標入力用タブレッ)5aからの座標指示
データ35及び原稿位置検出回路22からの原稿位置デ
ータ33を用いて、モータドライバ25に与えるトルク
指令37を出力して、副走査ユニット29の制御を行う
。複写モード選択データ34は等倍、拡大、縮小、移動
、連続複写などの複写モード指示データや拡大率、縮小
率などの指示データを含む。電源投入時、副走査ユニッ
ト29を原点センサ18の方向に駆動する。原点センサ
18は副走査ユニット29を検出すると検出信号136
を出力し、副走査ユニット制御ユニット24に含まれる
位置カウンタ(後述)をリセットする。The sub-scanning unit control unit 24 receives an output signal 36 from a pulse encoder 2o connected to a motor 19, copy mode selection data 34 from a copy mode selection key 27 on the operation panel 3, and coordinates from a coordinate input tablet 5a. Using the instruction data 35 and document position data 33 from the document position detection circuit 22, a torque command 37 given to the motor driver 25 is outputted to control the sub-scanning unit 29. The copy mode selection data 34 includes copy mode instruction data such as equal size, enlargement, reduction, movement, and continuous copying, and instruction data such as enlargement rate and reduction rate. When the power is turned on, the sub-scanning unit 29 is driven in the direction of the origin sensor 18. When the origin sensor 18 detects the sub-scanning unit 29, it outputs a detection signal 136.
is output, and a position counter (described later) included in the sub-scanning unit control unit 24 is reset.
第3図は、プリンタ部23の概略構成図である。FIG. 3 is a schematic diagram of the printer section 23. As shown in FIG.
給紙カセット1に格納されたプリント用紙51は、給紙
ローラ52のより1対のガイドvi54の間に導かれ、
1対のローラ55により感光体ドラム68に接触される
。一方スキャナモータ66はポリゴンミラー65を回転
する。ポリゴンミラー65は半導体レーザ67からのレ
ーザビームを反射して感光体ドラム68上を走査する。The print paper 51 stored in the paper feed cassette 1 is guided between a pair of guides vi54 by the paper feed roller 52,
The photosensitive drum 68 is brought into contact with the pair of rollers 55 . On the other hand, the scanner motor 66 rotates the polygon mirror 65. The polygon mirror 65 reflects the laser beam from the semiconductor laser 67 and scans the photoreceptor drum 68.
感光体ドラム68は矢印R方向に回転する。帯電器57
は感光体ドラム68を帯電する。The photosensitive drum 68 rotates in the direction of arrow R. Charger 57
charges the photosensitive drum 68.
レーザー駆動回路64は半導体レーザ67の出力レーザ
ービームをビデオデータ31で変調する。変調されたレ
ーザービームは潜像を感光体ドラム68上に形成する。Laser drive circuit 64 modulates the output laser beam of semiconductor laser 67 with video data 31. The modulated laser beam forms a latent image on photoreceptor drum 68.
現像器56で感光体ドラム68上の潜像をトナーで現像
する。転写用帯電器59はプリント用紙上に感光体ドラ
ム68上のトナーを転写する。剥離用帯電器60はプリ
ント用紙を感光体ドラム68がら剥離する。搬送ベルト
61は感光体ドラム68から剥離されたプリント用紙を
定着器62へ搬送する。A developing device 56 develops the latent image on the photosensitive drum 68 with toner. The transfer charger 59 transfers the toner on the photosensitive drum 68 onto the print paper. The stripping charger 60 strips the print paper from the photosensitive drum 68. The conveyor belt 61 conveys the print paper separated from the photoreceptor drum 68 to the fixing device 62 .
定着器62はプリント用紙上に転写されたトナーをプリ
ント用紙に定着する。プリント用紙は1対の排紙ローラ
63により排紙プレート4に排紙される。The fixing device 62 fixes the toner transferred onto the print paper onto the print paper. The print paper is discharged onto the paper discharge plate 4 by a pair of paper discharge rollers 63 .
給紙センサ53はプリント用紙が給紙されたことを検出
し、給紙検出信号135を出力する。このようなプリン
タ部は電子写真プロセスを用いたレーザービームプリン
タとしてよく知られている。Paper feed sensor 53 detects that print paper is fed, and outputs a paper feed detection signal 135. Such a printer unit is well known as a laser beam printer using an electrophotographic process.
第4図は第2図に示す副走査ユニットコントロール部2
4のブロック図である。マイクロプロセッシングユニッ
ト(M P U ; Micro processin
g unit)101はデータバス102を介してI1
0ポート103、ROM (リードオンリーメモリ;
r6Bd □nly mem。Figure 4 shows the sub-scanning unit control section 2 shown in Figure 2.
4 is a block diagram of FIG. Micro processing unit (MPU)
g unit) 101 via data bus 102.
0 port 103, ROM (read only memory;
r6Bd □nly mem.
ry) −1〜ROM−5,118,119,120,
121,122をアクセスする。MPUl0Iは、RO
M−1〜ROM−5に格納された、テーブルデータを用
いて、副走査ユニット29の存在すべき位置(以下位置
リファレンスと称する)や、持っているべき速度(速度
リファレンスと称する)などを算出する。ry) -1~ROM-5, 118, 119, 120,
121 and 122 are accessed. MPUl0I is RO
Using the table data stored in M-1 to ROM-5, calculate the position where the sub-scanning unit 29 should exist (hereinafter referred to as position reference), the speed it should have (hereinafter referred to as speed reference), etc. do.
ROM−1〜ROM−5に格納されるテーブルデータに
ついては後に詳しく述べる。The table data stored in ROM-1 to ROM-5 will be described in detail later.
エンコーダ回路114はパルスエンコーダ20からの2
相信号36を入力とし方向弁別を行い、モータ19の正
転、逆転パルス115.116を発生する。位置カウン
タ117はエンコーダ回路114の出力する止層、逆転
パルス115.116をクロック入力とする可逆カウン
タである。位置カウンタ117は、原点センサ18から
の原点検出信号136によりリセットされる。アップダ
ンカウンタ117の値をラッチ143によりラッチする
。ラッチ143のクロック入力はクロック発生回路11
2より出力される基準クロック134である。MPUl
0Iは、位置カウンタのラッチしたカウント出力データ
をI10ボート103を介してリードし、副走査ユニッ
ト29の現在位置を知る。さらにMPUl0Iは、複写
モード選択キー27からの複写モード選択データ34、
座標入力用タブレット5aからの座標指示データ35、
原稿位置検出回路22からの原稿位置データ33を、I
10ボート103を介してアクセスできる。給紙センサ
53からの給紙検出信号135は、MPUl0Iに割込
信号として入力する。Encoder circuit 114 receives two signals from pulse encoder 20.
Direction discrimination is performed using the phase signal 36 as input, and forward rotation and reverse rotation pulses 115 and 116 of the motor 19 are generated. The position counter 117 is a reversible counter whose clock input is the stoppage and reversal pulses 115 and 116 output from the encoder circuit 114. The position counter 117 is reset by the origin detection signal 136 from the origin sensor 18. The value of the up-down counter 117 is latched by the latch 143. The clock input of the latch 143 is the clock generation circuit 11
This is the reference clock 134 output from 2. MPUl
The 0I reads the latched count output data of the position counter via the I10 port 103 and learns the current position of the sub-scanning unit 29. Furthermore, the MPUl0I receives copy mode selection data 34 from the copy mode selection key 27,
Coordinate instruction data 35 from the coordinate input tablet 5a,
The document position data 33 from the document position detection circuit 22 is
10 boat 103. A paper feed detection signal 135 from the paper feed sensor 53 is input to MPU10I as an interrupt signal.
MPUl0I、D/Aコンバータ 104、リード/ラ
グフィルタ105、アンプ106、ローパスフィルタ1
07、モータードライバ25、モータ19、パルスエン
コーダ20、エンコーダ回路114、位置カウンタ11
7及び位相差検出回路140で位置制御を行なう位置サ
ーボループを構成する。位相差検出回路140について
は、後に詳しく説明する。MPU101 、D/Aコン
バータ104、アンプ109、ローパスフィルタ 11
0、モータードライバ25、モータ19、パルスエンコ
ーダ20、エンコータ回路114、位置カウンタ117
で速度制御を行なう速度サーボループを構成する。セレ
クタ108は位置サーボループと速度サーボループの一
方を選択する。MPUl0I, D/A converter 104, lead/lag filter 105, amplifier 106, low pass filter 1
07, motor driver 25, motor 19, pulse encoder 20, encoder circuit 114, position counter 11
7 and a phase difference detection circuit 140 constitute a position servo loop that performs position control. The phase difference detection circuit 140 will be explained in detail later. MPU 101, D/A converter 104, amplifier 109, low pass filter 11
0, motor driver 25, motor 19, pulse encoder 20, encoder circuit 114, position counter 117
Configure a speed servo loop that performs speed control. Selector 108 selects either the position servo loop or the velocity servo loop.
次に位相差検出回路140について、第17図を用いて
説明する。第17図は位相差検出回路140のブロック
図である。Next, the phase difference detection circuit 140 will be explained using FIG. 17. FIG. 17 is a block diagram of the phase difference detection circuit 140.
パルスエンコーダ20からの2相信号36をワンショッ
トマルチバイブレータ201.202.203.204
に入力する。各ワンショットマルチバイブレータは立ち
上り又は、立ち下がりエツジでトリガされローパルスを
出力する。ANDゲート205はパルスエンコーダの出
力する2相信号36のすべてのエツジをローパルス化し
た信号を出力することになる。The two-phase signal 36 from the pulse encoder 20 is sent to the one-shot multivibrator 201.202.203.204.
Enter. Each one-shot multivibrator is triggered by a rising or falling edge and outputs a low pulse. The AND gate 205 outputs a signal in which all edges of the two-phase signal 36 output from the pulse encoder are made into low pulses.
ANDゲート205の出力はカウンタ(3ビツト)20
7をクリアすると共に、D、FF206のクロックとな
る。D、FF206のクロックに入力があると頁出力が
ローになり、NORゲート208の出力かハイになりカ
ウンタ207がイネーブルになる。The output of the AND gate 205 is the counter (3 bits) 20
7 is cleared and serves as the clock for D and FF 206. When there is an input to the clock of D, FF 206, the page output becomes low, the output of NOR gate 208 becomes high, and counter 207 is enabled.
カウンタ207は位相差検出用クロック142を計数す
る。基準クロック134が入力されるとり、FF206
はクリアされ、カウンタ207はディスイネーブルとな
ると共に計数値がラッチ209にラッチされる。これに
よってエンコーダパルスのすべてのエツジと、基準クロ
ック1340位相差の時間を計測する。The counter 207 counts the phase difference detection clock 142. When the reference clock 134 is input, the FF 206
is cleared, the counter 207 is disabled, and the count value is latched in the latch 209. This measures the time difference between all edges of the encoder pulse and the reference clock 1340 phase.
副走査ユニット29を位置プロフィール制御による定速
度制御する場合について、動作を説明する。The operation will be described in the case where the sub-scanning unit 29 is controlled at a constant speed by position profile control.
D/Aコンバータ104は8ビツトデータを入力とし、
データが°80’HのときOCV)を出力する。The D/A converter 104 receives 8-bit data as input,
When the data is °80'H, OCV) is output.
クロック発生回路112は基準クロック134を発生し
てMPUl0Iに割込みを発生させる。例えば基準クロ
ックの周期を400m5ec、位置カウンタ117の出
力のLSBを63.5μm、クロック発生回路より出力
される位相差計測用クロック142の周期を、基準クロ
ックの周期の1/8である50m5ecとする。The clock generation circuit 112 generates a reference clock 134 to generate an interrupt to the MPU10I. For example, assume that the period of the reference clock is 400 m5ec, the LSB of the output of the position counter 117 is 63.5 μm, and the period of the phase difference measurement clock 142 output from the clock generation circuit is 50 m5ec, which is 1/8 of the period of the reference clock. .
MPUl0Iは基準クロック134の割込毎に、前回の
基準クロックによる割込み時の位置リファレンス(16
ビツトデータLSBは7.9375mm)に04Hを加
算して新しい位置リファレンスを算出し、算出した位置
リファレンスと、カウンタ117の値を3ビツト左にシ
フトして位相差検出回路の出力データ3ビツトを下位ビ
ットに加えてもとめた副走査ユニット29の位置データ
との差分に対応するデータをI10ボート103を介し
てD/Aコンバータ104にライトし、そのデータに応
じた電圧をD/Aコンバータ104に出力する。位相差
検出回路140で測定した計数値は位置カウンタ117
の下位ビットを拡張し、位置情報の分解能をあげる。リ
ード/ラグフィルタ105はD/Aコンバータ104の
出力電圧に対して位置サーボループを安定化するための
位相補償を行う。アンプ106はリード/ラグフィルタ
105の出力を増幅し、位置サーボループのフィードバ
ックゲインを決定する。ローパスフィルタ107はアン
プ106の出力に含まれる高周波成分を除去する。セレ
クタ108は、MPU101の出力する位置制御/速度
制御切換信号111によりローパスフィルタ107の出
力137をセレクトしモータドライバ25にモータトル
ク指令37を出力する。よって副走査ユニット29は常
に、MPU101が算出した位置リファレンスと副走査
ユニット29の位置が等しくなるよう制御される。For each interrupt of the reference clock 134, MPU10I uses the position reference (16
A new position reference is calculated by adding 04H to the bit data LSB (7.9375 mm), and the calculated position reference and the value of the counter 117 are shifted to the left by 3 bits, and the 3 bits of the output data of the phase difference detection circuit are shifted to the lower order. In addition to the bit, data corresponding to the difference with the obtained position data of the sub-scanning unit 29 is written to the D/A converter 104 via the I10 port 103, and a voltage corresponding to the data is output to the D/A converter 104. do. The count value measured by the phase difference detection circuit 140 is sent to the position counter 117.
Expand the lower bits of , increasing the resolution of position information. The lead/lag filter 105 performs phase compensation on the output voltage of the D/A converter 104 to stabilize the position servo loop. Amplifier 106 amplifies the output of lead/lag filter 105 and determines the feedback gain of the position servo loop. A low-pass filter 107 removes high frequency components contained in the output of the amplifier 106. The selector 108 selects the output 137 of the low-pass filter 107 based on the position control/speed control switching signal 111 output from the MPU 101 and outputs a motor torque command 37 to the motor driver 25. Therefore, the sub-scanning unit 29 is always controlled so that the position reference calculated by the MPU 101 and the position of the sub-scanning unit 29 are equal.
副走査ユニット29を位置制御する場合について、動作
を説明する。クロック発生回路112は基準クロック1
34を発生してMPUl0Iに割込みを発生させる。M
PUl0Iは基準クロック134の割込毎に、位置リフ
ァレンスを算出し、算出した位置リファレンスと、位置
カウンタ117の値を3ビツト左にシフトしてもとめた
副走査ユニット29の位置データとの差分に対応するデ
ータをI10ポート103を介してD/Aコンバータ1
04にライトし、そのデータに応じた電圧をD/Aコン
バータ104に出力する。The operation will be described when controlling the position of the sub-scanning unit 29. The clock generation circuit 112 uses the reference clock 1
34 to generate an interrupt to MPU10I. M
PU10I calculates a position reference every time the reference clock 134 interrupts, and corresponds to the difference between the calculated position reference and the position data of the sub-scanning unit 29 obtained by shifting the value of the position counter 117 to the left by 3 bits. The data is sent to the D/A converter 1 via the I10 port 103.
04, and outputs a voltage corresponding to the data to the D/A converter 104.
次に副走査ユニット29を速度制御する場合について動
作を説明する。MPUl0IはD/Aコンバータ104
に基準クロック134の割込毎にぐ算出した速度リファ
レンスと副走査ユニット29の速度の差分に対応するデ
ータをライトする。副走査ユニット29の速度は、一定
時間に副走査ユニット29の動いた距離から求めること
で得る。アンプ109はD/Aコンバータ104の出力
電圧を増幅し、速度サーボループのフィードバックゲイ
ンを決定する。Next, the operation when controlling the speed of the sub-scanning unit 29 will be described. MPU10I is D/A converter 104
Data corresponding to the difference between the calculated speed reference and the speed of the sub-scanning unit 29 is written every time the reference clock 134 interrupts. The speed of the sub-scanning unit 29 is obtained by determining the distance that the sub-scanning unit 29 moves in a certain period of time. Amplifier 109 amplifies the output voltage of D/A converter 104 and determines the feedback gain of the speed servo loop.
ローパスフィルタ110はノイズフィルタである。Low-pass filter 110 is a noise filter.
速度制御時には位置制御/速度制御切換信号111は、
セレクタ108がローパスフィルタ110の出力138
をセレクトしモータトルク指令37を出力するように制
御する。During speed control, the position control/speed control switching signal 111 is
The selector 108 selects the output 138 of the low-pass filter 110.
is selected and controlled to output a motor torque command 37.
第5図はオペアンプを用いたリード/ラグフィルタ10
5の回路図である。第6図はリード/ラグフィルタのボ
ード線図であり、周波数fnで位相を進ませることによ
り位置サーボループの位相補償を行う。Figure 5 shows lead/lag filter 10 using an operational amplifier.
5 is a circuit diagram. FIG. 6 is a Bode diagram of a lead/lag filter, in which the phase of the position servo loop is compensated by advancing the phase at frequency fn.
原稿位置検出回路22について、第7図、第8図を用い
て説明する。第7図は原稿位置検出回路22のブロック
図、第8図は原稿位置検出回路22の動作タイミングチ
ャートである。原稿位置を検出するときは、原稿台カバ
ー2の原稿側の色は黒にする。読取領域全域のブリスキ
ャンを一度行うことにより原稿の主走査方向の両エツジ
部を検出する。The document position detection circuit 22 will be explained using FIGS. 7 and 8. FIG. 7 is a block diagram of the document position detection circuit 22, and FIG. 8 is an operation timing chart of the document position detection circuit 22. When detecting the document position, the color of the document side of the document table cover 2 is set to black. Both edge portions of the document in the main scanning direction are detected by performing Briscan over the entire reading area once.
原稿位置検出回路22の動作を以下に説明する。画像信
号処理部21からのデータ32に含まれる濃度データ1
51は8ビツトのデータであり、黒で“FF’H1白で
“O’ Hである。濃度データ151はデータ32に含
まれるクロック164に同期度データ151は8ビツト
のデータであり、黒で’FF’H白で“0” Hである
。濃度データ151はデータ32に含まれるクロック1
64に同期している。スライスレベル発生回路169は
原稿の地肌濃度と原稿台の原稿側の濃度の中間の濃度に
対応する8ビツトのデータ152(以下スライスレベル
データと称する)を発生する。スライスレベルデータは
MPUから出力するようにしてもよい。The operation of the document position detection circuit 22 will be explained below. Density data 1 included in data 32 from image signal processing unit 21
51 is 8-bit data, which is "FF'H1" for black and "O'H" for white. The density data 151 is 8-bit data with respect to the clock 164 included in the data 32, and is ``FF''H for black and ``0''H for white. Concentration data 151 is clock 1 included in data 32
It is synchronized with 64. A slice level generation circuit 169 generates 8-bit data 152 (hereinafter referred to as slice level data) corresponding to an intermediate density between the background density of the original and the density on the original side of the original table. The slice level data may be output from the MPU.
コンパレータ153は濃度データ (DDATA) 1
51とスライスレベルデータ152をコンパレートし、
比較信号(COMP)を出力する。インバータ162は
クロック164を反転する。Dフリップフロップ154
はコンパレータ153の出力COMPをインバータ16
2の出力信号でラッチして信号LCOMPを出力する。Comparator 153 is concentration data (DDATA) 1
51 and slice level data 152,
Outputs a comparison signal (COMP). Inverter 162 inverts clock 164. D flip-flop 154
is the output COMP of the comparator 153 and the inverter 16
2 is latched and the signal LCOMP is output.
データ32に含まれるラインイネーブル信号(LENB
L)165はDDATA 151の1ラインの有効範囲
を示す信号である。Line enable signal (LENB) included in data 32
L) 165 is a signal indicating the effective range of one line of DDATA 151.
カウンタ161はLENBL 165をクリア入力しク
ロック164をクロック入力とし、DDATA 151
の主走査方向の位置の座標を出力する。データ32に含
まれるライン同期信号(LSYNC) 166は主走査
のトリガ信号である。Counter 161 clears LENBL 165, uses clock 164 as clock input, and outputs DDATA 151.
Outputs the coordinates of the position in the main scanning direction. A line synchronization signal (LSYNC) 166 included in the data 32 is a main scanning trigger signal.
インバータ155はDフリップフロップ154の出力L
COMPを反転する。Dフリップフロップ156はイン
バータ155の出力をクロック入力とし、D入力は旧G
Hレベルであり、LSYNC166をクリア入力とする
。ラッチ157はDフリップフロップ156の出力をラ
ッチクロックとし、カウンタ161の出力をラッチして
データL1を出力する。ラッチ158はDフリップフロ
ップ154の出力LCOMP4ラッチクロックとしカウ
ンタ161の出力をラッチしデータL2を出力する。イ
ンバータ163はLENBL 165を反転する。ラッ
チ159はインバータ163の出力をクロック入力とし
、ラッチ157の出力L1をラッチしてデータL316
7を出力する。ラッチ160はインバータ163の出力
をクロック入力とし、ラッチ158の出力L2をラッチ
してデータL416Bを出力する。ラッチ159.16
0の出力167、168はデータ33としI10ポート
103を介してMPUl0Iによりリードされる。The inverter 155 is the output L of the D flip-flop 154.
Invert COMP. The D flip-flop 156 uses the output of the inverter 155 as a clock input, and the D input is the old G
It is at H level, and LSYNC166 is used as a clear input. The latch 157 uses the output of the D flip-flop 156 as a latch clock, latches the output of the counter 161, and outputs data L1. The latch 158 uses the output LCOMP4 of the D flip-flop 154 as a latch clock, latches the output of the counter 161, and outputs data L2. Inverter 163 inverts LENBL 165. The latch 159 uses the output of the inverter 163 as a clock input, latches the output L1 of the latch 157, and stores the data L316.
Outputs 7. The latch 160 uses the output of the inverter 163 as a clock input, latches the output L2 of the latch 158, and outputs data L416B. Latch 159.16
Outputs 167 and 168 of 0 are read as data 33 by MPU10I via I10 port 103.
次に第8図を用いて原稿位置検出回路22の各信号の意
味を説明する。濃度信号DDATA 151はクロック
164に同期している。ラインイネーブル信号LENB
L 165はDDATA 151の有効範囲を示すアク
ティブハイの信号で、クロック164に同期している。Next, the meaning of each signal of the document position detection circuit 22 will be explained using FIG. Concentration signal DDATA 151 is synchronized to clock 164. Line enable signal LENB
L 165 is an active high signal indicating the valid range of DDATA 151 and is synchronized to clock 164 .
信号LENBL 165がノンアクティブ(LO−レベ
ル)のときDDATA 151の値は“FF’ Hであ
る。コンパレータ153の出力COMPをクロック16
4の反転信号でラッチした信号はLCOMPである。信
号LENBL165がアクティブ(HIG)Iレベル)
になった後、最初のLCQMPの立上がりエツジでカウ
ンタ161の出力C0UNTをラッチしたデータがLl
である。データLlをLENBLの立下がりエツジでラ
ッチしたデータがL3167である。信号LCOMPの
立上がりエツジでC0UNTをラッチしたデータがL2
である。When the signal LENBL 165 is non-active (LO-level), the value of DDATA 151 is "FF' H. The output COMP of the comparator 153 is clocked
The signal latched with the inverted signal of 4 is LCOMP. Signal LENBL165 is active (HIG) I level)
After that, the data latched from the output C0UNT of the counter 161 at the first rising edge of LCQMP becomes Ll.
It is. L3167 is data obtained by latching data Ll at the falling edge of LENBL. The data latched from C0UNT at the rising edge of signal LCOMP is transferred to L2.
It is.
データL2をLENBLの立下がりエツジでラッチした
データがL416Bである。すなわち1ライン走査終了
後、走査した1ライン中に原稿がない場合データL2.
L3は0゛である。原稿がある場合、主走査方向の原稿
のエツジ部の座標がデータL2及びL4である。L416B is data obtained by latching data L2 at the falling edge of LENBL. In other words, after one line scanning is completed, if there is no document in one scanned line, data L2.
L3 is 0゛. If there is a document, the coordinates of the edges of the document in the main scanning direction are data L2 and L4.
MPUl0IはデータL2.L4及び副走査ユニット2
9の位置データをプリスキャン中、随時リードすること
により、原稿のエツジの座標を知ることができる。原稿
が斜めに置かれていたときの警告を操作パネル3に表示
したり、原稿台14、原稿台カバー2の汚れによる、原
稿エツジの主走査方向座標の誤検出を、MPUl0Iの
プログラムによって除去できる。MPU10I is data L2. L4 and sub-scanning unit 2
By reading the position data No. 9 at any time during prescanning, the coordinates of the edge of the document can be known. A warning can be displayed on the operation panel 3 when the original is placed diagonally, and erroneous detection of the main scanning direction coordinates of the original edge due to dirt on the original platen 14 and the original platen cover 2 can be removed by the MPUl0I program. .
第4図のROM−1118、ROM−2119、ROM
−3120の格納するデータの内容について第9図を用
いて説明する。ROM-1118, ROM-2119, ROM in Figure 4
The contents of the data stored in -3120 will be explained using FIG.
ROM−1118は副走査ユニットの加速位置プロフィ
ールデータのデータテーブルを格納している。位置カウ
ンタ117の1ビツトに対応する副走査ユニットの移動
距離をPとする。MPUl0Iへの割込みパルス134
の割込周波数をf(Hz〕とすると、n番目の加速位置
プロフィールデータA (n)は、
A(n)=INT(+A−a (1/f−n)” ・
1/P)で求める。ROM-1118 stores a data table of acceleration position profile data of the sub-scanning unit. Let P be the moving distance of the sub-scanning unit corresponding to one bit of the position counter 117. Interrupt pulse 134 to MPUl0I
When the interrupt frequency of is f (Hz), the nth acceleration position profile data A (n) is A(n)=INT(+A-a (1/f-n)"
1/P).
ここで、INT()は整数化関数、aは加速度である。Here, INT() is an integerization function, and a is acceleration.
第9図(a)はROM−1のデータテーブルのデータ並
びを表す。第9図(a)のA (n) lはA (n)
の下位バイト、A (n) uは上位バイトである。第
11図(a)にROM−1のデータテーブルのデータの
グラフを示す。FIG. 9(a) shows the data arrangement of the data table of ROM-1. A (n) l in Figure 9(a) is A (n)
The lower byte of A (n) u is the upper byte. FIG. 11(a) shows a graph of data in the data table of ROM-1.
ROM−2119は加速を終了する位置に対応する位置
データの格納されているROM−1のアドレスを格納す
る。副走査方向の拡大、縮小複写を行うとき、拡大率m
〔%〕は、副走査ユニット29の速度Vs、プリンタの
プロセススピード■、5とすると、
m=Vp /Vs X 100 (%〕で表せる。ROM-2119 stores the address of ROM-1 where position data corresponding to the position where acceleration is to be ended is stored. When performing enlargement or reduction copying in the sub-scanning direction, the enlargement ratio m
[%] can be expressed as m=Vp/Vs x 100 (%), where the speed of the sub-scanning unit 29 is Vs and the process speed of the printer is 5.
すなわち、副走査ユニット29はVs−Vp/mX 1
00の速度までROM−1の加速位置プロフィールデー
タに基づいて加速した後、定速位置プロフィール制御に
移行する。副走査方向の拡大率に応じて、加速位置プロ
フィール制御を終了するROM−1118のアドレスを
ROM−2119に格納しておく。ROM−2のデータ
テーブルのデータZに)は
Z(m)=INT(2x Vp / (a −m)
・100)で表せる。That is, the sub-scanning unit 29 has Vs-Vp/mX 1
After accelerating to a speed of 00 based on the acceleration position profile data in ROM-1, the controller shifts to constant speed position profile control. The address of ROM-1118 at which the acceleration position profile control is to be terminated is stored in ROM-2119 in accordance with the enlargement ratio in the sub-scanning direction. Data Z in the data table of ROM-2) is Z(m) = INT(2x Vp / (a - m)
・It can be expressed as 100).
実際に使用する拡大率を50%〜400%の範囲とする
と、Z(ホ)(50≦m≦400)が有効データである
。第9図CO>はROM−2のデータテーブルのデータ
の並びを示す、Z(ホ)!はZ(ホ)の下位バイト、Z
に)Uは上位バイトである。If the magnification ratio actually used is in the range of 50% to 400%, then Z (e) (50≦m≦400) is valid data. FIG. 9 shows the arrangement of data in the data table of ROM-2. is the lower byte of Z (e), Z
) U is the upper byte.
ROM−3120は副走査ユニット29が停止状態から
加速し、定速になるまでの助走距離をテーブルデータと
して格納する。前述したように、副走査方向の拡大率に
応じて副走査ユニット29の原稿走査速度が変化するの
で、副走査方向の拡大率によって、副走査ユニット29
の加速距離が変化する。The ROM-3120 stores the run-up distance from when the sub-scanning unit 29 accelerates from a stopped state until it reaches a constant speed as table data. As described above, since the document scanning speed of the sub-scanning unit 29 changes depending on the magnification ratio in the sub-scanning direction, the scanning speed of the sub-scanning unit 29 changes depending on the magnification ratio in the sub-scanning direction.
The acceleration distance changes.
助走距離は、加速位置プロフィールデータを用いて加速
する加速距離と、加速を終了してから定速に整定するま
での整定距離の和である。助走距離テーブルデータD(
m)は
D(m)=A (’A Zh)) +m ・bで求めら
れる。The run-up distance is the sum of the acceleration distance for accelerating using the acceleration position profile data and the settling distance from the end of acceleration until settling to a constant speed. Run-up distance table data D (
m) is determined by D(m)=A ('A Zh)) +m ·b.
ここでm−bは整定距離であり、bは定数である。第9
図(C)にROM−3のテーブルデータの並びを示す。Here m-b is the settling distance and b is a constant. 9th
Figure (C) shows the arrangement of table data in ROM-3.
D(ホ)2はDに)の下位バイt−D6Tl)uは上位
バイトである。The lower byte t-D6Tl)u of D(E)2 is D) is the upper byte.
ROM−4121のデータ内容の説明の前に、副走査方
向の移動複写の方向について説明する。まず、第12図
(a)に示す原稿11を(b)の様に同一位置に複写す
る場合の副走査ユニット29の動作シーケンスについて
第13図、第14図を用いて説明する。第12図の矢印
Sは副走査の方向を示している。第13図は副走査ユニ
ット29と原稿11の位置関係を表す図である。Before explaining the data contents of the ROM-4121, the direction of movement copying in the sub-scanning direction will be explained. First, the operation sequence of the sub-scanning unit 29 when copying the original 11 shown in FIG. 12(a) at the same position as shown in FIG. 12(b) will be described with reference to FIGS. 13 and 14. Arrow S in FIG. 12 indicates the direction of sub-scanning. FIG. 13 is a diagram showing the positional relationship between the sub-scanning unit 29 and the document 11.
ホームポジションA点は複写機が複写動作を行っていな
いとき、副走査ユニット29が停止している位置である
。副走査ユニットの助走開始位置B点は原稿読取開始位
置Cから助走距離X1分A点側の位置である。D点は原
稿読取終了位置である。The home position A is the position where the sub-scanning unit 29 is stopped when the copying machine is not performing a copying operation. The run-up start position point B of the sub-scanning unit is a position on the side of point A by a run-up distance X1 from the document reading start position C. Point D is the original reading end position.
第14図は原稿を移動せずに複写するときの動作シーケ
ンス図である。複写動作を行っていないとき副走査ユニ
ットはホームポジションA点に停止している。複写動作
を開始すると、MPUl0Iはプリンタ部23にプリン
ト用紙の給紙指令170(第2図)を出力する。一方副
走査ユニット29は、A点でシューディング補正用の白
基準データを読取った後、給紙センサ53がプリント用
紙を検出するまでに速度プロフィール制御でB点への移
動を完了する。給紙センサ53がプリント用紙を検出し
てからTOsec後に副走査ユニット29は0点に達し
て画像信号をプリンタ部23に出力しなければならない
。副走査ユニット29が加速に要する時間をT1 se
cであるとすると、副走査ユニット29は給紙センサ5
3がプリント用紙を検出してからTo−T1 secの
間B点で停止した後、位置プロフィール制御に従って加
速を開始する。副走査ユニット29は0点からD点まで
位置プロフィール制御で原稿11の走査を行い、D点に
達すると、速度プロフィール制御でA点にリターンする
。FIG. 14 is an operation sequence diagram when copying without moving the original. When the copying operation is not being performed, the sub-scanning unit is stopped at the home position A point. When the copying operation is started, the MPU10I outputs a print paper feeding command 170 (FIG. 2) to the printer unit 23. On the other hand, after reading the white reference data for shading correction at point A, the sub-scanning unit 29 completes the movement to point B under speed profile control before the paper feed sensor 53 detects print paper. TOsec after the paper feed sensor 53 detects the print paper, the sub-scanning unit 29 must reach the zero point and output an image signal to the printer section 23. The time required for the sub-scanning unit 29 to accelerate is T1 se
c, the sub-scanning unit 29 is connected to the paper feed sensor 5.
3 stops at point B for To-T1 sec after detecting the print paper, and then starts accelerating according to the position profile control. The sub-scanning unit 29 scans the original 11 from point 0 to point D under position profile control, and when it reaches point D, returns to point A under speed profile control.
次に第12図(a)を(C)の様に移動し複写する場合
の副走査ユニット29の動作シーケンスを図15を用い
て説明する。この場合、副走査ユニット29の待機位置
すなわち加速開始位置はE点になる。E点はF点より副
走査ユニットの助走距離2’A点側の位置である。すな
わち原稿読取開始位置をB点からE点に移動することに
より副走査方向と逆方向への移動複写を行う。Next, the operation sequence of the sub-scanning unit 29 when moving and copying FIG. 12(a) as shown in FIG. 12(C) will be described with reference to FIG. 15. In this case, the standby position of the sub-scanning unit 29, that is, the acceleration start position is at point E. Point E is a position closer to point A than point F by an approach distance of 2' of the sub-scanning unit. That is, by moving the document reading start position from point B to point E, copying is performed in a direction opposite to the sub-scanning direction.
次に第12図(a)を(d)の様に移動複写を行う場合
の副走査ユニット29の動作シーケンスを第16図を用
いて説明する。この場合、給紙センサ53がプリント用
紙を検出してから、副走査ユニット29が0点に達する
までの時間はTO+T2となる。原稿の副走査方向に距
離りだけ移動して複写するときは、T t = L /
V pとすることにより移動複写を行う。Next, the operation sequence of the sub-scanning unit 29 when performing moving copying as shown in FIGS. 12(a) and 12(d) will be described with reference to FIG. 16. In this case, the time from when the paper feed sensor 53 detects the print paper until the sub-scanning unit 29 reaches the zero point is TO+T2. When copying by moving the original by a distance in the sub-scanning direction, T t = L /
Moving copying is performed by setting Vp.
ここでROM−4121のデータ内容について説明する
。助走時間T1は副走査方向の拡大率により変化するの
でTo−TIを表わすデータをあらかじめ拡大率に対す
るテーブルデータとしてROM−4に格納しておく。デ
ータは(TO−Tl)・fcとし時間計測用割込パルス
発生回路113の発生する周波数fcの割込みパルス1
39のMPUへの割込の数をカウントする。副走査方向
の拡大率をm%とすると、ROM−4121のテーブル
データW(ホ)は、
WCm)=INT ((′AZhL1/f+m−b/
Vs ) fc)で求まる。Here, the data contents of ROM-4121 will be explained. Since the run-up time T1 changes depending on the magnification ratio in the sub-scanning direction, data representing To-TI is stored in advance in the ROM-4 as table data for the magnification ratio. The data is (TO-Tl) fc, and the interrupt pulse 1 of frequency fc generated by the time measurement interrupt pulse generation circuit 113
Count the number of interrupts to the 39 MPUs. If the magnification rate in the sub-scanning direction is m%, the table data W(e) of ROM-4121 is as follows: WCm)=INT (('AZhL1/f+m-b/
Vs) fc).
ただし、Vs =Vp /mx 100T2に対応する
周波数fcの割込みカウント値はT2・fcで求められ
るので、移動複写の移動距離に応じて、MPUl0Iは
B点で停止している時間を決める割込カウント値を算出
できる。第10図(a)にROM−4のテーブルデータ
の並びを示す。However, since the interrupt count value of the frequency fc corresponding to Vs = Vp / mx 100T2 is obtained by T2・fc, MPU10I determines the interrupt count value that determines the time during which the copy is stopped at point B, depending on the moving distance of the moving copy. Values can be calculated. FIG. 10(a) shows the arrangement of table data in ROM-4.
W(m)fはW(m)はW(m)の下位バイト、W (
m) uは上位バイトである。W(m)f is W(m) is the lower byte of W(m), W(
m) u is the upper byte.
ROM−5122のデータ内容について説明する。The data contents of ROM-5122 will be explained.
ROM−5のデータは、副走査ユニット29をある位置
からある程度離れた目標位置に高速で移動するとき用い
る速度プロフィールデータを格納する。The data in the ROM-5 stores speed profile data used when the sub-scanning unit 29 is moved at high speed from a certain position to a target position a certain distance away.
すなわち、副走査ユニット29の位置と目標位置との距
離に対応した速度リファレンスのテーブルデータである
。このときは、副走査ユニット290制御方向は速度制
御に切換える。副走査ユニット29の速度■は、i X
i/f (iは整定数)の時間に副走査ユニット29
の移動した距離D=jXP (jは整数)より得る。す
なわち、
V= (j XP) / (i Xi/f )速度リフ
ァレンステーブルデータV (n)は、r
る。That is, it is table data of a speed reference corresponding to the distance between the position of the sub-scanning unit 29 and the target position. At this time, the control direction of the sub-scanning unit 290 is switched to speed control. The speed ■ of the sub-scanning unit 29 is i
The sub-scanning unit 29 at time i/f (i is an integer constant)
Obtained from the distance traveled by D=jXP (j is an integer). That is, V=(jXP)/(iXi/f) The speed reference table data V(n) is r.
ここで値80HはD/Aコンバータ104(第4図)の
0〔■〕オフセットデータ、a゛は加速度である。第1
0図(b)にROM−5のテーブルデータの並びを示す
。第11図(b)にROM−5のテーブルデータのグラ
フを示す。Here, the value 80H is 0 [■] offset data of the D/A converter 104 (FIG. 4), and a' is the acceleration. 1st
Figure 0 (b) shows the arrangement of table data in ROM-5. FIG. 11(b) shows a graph of table data of ROM-5.
次に、複写を行うときの副走査ユニット29の駆動シー
ケンスをMPUl0Iプログラムフローを中心に説明す
る。電源が投入されるとMPUl0Iは、D/Aコンバ
ータ104に’70’Hをライトする。Next, the driving sequence of the sub-scanning unit 29 when copying will be explained, focusing on the MPU10I program flow. When the power is turned on, MPU10I writes '70'H to the D/A converter 104.
D/Aコンバータ104は負電圧を出力するので、モー
タドライバ25のトルク指令は負となり、副走査ユニッ
ト29は原点センサ18の方向へ移動する。Since the D/A converter 104 outputs a negative voltage, the torque command of the motor driver 25 becomes negative, and the sub-scanning unit 29 moves in the direction of the origin sensor 18.
原点センサ18が副走査ユニット29を検出すると、副
走査ユニット29の位置をカウントする位置カウンタ1
17がクリアされる。位置カウンタ117のクリア後、
セレクタ108を切換えて速度制御ループを選択する。When the origin sensor 18 detects the sub-scanning unit 29, the position counter 1 counts the position of the sub-scanning unit 29.
17 is cleared. After clearing the position counter 117,
Selector 108 is switched to select the speed control loop.
ホームポジションと、副走査ユニット29の位置の差を
dlとすると、速度リファレンスとしてROM−5のデ
ータV (di)をリードして得る。副走査ユニットが
ホームポジションの近傍にくるまで速度リファレンスと
副走査ユニットの速度の差分をD/Aコンバータ104
に出力する。If the difference between the home position and the position of the sub-scanning unit 29 is dl, it is obtained by reading data V (di) from ROM-5 as a speed reference. The difference between the speed reference and the speed of the sub-scanning unit is converted to the D/A converter 104 until the sub-scanning unit is near the home position.
Output to.
このような速度プロフィール制御では、目標位置と副走
査ユニットの29距離が離れているとき、副走査ユニッ
トは高速に動き、近づくにつれて減速する。副走査ユニ
ットがホームポジションに十分近くまで移動したらセレ
クタ108を切り換えて位置制御ループをセレクトする
。複写要求が操作パネルから来るまで、位置リファレン
スをホームポジションとして、位置リファレンスと副走
査ユニットの位置の差分をD/Aコンバータ104に出
力する。位置制御では、副走査ユニットは位置リファレ
ンスの位置に停止するように制御される。In such speed profile control, the sub-scanning unit moves at high speed when the target position and the sub-scanning unit are 29 distance apart, and decelerates as the target position approaches. When the sub-scanning unit moves sufficiently close to the home position, the selector 108 is switched to select the position control loop. Until a copy request is received from the operation panel, the position reference is used as the home position, and the difference between the position reference and the position of the sub-scanning unit is output to the D/A converter 104. In the position control, the sub-scanning unit is controlled to stop at the position of the position reference.
複写要求があるとプリンタ23に給紙指令を出力し、速
度制御に切換え、副走査ユニット29の速度プロフィー
ル制御を行う。このときの目標位置は、原稿の先頭位置
もしくは座標入力用タブレットから入力された原稿読取
開始位置からROM−3のテーブルデータより得られる
助走距離を引いた位置である。この位置が待機位置であ
る。待機位置で位置制御を行い、副走査ユニットを停止
させる。When there is a copy request, a paper feeding command is output to the printer 23, switching to speed control, and speed profile control of the sub-scanning unit 29 is performed. The target position at this time is a position obtained by subtracting the run-up distance obtained from the table data of ROM-3 from the leading position of the original or the original reading start position input from the coordinate input tablet. This position is the standby position. Perform position control at the standby position and stop the sub-scanning unit.
ROM−4のテーブルデータを用いてTo−Tlを得て
、給紙センサ53がプリント用紙を検出してからTO−
Tl後、副走査ユニット29の加速を開始する。このと
き位置リファレンスはROM−1のテーブルデータを用
いて、待機位置にA (n)を加えることにより求める
。nは周波数rの割込が発生する毎にイクリメントする
。副走査ユニット29の位置が位置リファレンスと等し
くなるように、位置制御を行う。ROM−2のテーブル
データを用いて加速を終了し、定速度位置プロフィール
制御を行う。このときの位置リファレンスは、割込毎に
位置リファレンスに所定の値を加算することにより求め
る。割込周波数fを変えることにより、定速時の速度を
拡大率に応じて変える。副走査ユニット29が原稿読取
終了位置に達すると、速度制御に切換えて、目標位置を
ホームポジションにして、速度プロフィール制御を行い
、次にホーム位置で位置制御を行う。To-Tl is obtained using the table data in ROM-4, and after the paper feed sensor 53 detects print paper, TO-Tl is obtained.
After Tl, acceleration of the sub-scanning unit 29 is started. At this time, the position reference is obtained by adding A (n) to the standby position using table data in ROM-1. n is incremented every time an interrupt of frequency r occurs. Position control is performed so that the position of the sub-scanning unit 29 is equal to the position reference. Acceleration is terminated using table data in ROM-2, and constant velocity position profile control is performed. The position reference at this time is obtained by adding a predetermined value to the position reference for each interrupt. By changing the interrupt frequency f, the speed at constant speed is changed according to the enlargement ratio. When the sub-scanning unit 29 reaches the document reading end position, it switches to speed control, sets the target position to the home position, performs speed profile control, and then performs position control at the home position.
複数枚連続複写するときは、目標位置を待機位置とし、
速度プロフィール制御を行った後、待機位置で位置制御
を行う。複数枚の複写を行う場合、副走査ユニットは毎
回ホームポジションまでリターンしないので、1回の副
走査に要する副走査ユニットのシーケンス動作時間がみ
じかくなり、複写速度が従来より高速化できる。When copying multiple sheets continuously, set the target position to the standby position,
After performing speed profile control, position control is performed at the standby position. When copying a plurality of sheets, the sub-scanning unit does not return to the home position each time, so the sequence operation time of the sub-scanning unit required for one sub-scanning is shortened, and the copying speed can be made faster than before.
又、副走査ユニットの位置プロフィール制御を行うため
、副走査ユニットの助走時間、助走距離を正確に知るこ
とができるので、拡大、縮小、移動などの複写時でも、
複写した画像の位置精度が高い。又、副走査ユニットを
ある位置からある程度離れた目標位置まで移動するとき
は、速度プロフィール制御を行うので、モータのトルク
を最大限用いることができ、高速に移動することができ
る。In addition, since the position profile of the sub-scanning unit is controlled, the run-up time and run-up distance of the sub-scan unit can be accurately known, so even when copying is enlarged, reduced, or moved.
The positional accuracy of the copied image is high. Furthermore, when moving the sub-scanning unit from a certain position to a target position that is a certain distance away, speed profile control is performed, so the torque of the motor can be used to the maximum and it is possible to move at high speed.
発明の効果
エンコーダパルスと基準クロックとの位相差を計測し、
位相差データを用いて位置情報を拡張し、位置プロフィ
ール制御による定速度制御を行うことで、定速度制御時
の制御性能をPLL制御と同等に保ちつつ、PLL制御
の欠点である同期はずれをなくし、定速度制御時以外の
柔軟な制御動作を容易に行うことができる。Effects of the invention Measuring the phase difference between the encoder pulse and the reference clock,
By expanding position information using phase difference data and performing constant speed control using position profile control, control performance during constant speed control is maintained at the same level as PLL control, while eliminating synchronization, which is a drawback of PLL control. , flexible control operations other than constant speed control can be easily performed.
第1図は本発明の一実施例の複写機の外観図、第2図は
第1図の複写機の内部構成を示す概略ブロック図、第3
図は第2図のブロック図中のプリンタ部の内部構成を示
す概略構成図、第4図は第2図のブロック図中の副走査
ユニット制御部の内部ブロック図、第5図は第4図のブ
ロック図中のり−ド/ラグフィルターの一例を示す回路
図、第6図は第5図のフィルターの周波数特性図、第7
図は第2図のブロック図中の原稿位置検出回路の内部ブ
ロック図、第8図は第7図の回路の動作タイミングチャ
ート、第9図(a)、 (b)、 (C)はそれぞれ第
2図のブロック図中のROM−1,ROM−2゜ROM
−3のデータテーブルを示すメモリー配置図、第10図
(a)、 (b)はそれぞれ第2図のブロック図中のR
OM−4,ROM−5のデータテーブルを示すメモリー
配置図、第11図(a)、 (b)はそれぞれROM−
1,ROM−5のデータテーブルのデータを示すグラフ
、第12図は移動複写を説明するための原稿と複写画像
の位置関係を示す説明図、第13図は、原稿と副走査ユ
ニ・ノドの位置関係を示す側面図、第14図、第15図
、第16図はそれぞれ副走査ユニットの動作シーケンス
を示すシーケンス図、第17図は位相差検出回路のプロ
・ンク図である。
19・・・・・・モータ、20・・・・・・エンコーダ
、22・・・・・・原稿位置検出回路、23・・・・・
・プリンタ部、29・・・・・・副走査ユニット、 1
05・・・・・・リードラグフィルタ、 108・・・
・・・セレクタ。
代理人の氏名 弁理士 粟野重孝 はか1名第
図
第
図
r
log +
鋼
ト
!
第
図
ROMアドレス
(α)
ROM−1
ROMアドレス
RO閂−2
ρn M−、?
第
図
(α)
第12図
(α]FIG. 1 is an external view of a copying machine according to an embodiment of the present invention, FIG. 2 is a schematic block diagram showing the internal configuration of the copying machine of FIG. 1, and FIG.
The figure is a schematic block diagram showing the internal configuration of the printer section in the block diagram of FIG. 2, FIG. 4 is an internal block diagram of the sub-scanning unit control section in the block diagram of FIG. 2, and FIG. Figure 6 is a circuit diagram showing an example of the glue/lag filter in the block diagram. Figure 6 is a frequency characteristic diagram of the filter in Figure 5.
The figure is an internal block diagram of the document position detection circuit in the block diagram of Figure 2, Figure 8 is an operation timing chart of the circuit of Figure 7, and Figures 9 (a), (b), and (C) are the internal block diagram of the original position detection circuit in the block diagram of Figure 2. ROM-1, ROM-2゜ROM in the block diagram of Figure 2
10 (a) and (b) are the memory layout diagrams showing the data table of 3.
Memory layout diagrams showing the data tables of OM-4 and ROM-5, Figures 11 (a) and (b) are ROM-4 and ROM-5 data tables, respectively.
1. A graph showing the data of the data table of ROM-5. Fig. 12 is an explanatory diagram showing the positional relationship between the original and the copied image to explain moving copying. Fig. 13 is a graph showing the positional relationship between the original and the sub-scanning unit/nod. FIG. 14, FIG. 15, and FIG. 16 are sequence diagrams showing the operation sequence of the sub-scanning unit, respectively, and FIG. 17 is a sequence diagram of the phase difference detection circuit. 19...Motor, 20...Encoder, 22...Document position detection circuit, 23...
・Printer section, 29... Sub-scanning unit, 1
05...Lead-lag filter, 108...
···selector. Name of agent: Patent attorney Shigetaka Awano (1 person) Log + Hagano! Figure ROM address (α) ROM-1 ROM address RO key-2 ρn M-,? Figure (α) Figure 12 (α]
Claims (6)
駆動手段と、制御対象の位置を測定するためのエンコー
ダと、定速度制御すべき速度に対応した基準クロックを
発生する手段と、前記クロックと、エンコーダの出力す
る位置に対応したエンコーダパルスとの位相差を測定す
る位相差測定手段と、エンコーダの位置情報と前記基準
クロックとエンコーダパルスの位相差を合成して制御対
象の位置情報とする位置情報合成手段と、位置サーボル
ープを形成する手段とを具備することを特徴とする定速
度制御装置。(1) A controlled object to be controlled at a constant speed, a driving means for driving the controlled object, an encoder for measuring the position of the controlled object, a means for generating a reference clock corresponding to the speed to be controlled at a constant speed, and the aforementioned a phase difference measuring means for measuring a phase difference between a clock and an encoder pulse corresponding to a position output by the encoder; and a phase difference measuring means for measuring a phase difference between a clock and an encoder pulse corresponding to a position output from the encoder; 1. A constant speed control device comprising: a position information synthesizing means for forming a position servo loop; and a means for forming a position servo loop.
ることを特徴とする請求項(1)記載の定速度制御装置
。(2) The constant speed control device according to claim (1), wherein the position information synthesis means uses a microprocessor.
した基準クロックとエンコーダパルスとの位相差の時間
を、前記基準クロックの周期より小さい周期の位相差測
定用クロックで計数することを特徴とする請求項(1)
記載の定速度制御装置。(3) The phase difference measuring means counts the phase difference time between the reference clock and the encoder pulse corresponding to the speed to be controlled at constant speed using a phase difference measuring clock having a cycle smaller than the cycle of the reference clock. Characteristic claim (1)
Constant speed control device as described.
、イメージセンサと、原稿からの反射光又は透過光をイ
メージセンサ上の集束する光学系と、前記光源を含み原
稿台上の原稿を走査する副走査ユニットと、前記副走査
ユニットを駆動する駆動手段と、副走査ユニットの位置
を測定するためのエンコーダと、副走査速度に対応した
基準クロックを発生する手段と、前記クロックと、エン
コーダの出力する位置に対応したエンコーダパルスとの
位相差を測定する位相差測定手段と、エンコーダの位置
情報と前記基準クロックとエンコーダパルスの位相差を
合成して副走査ユニットの位置情報とする位置情報合成
手段と、位置サーボループを形成する手段とを具備する
ことを特徴とする画像読み取り装置。(4) A document table on which a document is placed, a light source that illuminates the document, an image sensor, an optical system that focuses reflected light or transmitted light from the document on the image sensor, and a document table that includes the light source and a light source that illuminates the document. A sub-scanning unit for scanning a document, a drive means for driving the sub-scanning unit, an encoder for measuring the position of the sub-scanning unit, a means for generating a reference clock corresponding to a sub-scanning speed, and the clock. , a phase difference measuring means for measuring a phase difference between the encoder pulse corresponding to the position output by the encoder, and combining the position information of the encoder and the phase difference between the reference clock and the encoder pulse to obtain position information of the sub-scanning unit. An image reading device comprising: position information synthesis means; and means for forming a position servo loop.
ることを特徴とする請求項(4)記載の画像読み取り装
置。(5) The image reading device according to claim (4), wherein the position information synthesis means uses a microprocessor.
ロックとエンコーダパルスとの位相差の時間を、前記基
準クロックの周期より小さい周期の位相差測定用クロッ
クで計数することを特徴とする請求項(4)記載の画像
読み取り装置。(6) The phase difference measuring means is characterized in that the time of the phase difference between the reference clock and the encoder pulse corresponding to the sub-scanning speed is counted using a phase difference measuring clock having a cycle smaller than the cycle of the reference clock. The image reading device according to claim (4).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63207601A JPH0779405B2 (en) | 1988-08-22 | 1988-08-22 | Constant speed controller and image reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63207601A JPH0779405B2 (en) | 1988-08-22 | 1988-08-22 | Constant speed controller and image reader |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0256169A true JPH0256169A (en) | 1990-02-26 |
| JPH0779405B2 JPH0779405B2 (en) | 1995-08-23 |
Family
ID=16542478
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63207601A Expired - Fee Related JPH0779405B2 (en) | 1988-08-22 | 1988-08-22 | Constant speed controller and image reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0779405B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116224875A (en) * | 2023-03-14 | 2023-06-06 | 苏州苏映视图像软件科技有限公司 | Visual frequency division control system |
-
1988
- 1988-08-22 JP JP63207601A patent/JPH0779405B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116224875A (en) * | 2023-03-14 | 2023-06-06 | 苏州苏映视图像软件科技有限公司 | Visual frequency division control system |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0779405B2 (en) | 1995-08-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4862284A (en) | Copier with accurately position-controllable sub-scanning unit | |
| JPH0574262B2 (en) | ||
| US5677724A (en) | Laser beam printing device with mirror rotation speed controlled by origin sensor signal | |
| US6147776A (en) | Apparatus for controlling a scanning speed of an image scanner | |
| US5282064A (en) | Apparatus for simultaneous reading of reflective and light conductive portions of an original | |
| US4635129A (en) | Image scanning apparatus | |
| JPH0256169A (en) | Constant speed control device and image reading device | |
| US5703455A (en) | Control device for a stepping motor included in an electronic apparatus | |
| JP3640287B2 (en) | Scanner control device and image forming apparatus | |
| JPH02308234A (en) | Image reader | |
| JPH01175457A (en) | Copying machine | |
| JP3882316B2 (en) | Image reading device | |
| US5790164A (en) | Image scanning and writing apparatus which uses different synchronizing signals for scanning and writing | |
| JP2002283616A (en) | Image forming apparatus and laser diode control method for image forming apparatus | |
| JP3268694B2 (en) | Copying system | |
| JP2000206851A (en) | Image forming device | |
| JP4402384B2 (en) | Image forming apparatus, image forming method, and print control apparatus | |
| JP2621859B2 (en) | Image forming device | |
| JP3151729B2 (en) | Image reading device and image forming device | |
| KR840001502B1 (en) | How to control the copy position in the cylinder axis direction | |
| JPH11146144A (en) | Scanner drive controller | |
| JPH05284284A (en) | Document reader | |
| JPH0551224B2 (en) | ||
| JPS6335069A (en) | image recording device | |
| JPH08220851A (en) | Image forming device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |