JP2007216472A - Image input device and reference position detection method - Google Patents

Image input device and reference position detection method Download PDF

Info

Publication number
JP2007216472A
JP2007216472A JP2006038435A JP2006038435A JP2007216472A JP 2007216472 A JP2007216472 A JP 2007216472A JP 2006038435 A JP2006038435 A JP 2006038435A JP 2006038435 A JP2006038435 A JP 2006038435A JP 2007216472 A JP2007216472 A JP 2007216472A
Authority
JP
Japan
Prior art keywords
carriage
reference position
image input
speed
movement
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
Application number
JP2006038435A
Other languages
Japanese (ja)
Other versions
JP4736835B2 (en
Inventor
Yosuke Nakayama
陽介 中山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006038435A priority Critical patent/JP4736835B2/en
Publication of JP2007216472A publication Critical patent/JP2007216472A/en
Application granted granted Critical
Publication of JP4736835B2 publication Critical patent/JP4736835B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Optical Systems Of Projection Type Copiers (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To quickly and accurately set the reference position of a carriage in an image input device equipped with a carriage moving mechanism. <P>SOLUTION: The image input device has a control means to control the movement of the carriage and a holding back member to hold back the movement of the carriage. The carriage is moved at least twice to the holding member and the speed after the second movement is made slower than the initial movement speed. When the carriage moves to the holding back member and stops by a movement following the second, the position of the carriage is detected as the reference position. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像入力装置に関し、特に、キャリッジを搬送する機構を備えた画像入力装置の基準位置検出技術に関する。   The present invention relates to an image input apparatus, and more particularly to a reference position detection technique for an image input apparatus having a mechanism for transporting a carriage.

特許文献1には、イメージセンサを搭載したキャリッジを、原稿台に沿って副走査方向に移動させながら画像を読み取るフラットベット型スキャナ装置が記載されている。キャリッジは、モータにより回転するタイミングベルトに取り付けられており、モータの回転にともなって移動する。   Patent Document 1 describes a flatbed scanner device that reads an image while moving a carriage on which an image sensor is mounted along a document table in the sub-scanning direction. The carriage is attached to a timing belt that is rotated by a motor, and moves as the motor rotates.

このようなスキャナ装置は、初期化動作においてキャリッジの基準位置を検出し、読み取り動作中のキャリッジの位置をその基準位置に基づいて求める。例えば、キャリッジを、移動限界である壁(キャリッジ制止部材)まで移動させ衝突させ停止させる。そして、その位置を基準位置として検出する。   Such a scanner device detects the reference position of the carriage in the initialization operation, and obtains the position of the carriage during the reading operation based on the reference position. For example, the carriage is moved to a wall (carriage restraining member) which is the movement limit, and is collided and stopped. Then, the position is detected as a reference position.

特開2001−8029号公報JP 2001-8029 A

しかし、従来のスキャナ装置では、検出する基準位置の精度が必ずしも十分ではなかった。例えば、従来のスキャナ装置では、画像読み取り時と同じ速い速度でキャリッジを壁に衝突させるので、タイミングベルトの弾性による引き戻しが生じ易く、本来の基準位置からずれた位置を基準位置として検出してしまう。   However, in the conventional scanner device, the accuracy of the reference position to be detected is not always sufficient. For example, in the conventional scanner device, the carriage collides against the wall at the same high speed as when reading an image. Therefore, the timing belt is easily pulled back, and a position deviated from the original reference position is detected as the reference position. .

一方で、キャリッジを最初から低速で壁まで移動させるのでは、壁への衝突までに時間がかかってしまう。   On the other hand, if the carriage is moved to the wall at a low speed from the beginning, it takes time to collide with the wall.

本発明は、上記課題を解決すべくなされたものであり、キャリッジの基準位置を、迅速かつ精度よく検出することを目的とする。   The present invention has been made to solve the above-described problems, and an object thereof is to quickly and accurately detect the reference position of a carriage.

上記課題を解決すべく、本発明の第1の態様は、
画像入力装置であって、キャリッジと、前記キャリッジの移動を制御するための制御手段と、前記キャリッジの移動を制止するための制止部材と、前記キャリッジの基準位置を検出する基準位置検出手段とを備えている。そして、前記制御手段は、前記キャリッジを少なくとも2回、前記制止部材まで移動させ、かつ2回目以降の移動の速度を、最初の移動の速度より遅くする。前記基準位置検出手段は、前記キャリッジが前記2回目以降の移動で前記制止部材まで移動して停止した後に、前記キャリッジの基準位置を検出する。
In order to solve the above problems, the first aspect of the present invention is:
An image input device comprising: a carriage; a control unit for controlling movement of the carriage; a stop member for stopping movement of the carriage; and a reference position detection unit for detecting a reference position of the carriage. I have. Then, the control means moves the carriage to the stop member at least twice and makes the speed of the second and subsequent movements slower than the speed of the first movement. The reference position detection means detects the reference position of the carriage after the carriage has moved to the stop member and stopped by the second and subsequent movements.

前記制御手段は、第1の速度で前記キャリッジを前記制止部材まで移動させた後、前記キャリッジの位置を所定距離戻し、前記第1の速度より遅い第2の速度で前記キャリッジを前記制止部材まで移動させるようにすることができる。   The control means moves the carriage to the stop member at a first speed, then returns the position of the carriage by a predetermined distance, and moves the carriage to the stop member at a second speed slower than the first speed. It can be moved.

また、前記画像入力装置は、モータと、前記モータの駆動力を前記キャリッジに伝達するためのタイミングベルトと、前記モータの回転量を出力するためのエンコーダとを備えていてもよい。そして、前記制御手段は、前記モータに印加する駆動電流を、定期的に所定の増加率で増加させる一方、前記エンコーダが所定の回転量を検出するたびに所定の減少率で減少させ、前記駆動電流が、所定の閾値を超えた場合に、前記キャリッジが前記制止部材まで移動したと判定するようにすることができる。   The image input apparatus may include a motor, a timing belt for transmitting the driving force of the motor to the carriage, and an encoder for outputting the rotation amount of the motor. The control means periodically increases the drive current applied to the motor at a predetermined increase rate, and decreases the drive current applied to the motor at a predetermined decrease rate each time the encoder detects a predetermined rotation amount. When the current exceeds a predetermined threshold value, it can be determined that the carriage has moved to the stopping member.

以下に、本発明の一実施形態について説明する。   Hereinafter, an embodiment of the present invention will be described.

図1は、本発明の画像入力装置の一例であるスキャナ装置1の概略構成図を示す。   FIG. 1 is a schematic configuration diagram of a scanner device 1 which is an example of an image input device of the present invention.

スキャナ装置1は、筐体の上面に原稿台を備えたいわゆるフラットベッド型スキャナ装置である。スキャナ装置1は、CIS(Contact Image Sensor)方式のイメージセンサを搭載したキャリッジ300を走査して、透明板の原稿台に固定された原稿の画像を読み取る。   The scanner device 1 is a so-called flatbed scanner device having a document table on the upper surface of a housing. The scanner device 1 scans a carriage 300 on which a CIS (Contact Image Sensor) type image sensor is mounted, and reads an image of a document fixed on a document platen of a transparent plate.

スキャナ装置1は、光源及びCCDイメージセンサを搭載したキャリッジ300と、キャリッジ300の往復移動を制御する駆動機構20と、スキャナ装置1の全体を制御する制御部100とを備えている。   The scanner device 1 includes a carriage 300 on which a light source and a CCD image sensor are mounted, a drive mechanism 20 that controls the reciprocation of the carriage 300, and a control unit 100 that controls the entire scanner device 1.

さらに、スキャナ装置1の筐体には、キャリッジ300の基準位置を定めるための壁(キャリッジ制止部材)400が設けられている。これにより、キャリッジ300は、点線矢印方向に壁400の位置まで移動可能であるが、壁400に衝突すると、それ以上移動することができない。   Furthermore, a wall (carriage restraining member) 400 for determining the reference position of the carriage 300 is provided in the housing of the scanner device 1. As a result, the carriage 300 can move to the position of the wall 400 in the direction of the dotted arrow, but cannot move any more when it collides with the wall 400.

キャリッジ300は、光源及びイメージセンサを副走査方向に運搬する。キャリッジ300は、原稿台の盤面に対し平行なガイド用のシャフト等にスライド自在に係止されており、駆動機構20のモータ200により回転するタイミングベルト224により牽引され、往復移動をする。   The carriage 300 carries the light source and the image sensor in the sub-scanning direction. The carriage 300 is slidably locked to a guide shaft or the like parallel to the surface of the platen of the document table, and is pulled and reciprocated by a timing belt 224 rotated by the motor 200 of the drive mechanism 20.

駆動機構20は、DCモータであるモータ200と、モータ200を制御するモータドライバ230と、モータ200の出力軸に接合されたウォームギア220と、ウォームギア220と噛み合い所定の減速比で回転する平歯車221と、平歯車221に取り付けられた主動プーリ223と、反対側の従動プーリ222と、両プーリ222、223との間に張設されキャリッジ300が取り付けられたタイミングベルト224とを備えている。このような機構により、モータ200が所定方向に回転すると、それにともなって、キャリッジ300は点線矢印方向(または、逆方向)に移動する。   The drive mechanism 20 includes a motor 200 that is a DC motor, a motor driver 230 that controls the motor 200, a worm gear 220 joined to the output shaft of the motor 200, a spur gear 221 that meshes with the worm gear 220 and rotates at a predetermined reduction ratio. And a driven pulley 223 attached to the spur gear 221, a driven pulley 222 on the opposite side, and a timing belt 224 stretched between the pulleys 222 and 223 and attached with the carriage 300. With such a mechanism, when the motor 200 rotates in a predetermined direction, the carriage 300 moves in the direction of the dotted arrow (or the reverse direction).

モータドライバ230は、電力制御用トランジスタを備え、このトランジスタのスイッチング周期に対するオン期間の割合(デューティ比)を変化させる、いわゆるPWM(Pulse Width Modulation)制御により、モータ200に印加する駆動電流を制御する。すなわち、デューティ比を小さくすることで、オン時間を短くして駆動電流を小さくする。反対に、デューティ比を大きくすることで、オン時間を長くして駆動電流を大きくする。   The motor driver 230 includes a power control transistor, and controls the drive current applied to the motor 200 by so-called PWM (Pulse Width Modulation) control that changes the ratio (duty ratio) of the ON period to the switching period of the transistor. . That is, by reducing the duty ratio, the ON time is shortened and the drive current is reduced. On the contrary, by increasing the duty ratio, the on-time is extended and the drive current is increased.

また、モータ200には、エンコーダ210が取り付けられている。エンコーダ210は、モータ200の回転量に応じたパルス(エンコーダパルス)を出力する。   In addition, an encoder 210 is attached to the motor 200. The encoder 210 outputs a pulse (encoder pulse) corresponding to the rotation amount of the motor 200.

制御部100は、その特徴的な機能部として、デューティ比発生部111と、壁判定部112と、モータ制御部120と、タイマ130とを備える。各機能部は、ソフトウェアあるいはハードウェア的に実現することができる。なお、スキャナ装置1の本来の基本動作である画像読み取り動作に関する機能の説明は省略する。   The control unit 100 includes a duty ratio generation unit 111, a wall determination unit 112, a motor control unit 120, and a timer 130 as characteristic function units. Each functional unit can be realized by software or hardware. A description of the functions related to the image reading operation, which is the original basic operation of the scanner device 1, is omitted.

デューティ比発生部111は、定期的に、モータ200を駆動するためのデューティ比を発生する。具体的には、タイマ130の割込みごとに、予め定められた増加率でデューティ比を増加させる。一方、エンコーダパルスの出力を受けるごとに、予め定められた減少率でデューティ比を減少させる。そして、調整したデューティ比をモータ制御部120に送る。なお、タイマ割込みによるデューティ比の増加率、及びエンコーダパルスによるデューティ比の減少率は、キャリッジ300の移動速度に対応して予め定められている。   The duty ratio generation unit 111 periodically generates a duty ratio for driving the motor 200. Specifically, the duty ratio is increased at a predetermined increase rate for each interrupt of the timer 130. On the other hand, every time an encoder pulse output is received, the duty ratio is reduced at a predetermined reduction rate. Then, the adjusted duty ratio is sent to the motor control unit 120. Note that the rate of increase in duty ratio due to timer interruption and the rate of decrease in duty ratio due to encoder pulses are determined in advance corresponding to the moving speed of the carriage 300.

このように調整されたデューティ比により、通常、キャリッジ300は、一定の速度で移動することができる。すなわち、デューティ比が大きくなると、モータ200への駆動電流が大きくなり、モータ200の回転が早くなり、キャリッジ300は高速で移動しようとする。しかし、モータ200が早く回転するということは、エンコーダパルスが短い周期で出力されるということなので、その分、デューティ比が減少される。したがって、デューティ比は、所定の期間で平均すると、ほぼ一定に保たれるので、キャリッジ300は、一定の速度で移動することになる。   With the duty ratio adjusted in this way, the carriage 300 can usually move at a constant speed. That is, as the duty ratio increases, the drive current to the motor 200 increases, the motor 200 rotates faster, and the carriage 300 tends to move at high speed. However, the fact that the motor 200 rotates quickly means that the encoder pulse is output in a short cycle, so that the duty ratio is reduced accordingly. Therefore, the duty ratio is kept substantially constant when averaged over a predetermined period, so that the carriage 300 moves at a constant speed.

壁判定部112は、キャリッジ300が壁400に衝突したか否かを判定し、壁400に衝突したと判定した場合、そのときのキャリッジ300の位置を基準位置として検出する。壁400への衝突は、デューティ比発生部111が決定するデューティ比を監視し、デューティ比が予め定めた閾値を超えたか否かを判定することにより行う。   The wall determination unit 112 determines whether or not the carriage 300 has collided with the wall 400. If it is determined that the carriage 300 has collided with the wall 400, the position of the carriage 300 at that time is detected as a reference position. The collision with the wall 400 is performed by monitoring the duty ratio determined by the duty ratio generation unit 111 and determining whether the duty ratio exceeds a predetermined threshold.

なお、画像読み取り時のキャリッジ300の位置は、基準位置からカウントされるエンコーダパルスの数で表される。従って、基準位置を検出した場合、エンコーダパルスカウンタは0に初期化される。   Note that the position of the carriage 300 at the time of image reading is represented by the number of encoder pulses counted from the reference position. Therefore, when the reference position is detected, the encoder pulse counter is initialized to zero.

モータ制御部120は、デューティ比発生部111からデューティ比を取得し、モータドライバ230に送る。そのため、モータ制御部120は、デューティ比を格納するためのレジスタを備えている。   The motor control unit 120 acquires the duty ratio from the duty ratio generation unit 111 and sends it to the motor driver 230. Therefore, the motor control unit 120 includes a register for storing the duty ratio.

このような制御部100は、主制御装置であるCPU110と、プログラム等が記録されたROMと、メインメモリとしてデータ等を一時的に格納するRAMと、ホスト等との入出力を制御するインタフェースと、各装置間の通信経路となるシステムバスとを備えて構成することができる。なお、各処理を専用に行うように設計されたASIC(Application Specific Integrated Circuit)で構成されていてもよい。   Such a control unit 100 includes a CPU 110 that is a main control device, a ROM in which programs and the like are recorded, a RAM that temporarily stores data and the like as a main memory, and an interface that controls input and output with a host and the like. And a system bus serving as a communication path between the devices. In addition, you may be comprised by ASIC (Application Specific Integrated Circuit) designed so that each process may be performed exclusively.

<動作の説明>
つぎに、上記のように構成されるスキャナ装置1の特徴的な動作について説明する。
<Description of operation>
Next, a characteristic operation of the scanner device 1 configured as described above will be described.

上記のように構成されるスキャナ装置1は、初期動作において基準位置を設定するために、キャリッジ300を壁400まで移動させ、衝突させる。そして、衝突した位置を基準位置として検出する。   The scanner device 1 configured as described above moves the carriage 300 to the wall 400 and collides with it in order to set the reference position in the initial operation. Then, the collision position is detected as a reference position.

ここで、壁400への衝突は、デューティ比が所定の閾値(通常の移動では超えることのない値)を超えたかどうかで判断する。ただし、1回閾値を超えた場合に、直ちに基準位置を検出するのではなく、最初に衝突させた速度より低速で、再度キャリッジ300を壁400に衝突させた後、基準位置を検出する。   Here, the collision with the wall 400 is determined based on whether the duty ratio exceeds a predetermined threshold value (a value that does not exceed normal movement). However, when the threshold value is exceeded once, the reference position is not detected immediately, but the reference position is detected after the carriage 300 is made to collide with the wall 400 again at a lower speed than the speed at which it was first collided.

図2は、スキャナ装置1の基準位置の検出処理のフロー図である。また、図3は、本処理においてキャリッジ300が移動する様子を壁400との関係で示した図である。   FIG. 2 is a flowchart of the reference position detection process of the scanner device 1. FIG. 3 is a diagram showing how the carriage 300 moves in this processing in relation to the wall 400.

図2で示したフローは、電源投入時や節電解除時などの画像読み込み前の初期動作として、基準位置の検出が必要になったときに開始される。   The flow shown in FIG. 2 is started when the reference position needs to be detected as an initial operation before image reading such as when the power is turned on or when power saving is canceled.

壁判定部112は、キャリッジ300の最初の移動速度V1を設定する。例えば、通常の画像読み取り時の移動速度を移動速度V1に設定することができる。そして、デューティ比発生部111に、キャリッジ300を移動速度V1で壁400の方向に移動させるためのデューティ比を発生するように指示する(S11)。   The wall determination unit 112 sets an initial moving speed V1 of the carriage 300. For example, the moving speed during normal image reading can be set to the moving speed V1. Then, the duty ratio generation unit 111 is instructed to generate a duty ratio for moving the carriage 300 in the direction of the wall 400 at the moving speed V1 (S11).

これを受けて、デューティ比発生部111は、キャリッジ300を移動速度V1で壁400の方向に移動させるためのデューティ比を発生する。   In response to this, the duty ratio generator 111 generates a duty ratio for moving the carriage 300 in the direction of the wall 400 at the moving speed V1.

図4(A)は、かかる場合の時間とデューティ比の関係を示す図である。図示するように、デューティ比発生部111は、タイマ割込みを受け付けるたびに、移動速度V1に対応した増加率で、デューティ比を増加させる。一方、エンコーダパルスを受け付けるたびに、移動速度V1に対応した減少率で、デューティ比を減少させる。   FIG. 4A is a diagram showing the relationship between the time and the duty ratio in such a case. As shown in the figure, the duty ratio generation unit 111 increases the duty ratio at an increase rate corresponding to the moving speed V1 every time a timer interrupt is received. On the other hand, every time an encoder pulse is received, the duty ratio is decreased at a decrease rate corresponding to the moving speed V1.

こうして、キャリッジ300は、図3に示すように、移動速度V1で壁400まで移動することになる。   Thus, as shown in FIG. 3, the carriage 300 moves to the wall 400 at the moving speed V1.

この間、壁判定部112は、デューティ比発生部111により設定されたデューティ比を監視し(S12)、デューティ比が、予め定めた閾値を超えたか否か判定する(S13)。   During this time, the wall determination unit 112 monitors the duty ratio set by the duty ratio generation unit 111 (S12), and determines whether or not the duty ratio exceeds a predetermined threshold (S13).

ここでの判定方法について具体的に説明する。キャリッジ300が壁400まで移動し、壁400により制止された場合、タイミングベルト224の回転が止まる。そうすると、モータ200の回転も停止する。そして、エンコーダパルスが出力されなくなる。しかし、デューティ比は、タイマ割込みにより増加し続けることになる。そこで、壁判定部112は、所定の閾値を超えたか否かで、壁への衝突を判定することができる。所定の閾値は、キャリッジ300の通常の移動では超えることのないデューティ比が設定されている。   The determination method here will be specifically described. When the carriage 300 moves to the wall 400 and is stopped by the wall 400, the rotation of the timing belt 224 is stopped. Then, the rotation of the motor 200 is also stopped. Then, the encoder pulse is not output. However, the duty ratio continues to increase due to the timer interrupt. Therefore, the wall determination unit 112 can determine the collision with the wall based on whether or not a predetermined threshold value is exceeded. The predetermined threshold value is set to a duty ratio that does not exceed the normal movement of the carriage 300.

デューティ比が予め定めた閾値を超えた場合(S13でY)、壁判定部112は、モータ200を逆回転させ、キャリッジ300の位置を、所定の距離だけ戻す処理を行う(図3参照)。すなわち、壁判定部112は、デューティ比発生部111に、所定の距離だけ戻すためのデューティ比を発生するように指示する。   When the duty ratio exceeds a predetermined threshold (Y in S13), the wall determination unit 112 performs a process of rotating the motor 200 in the reverse direction and returning the position of the carriage 300 by a predetermined distance (see FIG. 3). That is, the wall determination unit 112 instructs the duty ratio generation unit 111 to generate a duty ratio for returning a predetermined distance.

ここでの所定の距離は、後述する2回目のキャリッジ300の移動において、キャリッジ300を後述する移動速度V2まで加速するのに十分な距離であればよい。あまり短いと速度V2まで加速できないが、あまり長いと無駄にキャリッジ300を移動させることになる。このような距離は、実験的に予め定められている。   The predetermined distance here may be a distance sufficient for accelerating the carriage 300 to a moving speed V2 described later in the second movement of the carriage 300 described later. If it is too short, it cannot be accelerated to the speed V2, but if it is too long, the carriage 300 is moved uselessly. Such a distance is experimentally determined in advance.

次に、壁判定部112は、キャリッジ300の2回目の移動速度V2を定める。移動速度V2は、初回の移動速度V1より遅いようにする。移動速度2は、基準位置を精度良く求めるために実験的に求められた速度を設定することができる。   Next, the wall determination unit 112 determines the second moving speed V <b> 2 of the carriage 300. The moving speed V2 is set to be slower than the initial moving speed V1. The moving speed 2 can be set to an experimentally determined speed in order to accurately determine the reference position.

そして、デューティ比発生部111に、キャリッジ300を移動速度V2で壁400の方向に移動させるためのデューティ比を発生するように指示する(S15)。   Then, the duty ratio generating unit 111 is instructed to generate a duty ratio for moving the carriage 300 in the direction of the wall 400 at the moving speed V2 (S15).

これを受けて、デューティ比発生部111は、キャリッジ300を移動速度V1で壁400の方向に移動させるためのデューティ比を発生する。   In response to this, the duty ratio generator 111 generates a duty ratio for moving the carriage 300 in the direction of the wall 400 at the moving speed V1.

図4(B)は、かかる場合の時間とデューティ比の関係を示す図である。図示するように、デューティ比発生部111は、タイマ割込みを受け付けるたびに、移動速度V2に対応した増加率でデューティ比を増加させる。一方、エンコーダパルスを受け付けるたびに、移動速度V2に対応した減少率でデューティ比を減少させる。図4(B)に示すように、移動速度V2<移動速度V1であるので、図4(A)に示したデューティ比の変化に比べて、タイマ割込みによる増加率は小さくなっている。こうして、キャリッジ300は、図3に示すように、移動速度V1より遅い移動速度V2で、壁400まで移動することになる。   FIG. 4B is a diagram showing the relationship between the time and the duty ratio in such a case. As shown in the figure, the duty ratio generator 111 increases the duty ratio at an increase rate corresponding to the moving speed V2 every time a timer interrupt is received. On the other hand, every time an encoder pulse is received, the duty ratio is decreased at a decrease rate corresponding to the moving speed V2. As shown in FIG. 4B, since the moving speed V2 <the moving speed V1, the increase rate due to the timer interruption is smaller than the change in the duty ratio shown in FIG. Thus, as shown in FIG. 3, the carriage 300 moves to the wall 400 at a moving speed V2 that is slower than the moving speed V1.

この間、壁判定部112は、デューティ比発生部111により設定されたデューティ比を監視し(S16)、デューティ比が、上述した予め定めた閾値を超えたか否か判定する(S17)。   During this time, the wall determination unit 112 monitors the duty ratio set by the duty ratio generation unit 111 (S16), and determines whether the duty ratio exceeds the above-described predetermined threshold value (S17).

デューティ比が予め定めた閾値を超えた場合(S17でY)、壁判定部112は、キャリッジ300が存在する位置を基準位置として検出する。すなわち、エンコーダパルスカウンタを0に初期化する。そして、基準位置の設定処理を終了する。   When the duty ratio exceeds a predetermined threshold (Y in S17), the wall determination unit 112 detects the position where the carriage 300 is present as the reference position. That is, the encoder pulse counter is initialized to zero. Then, the reference position setting process ends.

こうして、画像読み取り前の初期動作において、基準位置が設定される。   Thus, the reference position is set in the initial operation before image reading.

制御部1は、画像読み取り動作において、キャリッジ300の位置を求める場合、上記のように設定された基準位置を用いる。すなわち、ある位置の基準位置からの距離は、基準位置からその位置までにキャリッジ300が移動した間にカウントされたエンコーダパルスの数により表される。   When obtaining the position of the carriage 300 in the image reading operation, the control unit 1 uses the reference position set as described above. That is, the distance from a reference position at a certain position is represented by the number of encoder pulses counted while the carriage 300 moves from the reference position to that position.

以上、本発明の一実施形態について説明した。   The embodiment of the present invention has been described above.

上記実施形態によれば、基準位置の検出において、最初は高速(例えば、画像読み取り時の速度)でキャリッジ300を壁400に衝突させる。その後、低速で再度、壁400に衝突させ、その位置を基準位置として検出する。これにより、駆動機構の仕組みに起因する基準位置の検出のずれを減少できる。すなわち、高速でキャリッジ300を移動させると、モータのトルクが大きいので、タイミングベルトの弾性による引き戻しの影響が大きくなるが、低速にすることで、この影響を減少させることができる。そして、基準位置をより正確に設定することができる。   According to the above embodiment, in detecting the reference position, the carriage 300 is first caused to collide with the wall 400 at a high speed (for example, a speed at the time of image reading). Then, it is made to collide with the wall 400 again at low speed, and the position is detected as a reference position. Thereby, it is possible to reduce a deviation in the detection of the reference position due to the mechanism of the drive mechanism. That is, when the carriage 300 is moved at a high speed, the motor torque is large, so that the influence of the pullback due to the elasticity of the timing belt is increased. However, the influence can be reduced by reducing the speed. The reference position can be set more accurately.

本発明は、上記実施形態に制限されない。上記実施形態は、様々な変形が可能である。   The present invention is not limited to the above embodiment. The above embodiment can be variously modified.

例えば、低速で衝突させるのを1回ではなく、それ以上、行ってもよい。また、複数回行う場合、回数を重ねるごとに、速度を遅く設定してもよい。そして、検出される基準位置に変化がなくなった場合(例えば、衝突後に位置を戻したときにカウントされるエンコードパルスと、次の衝突までのエンコードパルスが等しい場合)に、基準位置の設定処理を終了するようにしてもよい。こうすれば、より精度良く基準位置を検出することができる。   For example, the collision at low speed may be performed more than once. In addition, when performing a plurality of times, the speed may be set slower each time the number is repeated. When the detected reference position no longer changes (for example, when the encode pulse counted when the position is returned after the collision is equal to the encode pulse until the next collision), the reference position setting process is performed. You may make it complete | finish. In this way, the reference position can be detected with higher accuracy.

本発明は、CIS方式のイメージスキャナに限定されない。例えば、イメージセンサが固定されており、光源と反射ミラーをキャリッジにより移動させるCCD方式のスキャナ装置にも適用することができる。   The present invention is not limited to a CIS image scanner. For example, the present invention can be applied to a CCD scanner device in which an image sensor is fixed and a light source and a reflection mirror are moved by a carriage.

また、本発明は、DCモータを用いてキャリッジを搬送する機構を備えた装置(例えば、プリンタ)に適用することもできる。   The present invention can also be applied to an apparatus (for example, a printer) having a mechanism for transporting a carriage using a DC motor.

また、本発明の画像入力装置は、スキャナ装置に限定されず、プリンタ、コピー機、ファクシミリなどとの複合機であってもよい。   Further, the image input apparatus of the present invention is not limited to the scanner apparatus, and may be a complex machine with a printer, a copier, a facsimile, or the like.

スキャナ装置の概略構成図。1 is a schematic configuration diagram of a scanner device. 基準位置の検出処理のフロー図。The flowchart of a reference position detection process. キャリッジの移動を説明するための図。The figure for demonstrating the movement of a carriage. 時間とデューティ比との関係を示す図。図4(A)は、初回の衝突。図4(B)は2回目の衝突。The figure which shows the relationship between time and a duty ratio. FIG. 4A shows the first collision. FIG. 4B shows the second collision.

符号の説明Explanation of symbols

1…スキャナ装置、
100制御部、110…CPU、111…デューティ比発生部、112…壁判定部、120…モータ制御部、130…タイマ
20…駆動機構、200…モータ、210…エンコーダ、220…ウォームギア、231…平歯車、223、222…プーリ、224…タイミングベルト、230…モータドライバ
300…キャリッジ、
400…壁
1 ... Scanner device,
DESCRIPTION OF SYMBOLS 100 control part 110 ... CPU, 111 ... duty ratio generation part, 112 ... wall determination part, 120 ... motor control part, 130 ... timer 20 ... drive mechanism, 200 ... motor, 210 ... encoder, 220 ... worm gear, 231 ... flat Gears, 223, 222 ... pulley, 224 ... timing belt, 230 ... motor driver 300 ... carriage,
400 ... wall

Claims (4)

画像入力装置であって、
キャリッジと、
前記キャリッジの移動を制御するための制御手段と、
前記キャリッジの移動を制止するための制止部材と、
前記キャリッジの基準位置を設定する基準位置検出手段とを備え、
前記制御手段は、
前記キャリッジを少なくとも2回、前記制止部材まで移動させ、かつ2回目以降の移動の速度を、最初の移動の速度より遅くし、
前記基準位置検出手段は、
前記キャリッジが前記2回目以降の移動で前記制止部材まで移動して停止した位置を、前記キャリッジの基準位置として検出する
ことを特徴とする画像入力装置。
An image input device,
A carriage,
Control means for controlling movement of the carriage;
A restraining member for restraining the movement of the carriage;
A reference position detecting means for setting a reference position of the carriage,
The control means includes
Moving the carriage at least twice to the stop member and making the speed of the second and subsequent movements slower than the speed of the first movement;
The reference position detecting means includes
An image input device that detects a position where the carriage has moved to the stop member and stopped by the second and subsequent movements as a reference position of the carriage.
請求項1に記載の画像入力装置であって、
前記制御手段は、
第1の速度で前記キャリッジを前記制止部材まで移動させた後、
前記キャリッジの位置を所定距離戻し、
前記第1の速度より遅い第2の速度で前記キャリッジを前記制止部材まで移動させる
ことを特徴とする画像入力装置。
The image input device according to claim 1,
The control means includes
After moving the carriage to the stop member at a first speed,
Return the carriage position by a predetermined distance,
An image input apparatus, wherein the carriage is moved to the stopping member at a second speed that is slower than the first speed.
請求項1に記載の画像入力装置であって、
モータと、
前記モータの駆動力を前記キャリッジに伝達するためのタイミングベルトと、
前記モータの回転量を出力するためのエンコーダとを備え、
前記制御手段は、
前記モータに印加する駆動電流を、定期的に所定の増加率で増加させる一方、前記エンコーダが所定の回転量を検出するたびに所定の減少率で減少させ、
前記駆動電流が、所定の閾値を超えた場合に、前記キャリッジが前記制止部材まで移動したと判定する
ことを特徴とする画像入力装置。
The image input device according to claim 1,
A motor,
A timing belt for transmitting the driving force of the motor to the carriage;
An encoder for outputting the rotation amount of the motor;
The control means includes
While the drive current applied to the motor is periodically increased at a predetermined increase rate, the encoder is decreased at a predetermined decrease rate each time the encoder detects a predetermined rotation amount,
An image input apparatus, wherein when the drive current exceeds a predetermined threshold value, it is determined that the carriage has moved to the stop member.
画像入力装置の基準位置検出方法であって、
前記画像入力装置は、
キャリッジと、
前記キャリッジの移動を制止するための制止部材とを備え、
前記キャリッジを、2回目以降の移動の速度を最初の移動の速度より遅くし、少なくとも2回、前記制止部材まで移動させ、
前記キャリッジが前記2回目以降の移動で前記制止部材まで移動して停止した位置を、前記キャリッジの基準位置として検出する
ことを特徴とする画像入力装置の基準位置検出方法。

A reference position detection method for an image input device,
The image input device includes:
A carriage,
A restraining member for restraining the movement of the carriage,
The carriage is moved at a speed that is lower than the speed of the first movement after the second movement, and is moved to the stop member at least twice.
A reference position detection method for an image input apparatus, wherein a position where the carriage has moved to the stop member and stopped by the second and subsequent movements is detected as a reference position of the carriage.

JP2006038435A 2006-02-15 2006-02-15 Image input device and reference position detection method Expired - Fee Related JP4736835B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006038435A JP4736835B2 (en) 2006-02-15 2006-02-15 Image input device and reference position detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006038435A JP4736835B2 (en) 2006-02-15 2006-02-15 Image input device and reference position detection method

Publications (2)

Publication Number Publication Date
JP2007216472A true JP2007216472A (en) 2007-08-30
JP4736835B2 JP4736835B2 (en) 2011-07-27

Family

ID=38494252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006038435A Expired - Fee Related JP4736835B2 (en) 2006-02-15 2006-02-15 Image input device and reference position detection method

Country Status (1)

Country Link
JP (1) JP4736835B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013011655A (en) * 2011-06-28 2013-01-17 Canon Inc Image reading apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6159320A (en) * 1984-08-30 1986-03-26 Sharp Corp Control method of initial stop position of optical system of copying machine
JPS62133862A (en) * 1985-12-06 1987-06-17 Ricoh Co Ltd Control device of traveling body
JPH0740621A (en) * 1993-07-26 1995-02-10 Star Micronics Co Ltd Home position determination method in serial printer
JPH09200450A (en) * 1996-01-19 1997-07-31 Sharp Corp Origin detector for image scanner
JP2004282517A (en) * 2003-03-17 2004-10-07 Sharp Corp Original reader
JP2006015562A (en) * 2004-06-30 2006-01-19 Seiko Epson Corp Carriage driving device, and liquid ejecting apparatus with the carriage driving device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6159320A (en) * 1984-08-30 1986-03-26 Sharp Corp Control method of initial stop position of optical system of copying machine
JPS62133862A (en) * 1985-12-06 1987-06-17 Ricoh Co Ltd Control device of traveling body
JPH0740621A (en) * 1993-07-26 1995-02-10 Star Micronics Co Ltd Home position determination method in serial printer
JPH09200450A (en) * 1996-01-19 1997-07-31 Sharp Corp Origin detector for image scanner
JP2004282517A (en) * 2003-03-17 2004-10-07 Sharp Corp Original reader
JP2006015562A (en) * 2004-06-30 2006-01-19 Seiko Epson Corp Carriage driving device, and liquid ejecting apparatus with the carriage driving device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013011655A (en) * 2011-06-28 2013-01-17 Canon Inc Image reading apparatus

Also Published As

Publication number Publication date
JP4736835B2 (en) 2011-07-27

Similar Documents

Publication Publication Date Title
US20130194341A1 (en) Conveying device and printing apparatus
JP5089432B2 (en) Image reading apparatus and image forming apparatus
JP2007219045A (en) Image input device and reference position detecting method
JP2003189655A (en) Motor control method and motor control apparatus
JP4736835B2 (en) Image input device and reference position detection method
JP5056069B2 (en) Motor control method and motor control apparatus
US7982424B2 (en) Document reading apparatus, document reading method, and program for reading document
US8373374B2 (en) Apparatus equipped with motor and driving method for the motor
JP2008067560A (en) Motor controller, original reader and motor control method
JP6394067B2 (en) Image reading apparatus, image forming apparatus, and image reading method
JP4696942B2 (en) Image input device and carriage stop position control method
JP2007203600A (en) Image inputting apparatus and reference position detecting method
JP2008109845A (en) Motor controller, original reader, and motor control method
JP2005333377A (en) Image reading apparatus
JP5125370B2 (en) Drive control device and drive control method
JP2001275373A (en) Motor controller and storage medium
JP4710469B2 (en) Motor control device and motor control method
JP5007547B2 (en) Motor control device, document reading device, and motor control method
JP2009049860A (en) Image reading apparatus
JP4876825B2 (en) Motor control device, document reading device, and motor control method
JP3102792B2 (en) Scanner controller
JP4765462B2 (en) Motor control device and motor control method
JPH1127986A (en) Motor controller
JP2008118249A (en) Device for reading image, and device for reading and forming image
JP2008086150A (en) Motor controller, original reading apparatus, and motor control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110106

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110418

R150 Certificate of patent or registration of utility model

Ref document number: 4736835

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees