JPH0637983A - Picture processor - Google Patents
Picture processorInfo
- Publication number
- JPH0637983A JPH0637983A JP4193882A JP19388292A JPH0637983A JP H0637983 A JPH0637983 A JP H0637983A JP 4193882 A JP4193882 A JP 4193882A JP 19388292 A JP19388292 A JP 19388292A JP H0637983 A JPH0637983 A JP H0637983A
- Authority
- JP
- Japan
- Prior art keywords
- moving member
- pulses
- acceleration
- pulse
- deceleration
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims description 62
- 238000000034 method Methods 0.000 claims description 39
- 230000001133 acceleration Effects 0.000 description 40
- 238000010586 diagram Methods 0.000 description 7
- 239000011521 glass Substances 0.000 description 4
- 238000003705 background correction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000001174 ascending effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 102220545710 tRNA-uridine aminocarboxypropyltransferase 1_I61A_mutation Human genes 0.000 description 2
- 238000004804 winding Methods 0.000 description 2
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000001454 recorded image Methods 0.000 description 1
Landscapes
- Facsimile Scanning Arrangements (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、マイクロフィルム等か
ら画像情報を読み取ったり、逆に画像情報を出力する画
像処理装置にかかり、特に、その情報の入出力に際して
走査される移動部材の動作制御に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for reading image information from a microfilm or the like, and conversely outputting image information, and in particular, operation control of a moving member scanned when inputting / outputting the information. It is about.
【0002】[0002]
【従来の技術】この種の画像処理装置には、マイクロフ
ィルム等に記録された画像情報を記録紙に再現したり光
ディスク等に記録するため、CCD素子を有するライン
センサを用いて画像情報を読み取って画像情報を電子情
報に変換した後に、この信号をプリンタや光ディスクに
送る方式のものがある。この方式には、複数台の画像処
理装置で読み取られた画像情報を、一台のプリンタを共
用してプリントすることができるという利点がある。2. Description of the Related Art In this type of image processing apparatus, in order to reproduce image information recorded on a microfilm or the like on recording paper or record it on an optical disk or the like, the image information is read using a line sensor having a CCD element. There is a system of converting this image information into electronic information and then sending this signal to a printer or an optical disk. This method has an advantage that image information read by a plurality of image processing devices can be printed by one printer in common.
【0003】このような画像処理装置を用いて画像情報
を読み取る場合には、ラインセンサあるいは原稿をモー
タ駆動によって副走査方向に移動させことになるが、こ
の移動は図15に示すように制御されている。When image information is read using such an image processing apparatus, the line sensor or the original is moved by a motor in the sub-scanning direction, and this movement is controlled as shown in FIG. ing.
【0004】この図に示すものは、予め定められた区間
内,ラインセンサが取り付けられた移動部材をステッピ
ングモータで往復移動させる制御を示したものである。
図中のLは区間内距離を示しており、また、L1 は加速
区間,L2 は定速区間,L3は減速区間をそれぞれ示し
ている。L1 の加速区間においては、ステッピングモー
タの加速が行なわれるわけであるが、この加速はステッ
ピングモータに与える単位時間当たりのパルス数を線形
的に増加させることで実現させている。この加速制御を
行なう場合、加速区間L1 の距離と到達速度とが決まっ
ていれば、この加速区間の距離によって一意的に決定さ
れるパルス数Nをどのような間隔でステッピングモータ
に与えれば良いかは容易に演算できるが、このパルスの
与え方は記憶装置であるRAM等に記憶させてあるのが
一般的である。L2 の定速区間においては、ステッピン
グモータは等速度で回転させれば良いのであるから、単
位時間当たり一定のパルス数が与えられる。又、L3 の
減速区間においては、加速の場合とは逆に、ステッピン
グモータに与える単位時間当たりのパルス数を線形的に
減少させることで実現させている。The diagram shown in this figure shows the control of reciprocating the moving member to which the line sensor is attached by a stepping motor within a predetermined section.
In the figure, L indicates the intra-section distance, L1 indicates the acceleration section, L2 indicates the constant speed section, and L3 indicates the deceleration section. In the acceleration section of L1, the stepping motor is accelerated. This acceleration is realized by linearly increasing the number of pulses per unit time given to the stepping motor. When performing this acceleration control, if the distance and the arrival speed of the acceleration section L1 are determined, at what interval should the pulse number N uniquely determined by the distance of this acceleration section be given to the stepping motor? Can be easily calculated, but the method of giving this pulse is generally stored in a RAM or the like as a storage device. In the constant speed section of L2, the stepping motor may be rotated at a constant speed, so that a constant number of pulses is given per unit time. In the deceleration section of L3, contrary to the case of acceleration, it is realized by linearly decreasing the number of pulses per unit time given to the stepping motor.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、位置セ
ンサ等からの信号に基づいて移動部材を停止させるよう
なタイプのものでは、上記のような制御を適用した場
合,例えば、副走査区間内の途中で停止している移動部
材を原位置に戻そうとするときにこの制御を適用した場
合には、停止させたい位置に移動部材を停止させること
ができない場合があるという不具合が生じる。However, in the type in which the moving member is stopped based on the signal from the position sensor or the like, when the above control is applied, for example, in the middle of the sub-scanning section. If this control is applied when the moving member stopped at is returned to the original position, it may not be possible to stop the moving member at the desired position.
【0006】つまり、移動部材の初期位置がどこにある
かによって、位置センサの通過速度がまちまちとなる場
合(定速処理が行なわれる前に位置センサを通過する場
合)があり、このようなときには移動部材の停止位置も
まちまちとなることから、移動部材を確実に原位置で停
止させることが非常に困難となる。That is, depending on where the initial position of the moving member is, the passing speed of the position sensor may be different (when passing the position sensor before the constant speed processing is performed). Since the stop positions of the members are also varied, it becomes very difficult to reliably stop the moving member at the original position.
【0007】以上のような問題を回避するためには、移
動部材を位置センサに向けて加速させる前に、一旦それ
とは逆方向に、加速に要する距離を確保するための移動
を行なうことによって、上記のような制御を適用させる
ようにしたものがあるが、これでは移動終了までの時間
が長くかかるという別の問題が生じてしまう。In order to avoid the above problems, before accelerating the moving member toward the position sensor, the moving member is once moved in the opposite direction to secure a distance required for acceleration. Although there is a configuration in which the above control is applied, this causes another problem that it takes a long time to end the movement.
【0008】そこで、本発明は、移動部材がどこの位置
にあっても、これを原位置に素早く復帰させるようにし
た画像処理装置の提供を目的とする。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an image processing apparatus in which the moving member can be quickly returned to its original position regardless of the position.
【0009】[0009]
【課題を解決するための手段】上記目的を達成するため
の本発明は、移動部材を往復運動させるための駆動力を
与えるステッピングモータと、当該ステッピングモータ
に駆動パルスを与え、前記ステッピングモータの駆動制
御を行なう制御手段と、前記移動部材の移動路中の所定
位置に配置され、当該移動部材が前記所定位置を通過し
たか否かを検出する検出手段とを有し、当該検出手段に
よって前記移動部材が所定位置を通過したことが検出さ
れたら所定のパルス数Nで減速処理をして、前記移動部
材を停止させる画像処理装置において、前記移動部材の
移動開始から前記検出手段によって通過が検出されるま
でに使用した駆動パルス数を計数する計数手段と、当該
計数手段によって計数されたパルス数を記憶する記憶手
段とを有し、前記移動部材が前記検出手段通過後、前記
記憶手段に記憶されたパルス数に応じた減速処理を行な
うことによって前記移動部材を停止させることを特徴と
する。In order to achieve the above object, the present invention provides a stepping motor which gives a driving force for reciprocating a moving member, and a driving pulse which gives a driving pulse to the stepping motor. It has a control means for controlling and a detection means which is arranged at a predetermined position in the movement path of the moving member and which detects whether or not the moving member has passed the predetermined position. When it is detected that the member has passed the predetermined position, deceleration processing is performed with a predetermined number of pulses N to stop the moving member. In the image processing apparatus, the detection means detects the passage from the start of the movement of the moving member. And a storage unit for storing the number of pulses counted by the counting unit, After moving member said detecting means passes, characterized in that stopping the moving member by performing the storage means deceleration in accordance with the number of pulses stored in the processing.
【0010】[0010]
【作用】計数手段は、移動部材の移動開始から検出手段
によって通過が検出されるまでに使用した駆動パルス数
を計数する。この計数手段によって計数された計数パル
ス数は記憶手段に記憶されることになる。したがって、
記憶手段には移動部材が移動を開始してから、検出手段
によってその移動部材の通過が検出されるまでにステッ
ピングモータに与えられた駆動パルスの数が記憶される
ことになる。そして、ステッピングモータの減速処理を
行なう場合には、この記憶手段に記憶されたこの駆動パ
ルス数に基づいて減速処理が行なわれることになる。The counting means counts the number of drive pulses used from the start of movement of the moving member to the detection of passage by the detecting means. The number of counting pulses counted by the counting means is stored in the storage means. Therefore,
The storage means stores the number of drive pulses given to the stepping motor after the moving member starts moving until the detection means detects the passage of the moving member. When the stepping motor deceleration processing is performed, the deceleration processing is performed based on the number of drive pulses stored in the storage means.
【0011】したがって、移動部材を所定の位置に移動
させるのに、加減速制御を有効に使用することができ、
移動部材の移動をスムースかつ短時間で行なうことがで
きるようになる。Therefore, the acceleration / deceleration control can be effectively used to move the moving member to a predetermined position.
The moving member can be moved smoothly and in a short time.
【0012】[0012]
【実施例】以下、図示する本発明の実施例に基いて本発
明を詳細に説明する。図1は、本発明の画像処理装置に
用いられるキャリア部を示す斜視図である。ロール・フ
ィルム・キャリア12(以下、キャリア部という)はマ
イクロフィルムFが装填されるものであり、マイクロフ
ィルムFは供給リール20にロール状に巻付けられてお
り、この供給リール20は図示しないフィルム・カート
リッジ(以下カートリッジという)に着脱自在に支持さ
れて回転自在となっている。このカートリッジ内の供給
リール20から繰り出されたマイクロフィルムFは、キ
ャリア部12内に設けられた巻き取りリール22に巻き
取られるようになっている。The present invention will be described in detail below based on the illustrated embodiments of the present invention. FIG. 1 is a perspective view showing a carrier unit used in the image processing apparatus of the present invention. A roll film carrier 12 (hereinafter referred to as a carrier portion) is loaded with a microfilm F, and the microfilm F is wound around a supply reel 20. The supply reel 20 is a film (not shown). -A cartridge (hereinafter referred to as a cartridge) is detachably supported and rotatable. The microfilm F unwound from the supply reel 20 in the cartridge is wound around the winding reel 22 provided in the carrier unit 12.
【0013】供給リール20は供給リール駆動用モータ
MR により駆動される駆動軸23によって、フィルムF
を繰り出す方向と巻き取る方向とに正逆回転可能となっ
ている。また、前記巻き取りリール22は巻き取りリー
ル駆動用モータMF に連結された駆動軸24によって、
回転するようになっている。The supply reel 20 drives the film F by a drive shaft 23 driven by a supply reel drive motor MR.
It is possible to rotate in the forward and reverse directions in the unwinding direction and the winding direction. The take-up reel 22 is driven by a drive shaft 24 connected to a take-up reel driving motor MF.
It is designed to rotate.
【0014】キャリア部12内には更に、カートリッジ
から繰り出されたマイクロフィルムFの先端部を、巻き
取りリール22に向けて搬送するために、図示しないモ
ータによって駆動される送出しローラ25と、ここから
送り出されたフィルムを案内するガイドローラ26とを
有し、更にマイクロフィルムFの前進及び後進両方向の
搬送距離をカウントするためのエンコーダ30と、これ
に圧接する補助ローラ28とを有している。また、キャ
リア部12内には、同一のレベルの位置となったガイド
ローラ27、29が設けられている。Further, in the carrier portion 12, a delivery roller 25 driven by a motor (not shown) for transporting the leading end portion of the microfilm F fed from the cartridge toward the take-up reel 22, It has a guide roller 26 for guiding the film sent out from the micro film F, an encoder 30 for counting the conveying distance of the microfilm F in both forward and backward directions, and an auxiliary roller 28 in pressure contact with the encoder 30. . In addition, guide rollers 27 and 29 located at the same level are provided in the carrier portion 12.
【0015】ランプ35等の光源からの光は、コンデン
サーレンズ群37a、反射ミラー36を介してコンデン
サーレンズ群37bにより集光された後に、上下の圧着
ガラス38、39の間に位置するマイクロフィルムFに
照射される。前記下方の圧着ガラス39は、画像が投影
されるときにマイクロフィルムFを介して上方の圧着ガ
ラス38に圧着するように上下動自在に構成されてい
る。マイクロフィルムFを透過した光は、投影レンズ4
0により拡大されて、ラインセンサのCCD素子に投影
される。図1に示すように、投影レンズ40の拡大倍率
を調節するため、投影レンズ40にはこれを駆動するた
めの投影レンズ駆動モータ44が接続されている。The light from the light source such as the lamp 35 is condensed by the condenser lens group 37b via the condenser lens group 37a and the reflection mirror 36, and then the microfilm F located between the upper and lower pressure bonding glasses 38, 39. Is irradiated. The lower pressure-bonding glass 39 is vertically movable so as to be pressure-bonded to the upper pressure-bonding glass 38 via the microfilm F when an image is projected. The light transmitted through the microfilm F is projected by the projection lens 4
It is enlarged by 0 and projected on the CCD element of the line sensor. As shown in FIG. 1, in order to adjust the magnification of the projection lens 40, a projection lens drive motor 44 for driving the projection lens 40 is connected to the projection lens 40.
【0016】CCD素子に投影される画像を検索する際
には、前記両リール20、22の間でフィルムFの巻き
取り、巻き戻しを行い、圧着ガラス38、39の検索位
置に所望の画像を停止させることによって行われる。When retrieving the image projected on the CCD element, the film F is wound and rewound between the reels 20 and 22, and the desired image is placed at the retrieval position of the pressure-sensitive glass 38, 39. It is done by stopping.
【0017】ラインセンサは、副走査方向に沿って往復
移動自在に設けられた移動部材45の図中下面側に取り
付けられている。この移動部材45は、ガイド49に沿
って往復移動可能となっている。この移動は、ステッピ
ングモータMp によって行なわれるが、この移動に必要
な駆動力は両プーリ46に掛け渡されたワイヤー47に
よって伝達される。したがって、ステッピングモータM
p が回転することによって、移動部材45が図示矢印で
示す副走査方向に沿って移動し、投影された画像情報を
読み取るようになっている。The line sensor is attached to the lower surface side of the moving member 45, which is reciprocally movable in the sub-scanning direction, in the figure. The moving member 45 can reciprocate along the guide 49. This movement is performed by the stepping motor Mp, and the driving force required for this movement is transmitted by the wire 47 wound around the pulleys 46. Therefore, the stepping motor M
As p rotates, the moving member 45 moves in the sub-scanning direction indicated by the arrow in the figure, and the projected image information is read.
【0018】又、移動部材45の側面には、遮光板48
が取り付けられており、その移動路中に設けられている
初期位置検出センサ61A及び終端位置検出センサ61
Bによってこの遮光板48が検出されるようになってい
る。ここで、初期位置検出用フォトインタラプタ61A
は移動部材45の初期位置を検出するものであり、終端
位置検出用フォトインタラプタ61Bは移動部材45の
終端位置を検出するものである。Further, a light shielding plate 48 is provided on the side surface of the moving member 45.
Is attached, and the initial position detection sensor 61A and the end position detection sensor 61 provided in the moving path
The light shielding plate 48 is detected by B. Here, the photo interrupter 61A for initial position detection
Is for detecting the initial position of the moving member 45, and the end position detecting photo interrupter 61B is for detecting the ending position of the moving member 45.
【0019】尚、本実施例においては、上記のようなス
キャン方式を例示したが、このような方式には限定され
ず、フィルム自体を搬送してスキャンする方式や、ミラ
ースキャン方式でも良い。これらの方式による場合は、
走査させるものはそれぞれフィルムであり、ミラーであ
る。In the present embodiment, the scanning method as described above has been illustrated, but the scanning method is not limited to such a method, and a method of transporting and scanning the film itself or a mirror scanning method may be used. With these methods,
What is scanned is a film and a mirror.
【0020】ラインセンサで読み込んだアナログ画像情
報をA/D変換してデジタル画像情報を得る場合、特
に、上述したようなロールタイプのフィルムの各画像駒
を検索して読み取るときには、各画像駒ごとにフィルム
の濃度によって露光を適性なものに設定したり、補正処
理を行う必要がある。そのため、実際の画像情報を読み
取る本スキャンの前には、読み取るべき画像駒の記録状
態を調べる予備スキャン(前処理)が行われる。予備ス
キャン動作が副走査移動の例えば往路で行われると、本
スキャンは副走査移動の復路で行われる。When the analog image information read by the line sensor is A / D converted to obtain digital image information, particularly when each image frame of the roll type film as described above is searched and read, each image frame is read. In addition, it is necessary to set the exposure to an appropriate one according to the density of the film and to perform a correction process. Therefore, before the main scan for reading the actual image information, a preliminary scan (preprocessing) for checking the recording state of the image frame to be read is performed. When the preliminary scan operation is performed on the forward path of the sub-scan movement, for example, the main scan is performed on the return path of the sub-scan movement.
【0021】したがって、画像を読み取る場合の基本動
作としては、以下のような動作となる。副走査移動させ
る移動部材45を一度初期位置検出用フォトインタラプ
タ61A(以下、HP用PIという)に戻し、ここから
加速制御を行なって、システム速度及び電子変倍率等を
考慮して決定される移動速度で走査方向に定速移動させ
る。そして、終端位置検出用フォトインタラプタ61B
(以下、EG用PIという)に達した時点から減速を開
始し、所定パルス数出力後停止する。この後移動部材4
5は加速制御によって高速で復帰方向に移動し、初期位
置(以下HPとする)へ到達後、所定パルスで減速して
停止する。Therefore, the basic operation for reading an image is as follows. The moving member 45 to be moved in the sub-scanning is once returned to the photo interrupter 61A for initial position detection (hereinafter referred to as HP PI), acceleration control is performed from here, and the movement is determined in consideration of the system speed, the electronic scaling factor, and the like. It is moved at a constant speed in the scanning direction. Then, the photo interrupter 61B for detecting the end position
The deceleration is started from the time point (hereinafter referred to as the EG PI), and is stopped after the output of a predetermined number of pulses. After this, the moving member 4
Reference numeral 5 moves at high speed in the returning direction by acceleration control, and after reaching the initial position (hereinafter referred to as HP), decelerates with a predetermined pulse and stops.
【0022】予備スキャンで行うべき処理としては、フ
ィルムの読み取りの自動化を図るという点を考慮すれ
ば、各画像駒に最適なランプ光量等を決定するAE処
理、各画像駒がネガフィルムであるかポジフィルムであ
るかを決定するネガ・ポジ判別処理、記録された各画像
駒の画像サイズ(フレーム・サイズ)を決定するフレー
ム・サイズ判別処理、及び、フィルムの読み取り領域の
開始位置を決定する読取開始位置認識処理等がある。予
備スキャンによって得られたサンプルデータはRAMに
格納され、これらサンプルデータに基づいて、上述した
フレーム・サイズ判別処理や読取開始位置認識処理が行
われて、本スキャンのときに読み取るべき画像読取領域
や読取開始位置が正確に把握される。また、読み取るべ
き画像駒に適した露光補正やγ補正等の画像処理も行わ
れ、その後に本スキャンを行って実際のデジタル画像情
報を得るようになっている。As a process to be performed in the preliminary scan, considering the point of automating the reading of the film, the AE process for determining the optimal lamp light amount for each image frame, and whether each image frame is a negative film Negative / positive determination processing to determine if it is a positive film, frame size determination processing to determine the image size (frame size) of each recorded image frame, and scanning start to determine the start position of the film reading area There is position recognition processing. The sample data obtained by the preliminary scan is stored in the RAM, and the frame size determination processing and the reading start position recognition processing described above are performed based on these sample data, and an image reading area to be read in the main scan and The reading start position is accurately grasped. Further, image processing such as exposure correction and γ correction suitable for an image frame to be read is also performed, and then main scanning is performed to obtain actual digital image information.
【0023】図2は、ラインセンサにより得られたアナ
ログ画像情報を、デジタル画像情報に変換するデジタル
処理回路を示すブロック図である。ラインセンサのCC
D素子50には、このCCD素子50にクロック信号を
送るクロック発生回路51が接続され、また、CCD素
子50からの出力電圧であるアナログ信号がA/D変換
回路52に送られるようになっている。A/D変換回路
52において変換されたデジタル信号は、マイクロコン
ピュータCPU53に接続されたシェーディングRAM
54の記憶媒体に送られると共に、CCD素子50から
の出力電圧を均一なレベルに電気的に補正するシェーデ
ィング補正回路55に送られるようになっている。シェ
ーディング補正回路55からの信号は種々の画像処理を
実行する画像処理回路56に送られて画像処理が行われ
た後、外部I/F回路57を介してプリンタや光ディス
ク等の外部出力装置に送られるようになっている。FIG. 2 is a block diagram showing a digital processing circuit for converting analog image information obtained by the line sensor into digital image information. CC of line sensor
A clock generation circuit 51 for sending a clock signal to the CCD element 50 is connected to the D element 50, and an analog signal which is an output voltage from the CCD element 50 is sent to the A / D conversion circuit 52. There is. The digital signal converted by the A / D conversion circuit 52 is output to the shading RAM connected to the microcomputer CPU 53.
In addition to being sent to the storage medium 54, the output voltage from the CCD element 50 is sent to a shading correction circuit 55 that electrically corrects the output voltage to a uniform level. The signal from the shading correction circuit 55 is sent to an image processing circuit 56 that executes various image processings to be subjected to image processing, and then sent to an external output device such as a printer or an optical disk via an external I / F circuit 57. It is designed to be used.
【0024】前記CPU53には、シェーディングRA
M54の他にシステムROM58やシステムRAM5
9、AE−RAM60等の記憶媒体が、システムバス6
1を介して接続されている。また、シェーディング補正
回路55、画像処理回路56及び外部I/F回路57に
は、システムバス61を介して各回路の作動を制御する
制御信号がCPU53から送られるようになっている。The CPU 53 has a shading RA.
In addition to M54, system ROM58 and system RAM5
9, the storage medium such as the AE-RAM 60 is the system bus 6
1 is connected. A control signal for controlling the operation of each circuit is sent from the CPU 53 to the shading correction circuit 55, the image processing circuit 56 and the external I / F circuit 57 via the system bus 61.
【0025】画像のスキャンを行うためラインセンサ3
4を副走査方向に沿って往復移動させるパルスモータM
P には、これの作動を制御する画像スキャン駆動回路6
2が接続されている。この画像スキャン駆動回路62に
は初期位置検出用フォトインタラプタ61Aと終端位置
検出用フォトインタラプタ61Bも接続されている。ま
た、像回転用のプリズムを回転駆動するモータ63に
は、これの作動を制御するプリズム回転駆動回路64が
接続され、ランプ35には、これの光量を制御するラン
プ光量制御回路65が接続されている。更に、図示省略
するが、投影レンズ駆動モータ44には投影レンズ駆動
回路が接続され、キャリア部12のリール駆動用モータ
MR 、MF にはロール・フィルム・キャリア制御回路が
接続されている。これら各回路62、64、65には、
システムバス61を介して、各回路の作動を制御する制
御信号がCPU63から送られるようになっている。The line sensor 3 for scanning the image
A pulse motor M for reciprocating 4 in the sub-scanning direction.
P is an image scan drive circuit 6 that controls the operation of this.
2 is connected. An initial position detecting photo interrupter 61A and an end position detecting photo interrupter 61B are also connected to the image scan drive circuit 62. A prism rotation drive circuit 64 that controls the operation of the motor 63 that rotates and drives the image rotation prism is connected, and a lamp light amount control circuit 65 that controls the light amount of the prism 35 is connected to the lamp 35. ing. Further, although not shown, a projection lens drive circuit is connected to the projection lens drive motor 44, and a roll film carrier control circuit is connected to the reel drive motors MR and MF of the carrier unit 12. Each of these circuits 62, 64, 65 has
A control signal for controlling the operation of each circuit is sent from the CPU 63 via the system bus 61.
【0026】以下、フローチャートに基づいて本発明に
かかる画像処理装置の動作を説明する。図3は、本発明
装置の立ち上げ時の処理を示すフローチャートである。
装置の電源がオンされた場合或いはリセット釦が押され
た場合、装置自体のハードウエアを初期化し、同時にこ
の装置に接続されているプリンター等の周辺装置の初期
化を行なう(S1〜S3)。この初期化を行なう際に
は、ラインセンサが取り付けられている移動部材45を
HP(ホームポジション)に戻す必要があるが、この処
理はS4の初期位置移動処理によって行なう。この初期
位置移動処理が終了すると、プリント指令やマイクロフ
ィルムの検索処理などの各種のコマンドを待つ処理が実
行される(S4,S5)。The operation of the image processing apparatus according to the present invention will be described below with reference to the flowchart. FIG. 3 is a flow chart showing a process at the time of starting the device of the present invention.
When the power of the device is turned on or the reset button is pressed, the hardware of the device itself is initialized, and at the same time, peripheral devices such as a printer connected to this device are initialized (S1 to S3). At the time of performing this initialization, it is necessary to return the moving member 45 to which the line sensor is attached to the HP (home position), and this processing is performed by the initial position moving processing of S4. When the initial position moving process is completed, a process of waiting for various commands such as a print command and a microfilm search process is executed (S4, S5).
【0027】図4は、図3のフローチャートにおけるS
4の初期位置移動に関するサブルーチンフローチャート
である。FIG. 4 shows S in the flowchart of FIG.
4 is a flowchart of a subroutine relating to movement of the initial position of FIG.
【0028】このフローチャートでは、移動部材45が
どの区間に位置しているのかを見極める処理を行なって
いる。このような処理が必要となるのは、装置の電源が
オンされたときやリセット釦が押されたときには、移動
部材45がどこに位置しているのかは装置自信で判断で
きないためであり、この大まかな位置を判断するのに、
2つのフォトインタラプタから出力される信号を利用し
ている。このため、移動部材45の位置は以下に示す1
〜3の領域について判断することが可能である。なお、
移動部材45が以上の領域外に位置することがないよう
に、その動作範囲は機械的に規制されている。In this flowchart, a process for determining in which section the moving member 45 is located is performed. The reason why such a process is necessary is that the device cannot determine where the moving member 45 is located when the device is powered on or when the reset button is pressed. To determine the correct position,
The signals output from the two photo interrupters are used. Therefore, the position of the moving member 45 is 1 as shown below.
It is possible to make judgments about the areas 3 to 3. In addition,
The operating range of the moving member 45 is mechanically restricted so that the moving member 45 is not located outside the above area.
【0029】画像スキャン駆動回路62を介して入力さ
れた位置検出用フォトインタラプタ(HP用PI)61
Aの出力がLOの場合には、遮光板48がこのHP用P
I61Aを遮光している状態であるから、図5に示すよ
うに移動部材45は領域1内に存在していることにな
る。したがって、この場合には領域1用の制御が行なわ
れることになる(S11,S12)。一方、このHP用
PI61Aの出力がHIであって、終端位置検出用フォ
トインタラプタ(EG用PI)61Bの出力がLOの場
合には、遮光板48とEG用PI61Bとの位置関係は
図5に示すようなものとなっており、移動部材45は領
域3内に存在していることになる。この場合には、領域
3用の制御が行なわれることになる(S13,S1
4)。さらに、HP用PI61AとEG用PI61Bと
の両出力がHIである場合には、遮光板48はいずれの
フォトインタラプタをも遮る位置には存在していないの
であるから、移動部材45は図5に示すように領域2内
に存在していることになる。したがって、この場合には
領域2用の制御が行なわれることになる(S15)。Position detecting photo interrupter (HP PI) 61 input through the image scan driving circuit 62
When the output of A is LO, the light shielding plate 48 is P for HP.
Since the I61A is shielded from light, the moving member 45 exists in the area 1 as shown in FIG. Therefore, in this case, the control for area 1 is performed (S11, S12). On the other hand, when the output of the HP PI 61A is HI and the output of the terminal position detecting photointerrupter (EG PI) 61B is LO, the positional relationship between the light shielding plate 48 and the EG PI 61B is shown in FIG. As shown, the moving member 45 is present in the area 3. In this case, the control for area 3 is performed (S13, S1).
4). Further, when both the outputs of the HP PI 61A and the EG PI 61B are HI, the light shielding plate 48 is not present at a position that blocks any photo interrupter, so that the moving member 45 is shown in FIG. As shown, it exists in the area 2. Therefore, in this case, control for area 2 is performed (S15).
【0030】このような処理が行なわれると、移動部材
45の現存領域が認識されることになるが、移動部材4
5が領域1内に存在していると判断された場合には、図
7に示すフローチャートのように移動部材45の動作が
制御されることになる。When such processing is performed, the existing region of the moving member 45 is recognized, but the moving member 4
When it is determined that the number 5 exists in the area 1, the operation of the moving member 45 is controlled as in the flowchart shown in FIG. 7.
【0031】尚、この初期位置移動処理を行なう前提と
して、遮光板48が復帰方向からHP用PI61Aを遮
断してから所定パルス数Nだけ移動後に停止させるよう
になっているものとする。また、加速及び減速に使用す
るパルス数は上記と同様のパルス数を用いるものとす
る。そして、移動距離が短いということが分かっている
場合には、加減速処理は行なわずに定速処理のみとす
る。このような前提の下で初期位置移動処理が行なわれ
るわけであるが、移動部材45の加減速処理及び定速処
理は次のようにして行なうようになっている。ステッピ
ングモータの駆動が可能な起動パルス速度f0 ,所望の
運転パルス速度fNN,加減速に使用するパルス数Nをそ
れぞれ設定して各パルス間隔データをN個算出し、これ
をデータテーブルとしてシステムのメモリ内に格納して
おく。このデータの格納状態の概念は図6に示すような
ものとなっている。つまり、メモリにはアドレスの小さ
い順にパルスの発生間隔が短くなるようなデータが記憶
されており、このデータにしたがった時間間隔でパルス
が発生されることになる。したがって、アドレスの小さ
い順にデータを読み出せばパルス間隔は徐々に短くなっ
てステッピングモータは加速されることとなり、逆にア
ドレスの大きい順にデータを読み出せばその間隔は徐々
に長くなってそれは減速されることになる。尚、加減速
を用いない低速処理のみの場合には1/f0 のパルス間
隔を与えてあげれば良い。As a premise of performing the initial position moving process, it is assumed that the light shielding plate 48 is cut off from the HP PI 61A in the returning direction and then moved for a predetermined number of pulses N and then stopped. Moreover, the same pulse number as the above shall be used for the number of pulses used for acceleration and deceleration. If it is known that the moving distance is short, the acceleration / deceleration processing is not performed and only the constant speed processing is performed. The initial position movement processing is performed under such a premise, but the acceleration / deceleration processing and the constant speed processing of the moving member 45 are performed as follows. The start pulse speed f0 capable of driving the stepping motor, the desired operation pulse speed fNN, and the number N of pulses used for acceleration / deceleration are set respectively to calculate N pulse interval data, and this is used as a data table in the system memory. Store it inside. The concept of the storage state of this data is as shown in FIG. That is, the memory stores data such that the pulse generation interval becomes shorter in the ascending address order, and pulses are generated at time intervals according to this data. Therefore, if the data is read in the ascending order of the address, the pulse interval will be gradually shortened and the stepping motor will be accelerated. Conversely, if the data is read in the descending order of the address, the interval will be gradually increased and it will be decelerated. Will be. In the case of only low speed processing without acceleration / deceleration, a pulse interval of 1 / f0 may be given.
【0032】移動部材45が領域1内に存在している場
合には、HP付近に位置していることになるから、これ
を駆動させるべき方向を走査方向に設定する。具体的に
は、ステッピングモータMp の回転方向を設定すること
になる(S21)。この回転方向が決まったら、HP用
PI61Aの出力がHiになるまでモータMpにパルス
を供給する(S22,S23)。HP用PI61Aの出
力がHiになったならばパルスの供給を止めてモータM
pを一時停止させる(S24)。次に、モータMpの回
転方向を復帰方向に設定する(S25)。そして今度
は、HP用PI61Aの出力がLoになるまでモータM
pにパルスを供給し(S26,S27)、この出力がL
oになったときから、CPU53はその内部に設けられ
ているカウンタでモータMpに与えられるパルスの数を
カウントし、このカウンタの値がNになったらパルスの
供給を止めてモータMpを停止させる(S28〜S3
0)。以上のような処理を行なうのは、パワーオン/リ
セット時に既に遮光板48がHP用PI61Aを遮光し
ている場合でも、その位置がHP位置であるとは限らな
いからであり、移動部材45を一度走査方向に移動さ
せ、HP用PI61Aを通過した時点から逆に復帰方向
に戻すという操作を行なうことで移動部材45を正確に
HP位置に復帰させるためである。この場合のパルスの
与え方は、移動距離が非常に短くて済むことから、加減
速処理は行なわず定速処理によっている。また、移動部
材45が領域3内に存在している場合には、HPまでの
距離は十分に長いから、加速処理(S30),定速処理
(S40),減速処理(S50)が順に行なわれ、移動
部材45をHP位置に戻すことになる。これらのサブル
ーチンフローチャートは図9から図11に示されている
通りであり、以下、これらのフローチャートの動作を詳
細に説明する。When the moving member 45 exists in the area 1, it is located near the HP, so the direction in which the moving member 45 should be driven is set to the scanning direction. Specifically, the rotation direction of the stepping motor Mp is set (S21). When the rotation direction is determined, pulses are supplied to the motor Mp until the output of the HP PI 61A becomes Hi (S22, S23). When the output of the PI 61A for HP becomes Hi, the supply of the pulse is stopped and the motor M
p is temporarily stopped (S24). Next, the rotation direction of the motor Mp is set to the return direction (S25). And this time, until the output of the HP PI 61A becomes Lo, the motor M
A pulse is supplied to p (S26, S27), and this output is L
The CPU 53 counts the number of pulses given to the motor Mp by the counter provided therein from the time when it becomes o, and when the value of this counter becomes N, the supply of the pulses is stopped and the motor Mp is stopped. (S28-S3
0). The above-described processing is performed because even if the light shielding plate 48 has already shielded the HP PI 61A at the time of power-on / reset, the position is not always the HP position, and the moving member 45 is not moved. This is because the moving member 45 is accurately returned to the HP position by performing an operation of once moving in the scanning direction and then returning to the return direction from the time when the HP 61A has passed. In this case, the pulse is applied by the constant speed processing without performing the acceleration / deceleration processing because the movement distance can be very short. Further, when the moving member 45 is present in the region 3, the distance to the HP is sufficiently long, so the acceleration process (S30), the constant speed process (S40), and the deceleration process (S50) are performed in order. , The moving member 45 is returned to the HP position. These subroutine flowcharts are as shown in FIGS. 9 to 11, and the operation of these flowcharts will be described in detail below.
【0033】まず、移動部材45をHP位置に戻す場合
には、図6に示したように記憶されているパルス間隔デ
ータを読み込む。この場合は加速であるから、アドレス
A0のパルス間隔データがまず最初に読み込まれること
になる(S31)。次に、画像スキャン駆動回路62か
らは、このパルス間隔データに応じた時間間隔をおいて
モータMpに向けてパルスが出力される(S32)。こ
のパルスの出力が終わると、パルス間隔データの読み込
みのための加速カウンタのカウントをインクリメントし
て、そのアドレスのパルス間隔データを読み込むことに
なる(この場合には、アドレスA1 のパルス間隔データ
が読み込まれることになる)。以上の処理はカウンタが
Nになるまで繰り返し行なわれる(S33,S34)。
以上のように処理されると、パルス間隔がだんだんと短
くなるので、モータMpの回転速度は徐々に速くなり、
移動部材45は加速されることになる。なお、この加速
処理は予め設定されたNパルスを用いて行なわれる。First, when returning the moving member 45 to the HP position, the pulse interval data stored as shown in FIG. 6 is read. In this case, since the acceleration is performed, the pulse interval data at the address A0 is read first (S31). Next, the image scan drive circuit 62 outputs pulses to the motor Mp at time intervals corresponding to the pulse interval data (S32). When the output of this pulse ends, the count of the acceleration counter for reading the pulse interval data is incremented to read the pulse interval data of that address (in this case, the pulse interval data of address A1 is read). Will be). The above process is repeated until the counter becomes N (S33, S34).
When processed as described above, the pulse interval becomes gradually shorter, so the rotation speed of the motor Mp gradually increases,
The moving member 45 will be accelerated. It should be noted that this acceleration process is performed using a preset N pulse.
【0034】この加速処理が行なわれた後には定速処理
が行なわれることになるが、この処理は図10に示すフ
ローチャートに基づいて次のように行なわれる。まず、
この処理が実行されると同時にCPU53によってパル
ス間隔データが読み込まれる(S41)。画像スキャン
駆動回路62はこのパルス間隔データに応じた時間間隔
でパルスを出力し、移動部材45を定速で復帰方向に移
動させる(S42)。この処理は、HP用PI61Aか
らの出力がLoになるまで行なわれる(S43)。この
間は移動部材45は定速で動くことになるが、この間に
読み込まれるパルス間隔データは全く同一のデータであ
り、そのデータは前述のように予め決定されている。After the acceleration process is performed, the constant speed process is performed. This process is performed as follows based on the flowchart shown in FIG. First,
At the same time when this process is executed, the CPU 53 reads the pulse interval data (S41). The image scan drive circuit 62 outputs a pulse at a time interval corresponding to the pulse interval data to move the moving member 45 in the returning direction at a constant speed (S42). This process is performed until the output from the HP PI 61A becomes Lo (S43). While the moving member 45 moves at a constant speed during this period, the pulse interval data read during this period is exactly the same data, and the data is predetermined as described above.
【0035】そしてHP用PI61Aの出力がLoに変
化した瞬間から図11のフローチャートに示す減速処理
が開始される。この場合も、以上と同様にパルス間隔デ
ータを読み込み、このデータに応じてパルスを出力する
ものである。まず、図6に示したように記憶されている
パルス間隔データを読み込む。この場合は減速であるか
ら、アドレスAN のパルス間隔データがまず最初に読み
込まれることになる(S51)。次に、画像スキャン駆
動回路62からは、このパルス間隔データに応じた時間
間隔をおいてモータMpに向けてパルスが出力される
(S52)。このパルスの出力が終わると、パルス間隔
データの読み込みのための減速カウンタのカウントをイ
ンクリメントして、そのアドレスのパルス間隔データを
読み込むことになる(この場合には、アドレスAN-1 の
パルス間隔データが読み込まれることになる。以上の処
理はカウンタがNになるまで繰り返し行なわれる(S5
3,S54)。以上のように処理されると、パルス間隔
がだんだんと長くなるので、モータMpの回転速度は徐
々に遅くなり移動部材45は減速されることになる。な
お、この減速処理は加速処理と同様に予め設定されたN
パルスを用いて行なわれる。The deceleration process shown in the flowchart of FIG. 11 is started from the moment when the output of the HP PI 61A changes to Lo. Also in this case, the pulse interval data is read in the same manner as above, and the pulse is output according to this data. First, the pulse interval data stored as shown in FIG. 6 is read. In this case, since the deceleration is being performed, the pulse interval data at the address AN is read first (S51). Next, the image scan drive circuit 62 outputs pulses to the motor Mp at time intervals corresponding to the pulse interval data (S52). When the output of this pulse is completed, the count of the deceleration counter for reading the pulse interval data is incremented to read the pulse interval data of that address (in this case, the pulse interval data of address AN-1). The above process is repeated until the counter reaches N (S5).
3, S54). When the processing is performed as described above, the pulse interval gradually increases, so that the rotation speed of the motor Mp gradually decreases and the moving member 45 is decelerated. Note that this deceleration process is similar to the acceleration process and is set to a preset N
It is performed using pulses.
【0036】以上のような処理を行なうことで、移動部
材45を短時間でHP位置に戻すことができることにな
る。By performing the above processing, the moving member 45 can be returned to the HP position in a short time.
【0037】そして最後に移動部材45が領域2の位置
に存在する場合の処理について説明する。この領域は他
の2つの領域に比較して非常に広いから、そのHP位置
への復帰を短時間で行なうには適切な処理が必要であ
る。つまり、CPU53は移動部材45がHP用PI6
1Aに近い位置に有るのか、EG用PI61Bに近い位
置に有るのかを全く判断できないからである。このた
め、一律の加減速処理によって移動部材45をHP位置
に復帰させようとすると、不具合を生じることがある。
たとえば、移動部材45がHP用PI61Aのごく近傍
に位置していた場合には、その復帰を行なう際、加速処
理を行なっている最中にHP用PI61Aを遮断するこ
とになりこれを所定のパルス数で減速することが困難な
場合がある。このような不具合を解消するためには、予
め定めたいつでも停止可能な一定の速度で復帰させた
り、一度走査方向に加速に必要なパルス数分だけ移動さ
せ、その後復帰方向への加速処理を行なうというような
処理を行なうことが考えられる。しかしながら、このよ
うな処理では時間がかかったり余計な動作が必要とな
る。したがって、本実施例ではこのような不具合が生じ
ないように次のような処理を行なっている。この処理を
図12及び図13のフローチャート並びに図14のグラ
フを参照しつつ説明する。Finally, the processing when the moving member 45 exists at the position of the area 2 will be described. Since this area is much wider than the other two areas, proper processing is required to return the HP position to the HP position in a short time. That is, the CPU 53 determines that the moving member 45 is the HP PI 6
This is because it cannot be determined at all whether the position is close to 1A or the position close to the EG PI 61B. Therefore, if an attempt is made to return the moving member 45 to the HP position by uniform acceleration / deceleration processing, a problem may occur.
For example, when the moving member 45 is located in the vicinity of the HP PI 61A, the HP PI 61A is shut off during the acceleration process when the return is performed, and the moving member 45 is disconnected by a predetermined pulse. It can be difficult to slow down by a number. In order to eliminate such a problem, the motor is returned at a predetermined speed that can be stopped at any time, or is moved once in the scanning direction by the number of pulses required for acceleration, and then the acceleration processing in the returning direction is performed. It is possible to perform such processing. However, such processing requires time or requires extra operations. Therefore, in the present embodiment, the following processing is performed to prevent such a problem. This process will be described with reference to the flowcharts of FIGS. 12 and 13 and the graph of FIG.
【0038】まずCPU53はこれまでの説明と同様に
パルス間隔データをアドレスの小さいほうから読みだ
し、そのデータにしたがったパルス間隔でパルスを出力
する。このパルスの出力が終わったら、加速カウンタを
インクリメントして次のアドレスのパルス間隔データを
読み出す(S61〜S63)。以上の処理は、HP用P
I61Aの出力がLoになるか、又はそのカウンタの値
がNになるまで行なわれる。つまり、加速途中で遮光板
48がHP用PI61Aを遮るか、モータMpにNパル
ス与えられるまで加速されることになる(S64,S6
5)。First, the CPU 53 reads out the pulse interval data from the smallest address as in the above description, and outputs the pulses at the pulse intervals according to the data. When the output of this pulse is completed, the acceleration counter is incremented and the pulse interval data of the next address is read (S61 to S63). The above processing is performed for HP P
The process is repeated until the output of I61A becomes Lo or the value of the counter becomes N. In other words, during the acceleration, the light shield plate 48 blocks the HP PI 61A or the motor Mp is accelerated until N pulses are given (S64, S6).
5).
【0039】加速途中でHP用PI61Aの出力がLo
になったと判断された場合には、減速用のカウンタnD
をnに設定し(S66)、予め加減速用のパルス数とし
て設定したNとの差(N−n)を計算する(S67)。
なお、上記のカウンタnD の値は、図14に示すよう
に、移動部材45を動かし始めてからHP用PI61A
の出力がLoになるまでに与えたパルスの数であり、パ
ルス数Nは、HP用PI61Aの出力がLoになってか
ら移動部材45がHP位置に設定されるまでに必要なパ
ルス数である。したがって、(N−n)パルスは移動部
材45を定速で移動させるのに必要なパルス数である。
この計算が終了すると、定速カウンタの値がこの(N−
n)になるまで一定の間隔でパルスを出力して移動部材
45を定速で移動させる。この際のパルス間隔データは
アドレスnD のものが使用される(S68〜S70)。
一方、カウンタの値がNになるまで加速処理が行なわれ
た場合には、前述の減速用のカウンタnD をNに設定し
(S71)、HP用PI61Aの出力がLoになるまで
一定の間隔でパルスを出力して移動部材45を定速移動
させる(S72,S73)。During the acceleration, the output of the PI 61A for HP is Lo
If it is determined that the deceleration counter nD
Is set to n (S66), and the difference (N-n) from N set as the number of pulses for acceleration / deceleration in advance is calculated (S67).
The value of the counter nD is, as shown in FIG. 14, the HP PI 61A after the movement of the moving member 45 is started.
Is the number of pulses given to the output of Lo until it becomes Lo, and the number of pulses N is the number of pulses required until the moving member 45 is set to the HP position after the output of the HP PI 61A becomes Lo. . Therefore, the number of pulses (N−n) is the number of pulses required to move the moving member 45 at a constant speed.
When this calculation is completed, the value of the constant speed counter becomes (N-
Pulses are output at a constant interval until n), and the moving member 45 is moved at a constant speed. At this time, the pulse interval data having the address nD is used (S68 to S70).
On the other hand, when the acceleration process is performed until the counter value becomes N, the deceleration counter nD is set to N (S71), and the output of the HP PI 61A becomes Lo at regular intervals. A pulse is output to move the moving member 45 at a constant speed (S72, S73).
【0040】そして、この定速処理が行なわれた後に減
速処理が行なわれることになるが、この減速処理は、ま
ず、減速用のカウンタnD の値と同じアドレスからパル
ス間隔データを読みだし、そのデータにしたがった時間
間隔でパルスを出力する(S74,S75)。パルスの
出力が終了したら、減速カウンタの値をカウントアップ
して以上の処理をカウンタの値がnD になるまで行なう
(S76,S77)。以上の処理が終わったら、パルス
の出力を止めてモータMpを停止させる。The deceleration processing is performed after the constant speed processing is performed. In this deceleration processing, first, the pulse interval data is read from the same address as the value of the deceleration counter nD, and the deceleration processing is performed. Pulses are output at time intervals according to the data (S74, S75). When the output of the pulse is completed, the value of the deceleration counter is counted up and the above processing is repeated until the value of the counter becomes nD (S76, S77). When the above process is completed, the pulse output is stopped and the motor Mp is stopped.
【0041】この処理をまとめると次のようになる。移
動部材45が領域2に存在している場合には、とりあえ
ず復帰方向に向けて加速を開始する。この加速途中でH
P用PI61Aに到達した場合には、その到達時の最終
速度を維持して定速移動させ、又、予定のパルス数を消
化して加速を終了した場合には、設定されている速度で
定速移動させ、その後、加速に要したパルス数と同様の
パルス数を使用して減速する。This processing is summarized as follows. When the moving member 45 exists in the area 2, the acceleration is started in the returning direction for the time being. H during this acceleration
When the PI 61A for P is reached, the final speed at the time of arrival is maintained and the vehicle is moved at a constant speed, and when the planned number of pulses is exhausted and acceleration is completed, the speed is set at the set speed. It is moved at high speed, and then decelerated using the same number of pulses as the number of pulses required for acceleration.
【0042】以上のように、本発明においては、移動部
材45のHP位置への復帰をHP用PI61A位置まで
の距離に応じった加減速制御によって行なっているの
で、移動部材45のHP位置への復帰が非常に迅速に行
なわれることになる。さらに、HP用PI61Aの通過
後所定の距離移動して停止するようになっているから、
停止精度の信頼性は非常に高い。As described above, in the present invention, since the moving member 45 is returned to the HP position by the acceleration / deceleration control according to the distance to the HP PI 61A position, the moving member 45 is moved to the HP position. Will be restored very quickly. Furthermore, after passing through the HP PI 61A, it moves for a predetermined distance and then stops,
The reliability of stopping accuracy is very high.
【0043】なお、以上の実施例においては、画像処理
装置を例示して述べたが、ラインプリンタ等の出力装置
においても、本発明の適用は可能である。Although the image processing apparatus has been described as an example in the above embodiments, the present invention can be applied to an output apparatus such as a line printer.
【0044】[0044]
【発明の効果】以上説明したように、本発明の画像処理
装置は、移動部材を原位置に復帰させる場合にも加減速
処理を使用できるようにしたので、その復帰に要する時
間を短縮することができ、又、その原位置から所定の距
離離れた地点から減速処理を開始するようにしたから、
停止位置精度を非常に高くすることができる。As described above, since the image processing apparatus of the present invention can use the acceleration / deceleration processing even when the moving member is returned to the original position, the time required for the return can be shortened. Since it is possible to start the deceleration process from a point that is a predetermined distance from the original position,
The stop position accuracy can be made very high.
【図1】 本発明の画像処理装置に用いられるキャリア
部を示す斜視図FIG. 1 is a perspective view showing a carrier unit used in an image processing apparatus of the present invention.
【図2】 図1に示した装置の制御系のブロック図FIG. 2 is a block diagram of a control system of the apparatus shown in FIG.
【図3】 図2に示した制御系の初期化処理を示すフロ
ーチャート3 is a flowchart showing initialization processing of the control system shown in FIG.
【図4】 図3のS4のステップを示すフローチャートFIG. 4 is a flowchart showing steps of S4 of FIG.
【図5】 図4の領域認識処理の説明に供する図FIG. 5 is a diagram for explaining the area recognition processing of FIG.
【図6】 加減速処理時に使用されるデータの記憶状態
を示す概念図FIG. 6 is a conceptual diagram showing a storage state of data used during acceleration / deceleration processing.
【図7】 移動部材が領域1に存在する場合の制御フロ
ーチャートFIG. 7 is a control flowchart when the moving member exists in the area 1.
【図8】 移動部材が領域3に存在する場合の制御フロ
ーチャートFIG. 8 is a control flowchart when a moving member exists in a region 3.
【図9】 移動部材が領域3に存在する場合の加速制御
フローチャートFIG. 9 is an acceleration control flowchart when the moving member exists in the area 3.
【図10】移動部材が領域3に存在する場合の定速制御
フローチャートFIG. 10 is a flow chart of constant speed control when a moving member exists in a region 3.
【図11】移動部材が領域3に存在する場合の減速制御
フローチャートFIG. 11 is a deceleration control flowchart when a moving member exists in a region 3.
【図12】移動部材が領域2に存在する場合の制御フロ
ーチャートFIG. 12 is a control flowchart when a moving member exists in a region 2.
【図13】移動部材が領域2に存在する場合の制御フロ
ーチャートFIG. 13 is a control flowchart when a moving member exists in a region 2.
【図14】本発明の速度制御情況を説明するための図FIG. 14 is a diagram for explaining the speed control situation of the present invention.
【図15】従来の速度制御情況を説明するための図FIG. 15 is a diagram for explaining a conventional speed control situation.
45…移動部材、 53…CPU(制御手段,計数手段)、 59…システムRAM(記憶手段) 61A…初期位置検出用フォトインタラプタ(検出手
段) 61B…終端位置検出用フォトインタラプタ(検出手
段) 62…画像スキャン駆動回路 Mp …ステッピングモータ45 ... Moving member, 53 ... CPU (control means, counting means), 59 ... System RAM (storage means) 61A ... Photo interrupter for initial position detection (detection means) 61B ... Photo interrupter for detection of end position (detection means) 62 ... Image scan drive circuit Mp ... Stepping motor
Claims (1)
与えるステッピングモータと、 当該ステッピングモータに駆動パルスを与え、前記ステ
ッピングモータの駆動制御を行なう制御手段と、 前記移動部材の移動路中の所定位置に配置され、当該移
動部材が前記所定位置を通過したか否かを検出する検出
手段とを有し、 当該検出手段によって前記移動部材が所定位置を通過し
たことが検出されたら所定のパルス数Nで減速処理をし
て、前記移動部材を停止させる画像処理装置において、 前記移動部材の移動開始から前記検出手段によって通過
が検出されるまでに使用した駆動パルス数を計数する計
数手段と、 当該計数手段によって計数されたパルス数を記憶する記
憶手段とを有し、 前記移動部材が前記検出手段通過後、前記記憶手段に記
憶されたパルス数に応じた減速処理を行なうことによっ
て前記移動部材を停止させることを特徴とする画像処理
装置。1. A stepping motor which gives a driving force for reciprocating a moving member, a control means which gives a driving pulse to the stepping motor to control the driving of the stepping motor, and a stepping motor in a moving path of the moving member. And a detection unit arranged at a predetermined position for detecting whether or not the moving member has passed the predetermined position, and a predetermined pulse when the detection unit detects that the moving member has passed the predetermined position. In an image processing device that performs a deceleration process with a number N and stops the moving member, a counting unit that counts the number of drive pulses used from the start of the movement of the moving member until the passage is detected by the detecting unit, Storage means for storing the number of pulses counted by the counting means, and after the moving member has passed through the detection means, the storage means stores the number of pulses. The image processing apparatus characterized by stopping the movement member by performing a deceleration processing in accordance with the number of pulses.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4193882A JPH0637983A (en) | 1992-07-21 | 1992-07-21 | Picture processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4193882A JPH0637983A (en) | 1992-07-21 | 1992-07-21 | Picture processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0637983A true JPH0637983A (en) | 1994-02-10 |
Family
ID=16315309
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4193882A Pending JPH0637983A (en) | 1992-07-21 | 1992-07-21 | Picture processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0637983A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109288231A (en) * | 2018-08-10 | 2019-02-01 | 深圳市邻友通科技发展有限公司 | Grating-based motor positioning method, device, nail machine equipment and medium |
-
1992
- 1992-07-21 JP JP4193882A patent/JPH0637983A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109288231A (en) * | 2018-08-10 | 2019-02-01 | 深圳市邻友通科技发展有限公司 | Grating-based motor positioning method, device, nail machine equipment and medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3248029A (en) | Non-sprocketed microfilm stepping device | |
| JPH08152678A (en) | Image reading and processing method | |
| JP3701621B2 (en) | Image reading apparatus and image reading method | |
| US5146247A (en) | Information retrieval apparatus | |
| JPS59116731A (en) | Film feeding device | |
| JP2992130B2 (en) | Search device | |
| JP4511258B2 (en) | Image reading device | |
| JPH0637984A (en) | Picture reader | |
| JP2735566B2 (en) | Sub-scanning method of image reading device | |
| JPH08262568A (en) | Line sensor driving device for microfilm scanner | |
| JPH043138A (en) | Exposure controller of microfilm reader printer | |
| US5930536A (en) | Camera | |
| JPS63287167A (en) | Original reading device | |
| JPS60100276A (en) | Rewind controller of tape reader | |
| EP0969652A2 (en) | Image reading apparatus, information processing method, and storage medium | |
| JPH09281607A (en) | Driving method of optical system of image forming apparatus | |
| JPS62206963A (en) | Film reader | |
| JPS63172144A (en) | information retrieval device | |
| JPS59132072A (en) | Retrieving device for microfilm reader | |
| JPS62118671A (en) | Facsimile equipment | |
| JPH0720571A (en) | Method for controlling optical system of microfilm reader | |
| JPS62131243A (en) | information retrieval device | |
| JPH01253065A (en) | Information retrieval device | |
| JPS61141079A (en) | Retrieving device | |
| JPS62219744A (en) | Picture processor |