JP2008086151A - Motor controller, original reading apparatus, and motor control method - Google Patents

Motor controller, original reading apparatus, and motor control method Download PDF

Info

Publication number
JP2008086151A
JP2008086151A JP2006264532A JP2006264532A JP2008086151A JP 2008086151 A JP2008086151 A JP 2008086151A JP 2006264532 A JP2006264532 A JP 2006264532A JP 2006264532 A JP2006264532 A JP 2006264532A JP 2008086151 A JP2008086151 A JP 2008086151A
Authority
JP
Japan
Prior art keywords
motor
power
interrupt signal
speed
time
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
JP2006264532A
Other languages
Japanese (ja)
Other versions
JP2008086151A5 (en
JP5007547B2 (en
Inventor
Yasuhiko Yoshihisa
靖彦 吉久
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 JP2006264532A priority Critical patent/JP5007547B2/en
Publication of JP2008086151A publication Critical patent/JP2008086151A/en
Publication of JP2008086151A5 publication Critical patent/JP2008086151A5/ja
Application granted granted Critical
Publication of JP5007547B2 publication Critical patent/JP5007547B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motor controller, an original reading apparatus, and a motor control method that can prevent the deterioration of the throughput of original reading even when a motor is driven at an extremely low speed. <P>SOLUTION: This motor controller comprises a signal output means 124, which outputs interrupt signals according to the revolutions of a motor 50; a power addition control means 112, which performs control to increase electric power supplied to the motor 50 from the power range not to rotate the motor with the lapse of time; and a determination means 111, which receives the interrupt signals, compares with a specified reference value a measured value corresponding to a time interval from the previous interrupt signal every time the interrupt signals are inputted, determines whether or not a measurement period exceeds a reference period as a comparison result, instructs the power addition control means 112 to reduce electric power supplied to the motor 50 to stand-by power when it is determined that the measurement period does not exceed the reference period, and allows the power addition control means 112 to continue the power increase, when the determination means 111 determines that the measurement period exceeds the reference period. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、モータ制御装置、原稿読取装置およびモータ制御方法に関するものである。   The present invention relates to a motor control device, a document reading device, and a motor control method.

従来からDC(直流)モータ、ステッピングモータなどの様々なモータが、スキャナ、プリンタなどの装置に使用されている。例えば、プリンタでは、紙送り用モータ、印刷ヘッドを搭載したキャリッジを搬送するモータなどが設けられている(例えば特許文献1参照)。また、例えば、スキャナにおいても、イメージセンサを搭載したキャリッジを搬送するモータが設けられている(例えば特許文献2参照)。   Conventionally, various motors such as a DC (direct current) motor and a stepping motor are used in apparatuses such as a scanner and a printer. For example, a printer is provided with a paper feed motor, a motor that transports a carriage on which a print head is mounted, and the like (see, for example, Patent Document 1). In addition, for example, a scanner is provided with a motor that transports a carriage on which an image sensor is mounted (see, for example, Patent Document 2).

特開2001−219613号公報JP 2001-219613 A 特開2005−184390号公報JP 2005-184390 A

上記の装置などにおいて、モータを極めて低い速度で回転させたいという要求がある。例えば、スキャナにおいては、キャリッジ搬送用モータを極めて低い速度(極低速)で回転させ、キャリッジに搭載されたイメージセンサの読み取り位置を極めて低い速度で移動させることで、読み取り解像度を高くすることができるからである。   In the above-described devices, there is a demand for rotating the motor at an extremely low speed. For example, in a scanner, the reading resolution can be increased by rotating the carriage transport motor at an extremely low speed (very low speed) and moving the reading position of the image sensor mounted on the carriage at an extremely low speed. Because.

かかる極低速でのモータの駆動を実現するために、モータに印加する電圧を所定のタイミングごとに低下させる状態で駆動させる手法の採用が検討されている。ところが、かかる手法でモータを極低速で回転させる場合、予期している回転速度よりも低い回転速度で回転する場合がある。このとき、所定のタイミングでモータに印加させる電圧を低下させると、キャリッジおよびイメージセンサの移動速度が非常に遅くなってしまう。その結果、原稿読み取りのスループットが著しく低下してしまう、という問題が生じている。   In order to realize the driving of the motor at such an extremely low speed, the adoption of a method of driving in a state in which the voltage applied to the motor is reduced at every predetermined timing has been studied. However, when the motor is rotated at an extremely low speed by such a method, the motor may rotate at a rotational speed lower than the expected rotational speed. At this time, if the voltage applied to the motor is reduced at a predetermined timing, the moving speed of the carriage and the image sensor becomes very slow. As a result, there arises a problem that the throughput of document reading is significantly reduced.

ここで、モータを極低速で駆動させるというのと、原稿読み取りのスループットを向上させる、というのとでは、目的が相反しているが、かかる目的を両立させることが可能なモータ駆動装置および原稿読取装置の実現が望まれている。   Here, the purpose of driving the motor at an extremely low speed and the improvement of the document reading throughput are contradictory, but the motor drive device and the document reading capable of satisfying both of these purposes Realization of the device is desired.

本発明は上記の事情にもとづきなされたもので、その目的とするところは、モータを極低速で駆動させる場合であっても、原稿読み取りのスループットの低下を防止することが可能なモータ制御装置、原稿読取装置およびモータ制御方法を提供しよう、とするものである。   The present invention has been made based on the above circumstances, and its object is to provide a motor control device capable of preventing a reduction in document reading throughput even when the motor is driven at an extremely low speed, An original reading device and a motor control method are to be provided.

上記課題を解決するために、本発明は、被搬送物を搬送する駆動力を与えるモータの回転に基づいて、割り込み信号を出力する信号出力手段と、モータに対して印加する電力を時間の経過に伴ってモータが回転しない電力の範囲から増大させる制御を行うための電力加算制御手段と、割り込み信号が入力されると共に、この割り込み信号の入力の度に直前の割り込み信号との間の時間間隔における計測値と規定の基準値とを比較し、その比較の結果、モータの回転速度が目標とする回転速度を超えているか否かを判断すると共に、モータの回転速度が目標とする回転速度を超えていると判断される場合に、モータに印加する電力をモータが回転しない電力の範囲に低下させる指令を電力加算制御手段に与え、モータの回転速度が目標とする回転速度を超えていないと判断される場合に、電力の増大を継続させる判断手段と、を具備するものである。   In order to solve the above-mentioned problems, the present invention provides a signal output means for outputting an interrupt signal based on rotation of a motor that provides a driving force for transporting an object to be transported, and electric power applied to the motor over time. A time interval between the power addition control means for performing control to increase from the electric power range in which the motor does not rotate, and the interrupt signal is input every time this interrupt signal is input. The measured value is compared with the specified reference value, and as a result of the comparison, it is determined whether or not the motor rotational speed exceeds the target rotational speed, and the motor rotational speed is set to the target rotational speed. If it is determined that the motor power exceeds the power addition control means, a command to reduce the power applied to the motor to a power range where the motor does not rotate is given to the motor rotation speed as a target speed. If it is determined not to exceed the speed, in which includes a determination unit configured to continue the increase in power, the.

このように構成した場合には、判断手段では、信号出力手段から割り込み信号が入力される度に、直前の割り込み信号との間の時間間隔に対応する計測値と基準値とを比較する。そして、その比較の結果、モータの回転速度が目標とする回転速度を超えているか否かを判断する。そして、モータの回転速度が目標とする回転速度を超えていると判断される場合には、モータが2つの割り込み信号の間を十分な平均回転速度で駆動している状態となり、それ以上、モータが加速されると、極低速でモータを回転駆動させることが困難となる。そのため、この場合には、モータに印加する電力をモータが回転しない電力の範囲まで低下させる。また、計測値と基準値との比較により、モータの回転速度が目標とする回転速度を超えていると判断されると、モータが2つの割り込み信号の間を十分な平均回転速度で駆動しておらず、極低速駆動であっても非常に遅い状態となっている。この場合には、電力加算制御手段における電力の増大を継続させる。   In such a configuration, each time the interrupt signal is input from the signal output unit, the determination unit compares the measured value corresponding to the time interval between the previous interrupt signal and the reference value. Then, as a result of the comparison, it is determined whether or not the rotational speed of the motor exceeds the target rotational speed. When it is determined that the rotational speed of the motor exceeds the target rotational speed, the motor is driven at a sufficient average rotational speed between the two interrupt signals. Is accelerated, it becomes difficult to rotate the motor at an extremely low speed. Therefore, in this case, the electric power applied to the motor is reduced to a range of electric power at which the motor does not rotate. If it is determined by comparison between the measured value and the reference value that the motor rotation speed exceeds the target rotation speed, the motor drives between the two interrupt signals at a sufficient average rotation speed. Even in extremely low speed driving, it is in a very slow state. In this case, the increase in power in the power addition control means is continued.

このようにすることにより、モータが極低速で駆動されている状態において、非常に遅い状態となっている場合には、モータに印加されるDuty比が増大されるため、被搬送物を搬送する際のスループットを向上させることが可能となる。また、モータを極低速で駆動させるのと、被搬送物の搬送におけるスループットを向上させる、という、相反する目的を両立させることが可能となる。   By doing so, when the motor is driven at a very low speed, the duty ratio applied to the motor is increased when the motor is in a very slow state. Throughput can be improved. In addition, it is possible to satisfy both conflicting purposes of driving the motor at an extremely low speed and improving the throughput in transporting the object to be transported.

また、他の発明は、上述の発明に加えて更に、電力加算制御手段は、所定の割り込み時間が到来する場合に、モータに印加するDuty比を段階的に増加させると共に、このDuty比に対応する電流を当該モータに印加するものである。   In another invention, in addition to the above-described invention, the power addition control means further increases the duty ratio applied to the motor step by step when a predetermined interrupt time arrives, and copes with this duty ratio. Current to be applied to the motor.

このように構成した場合、所定の割り込み時間が到来すると、モータに印加されるDuty比が段階的に増加させられるので、モータを段階的に加速させることが可能となる。   In such a configuration, when a predetermined interruption time arrives, the duty ratio applied to the motor is increased stepwise, so that the motor can be accelerated stepwise.

さらに、他の発明は、上述の各発明に加えて更に、電力加算制御手段は、所定の加速領域を経過した後にモータが回転しない電力の範囲まで戻し、その後モータに印加するDuty比を段階的に増加させ、このDuty比に対応する電流を当該モータに印加するものである。   Further, according to another invention, in addition to each of the above-described inventions, the power addition control means returns the power to a range where the motor does not rotate after a predetermined acceleration region has elapsed, and then stepwise sets the duty ratio applied to the motor. The current corresponding to the duty ratio is applied to the motor.

このように構成した場合には、所定の加速領域が存在し、この加速領域が経過するまでは、モータの加速が為される。そのため、電力加算制御手段により、極低速でモータを駆動させるのに対応する分だけ、加速させることが可能となる。また、この加速領域の存在により、被搬送物の搬送におけるスループットを向上させることが可能となり、モータを極低速で駆動させる場合における、全体の処理時間を短縮させることが可能となる。   In such a configuration, a predetermined acceleration region exists, and the motor is accelerated until this acceleration region elapses. For this reason, the power addition control means can accelerate the motor by an amount corresponding to driving the motor at an extremely low speed. Further, the presence of the acceleration region can improve the throughput in transporting the object to be transported, and can shorten the entire processing time when the motor is driven at an extremely low speed.

また、他の発明は、上述の各発明に加えて更に、信号出力手段は、モータの回転に応じて出力される出力信号におけるハイレベルおよびローレベルの間のエッジを検出する度に、割り込み信号を出力するものである。   In another invention, in addition to the above-described inventions, the signal output means detects an interrupt signal every time an edge between a high level and a low level is detected in an output signal output according to the rotation of the motor. Is output.

このように構成した場合には、出力信号におけるハイレベルおよびローレベルの間のエッジを検出する度に、割り込み信号が出力されるので、隣り合うエッジ間の周期(モータの回転速度)を高精度に算出することが可能となる。   With this configuration, an interrupt signal is output each time an edge between the high level and low level in the output signal is detected, so the period between adjacent edges (motor rotation speed) is highly accurate. Can be calculated.

さらに、他の発明は、上述の発明に加えて更に、モータは、DCモータとしたものである。このように構成した場合には、ステッピングモータを用いる場合等よりも、騒音の発生を低減させることが可能となる。   Furthermore, in another invention, in addition to the above-described invention, the motor is a DC motor. In the case of such a configuration, it is possible to reduce the generation of noise compared to the case where a stepping motor is used.

また、他の発明は、上述の各発明に関わるモータ制御装置を備え、かつモータ制御装置により制御されるモータと、モータにより原稿読取位置を移動させられる被搬送物と、を具備するものである。   Another invention includes a motor control device related to each of the above-described inventions, and includes a motor controlled by the motor control device, and an object to be conveyed whose document reading position is moved by the motor. .

このように構成した場合には、原稿読取装置において、モータを極低速で駆動させる場合において、モータの回転速度が規定の回転速度よりも遅い場合(計測値が基準値を超えている場合)であっても、原稿読み取りのスループットを向上させることが可能となる。   In such a configuration, when the motor is driven at an extremely low speed in the document reading apparatus, when the rotation speed of the motor is slower than the specified rotation speed (when the measured value exceeds the reference value). Even in such a case, it is possible to improve the throughput of document reading.

さらに、他の発明は、被搬送物を搬送する駆動力を与えるモータの回転に基づいて、割り込み信号を出力する信号出力ステップと、モータに対して印加する電力を時間の経過に伴ってモータが回転しない電力の範囲から増大させる制御を行うための電力加算制御ステップと、割り込み信号が入力されると共に、この割り込み信号の入力の度に直前の割り込み信号との間の時間間隔における計測値と規定の基準値とを比較し、その比較の結果、モータの回転速度が目標とする回転速度を超えているか否かを判断する速度判断ステップと、速度判断ステップでモータの回転速度が目標とする回転速度を超えていると判断される場合に、モータに印加する電力をモータが回転しない電力の範囲に低下させ、モータの回転速度が目標とする回転速度を超えていないと判断される場合に、電力の増大を継続させる選択ステップと、を具備するものである。   Furthermore, in another invention, the motor outputs a signal output step for outputting an interrupt signal based on the rotation of the motor that provides a driving force for conveying the object to be conveyed, and the electric power applied to the motor as time passes. A power addition control step for performing control to increase from the range of power that does not rotate, and an interrupt signal is input, and a measurement value and a specification in a time interval between the interrupt signal immediately before each input of the interrupt signal The reference speed value of the motor is compared, and as a result of the comparison, a speed determination step for determining whether or not the motor rotation speed exceeds the target rotation speed, and the motor rotation speed at the speed determination step When it is determined that the speed is exceeded, the power applied to the motor is reduced to a range of power that the motor does not rotate, and the target rotational speed of the motor is reduced. If it is determined that e not, are those comprising a selecting step to continue the increase in power, the.

このように構成した場合、速度判断ステップでは、信号出力手段から割り込み信号が入力される度に、直前の割り込み信号との間の時間間隔に対応する計測値と基準値とを比較し、その比較の結果、モータの回転速度が目標とする回転速度を超えているか否かを判断する。そして、モータの回転速度が目標とする回転速度を超えていると判断される場合には、モータが2つの割り込み信号の間を十分な平均回転速度で駆動している状態となり、それ以上、モータが加速されると、極低速でモータを回転駆動させることが困難となる。そのため、この場合には、モータに印加する電力をモータが回転しない電力の範囲まで低下させる。また、計測値と基準値との比較により、モータの回転速度が目標とする回転速度を超えていると判断されると、モータが2つの割り込み信号の間を十分な平均回転速度で駆動しておらず、極低速駆動であっても非常に遅い状態となっている。この場合には、選択ステップにおいて、電力の増大を継続させる。   When configured in this manner, in the speed determination step, each time an interrupt signal is input from the signal output means, the measured value corresponding to the time interval between the previous interrupt signal and the reference value are compared, and the comparison is made. As a result, it is determined whether or not the rotational speed of the motor exceeds the target rotational speed. When it is determined that the rotational speed of the motor exceeds the target rotational speed, the motor is driven at a sufficient average rotational speed between the two interrupt signals. Is accelerated, it becomes difficult to rotate the motor at an extremely low speed. Therefore, in this case, the electric power applied to the motor is reduced to a range of electric power at which the motor does not rotate. If it is determined by comparison between the measured value and the reference value that the motor rotation speed exceeds the target rotation speed, the motor drives between the two interrupt signals at a sufficient average rotation speed. Even in extremely low speed driving, it is in a very slow state. In this case, the increase in power is continued in the selection step.

このようにすることにより、モータが極低速で駆動されている状態において、非常に遅い状態となっている場合には、モータに印加されるDuty比が増大されるため、被搬送物を搬送する際のスループットを向上させることが可能となる。また、モータを極低速で駆動させるのと、被搬送物の搬送におけるスループットを向上させる、という、相反する目的を両立させることが可能となる。   By doing so, when the motor is driven at a very low speed, the duty ratio applied to the motor is increased when the motor is in a very slow state. Throughput can be improved. In addition, it is possible to satisfy both conflicting purposes of driving the motor at an extremely low speed and improving the throughput in transporting the object to be transported.

以下、本発明の一実施の形態について、図1から図6に基づいて説明する。   Hereinafter, an embodiment of the present invention will be described with reference to FIGS.

<全体の概略構成>
図1は、本発明の一実施の形態に係る原稿読取装置10の構成を示す図である。図1に示す原稿読取装置10は、透明なコンタクトガラス11に載置された原稿を、イメージセンサ20を走査して、コンタクトガラス11越しに読み取るフラットベッド型のスキャナである。
<Overall schematic configuration>
FIG. 1 is a diagram showing a configuration of a document reading apparatus 10 according to an embodiment of the present invention. An original reading apparatus 10 shown in FIG. 1 is a flatbed scanner that reads an original placed on a transparent contact glass 11 by scanning the image sensor 20 through the contact glass 11.

図1に示すイメージセンサ20は、CIS(Contact Image Sensor)方式のイメージセンサであり、長手方向である主走査方向に所定の画素密度で配列された受光素子(CCD:Charge Coupled Device )と、各受光素子に対応するレンズと、RGB3色のそれぞれの光を原稿に照射する露光ランプとを備える。各受光素子は、所定期間ごとに、原稿からの反射光を受光し、受光量に応じた電荷を生成し蓄積し、電気信号として出力する。   An image sensor 20 shown in FIG. 1 is a CIS (Contact Image Sensor) type image sensor, and includes a light receiving element (CCD: Charge Coupled Device) arranged at a predetermined pixel density in a main scanning direction which is a longitudinal direction, A lens corresponding to the light receiving element and an exposure lamp for irradiating the original with RGB light of three colors are provided. Each light receiving element receives the reflected light from the document every predetermined period, generates and accumulates electric charge according to the amount of received light, and outputs it as an electrical signal.

また、被搬送物としてのキャリッジ30には、イメージセンサ20が固定され、ガイドレール31に沿って主走査方向とは垂直の副走査方向に移動可能であり、環状のタイミングベルト40の一箇所に固定される。   In addition, the image sensor 20 is fixed to the carriage 30 as the object to be conveyed, and can be moved along the guide rail 31 in the sub-scanning direction perpendicular to the main scanning direction. Fixed.

また、モータ50は、イメージセンサ20を副走査方向に沿って移動させる。本実施の形態では、モータ50はDCモータとされる。ウォームギア60はモータ50の軸51に固定され、平歯車70はウォームギア60と噛み合っている。さらに、プーリ71は、平歯車70と同一の軸に固定されており、平歯車70と同一の回転量で回転する。プーリ72は、回転自在に設置されており、タイミングベルト40は、適度な引張力が生じるようにしてプーリ71およびプーリ72の外側に配置されている。このような駆動系の構成により、モータ50は、ウォームギア60、平歯車70およびプーリ71を介して、タイミングベルト40に回転力を与え、タイミングベルト40をプーリ71およびプーリ72の周りで回転させることで、キャリッジ30を副走査方向に搬送する。   The motor 50 moves the image sensor 20 along the sub-scanning direction. In the present embodiment, the motor 50 is a DC motor. The worm gear 60 is fixed to the shaft 51 of the motor 50, and the spur gear 70 is engaged with the worm gear 60. Further, the pulley 71 is fixed to the same shaft as the spur gear 70 and rotates with the same rotation amount as the spur gear 70. The pulley 72 is rotatably installed, and the timing belt 40 is disposed outside the pulley 71 and the pulley 72 so as to generate an appropriate tensile force. With such a drive system configuration, the motor 50 applies a rotational force to the timing belt 40 via the worm gear 60, the spur gear 70 and the pulley 71, and rotates the timing belt 40 around the pulley 71 and the pulley 72. Thus, the carriage 30 is conveyed in the sub-scanning direction.

他方、円盤52は、周方向に所定の角度間隔で、径方向に沿って形成された所定数のスリットを有し、モータ50の軸51に対して垂直に、かつ中心にて軸51に固定され、軸51の回転とともに回転する。   On the other hand, the disk 52 has a predetermined number of slits formed along the radial direction at predetermined angular intervals in the circumferential direction, and is fixed to the shaft 51 perpendicular to the shaft 51 of the motor 50 and at the center. And rotates as the shaft 51 rotates.

また、フォトインタラプタ80は、発光ダイオード81とフォトダイオード82とを有し、発光ダイオード81から出射した光のうち、円盤52のスリットを通過した光をフォトダイオード82で受光し、受光量に応じた電気信号を出力する。つまり、フォトインタラプタ80の出力信号(ENC信号)は、円盤52のスリットを光が通過したときだけハイレベルとなり、円盤52のスリット以外の部分で光が遮断されたときにはローレベルとなる。従って、モータ50が回転する場合、ENC信号はパルス状となり、モータ50の回転角度または回転数に比例した数のパルスを有する。このため、フォトインタラプタ80の出力信号のパルス数を計測することで、モータ50の回転量を得ることができる。   The photo interrupter 80 includes a light emitting diode 81 and a photodiode 82, and among the light emitted from the light emitting diode 81, the light passing through the slit of the disk 52 is received by the photodiode 82, and according to the amount of light received. Outputs electrical signals. That is, the output signal (ENC signal) of the photo interrupter 80 is at a high level only when light passes through the slit of the disk 52, and is at a low level when light is blocked at a portion other than the slit of the disk 52. Therefore, when the motor 50 rotates, the ENC signal is pulsed and has a number of pulses proportional to the rotation angle or the number of rotations of the motor 50. For this reason, the rotation amount of the motor 50 can be obtained by measuring the number of pulses of the output signal of the photo interrupter 80.

なお、本実施の形態では、フォトインタラプタ80は、2組の発光ダイオード81とフォトダイオード82とを有し、信号出力手段の一部に対応する。2つのフォトダイオード82は、それぞれのENC信号の位相差が所定の角度(例えば90度)となるように配置される。また、円盤52およびフォトインタラプタ80により、ロータリエンコーダが構成される。   In the present embodiment, the photo interrupter 80 has two sets of light emitting diodes 81 and photodiodes 82, and corresponds to a part of the signal output means. The two photodiodes 82 are arranged such that the phase difference between the ENC signals is a predetermined angle (for example, 90 degrees). The disk 52 and the photo interrupter 80 constitute a rotary encoder.

また、制御回路100は、フォトインタラプタ80からの信号に基づいてイメージセンサ20、モータ50の動作を制御して読み取り動作を実行するとともに、読み取り動作により得られた画像データを出力する回路である。なお、制御回路100は、パーソナルコンピュータなどの外部装置、装置内外に設けられた記憶装置(メモリカード、ハードディスクドライブなど)へその画像データを出力する。また、制御回路100は、信号出力手段の一部(主としてENC割込み信号出力部124)、電力加算制御手段(主としてDuty計算部112)、判断手段(主として判断部111)に対応する。   The control circuit 100 is a circuit that controls the operations of the image sensor 20 and the motor 50 based on a signal from the photo interrupter 80 to execute a reading operation and outputs image data obtained by the reading operation. The control circuit 100 outputs the image data to an external device such as a personal computer and a storage device (memory card, hard disk drive, etc.) provided inside and outside the device. The control circuit 100 corresponds to a part of the signal output means (mainly the ENC interrupt signal output unit 124), the power addition control means (mainly the duty calculation unit 112), and the determination unit (mainly the determination unit 111).

図2は、図1における制御回路100の構成を示すブロック図である。制御回路100は、CPU(Central Processing Unit )101、メモリ102、インタフェース103、ASIC(Application Specific Integrated Circuit)104、バス105、タイマ106、RC回路107およびモータドライバ108を有する。   FIG. 2 is a block diagram showing the configuration of the control circuit 100 in FIG. The control circuit 100 includes a central processing unit (CPU) 101, a memory 102, an interface 103, an application specific integrated circuit (ASIC) 104, a bus 105, a timer 106, an RC circuit 107, and a motor driver 108.

CPU101は、メモリ102に格納されている制御プログラムに従って動作する。メモリ102はRAMおよびROMを有し、ROMには制御プログラムが予め記憶されている。CPU101が制御プログラムを実行することにより、スキャナ制御部110、判断部111、およびDuty計算部112が実現される。   The CPU 101 operates according to a control program stored in the memory 102. The memory 102 has a RAM and a ROM, and a control program is stored in advance in the ROM. When the CPU 101 executes the control program, the scanner control unit 110, the determination unit 111, and the duty calculation unit 112 are realized.

これらのうち、スキャナ制御部110は、外部装置との通信、原稿読取動作の開始、図示せぬ操作部への利用者の操作に応じた制御などを行う。   Among these, the scanner control unit 110 performs communication with an external apparatus, start of a document reading operation, control according to a user operation on an operation unit (not shown), and the like.

また、判断部111には、位置演算部122から位置情報に関する信号(位置検出信号)、周期演算部123から周期情報に関する信号(周期検出信号)、およびENC割込み信号出力部124からENC割り込み信号(割り込み信号に対応)が入力される。そして、この判断部111では、ENC割り込み信号に基づいて、周期情報に関する周期T(計測値に対応)と、後述する極低速制御(BS制御)における目標周期To (基準値に対応)とを比較する。そして、判断部111では、周期Tが、目標周期To よりも小さい場合に、Duty比をホールド電流値(モータが回転しない電力の範囲に対応)まで低下させる処理を行う。また、判断部111では、計測値に対応する周期Tと、基準値に対応する目標周期To とを比較することにより、モータ50の回転速度が、当該モータ50が目標とする回転速度を超えているか否かを判断する。   In addition, the determination unit 111 receives a signal related to position information (position detection signal) from the position calculation unit 122, a signal related to period information (period detection signal) from the period calculation unit 123, and an ENC interrupt signal (from the ENC interrupt signal output unit 124). Corresponding to the interrupt signal). Then, the determination unit 111 compares the period T related to the period information (corresponding to the measurement value) and the target period To (corresponding to the reference value) in the extremely low speed control (BS control) described later based on the ENC interrupt signal. To do. Then, when the period T is smaller than the target period To, the determination unit 111 performs a process of reducing the duty ratio to a hold current value (corresponding to a range of electric power at which the motor does not rotate). The determination unit 111 compares the cycle T corresponding to the measurement value with the target cycle To corresponding to the reference value, so that the rotation speed of the motor 50 exceeds the rotation speed targeted by the motor 50. Determine whether or not.

なお、ホールド電流はENC割り込み信号が入力された時点のDuty比に所定の倍率(0〜1の係数)を乗算して算出するようになっている。ENC割り込み信号が入力された時点のDuty比はその時点における限界トルクを超えてモーターが動き出すDuty比であるので、所定の倍率を乗算してDuty比を低下させ、その時点における限界トルクを僅かに下回る値にすることで、スループットを低下させない極低速制御が可能になる。   The hold current is calculated by multiplying the duty ratio at the time when the ENC interrupt signal is input by a predetermined magnification (coefficient of 0 to 1). Since the duty ratio at the time when the ENC interrupt signal is input is the duty ratio at which the motor starts to exceed the limit torque at that time, the duty ratio is decreased by multiplying by a predetermined magnification, and the limit torque at that time is slightly decreased. By setting a lower value, it is possible to perform extremely low speed control without reducing the throughput.

本実施の形態では、ホールド電流は、ENC割り込み信号が入力された時点のDutyに所定の倍率を乗算して低下させるようになっている。しかしながら、このホールド電流は、ENC割り込み信号が入力された時点のDuty比から所定の低下量を差し引いて算出してもよいし、固定的な値(固定値)を用いるようにしても良い。   In the present embodiment, the hold current is reduced by multiplying the duty at the time when the ENC interrupt signal is input by a predetermined magnification. However, the hold current may be calculated by subtracting a predetermined decrease amount from the duty ratio at the time when the ENC interrupt signal is input, or a fixed value (fixed value) may be used.

固定的な値(固定値)であるホールド電流値を用いる場合、ホールド電流は、例えば起動時またはその他の所定のタイミングで、モータ50を駆動させ、その際、所定の回転速度となるときのDutyを計測する(メジャメントを行う)ことに基づいて求められる。かかるメジャメントを行う場合、所定の回転速度となるときのDutyを計測するのみならず、所定のDutyでモータ50を駆動させた場合の回転速度を計測するようにしても良い。   When a hold current value that is a fixed value (fixed value) is used, the hold current is driven when the motor 50 is driven, for example, at startup or at other predetermined timing, and at that time, the duty becomes a predetermined rotation speed. Is calculated based on measuring (performing measurement). When performing such a measurement, not only the duty at a predetermined rotational speed is measured, but also the rotational speed when the motor 50 is driven at the predetermined duty may be measured.

また、Duty計算部112は、スキャナ制御部110によって、後述する極低速制御(BS制御)の実行が指示された場合、極低速制御(BS制御)のための計算を実行する。なお、極低速制御(BS制御)においては、Duty計算部112は、タイマ106からのタイマ割り込み信号を受信する度に、一定のDuty比を加算する。それにより、本実施の形態における極低速制御では、図6に示すような電流プロファイルが得られる。   Further, when the scanner control unit 110 instructs execution of extremely low speed control (BS control) described later, the duty calculation unit 112 performs calculation for extremely low speed control (BS control). Note that, in extremely low speed control (BS control), the duty calculation unit 112 adds a fixed duty ratio each time a timer interrupt signal is received from the timer 106. Thereby, in the extremely low speed control in the present embodiment, a current profile as shown in FIG. 6 is obtained.

また、インタフェース103は、外部装置とのデータ通信を行うUSB(Universal Serial Bus)等のインタフェース回路や、装置内に設けられたメモリカードスロット等とのデータ通信を行うインタフェース回路を有する。ASIC104は、イメージセンサ制御部121、位置演算部122、周期演算部123、ENC割込み信号出力部124、およびモータ制御部125を有する。   The interface 103 includes an interface circuit such as a USB (Universal Serial Bus) that performs data communication with an external device, and an interface circuit that performs data communication with a memory card slot or the like provided in the device. The ASIC 104 includes an image sensor control unit 121, a position calculation unit 122, a cycle calculation unit 123, an ENC interrupt signal output unit 124, and a motor control unit 125.

このASIC104において、イメージセンサ制御部121は、イメージセンサ20を制御して、RGB各色についての読取動作を行わせ、各色について読み取った画像データを取得する。位置演算部122は、フォトダイオード82から出力されるENC信号のパルス数をカウントすることにより、キャリッジ30の現在の位置を算出する。また、周期演算部123は、ENC信号のエッジ間の周期を計測し、この周期計測に基づいて、キャリッジ30の現在の速度を算出する。   In the ASIC 104, the image sensor control unit 121 controls the image sensor 20 to perform a reading operation for each color of RGB, and acquires image data read for each color. The position calculation unit 122 calculates the current position of the carriage 30 by counting the number of pulses of the ENC signal output from the photodiode 82. The period calculation unit 123 measures the period between the edges of the ENC signal, and calculates the current speed of the carriage 30 based on the period measurement.

また、ENC割込み信号出力部124は、フォトダイオード82からのENC信号を受信すると、このENC信号に基づくENC割り込み信号を、CPU101に向けて出力する。そして、CPU101に実現される判断部111では、このENC割り込み信号が受信されると、上述したような周期Tと目標周期To とを比較する等の処理を行う。なお、ENC割込み信号出力部124では、フォトダイオード82から出力される全てのエッジにおいて、ENC割り込み信号を出力する。すなわち、ENC割込み信号出力部124では、A相のENC信号の立ち上がりエッジおよび立ち上がりエッジ、B相のENC信号の立ち上がりエッジおよび立ち上がりエッジを検出する度に、ENC割り込み信号を出力する。   Further, when receiving the ENC signal from the photodiode 82, the ENC interrupt signal output unit 124 outputs an ENC interrupt signal based on the ENC signal to the CPU 101. When the ENC interrupt signal is received, the determination unit 111 implemented in the CPU 101 performs processing such as comparing the cycle T and the target cycle To as described above. The ENC interrupt signal output unit 124 outputs an ENC interrupt signal at every edge output from the photodiode 82. That is, the ENC interrupt signal output unit 124 outputs an ENC interrupt signal every time it detects a rising edge and a rising edge of the A-phase ENC signal and a rising edge and a rising edge of the B-phase ENC signal.

また、モータ制御部125は、CPU101(Duty計算部112)からの制御指令に基づいて、イメージセンサ制御部121から出力されるタイミングパルスに同期して、モータ50を制御するための制御信号を出力する。本実施の形態では、モータ制御部125は、モータ50の回転量に応じたデューティ比のPWM(Pulse Width Modulation)信号を出力する。   The motor control unit 125 outputs a control signal for controlling the motor 50 in synchronization with a timing pulse output from the image sensor control unit 121 based on a control command from the CPU 101 (Duty calculation unit 112). To do. In the present embodiment, the motor control unit 125 outputs a PWM (Pulse Width Modulation) signal having a duty ratio corresponding to the rotation amount of the motor 50.

また、タイマ106は、不図示のクロック信号をカウントすることで計時する。そして、このカウントにより、予め設定されている時間に到達すると、CPU101に対して、タイマ割り込み信号を出力する。   The timer 106 measures time by counting clock signals (not shown). When a preset time is reached by this count, a timer interrupt signal is output to the CPU 101.

また、RC回路107は、ローパスフィルタ回路であって、出力電圧を、入力されるPWM信号のデューティ比に応じた直流電圧にする回路である。図3は、図2におけるRC回路107の一例を示す回路図である。図3に示すように、このRC回路107は、抵抗R1および抵抗R2により分圧され、キャパシタCにより平滑化される回路となっている。本実施の形態では、RC回路107の出力電圧は、入力されるPWM信号のデューティ比に比例した電圧値となる。   The RC circuit 107 is a low-pass filter circuit that changes the output voltage to a DC voltage corresponding to the duty ratio of the input PWM signal. FIG. 3 is a circuit diagram showing an example of the RC circuit 107 in FIG. As shown in FIG. 3, the RC circuit 107 is a circuit that is divided by the resistors R1 and R2 and smoothed by the capacitor C. In the present embodiment, the output voltage of the RC circuit 107 has a voltage value proportional to the duty ratio of the input PWM signal.

また、モータドライバ108は、RC回路107を介してモータ制御部125から印加される電流値指令電圧Vrefの値に応じた電流をモータ50に導通させるドライバ回路である。本実施の形態では、電流値指令電圧Vrefの値に比例した電流がモータ50に導通する。   The motor driver 108 is a driver circuit that causes the motor 50 to conduct a current corresponding to the value of the current value command voltage Vref applied from the motor control unit 125 via the RC circuit 107. In the present embodiment, a current proportional to the value of the current value command voltage Vref is conducted to the motor 50.

図4は、図2におけるモータドライバ108の一例を示す図である。スイッチング素子Q1〜Q4は、ブリッジ接続されており、それぞれスイッチング用のトランジスタであり、ダイオードD1〜D4は、スイッチング素子Q1〜Q4のコレクタ・エミッタ間(ゲート・ドレイン間)にそれぞれ設けられ、スイッチング素子Q1〜Q4を導通する電流とは逆方向に電流を導通させる回生用のダイオードである。抵抗Rdは、モータ50に流れる電流値を両端電圧として検出する微小抵抗である。ゲート回路131は、電流値指令電圧Vrefの値、および抵抗Rdの両端電圧から得られるモータ50の駆動電流の値に基づき、スイッチング素子Q1〜Q4のオン・オフ制御を行う回路である。なお、本実施の形態では、スイッチング素子Q1〜Q4は、それぞれP型のトランジスタであるが、N型のトランジスタを使用してもよい。その場合、抵抗Rdは電源VBB側に設けられる。   FIG. 4 is a diagram illustrating an example of the motor driver 108 in FIG. The switching elements Q1 to Q4 are bridge-connected, and are switching transistors. The diodes D1 to D4 are provided between the collector and emitter (between the gate and drain) of the switching elements Q1 to Q4, respectively. This is a regenerative diode that conducts current in the opposite direction to the current that conducts Q1 to Q4. The resistor Rd is a minute resistor that detects the value of the current flowing through the motor 50 as a voltage at both ends. The gate circuit 131 is a circuit that performs on / off control of the switching elements Q1 to Q4 based on the value of the current value command voltage Vref and the value of the driving current of the motor 50 obtained from the voltage across the resistor Rd. In the present embodiment, each of switching elements Q1 to Q4 is a P-type transistor, but an N-type transistor may be used. In that case, the resistor Rd is provided on the power supply VBB side.

例えば、スイッチング素子Q1,Q4がオンでありスイッチング素子Q2,Q3がオフであると、電源電圧VBBがモータ50(および電流検出用の微小抵抗Rd)に印加され、順方向にモータ50が回転する。また、スイッチング素子Q2,Q3がオンでありスイッチング素子Q1,Q4がオフであると、電源電圧VBBが反転してモータ50(および電流検出用の微小抵抗Rd)に印加され、逆向きにモータ50が回転する。ゲート回路131は、スイッチング素子Q1,Q4がオンでありスイッチング素子Q2,Q3がオフである場合、モータ50の駆動電流が電流値指令電圧Vrefにより指定された値以上となったときに、スイッチング素子Q1を一定期間オフさせてモータドライバ108を回生動作させ、その後、スイッチング素子Q1をオンさせる。   For example, when the switching elements Q1, Q4 are on and the switching elements Q2, Q3 are off, the power supply voltage VBB is applied to the motor 50 (and the small resistor Rd for current detection), and the motor 50 rotates in the forward direction. . When switching elements Q2 and Q3 are on and switching elements Q1 and Q4 are off, power supply voltage VBB is inverted and applied to motor 50 (and minute resistor Rd for current detection), and motor 50 is reversed. Rotates. When the switching elements Q1 and Q4 are on and the switching elements Q2 and Q3 are off, the gate circuit 131 is switched when the driving current of the motor 50 becomes equal to or greater than the value specified by the current value command voltage Vref. Q1 is turned off for a certain period to cause the motor driver 108 to perform a regenerative operation, and then the switching element Q1 is turned on.

この動作を繰り返すことで、モータ50の駆動電流は、電流値指令電圧Vrefにより指定された値にほぼ維持される。その場合、スイッチング素子Q2,Q3は、継続的にオフのままである。同様に、ゲート回路131は、スイッチング素子Q2,Q3がオンでありスイッチング素子Q1,Q4がオフである場合、モータ50の駆動電流が電流値指令電圧Vrefにより指定された値以上となったときに、スイッチング素子Q2を一定期間オフさせてモータドライバ108を回生動作させ、その後、スイッチング素子Q2をオンさせる。この動作を繰り返すことで、モータ50の駆動電流は、電流値指令電圧Vrefにより指定された値にほぼ維持される。その場合、スイッチング素子Q2,Q3は、継続的にオフのままである。   By repeating this operation, the drive current of the motor 50 is substantially maintained at the value specified by the current value command voltage Vref. In that case, the switching elements Q2 and Q3 remain off continuously. Similarly, when the switching elements Q2 and Q3 are on and the switching elements Q1 and Q4 are off, the gate circuit 131 is when the driving current of the motor 50 becomes equal to or greater than the value specified by the current value command voltage Vref. Then, the switching element Q2 is turned off for a certain period to cause the motor driver 108 to perform a regenerative operation, and then the switching element Q2 is turned on. By repeating this operation, the drive current of the motor 50 is substantially maintained at the value specified by the current value command voltage Vref. In that case, the switching elements Q2 and Q3 remain off continuously.

<モータの駆動制御について>
以上のような構成の原稿読取装置10において、モータ制御を行う場合について、図5の動作フローおよび図6等に基づいて、以下に説明する。
<About motor drive control>
A case where motor control is performed in the document reading apparatus 10 having the above configuration will be described below based on the operation flow of FIG. 5 and FIG.

ユーザが、コンタクトガラス11に読み取り対象である原稿をセットすると共に、例えば原稿読取装置10の操作パネルでの操作により、高解像度での読み取りモードが設定されると、原稿読取装置10では、高解像度での読み取りモードに対応する極低速制御が開始される。このとき、原稿読取装置10では、キャリッジ30を所定の基準位置まで移動させたり、モータ50にホールド電流を印加する等、所定の予備動作を行う(S10)。   When a user sets a document to be read on the contact glass 11 and a reading mode at a high resolution is set by, for example, an operation on the operation panel of the document reading device 10, the document reading device 10 The very low speed control corresponding to the reading mode is started. At this time, the document reading apparatus 10 performs a predetermined preliminary operation such as moving the carriage 30 to a predetermined reference position or applying a hold current to the motor 50 (S10).

そして、予備動作が終了すると、CPU101に実現される判断部111は、Duty計算部112でのDuty比の計算の開始を指示する。そして、この指示に従い、Duty計算部112では、極低速制御(BS制御)に対応するDuty比の計算を行う。ここで、極低速制御(BS制御)における電流と時間の関係を、図6に示す。この図6では、モータ50を起動開始させて、A相の立ち上がりエッジを検出後(このとき、CPU101には、ENC割り込み信号が入力される。)、同じA相の立ち下がりエッジを検出するまで、当該モータ50を加速させるための電流を通電させている(S11)。この加速を行う場合、モータ50には、加速に対応する電流が通電されるが、このときのDuty比は、一定となっている。   When the preliminary operation ends, the determination unit 111 implemented in the CPU 101 instructs the duty calculation unit 112 to start calculating the duty ratio. In accordance with this instruction, the duty calculation unit 112 calculates a duty ratio corresponding to extremely low speed control (BS control). Here, the relationship between current and time in extremely low speed control (BS control) is shown in FIG. In FIG. 6, after starting the motor 50 and detecting the rising edge of the A phase (at this time, the ENC interrupt signal is input to the CPU 101), until the same falling edge of the A phase is detected. A current for accelerating the motor 50 is energized (S11). When this acceleration is performed, a current corresponding to the acceleration is supplied to the motor 50, but the duty ratio at this time is constant.

続いて、キャリッジ30の現在の位置が、加速領域に存在しているか否かを判断する(S12)。この判断においては、所定の個数だけエッジを検出するか否かによって行う。そして、このS12の判断において、キャリッジ30の現在の位置が、加速領域に存在していないと判断される場合(Noの場合)、続いてホールド電流まで電流を低下させる(S13)。また、ホールド電流までの低下後、判断部111では、次のENC割り込み信号が受信されたか否かを判断する(S14)。なお、このS14で速度が低下させられると、以後、図6に示す極低速制御(BS制御)が開始させられる。   Subsequently, it is determined whether or not the current position of the carriage 30 exists in the acceleration region (S12). This determination is made based on whether or not a predetermined number of edges are detected. If it is determined in S12 that the current position of the carriage 30 does not exist in the acceleration region (No), the current is reduced to the hold current (S13). Further, after the reduction to the hold current, the determination unit 111 determines whether or not the next ENC interrupt signal has been received (S14). When the speed is reduced in S14, the extremely low speed control (BS control) shown in FIG. 6 is started thereafter.

S14の判断において、ENC割り込み信号が受信されないと判断される場合(Noの場合)、続いて判断部111では、タイマ106からタイマ割り込み信号が受信されたか否かを判断する(S15)。この判断においてタイマ割り込み信号が受信されないと判断される場合(Noの場合)、上述のS14に戻る。   If it is determined in S14 that an ENC interrupt signal is not received (in the case of No), the determination unit 111 determines whether a timer interrupt signal is received from the timer 106 (S15). If it is determined that the timer interrupt signal is not received in this determination (in the case of No), the process returns to S14 described above.

また、このS15において、タイマ割り込み信号が受信されたと判断される場合(Yesの場合)、Duty計算部112では、一定のDutyを加算する(S16)。ここで、加算される一定のDutyとは、図6に示すように、ホールド電流に対して、段階的に加算されるDuty比のことであり、各段階で加算されるDuty比は等しくなっている。   If it is determined in S15 that the timer interrupt signal has been received (Yes), the duty calculation unit 112 adds a certain duty (S16). Here, as shown in FIG. 6, the constant duty to be added is a duty ratio that is added in stages with respect to the hold current, and the duty ratio that is added in each stage is equal. Yes.

なお、Duty比に対応する電圧は、図3に示すRC回路107を経ることにより、実際には所定の分圧および平滑化が為された電流(直流)に変換される。このとき、Duty比が段階的に加算されると、電流も段階的に加算される状態となる。また、タイマ106から発せられるタイマ割り込み信号は、ENC割込み信号出力部124から発せられるENC割り込み信号よりも小さな時間間隔で発せられる状態となっている。   Note that the voltage corresponding to the duty ratio is actually converted into a current (direct current) that has been subjected to predetermined voltage division and smoothing through the RC circuit 107 shown in FIG. At this time, when the duty ratio is added stepwise, the current is also added stepwise. The timer interrupt signal issued from the timer 106 is in a state that is issued at a smaller time interval than the ENC interrupt signal issued from the ENC interrupt signal output unit 124.

上述のS14の判断において、ENC割り込み信号が受信されていると判断する場合(Yesの場合)、続いて、キャリッジ30が目標位置まで移動したか否か(ENC信号のカウント数が、目標となるカウント数に到達したか否か)の判断を行う(S17)。このS17の判断において、キャリッジ30が目標位置に到達したと判断される場合(Yesの場合)、続いてモータ50を停止させるための処理を行い(S18)、処理が終了する。   If it is determined in step S14 that the ENC interrupt signal has been received (Yes), whether the carriage 30 has moved to the target position (the count number of the ENC signal becomes the target). It is determined whether or not the count number has been reached (S17). If it is determined in S17 that the carriage 30 has reached the target position (Yes), then a process for stopping the motor 50 is performed (S18), and the process ends.

また、上述のS17において、キャリッジ30が目標位置まで移動していないと判断される場合(Noの場合)、目標位置に向けて、キャリッジ30をさらに移動させる必要がある。そのため、この場合には、極低速制御を継続する。具体的なS17以後の処理としては、現在の周期Tが、目標周期To と比較して、小さいか否かを判断する(S19)。なお、周期は、速度の逆数であるため、この判断においては、現在の速度と目標速度を比較するようにしても良い。   In S17 described above, when it is determined that the carriage 30 has not moved to the target position (in the case of No), it is necessary to further move the carriage 30 toward the target position. Therefore, in this case, extremely low speed control is continued. As specific processing after S17, it is determined whether or not the current period T is smaller than the target period To (S19). Since the period is the reciprocal of the speed, the current speed and the target speed may be compared in this determination.

このS19において、周期Tが目標速度To よりも小さいと判断される(Yesと判断される)と、間近の2つのエッジ間におけるキャリッジ30の速度は、目標とする速度よりも速い状態となる。そのため、この場合、Duty計算部112では、Duty比をホールド電流に対応するDuty比まで、低下させる処理(計算)を行う(S20)。そして、このS20の処理が終了した後に、再びS14に戻る。   In S19, when it is determined that the period T is smaller than the target speed To (determined as Yes), the speed of the carriage 30 between the two nearby edges is higher than the target speed. Therefore, in this case, the duty calculation unit 112 performs processing (calculation) for reducing the duty ratio to the duty ratio corresponding to the hold current (S20). Then, after the process of S20 ends, the process returns to S14 again.

また、S19の判断において、周期Tが目標速度To よりも大きいと判断される(Noと判断される)と、間近の2つのエッジ間におけるキャリッジ30の速度は、目標とする速度よりも遅い状態となる。この遅い状態で、S20のようにホールド電流に対応するDuty比まで、Duty比を下げたのでは、原稿読み取りのスループットが低下する原因となる。そこで、この場合(S19においてNoと判断される場合)には、S20の処理を行わず(ホールド電流まで電流を低下させず)に、再びS14に戻り、次のENC割り込み信号が受信されたか否かを判断する。以上のようにして、モータ50の極低速制御が為される。   If it is determined in S19 that the period T is larger than the target speed To (determined No), the speed of the carriage 30 between the two adjacent edges is lower than the target speed. It becomes. In this slow state, if the duty ratio is lowered to the duty ratio corresponding to the hold current as in S20, the document reading throughput is reduced. Therefore, in this case (when it is determined No in S19), the process returns to S14 again without performing the process of S20 (without reducing the current to the hold current), and whether or not the next ENC interrupt signal has been received. Determine whether. As described above, extremely low speed control of the motor 50 is performed.

<本発明による効果>
上述のような構成の原稿読取装置10によると、判断部111では、ENC割り込み信号が入力されると、周期Tと、目標周期To とを比較する。そして、周期Tが目標周期To よりも小さい場合(目標速度よりも速い場合)に、Duty比をホールド電流値まで低下させる処理を行う。また、周期Tが目標周期To よりも大きい場合(目標速度よりも遅い場合)には、Duty比の増加を途中段階から継続させる。このため、キャリッジ30を搬送する際のスループットを向上させることが可能となる。また、モータ50を極低速で駆動させるのと、キャリッジ30の搬送におけるスループットを向上させる、という、相反する目的を両立させることが可能となる。
<Effects of the present invention>
According to the document reading apparatus 10 having the above-described configuration, when the ENC interrupt signal is input, the determination unit 111 compares the cycle T with the target cycle To. Then, when the period T is smaller than the target period To (when it is faster than the target speed), the duty ratio is reduced to the hold current value. Further, when the period T is larger than the target period To (when it is slower than the target speed), the duty ratio is continuously increased from the middle stage. For this reason, it is possible to improve the throughput when the carriage 30 is conveyed. In addition, it is possible to satisfy both the conflicting purposes of driving the motor 50 at an extremely low speed and improving the throughput in the conveyance of the carriage 30.

また、本実施の形態では、判断部111では、所定の割り込み時間が到来すると、モータ50に印加されるDuty比が段階的に増加させられるので、モータ50を段階的に加速させることが可能となる。また、段階的なDuty比の増加により、モータ50を確実に動き出させることが可能となる。   Further, in the present embodiment, when the predetermined interruption time comes, the determination unit 111 increases the duty ratio applied to the motor 50 in stages, so that the motor 50 can be accelerated in stages. Become. Further, the motor 50 can be surely moved by increasing the duty ratio in stages.

さらに、本実施の形態では、図6に示すような所定の加速領域を経過した後に、ホールド電流まで電流を低下させ、その後モータ50に印加するDuty比を段階的に増加させ、このDuty比に対応する電流を当該モータ50に印加している。このため、この加速領域の存在により、極低速でモータ50を駆動させるのに対応する分だけ、加速させることが可能となる。また、この加速領域の存在により、キャリッジ30の搬送におけるスループットを向上させることが可能となり、モータ50を極低速で駆動させる場合における、全体の処理時間を短縮させることが可能となる。   Furthermore, in the present embodiment, after a predetermined acceleration region as shown in FIG. 6 has elapsed, the current is reduced to the hold current, and then the duty ratio applied to the motor 50 is increased stepwise, and this duty ratio is increased. A corresponding current is applied to the motor 50. For this reason, the presence of this acceleration region enables acceleration corresponding to driving the motor 50 at an extremely low speed. Further, the presence of this acceleration region can improve the throughput in transporting the carriage 30 and can shorten the overall processing time when the motor 50 is driven at an extremely low speed.

また、ENC割込み信号出力部124は、モータ50の回転に応じて出力されるENC信号におけるハイレベルおよびローレベルの間のエッジを検出する度に、ENC割り込み信号を出力する。このため、ENC信号のエッジを検出する度に、ENC割り込み信号が出力されるので、隣り合うエッジ間の周期(モータ50の回転速度)を高精度に算出することが可能となる。   The ENC interrupt signal output unit 124 outputs an ENC interrupt signal every time an edge between a high level and a low level in the ENC signal output according to the rotation of the motor 50 is detected. For this reason, the ENC interrupt signal is output every time the edge of the ENC signal is detected, so that the period between the adjacent edges (the rotational speed of the motor 50) can be calculated with high accuracy.

また、本実施の形態では、モータ50は、DCモータである。このため、ステッピングモータを用いる場合等よりも、騒音の発生を低減させることが可能となる。   In the present embodiment, the motor 50 is a DC motor. For this reason, it becomes possible to reduce generation | occurrence | production of noise rather than the case where a stepping motor is used.

また、本発明の原稿読取装置10では、原稿読み取りのスループットを向上させることが可能となる。   In the document reading apparatus 10 of the present invention, it is possible to improve the document reading throughput.

以上、本発明の一実施の形態について述べたが、本発明は、種々変形可能である。以下、それについて述べる。   Although one embodiment of the present invention has been described above, the present invention can be variously modified. This will be described below.

上述の実施の形態では、モータ50として、DCモータを用いる場合について説明している。しかしながら、モータは、DCモータには限られず、例えばモータの騒音がさほど問題とならない場合には、ステッピングモータを用いるようにしても良い。また、同期モータなどのAC(交流)モータとしても良い。   In the above-described embodiment, the case where a DC motor is used as the motor 50 has been described. However, the motor is not limited to a DC motor. For example, when the noise of the motor does not matter so much, a stepping motor may be used. Also, an AC (alternating current) motor such as a synchronous motor may be used.

また、上述の実施の形態では、制御回路100は、CPU101と、ASIC104とを備えている。しかしながら、制御回路100としては、ASICのみでモータ50の制御を司るように構成しても良く、また、これら以外に種々の周辺機器が組み込まれた1チップマイコン等を組み合わせて、制御回路100を構成するようにしても良い。   In the above-described embodiment, the control circuit 100 includes the CPU 101 and the ASIC 104. However, the control circuit 100 may be configured to control the motor 50 only with the ASIC, and in addition to these, the control circuit 100 may be combined with a one-chip microcomputer incorporating various peripheral devices. You may make it comprise.

また、上述の実施の形態では、被搬送物として、キャリッジ30を用いる場合について説明しているが、例えば原稿を直接送る方式の原稿読取装置においては、被搬送物を用紙等の原稿としても良い。また、上述の実施の形態においては、CIS方式のイメージセンサが用いられているが、その他の方式として、光学縮小方式のイメージセンサを用いるようにしても良い。   In the above-described embodiment, the case where the carriage 30 is used as the transported object is described. However, for example, in a document reading apparatus that directly feeds a document, the transported object may be a document such as a sheet. . In the above-described embodiment, the CIS type image sensor is used. However, as another method, an optical reduction type image sensor may be used.

さらに、上述の実施の形態では、モータ50を極低速駆動させるために、Duty比を段階的に一定の増加量ずつ増加させている。しかしながら、Duty比は、一定の増加量ずつ増加させる場合には限られず、例えばホールド電流付近の電流の場合の増加ピッチを、ホールド電流から離間する部位よりも大きくする等、増加量を変動させるようにしても良い。   Further, in the above-described embodiment, in order to drive the motor 50 at an extremely low speed, the duty ratio is increased stepwise by a constant increase amount. However, the duty ratio is not limited to increasing by a constant increase amount. For example, the increase pitch in the case of a current in the vicinity of the hold current is made larger than that of the portion separated from the hold current, so that the increase amount is changed. Anyway.

本発明の一実施の形態に係る原稿読取装置の概略構成を示す図である。1 is a diagram showing a schematic configuration of a document reading apparatus according to an embodiment of the present invention. 制御回路の構成を示すブロック図である。It is a block diagram which shows the structure of a control circuit. 図2におけるRC回路の一例を示す回路図である。FIG. 3 is a circuit diagram illustrating an example of an RC circuit in FIG. 2. 図2におけるモータドライバの一例を示す図である。It is a figure which shows an example of the motor driver in FIG. モータ駆動開始時の動作フローを示す図である。It is a figure which shows the operation | movement flow at the time of a motor drive start. 電流とENC信号の関係を示す図である。It is a figure which shows the relationship between an electric current and an ENC signal.

符号の説明Explanation of symbols

10…原稿読取装置、20…イメージセンサ、30…キャリッジ(被搬送物に対応)、50…モータ、80…フォトインタラプタ(信号出力手段の一部に対応)、100…制御回路(信号出力手段の一部、電力加算制御手段、判断手段に対応)、101…CPU、104…ASIC、106…タイマ、111…判断部、112…Duty計算部(電力加算制御手段)、121…イメージセンサ制御部、122…位置演算部、123…周期演算部、124…ENC割込み信号出力部(信号出力手段)、125…モータ制御部   DESCRIPTION OF SYMBOLS 10 ... Document reading apparatus, 20 ... Image sensor, 30 ... Carriage (corresponding to a conveyed object), 50 ... Motor, 80 ... Photo interrupter (corresponding to a part of signal output means), 100 ... Control circuit (of signal output means) 101 ... CPU, 104 ... ASIC, 106 ... Timer, 111 ... Determination unit, 112 ... Duty calculation unit (power addition control unit), 121 ... Image sensor control unit, 122 ... Position calculation unit, 123 ... Period calculation unit, 124 ... ENC interrupt signal output unit (signal output means), 125 ... Motor control unit

Claims (7)

被搬送物を搬送する駆動力を与えるモータの回転に基づいて、割り込み信号を出力する信号出力手段と、
上記モータに対して印加する電力を時間の経過に伴ってモータが回転しない電力の範囲から増大させる制御を行うための電力加算制御手段と、
上記割り込み信号が入力されると共に、この割り込み信号の入力の度に直前の割り込み信号との間の時間間隔における計測値と規定の基準値とを比較し、その比較の結果、上記モータの回転速度が目標とする回転速度を超えているか否かを判断すると共に、上記モータの回転速度が上記目標とする回転速度を超えていると判断される場合に、上記モータに印加する電力をモータが回転しない電力の範囲に低下させる指令を上記電力加算制御手段に与え、上記モータの回転速度が上記目標とする回転速度を超えていないと判断される場合に、上記電力の増大を継続させる判断手段と、
を具備することを特徴とするモータ制御装置。
A signal output means for outputting an interrupt signal based on rotation of a motor for applying a driving force for conveying the object to be conveyed;
Power addition control means for performing control to increase the power applied to the motor from the range of power that the motor does not rotate over time;
When the interrupt signal is input, each time this interrupt signal is input, the measured value in the time interval between the previous interrupt signal and the specified reference value are compared. As a result of the comparison, the rotation speed of the motor is determined. Determines whether the motor exceeds the target rotational speed, and if it is determined that the motor rotational speed exceeds the target rotational speed, the motor rotates the electric power applied to the motor. A command for lowering the power range to be not applied to the power addition control means, and when it is determined that the rotation speed of the motor does not exceed the target rotation speed, ,
A motor control device comprising:
前記電力加算制御手段は、所定の割り込み時間が到来する場合に、前記モータに印加するDuty比を段階的に増加させると共に、このDuty比に対応する電流を当該モータに印加することを特徴とする請求項1記載のモータ制御装置。   The power addition control means increases the duty ratio applied to the motor stepwise when a predetermined interruption time arrives, and applies a current corresponding to the duty ratio to the motor. The motor control device according to claim 1. 前記電力加算制御手段は、所定の加速領域を経過した後に前記モータが回転しない電力の範囲まで戻し、その後前記モータに印加する前記Duty比を段階的に増加させ、このDuty比に対応する電流を当該モータに印加することを特徴とする請求項2記載のモータ制御装置。   The power addition control means returns the electric power to a range where the motor does not rotate after a predetermined acceleration region has elapsed, and then gradually increases the duty ratio applied to the motor, and generates a current corresponding to the duty ratio. The motor control device according to claim 2, wherein the motor control device is applied to the motor. 前記信号出力手段は、前記モータの回転に応じて出力される出力信号におけるハイレベルおよびローレベルの間のエッジを検出する度に、前記割り込み信号を出力することを特徴とする請求項1から3のいずれか1項に記載のモータ制御装置。   4. The signal output means outputs the interrupt signal every time an edge between a high level and a low level in an output signal output in accordance with rotation of the motor is detected. The motor control device according to any one of the above. 前記モータは、DCモータであることを特徴とする請求項1から4のいずれか1項に記載のモータ制御装置。   The motor control apparatus according to claim 1, wherein the motor is a DC motor. 請求項1から5のいずれか1項に記載のモータ制御装置と、
前記モータ制御装置により制御されるモータと、
上記モータにより原稿読取位置を移動させられる被搬送物と、
を具備することを特徴とする原稿読取装置。
The motor control device according to any one of claims 1 to 5,
A motor controlled by the motor control device;
A conveyed object whose original reading position is moved by the motor;
An original reading apparatus comprising:
被搬送物を搬送する駆動力を与えるモータの回転に基づいて、割り込み信号を出力する信号出力ステップと、
上記モータに対して印加する電力を時間の経過に伴ってモータが回転しない電力の範囲から増大させる制御を行うための電力加算制御ステップと、
上記割り込み信号が入力されると共に、この割り込み信号の入力の度に直前の割り込み信号との間の時間間隔における計測値と規定の基準値とを比較し、その比較の結果、上記モータの回転速度が目標とする回転速度を超えているか否かを判断する速度判断ステップと、
上記速度判断ステップで上記モータの回転速度が上記目標とする回転速度を超えていると判断される場合に、上記モータに印加する電力をモータが回転しない電力の範囲に低下させ、上記モータの回転速度が上記目標とする回転速度を超えていないと判断される場合に、上記電力の増大を継続させる選択ステップと、
を具備することを特徴とするモータ制御方法。
A signal output step for outputting an interrupt signal based on rotation of a motor that provides a driving force for transporting the object to be transported;
A power addition control step for performing control to increase the power applied to the motor from a range of power in which the motor does not rotate over time;
When the interrupt signal is input, each time this interrupt signal is input, the measured value in the time interval between the previous interrupt signal and the specified reference value are compared. As a result of the comparison, the rotation speed of the motor is determined. A speed determination step for determining whether or not the motor exceeds a target rotational speed;
When it is determined in the speed determination step that the rotation speed of the motor exceeds the target rotation speed, the power applied to the motor is reduced to a range of power that the motor does not rotate, and the rotation of the motor A selection step of continuing to increase the power when it is determined that the speed does not exceed the target rotational speed;
A motor control method comprising:
JP2006264532A 2006-09-28 2006-09-28 Motor control device, document reading device, and motor control method Expired - Fee Related JP5007547B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006264532A JP5007547B2 (en) 2006-09-28 2006-09-28 Motor control device, document reading device, and motor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006264532A JP5007547B2 (en) 2006-09-28 2006-09-28 Motor control device, document reading device, and motor control method

Publications (3)

Publication Number Publication Date
JP2008086151A true JP2008086151A (en) 2008-04-10
JP2008086151A5 JP2008086151A5 (en) 2009-08-20
JP5007547B2 JP5007547B2 (en) 2012-08-22

Family

ID=39356424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006264532A Expired - Fee Related JP5007547B2 (en) 2006-09-28 2006-09-28 Motor control device, document reading device, and motor control method

Country Status (1)

Country Link
JP (1) JP5007547B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013078246A (en) * 2011-09-30 2013-04-25 Brother Ind Ltd Motor controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003079189A (en) * 2001-09-03 2003-03-14 Sharp Corp Driving method of dc motor, method and apparatus for feeding sheet, imaging apparatus, and image reader
JP2005094857A (en) * 2003-09-12 2005-04-07 Brother Ind Ltd Method and device for controlling motor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003079189A (en) * 2001-09-03 2003-03-14 Sharp Corp Driving method of dc motor, method and apparatus for feeding sheet, imaging apparatus, and image reader
JP2005094857A (en) * 2003-09-12 2005-04-07 Brother Ind Ltd Method and device for controlling motor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013078246A (en) * 2011-09-30 2013-04-25 Brother Ind Ltd Motor controller

Also Published As

Publication number Publication date
JP5007547B2 (en) 2012-08-22

Similar Documents

Publication Publication Date Title
JP2008107805A (en) Image reading apparatus, image reading method and program
US20090315503A1 (en) Control device of stepping motor, image reading device, control method and control program of stepping motor
JP2008067560A (en) Motor controller, original reader and motor control method
US7443132B2 (en) Motor control device and method
JP5007547B2 (en) Motor control device, document reading device, and motor control method
JP2008109845A (en) Motor controller, original reader, and motor control method
JP4876825B2 (en) Motor control device, document reading device, and motor control method
US7982424B2 (en) Document reading apparatus, document reading method, and program for reading document
JP2008086150A (en) Motor controller, original reading apparatus, and motor control method
JP2008211930A (en) Motor controller and motor control method
US20110031923A1 (en) Apparatus equipped with motor and driving method for the motor
JP2008079390A (en) Motor controller, document scanning device, and motor control method
JP2008085566A (en) Motor controller, original reader and motor control method
JP2008086111A (en) Motor controller, original reading apparatus, and motor control method
JP2008092622A (en) Motor controller, original reading device, and motor control method
JP4710469B2 (en) Motor control device and motor control method
JP2008072844A (en) Motor controller, document reader, and control method of motor
JP2005333377A (en) Image reading apparatus
JP4765462B2 (en) Motor control device and motor control method
JP2008086112A (en) Motor controller, original reading apparatus, and motor control method
JP2008072845A (en) Motor controller, document reader, and control method of motor
JP4696942B2 (en) Image input device and carriage stop position control method
JP4736835B2 (en) Image input device and reference position detection method
JP2007219045A (en) Image input device and reference position detecting method
JP2008092626A (en) Motor controller, image scanner, and motor control method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090706

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090706

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120203

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: 20120501

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120514

R150 Certificate of patent or registration of utility model

Ref document number: 5007547

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: 20150608

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