JP4412314B2 - Motor control device, recording device - Google Patents
Motor control device, recording device Download PDFInfo
- Publication number
- JP4412314B2 JP4412314B2 JP2006253305A JP2006253305A JP4412314B2 JP 4412314 B2 JP4412314 B2 JP 4412314B2 JP 2006253305 A JP2006253305 A JP 2006253305A JP 2006253305 A JP2006253305 A JP 2006253305A JP 4412314 B2 JP4412314 B2 JP 4412314B2
- Authority
- JP
- Japan
- Prior art keywords
- stop position
- target
- carriage
- speed
- recording
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、駆動対象を駆動するモータを、前記駆動対象の移動位置に対応して予め定められた目標速度に制御して減速制御を行うことにより、前記駆動対象を予め定められた目標停止位置に停止させるモータ制御装置に関する。また、本発明は、該モータ制御装置を備えた、被記録材に記録を行う記録装置に関する。 The present invention controls the motor to drive the driving target to a predetermined target speed corresponding to the moving position of the driving target and performs deceleration control, thereby setting the driving target to a predetermined target stop position. The present invention relates to a motor control device that is stopped. The present invention also relates to a recording apparatus that performs recording on a recording material, including the motor control apparatus.
以下、記録装置の一つとしてのインク・ジェット・プリンタ(以下「プリンタ」と言う)を例に説明する。プリンタは印刷用紙にインクを吐出する記録ヘッドを、主走査方向に往復動可能に設けられるキャリッジに備えている。記録ヘッドの上流側には印刷用紙を搬送する搬送ローラが設けられ、該搬送ローラにより、印刷用紙が一定ピッチで記録ヘッド下へ搬送される。 Hereinafter, an ink jet printer (hereinafter referred to as “printer”) as one of the recording apparatuses will be described as an example. The printer includes a recording head that ejects ink onto printing paper in a carriage that is reciprocally movable in the main scanning direction. A conveyance roller that conveys the printing paper is provided on the upstream side of the recording head, and the conveyance roller conveys the printing paper below the recording head at a constant pitch.
この様なプリンタにおいてキャリッジ及び搬送ローラはモータによって駆動される(例えば、特許文献1、2参照)。モータを制御するモータ制御装置は、速度の目標値と実際の速度との偏差を減算器により求め、この偏差に基づいてPID制御を行う。PID制御は、例えば、予め定められた目標速度テーブルに基づき、該目標速度テーブルによって描かれる減速曲線に沿ってモータを減速させる様、モータの駆動電流を操作する。この様なPID制御においては、比例項(P)、積分項(I)および微分項(D)それぞれの係数(ゲイン)を調整することにより、最適な制御を行う。
しかし、プリンタにおいて、例えばキャリッジを定速走行から減速走行へと移行させ、減速区間をPID制御によって制御することによって目標停止位置に停止させる際には、キャリッジの動的負荷の変動により、キャリッジの停止位置が目標停止位置よりも前後にずれることがある。この様にキャリッジの停止位置が目標停止位置の前後にずれると、例えば、キャリッジが次に主走査を行う際に、定速区間に入る為の加速区間を確保できなくなり、もって印刷品質に影響を及ぼしたり、また、この様な加速区間を確保する為の予備動作を必要とし、もってスループットが低下するといった不具合を招く。 However, in the printer, for example, when the carriage is shifted from constant speed travel to decelerating travel and stopped at the target stop position by controlling the deceleration section by PID control, the carriage load is changed due to the dynamic load variation of the carriage. The stop position may be shifted back and forth from the target stop position. If the carriage stop position deviates before and after the target stop position in this way, for example, the next time the carriage performs main scanning, it becomes impossible to secure an acceleration section for entering the constant speed section, which affects print quality. In addition, a preliminary operation for securing such an acceleration section is required, which causes a problem that the throughput is lowered.
つまり、キャリッジの動的負荷は、温度変化や経年変化、摺動部の摩耗、グリスの消耗等によって経時的に変化するものであると共に、部品精度、組み立て精度等によって個体差が存在する。従ってこの様な要因により、キャリッジの停止位置が目標停止位置から前後にずれ、これによって前述の様な不具合を招いていた。特に、近年プリンタにはスループット向上の要請が強く、減速曲線を厳しく設定する必要が生じ、より一層目標停止位置に停止させることが困難な状況となっている。尚、この様な問題は、キャリッジのみならず、印刷用紙を搬送する搬送ローラについても同様に発生する。 That is, the dynamic load of the carriage changes with time due to temperature change, secular change, sliding portion wear, grease consumption, and the like, and there are individual differences depending on component accuracy, assembly accuracy, and the like. Therefore, due to such factors, the stop position of the carriage deviates back and forth from the target stop position, which causes the above-described problems. In particular, in recent years, printers are strongly demanded to improve throughput, and it is necessary to set a strict deceleration curve, which makes it more difficult to stop at a target stop position. Such a problem occurs not only in the carriage but also in the conveyance roller that conveys the printing paper.
一方、この様な問題を解決すべく、目標停止位置そのものを前後にシフトさせる手段を用いることも考え得る。しかしこの場合、例えば印刷用紙を搬送する搬送ローラにおいては、紙送り量をその都度最適な値に変更しなければならず、これにより、紙送り量の累積値を用いて種々の処理を行う印刷制御プログラム(例えば、プリンタドライバ)において整合性が取りづらく、また、処理が煩雑化する。他方、PID制御においてより適切な制御を行うべく、制御結果を学習し、その結果から最適なゲインに自動的に調整するオートチューニング手段を用いることも考え得る。しかしこの場合、CPUへの負担が大きくシステムとして複雑化する傾向があるとともに、ゲインが大きくなると、発振が大きく制御量が不安定になるという弊害も生じる。 On the other hand, in order to solve such a problem, it is conceivable to use means for shifting the target stop position itself back and forth. However, in this case, for example, in a transport roller that transports printing paper, the paper feed amount must be changed to an optimum value each time, and thereby, printing that performs various processes using the cumulative value of the paper feed amount. It is difficult to achieve consistency in a control program (for example, a printer driver), and the processing becomes complicated. On the other hand, in order to perform more appropriate control in the PID control, it is also conceivable to use an auto-tuning unit that learns the control result and automatically adjusts to the optimum gain from the result. However, in this case, the burden on the CPU is large and the system tends to be complicated. When the gain is increased, there is a problem that the oscillation is large and the control amount becomes unstable.
そこで本発明はこの様な状況に鑑みなされたものであり、その課題は、負荷変動に影響されないで、且つ、停止位置の変更を行うことなく、駆動対象を目標停止位置に正確に停止させることができるモータ制御手段を得ることにある。 Therefore, the present invention has been made in view of such a situation, and the problem is to accurately stop the drive target at the target stop position without being affected by load fluctuations and without changing the stop position. It is to obtain a motor control means capable of
上記課題を解決するために、本発明の第1の態様に係るモータ制御装置は、駆動対象を駆動するモータに対し、前記駆動対象の移動位置に対応して予め定められた目標速度に制御する減速制御を行うことにより、前記駆動対象を予め定められた目標停止位置に停止させるモータ制御装置であって、前記駆動対象を前記目標停止位置に停止させる制御を行った際の実際の停止位置を停止位置情報として記憶する停止位置情報記憶手段と、前記停止位置情報に基づいて前記目標速度を設定する速度設定手段と、を有し、前記速度設定手段によって前記駆動対象の移動位置に対応する前記目標速度を変更することにより、前記目標停止位置はそのままで前記駆動対象の停止位置を変化させることを特徴とする。 In order to solve the above-described problem, the motor control device according to the first aspect of the present invention controls a motor that drives a drive target to a predetermined target speed corresponding to the movement position of the drive target. A motor control device for stopping the drive target at a predetermined target stop position by performing deceleration control, wherein an actual stop position when the control for stopping the drive target at the target stop position is performed Stop position information storing means for storing as stop position information, and speed setting means for setting the target speed based on the stop position information, and the speed setting means corresponding to the movement position of the drive target. By changing the target speed, the stop position of the drive target is changed without changing the target stop position.
本態様によれば、負荷変動に影響されないで、且つ、停止位置を変更することなく、駆動対象を目標停止位置に正確に停止させることができる。即ち、モータ制御装置は、駆動対象を減速制御した結果、当該駆動対象が停止した位置を停止位置情報として記憶する停止位置情報記憶手段と、前記停止位置情報に基づいて前記目標速度を設定する速度設定手段とを有している。そして、前記停止位置情報に基づいて、前記駆動対象の移動位置に対応する前記目標速度を変更する。前記駆動対象の移動位置に対応する前記目標速度を変更すると、これによって前記駆動対象の停止位置が変化するので、従って以上により、前記駆動対象を、目標停止位置に正確に停止させることができるとともに、目標停止位置を変更する必要が無いので、上位の制御手段に影響を与えることが無い。 According to this aspect, the drive target can be accurately stopped at the target stop position without being affected by the load fluctuation and without changing the stop position. That is, as a result of the deceleration control of the drive target, the motor control device stores stop position information storage means for storing the position where the drive target stops as stop position information, and a speed for setting the target speed based on the stop position information. Setting means. And based on the said stop position information, the said target speed corresponding to the movement position of the said drive target is changed. When the target speed corresponding to the movement position of the drive target is changed, the stop position of the drive target is thereby changed. Therefore, the drive target can be accurately stopped at the target stop position as described above. Since there is no need to change the target stop position, it does not affect the upper control means.
本発明の第2の態様に係るモータ制御装置は、第1の態様において、前記モータの速度が設定された目標速度テーブルを有し、前記減速制御を開始する位置から前記目標停止位置に至る各位置に対応する前記目標速度によって描かれる減速曲線が前記目標速度テーブルによって決定され、前記目標速度テーブルのテーブル長が、前記減速制御を開始する位置から前記目標停止位置までの距離に対応したテーブル長よりも長いテーブル長を有するとともに、前記目標速度テーブルの参照範囲をシフトさせることにより、前記駆動対象が前記停止位置情報記憶手段に記憶された停止位置よりも手前の位置で停止する様に、または前記停止位置情報記憶手段に記憶された停止位置よりも先の位置で停止する様に、前記減速曲線が変化し、前記速度設定手段が、前記停止位置情報に基づき、前記駆動対象が前記目標停止位置に停止する様前記目標速度テーブルの参照範囲をシフトさせることを特徴とする。 A motor control device according to a second aspect of the present invention includes, in the first aspect, a target speed table in which the speed of the motor is set, and each of the positions from the position where the deceleration control is started to the target stop position. A deceleration curve drawn by the target speed corresponding to the position is determined by the target speed table, and the table length of the target speed table corresponds to the distance from the position where the deceleration control is started to the target stop position. The driving target is stopped at a position before the stop position stored in the stop position information storage means by shifting the reference range of the target speed table, or The deceleration curve changes so as to stop at a position earlier than the stop position stored in the stop position information storage means, and the speed setting It means, based on the stop position information, wherein the driven object is characterized in that shifting the reference range of the target speed table as to stop at the target stop position.
本態様によれば、極めて簡単に前記目標速度を変更することができる。即ち、前記目標速度は、目標速度テーブルによって予め設定されている。目標速度テーブルは、前記駆動対象の移動位置に対応して前記モータの速度がそれぞれ設定されたものであり、例えば、位置P0、P1、P2、・・・Pm・・・、Pn(位置P0は減速開始位置、位置Pnは目標停止位置)に対して、速度V0、V1、V2、・・・Vm・・・、Vn(V0>Vm>Vn)が設定されたものを言う。 According to this aspect, the target speed can be changed very easily. That is, the target speed is set in advance by a target speed table. The target speed table is one in which the speed of the motor is set corresponding to the movement position of the drive target. For example, the positions P 0 , P 1 , P 2 ,... P m . n (position P 0 is a deceleration start position, position P n is a target stop position), and speeds V 0 , V 1 , V 2 ,... V m ..., V n (V 0 > V m > V n ) is set.
ここで、速度Vmは、減速開始位置P0から目標停止位置Pnまでの距離に対応したテーブル長(V0〜Vn)を有するものであるが、本発明においてはこの長さを延長し、例えば、V0、V1、V2、・・・Vm・・・、Vn+kとする。そして、前記速度設定手段は、前記停止位置情報に基づいて延長された目標速度テーブルの参照範囲をシフトさせる。例えば、当初の参照範囲がV0〜Vnであった場合に、前記駆動対象の停止位置が目標停止位置よりもオーバーした際には、目標速度テーブルの参照範囲を、前記オーバー量に対応して予め設定されたシフト量だけ、例えば、V3〜Vn+3という様にシフトさせる。すると、これに伴って減速開始位置P0から目標停止位置Pnに対応する個々の前記目標速度が変更される。 従って以上により、目標停止位置を変更することなく、前記駆動対象の停止位置を簡単に変化させることができる。 Here, the speed V m is one having a table length corresponding to the distance from the deceleration start position P 0 to the target stop position P n (V 0 ~V n) , in the present invention extend the length and, for example, V 0, V 1, V 2, ··· V m ···, and V n + k. The speed setting means shifts the reference range of the extended target speed table based on the stop position information. For example, when the initial reference range is V 0 to V n and the stop position of the driving target exceeds the target stop position, the reference range of the target speed table is associated with the over amount. For example, V 3 to V n + 3 are shifted by a preset shift amount. Then, each of the target speed corresponding to the target stop position P n is changed from deceleration start position P 0 accordingly. Therefore, as described above, the stop position of the driving target can be easily changed without changing the target stop position.
本発明の第3の態様に係るモータ制御装置は、第1の態様において、前記速度設定手段が、予め定められた計算式に基づいて前記駆動対象の移動位置に対応した前記目標速度を決定し、且つ、前記停止位置が前記目標停止位置からずれた場合には、前記停止位置情報を前記計算式に代入することにより、前記目標速度を変更することを特徴とする。
本態様によれば、前記速度設定手段が、予め定められた計算式に、前記駆動対象の停止位置と目標停止位置とのずれ量に対応して予め定められたパラメータを代入することにより、前記目標速度を変更するので、前述した第2の態様に係る発明と同様に、前記駆動対象の停止位置を簡単に変化させることができる。
The motor control device according to a third aspect of the present invention is the motor control device according to the first aspect, wherein the speed setting means determines the target speed corresponding to the movement position of the drive target based on a predetermined calculation formula. When the stop position deviates from the target stop position, the target speed is changed by substituting the stop position information into the calculation formula.
According to this aspect, the speed setting means substitutes a predetermined parameter corresponding to the amount of deviation between the stop position of the drive target and the target stop position into a predetermined calculation formula, Since the target speed is changed, the stop position of the drive target can be easily changed, as in the invention according to the second aspect described above.
本発明の第4の態様に係るモータ制御装置は、第1の態様において、前記速度設定手段が、複数の前記目標速度テーブルを有し、前記停止位置が前記目標停止位置からずれた場合には、前記停止位置に対応する前記目標速度テーブルを選択することにより、前記目標速度を変更することを特徴とする。
本態様によれば、前記速度設定手段が、複数の前記目標速度テーブルを有し、前記停止位置が前記目標停止位置からずれた場合には、前記停止位置に対応する前記目標速度テーブルを選択することにより、前記目標速度を変更するので、前述した第2の態様に係る発明と同様に、前記駆動対象の停止位置を簡単に変化させることができる。
A motor control device according to a fourth aspect of the present invention is the motor control device according to the first aspect, wherein the speed setting means has a plurality of target speed tables, and the stop position deviates from the target stop position. The target speed is changed by selecting the target speed table corresponding to the stop position.
According to this aspect, the speed setting unit has a plurality of the target speed tables, and selects the target speed table corresponding to the stop position when the stop position deviates from the target stop position. Thus, since the target speed is changed, the stop position of the drive target can be easily changed as in the invention according to the second aspect described above.
本発明の第5の態様に係るモータ制御装置は、第1から第4の態様のいずれかにおいて、前記速度設定手段が、前記駆動対象の停止位置と前記目標停止位置とのずれ量に対する閾値を有し、前記ずれ量が前記閾値を超えた場合には、前記目標速度を変更しないことを特徴とする。
本態様によれば、前記速度設定手段が、前記駆動対象の停止位置と前記目標停止位置とのずれ量に対する閾値を有し、前記ずれ量が前記閾値を超えた場合には、前記目標速度を変更しないので、例えば、前記駆動対象の移動動作中にユーザが当該駆動対象を強制的に停止させた等の異常発生時でも、前記目標速度は変更されず、もって後の制御において前記駆動対象を目標停止位置に正確に停止させることができる。
The motor control device according to a fifth aspect of the present invention is the motor control device according to any one of the first to fourth aspects, wherein the speed setting means sets a threshold value for a deviation amount between the stop position of the drive target and the target stop position. And the target speed is not changed when the deviation amount exceeds the threshold value.
According to this aspect, the speed setting means has a threshold value for a deviation amount between the stop position of the drive target and the target stop position, and when the deviation amount exceeds the threshold value, the target speed is set. For example, even when an abnormality occurs such as when the user forcibly stops the drive target during the movement operation of the drive target, the target speed is not changed. It is possible to accurately stop at the target stop position.
本発明の第6の態様に係る記録装置は、被記録材に記録を行う記録ヘッドを有し、主走査方向に往復動する様に設けられるキャリッジと、前記記録ヘッドと対向する位置へ被記録材を搬送する搬送ローラと、前記記録ヘッドによって記録の行われた被記録材を排紙する排紙ローラと、を有する記録装置であって、前記キャリッジを駆動するモータ及び前記搬送ローラを駆動するモータの少なくともいずれか一方が、第1から第5の態様のいずれかに係る前記モータ制御装置によって制御される様に構成されたことを特徴とする。
本態様によれば、記録装置においてキャリッジ或いは搬送ローラを駆動するモータが、第1から第5の態様のいずれかに係る前記モータ制御装置によって制御されるので、もって前述した第1から第5の態様のいずれかと同様な作用効果を得ることができる。
A recording apparatus according to a sixth aspect of the present invention has a recording head for recording on a recording material, a carriage provided to reciprocate in the main scanning direction, and a recording target at a position facing the recording head. A recording apparatus having a conveyance roller for conveying a material and a paper discharge roller for discharging a recording material recorded by the recording head, wherein the motor driving the carriage and the conveyance roller are driven. At least one of the motors is configured to be controlled by the motor control device according to any one of the first to fifth aspects.
According to this aspect, the motor that drives the carriage or the conveyance roller in the recording apparatus is controlled by the motor control device according to any one of the first to fifth aspects. The same effects as any of the embodiments can be obtained.
本発明の第7の態様に係る記録装置は、第6の態様において、前記停止位置情報を、記録動作終了毎に更新することを特徴とする。
本態様によれば、記録装置は、前記停止位置情報を、記録動作終了毎に更新するので、これによって常に最新の前記停止位置情報が得られ、もって前記駆動対象を目標停止位置に常に正確に停止させることができる。
A recording apparatus according to a seventh aspect of the present invention is characterized in that, in the sixth aspect, the stop position information is updated every time a recording operation is completed.
According to this aspect, since the recording apparatus updates the stop position information every time the recording operation is completed, the latest stop position information is always obtained thereby, so that the drive target is always accurately set to the target stop position. Can be stopped.
本発明の第8の態様に係る記録装置は、第6のまたは第7の態様において、所定条件を検出することにより、前記駆動対象を駆動して前記停止位置情報を更新するメジャーメントモードを備えていることを特徴とする。
例えば、記録動作終了毎に前記停止位置情報を更新する様に構成された場合には、前回の記録動作から今回の記録動作までに相当の時間が経過していると、前記駆動対象の駆動負荷が変動している虞があり、これによって前記駆動対象を目標停止位置に正確に停止させることができない虞がある。しかし、本態様に係る発明においては、記録装置は、所定条件を検出することにより、前記駆動対象を駆動して前記停止位置情報を更新するメジャーメントモードを備えているので、例えば電源ON時に前記メジャーメントモードを実行することにより、前記駆動負荷の変動に関わらず、前記駆動対象を目標停止位置に正確に停止させることができる。
According to an eighth aspect of the present invention, in the sixth or seventh aspect, the recording apparatus includes a measurement mode in which the driving target is driven to update the stop position information by detecting a predetermined condition. It is characterized by.
For example, when the stop position information is updated every time a recording operation is completed, if a considerable time has elapsed from the previous recording operation to the current recording operation, the driving load of the drive target There is a possibility that the driving object cannot be accurately stopped at the target stop position. However, in the invention according to this aspect, the recording apparatus includes a measurement mode in which the driving object is driven to update the stop position information by detecting a predetermined condition. By executing the measurement mode, the drive target can be accurately stopped at the target stop position regardless of fluctuations in the drive load.
本発明の第9の態様に係る記録装置は、第8の態様において、前記メジャーメントモードを、前記記録装置の電源ON動作時に実行することを特徴とする。
本態様によれば、記録装置は、前記メジャーメントモードを、前記記録装置の電源ON動作時に実行するので、前述した第8の態様に係る発明と作用効果と同様な作用効果を得ることができる。
A recording apparatus according to a ninth aspect of the present invention is characterized in that, in the eighth aspect, the measurement mode is executed when the recording apparatus is powered on.
According to this aspect, since the recording apparatus executes the measurement mode when the recording apparatus is powered on, it is possible to obtain the same effects as the invention according to the eighth aspect described above. .
本発明の第10の態様に係る記録装置は、第8の態様において、前記メジャーメントモードを、記録データ受信時であって記録動作開始前に実行することを特徴とする。
本態様によれば、記録装置は、前記メジャーメントモードを、記録データ受信時であって記録動作開始前に実行するので、後に実行する記録動作においては最新の前記停止位置情報が反映され、もって前記駆動対象をより確実に目標停止位置に停止させることができる。
A recording apparatus according to a tenth aspect of the present invention is characterized in that, in the eighth aspect, the measurement mode is executed when recording data is received and before the recording operation is started.
According to this aspect, since the recording apparatus executes the measurement mode at the time of recording data reception and before the start of the recording operation, the latest stop position information is reflected in the recording operation to be executed later. The drive target can be more reliably stopped at the target stop position.
本発明の第11の態様に係る記録装置は、第8の態様において、前記メジャーメントモードを、前記キャリッジに搭載されたインクカートリッジの交換検出時に実行することを特徴とする。
本態様によれば、記録装置は、前記メジャーメントモードをインクカートリッジの交換検出時に実行するので、キャリッジの駆動負荷が変動し易いインクカートリッジ交換作業後に前記メジャーメントモードを実行することにより、後に実行する記録動作においては最新の前記停止位置情報が反映され、もって前記駆動対象をより確実に目標停止位置に停止させることができる。
A recording apparatus according to an eleventh aspect of the present invention is characterized in that, in the eighth aspect, the measurement mode is executed when the replacement of the ink cartridge mounted on the carriage is detected.
According to this aspect, the recording apparatus executes the measurement mode at the time of detecting the replacement of the ink cartridge. Therefore, the recording apparatus executes the measurement mode after the ink cartridge replacement operation in which the carriage driving load is likely to fluctuate. In the recording operation to be performed, the latest stop position information is reflected, so that the drive target can be more reliably stopped at the target stop position.
以下、図面を参照しつつ本発明の一実施形態について説明する。 図1は、本発明に係る「記録装置」としてのインク・ジェット・プリンタの概略構成を示す斜視図である。このインク・ジェット・プリンタ(以下、単に「プリンタ」という。)60には、給紙挿入口61が設けられ、この給紙挿入口61に、「被記録材」としての印刷用紙50がセットされる。セットされた印刷用紙50は、給紙モータ63により回転駆動される給紙ローラ64によって、紙送りローラ65に給送される。紙送りローラ65は、紙送りモータ(以下「PFモータ」という。)1によって回転駆動され、給送された印刷用紙50を従動ローラ66との間で挟圧搬送して、副走査方向に送り出す。キャリッジ3は、ガイド軸32に案内されて、印刷用紙の幅方向(主走査方向)に往復移動しながら、PFローラ65によって搬送される印刷用紙に記録(印刷)を行う。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a perspective view showing a schematic configuration of an ink jet printer as a “recording apparatus” according to the present invention. The ink jet printer (hereinafter simply referred to as “printer”) 60 is provided with a paper
印刷された印刷用紙は、排紙ローラ68に向けて搬送される。排紙ローラ68は、PFモータ1により歯車輪列67a、67bおよび67cを介して回転駆動され、搬送された印刷用紙50を従動ローラ69との間で搬送して、排出口62に送り出す。そして、最終的に、印刷された印刷用紙50は、排出口62からプリンタ60の外部に排出される。
The printed printing paper is conveyed toward the
図2は、図1に示すキャリッジ3およびこのキャリッジ3を駆動するキャリッジ駆動装置の部分を詳細に示す斜視図である。キャリッジ3には、インクカートリッジ34が搭載されるとともに、印刷用紙50に対向する部分には、記録ヘッド9が取り付けられている。記録ヘッド9の印刷用紙50に対向する面には、図示しない複数のノズルからなるノズル列が形成されており、このノズル列から、インクカートリッジ34内のインクが印刷用紙50に向けて吐出されて、印刷(記録)が行われる。
FIG. 2 is a perspective view showing in detail a portion of the
キャリッジ3の駆動源であるキャリッジ・モータ(以下「CRモータ」という。)4は、本実施の形態ではDCモータにより構成されている。このCRモータ4のモータ出力軸には、駆動プーリ(モータ・ピニオン)30が取り付けられ、この駆動プーリ30と従動プーリ33との間には、タイミング・ベルト31が巻回されている。このタイミング・ベルト31によって、CRモータ4の駆動力がキャリッジ3に伝達され、キャリッジ3は主走査方向に往復移動するようになっている。キャリッジ3の位置および移動速度は、所定の間隔にスリットが形成された符号板12を含むリニア式エンコーダ11(後述する図3参照)によって検出される。
A carriage motor (hereinafter referred to as “CR motor”) 4 that is a drive source of the
なお、キャリッジ3の非印刷領域には、非印刷時に記録ヘッド9のノズルを封止するためのキャッピング装置35と、ノズルからインクを吸い出すポンプ・ユニット36とが設けられている。
In the non-printing area of the
図3は、プリンタ60の制御装置100の構成を示すブロック図である。この制御装置100は、CPU16、「モータ制御装置」としてのDCユニット(以下「DCU」という。)6、タイマIC17、インタフェース部(以下「IF」という。)19、ASIC20、PROM21、RAM22、EEPROM23、紙送りモータ・ドライバ2、ヘッド・ドライバ10、CRモータ・ドライバ5、およびポンプ・モータ・ドライバ8を備えている。
FIG. 3 is a block diagram illustrating a configuration of the
制御装置100のDCU6には、搬送される印刷用紙50の始端および終端を検出する紙検出センサ15からの検出信号と、搬送される印刷用紙50の実際の位置(現在位置)を検出するエンコーダ13からの検出信号とが与えられる。また、DCU6には、リニア式エンコーダ11から出力信号(たとえば、符号版12のスリットの前端を検出する立ち上がり信号と、後端を検出する立ち下がり信号)が与えられる。
The
CPU16は、プリンタ60の全体の制御を行い、タイマIC17は、CPU16に対して周期的な割込信号を発生する。IF19は、ホスト・コンピュータ18との間でデータの送受信を行い、ASIC20は、ホスト・コンピュータ18からIF19を介して送られてくる印字データに基づいて印字解像度や記録ヘッド9の駆動波形等を制御するものである。
The
RAM22は、ASIC20およびCPU16の作業領域やプログラム格納領域として用いられる。PROM21およびEEPROM23には、ASIC20、CPU16、およびDCU6のプログラムおよび処理に必要なデータが格納されている。
The
紙送りモータ・ドライバ2は、DCU6の制御の下、PFモータ1を駆動制御して、紙送りを行う。ポンプ・モータ・ドライバ8は、CPU16の制御の下、ポンプ・モータ7を制御する。ヘッド・ドライバ10は、DCU6の制御の下、記録ヘッド9を駆動制御して、IF19から与えられる印字データに基づいて記録ヘッド9からインクを吐出させる。CRモータ・ドライバ5は、DCU6の制御の下、CRモータ4を駆動制御して、キャリッジ3を移動または停止させる。
The paper
本発明は、このうちCRモータ4の制御に関するものであるので、以下では、このCRモータ4の制御の部分について詳述する。図4は、DCU6におけるCRモータ4の駆動制御を行う部分を示すブロック図である。
Since the present invention relates to the control of the
DCU6は、位置演算部6a、減算器6b、「速度設定手段」としての目標速度演算部6c、速度演算部6d、減算器6e、比例要素6f、積分要素6g、微分要素6h、加算器6i、D/Aコンバータ6j、タイマ6k、加速制御部6m、及び「停止位置情報記憶手段」としての図示しない内部メモリを備えている。
The
タイマ6kおよび加速制御部6mは、加速区間における加速制御を行う一方、位置演算部6a、減算器6b、目標速度演算部6c、速度演算部6d、減算器6e、比例要素6f、積分要素6g、微分要素6h、および加算器6iは、定速区間および減速区間におけるPID制御を行う。加速制御部6mまたは加算器6iの出力、すなわちCRモータ4の駆動電流の値(デジタル値)は、D/Aコンバータ6jに送られてアナログ値に変換される。このアナログ値は、CRモータ・ドライバ5に与えられ、CRモータ・ドライバ5は、与えられたアナログ値を有する電流をCRモータ4に通電する。これにより、CRモータ4が回転する。
The
DCU6において、位置演算部6aは、リニア式エンコーダ11からの出力信号に基づいて、CRモータ4によって走行するキャリッジ3の現在位置を演算する。減算器6bは、目標停止位置と、位置演算部6aが演算した現在位置との位置偏差を演算する。ここで、「目標停止位置」とは、現在の主走査におけるキャリッジ3の停止位置をいい、CPU16から与えられる。
In the
目標速度演算部6cは、減算器6bの出力である位置偏差に基づいてCRモータ4の目標速度を演算する。この演算は、たとえばリニア式エンコーダ11から出力信号が与えられるごとに実行される。
The target speed calculator 6c calculates the target speed of the
速度演算部6dは、リニア式エンコーダ11の出力信号に基づいてCRモータ4の実際の速度を演算する。減算器6eは、目標速度と、速度演算部6dによって演算されたCRモータ4の実際の速度との速度偏差を演算する。比例要素6fは、速度偏差に定数Gpを乗算し、乗算結果を出力する。積分要素6gは速度偏差に定数Giを乗じたものを積算する。微分要素6hは、現在の速度偏差と、1つ前の速度偏差との差に定数Gdを乗算し、乗算結果を出力する。これら比例要素6f、積分要素6g、および微分要素6hの出力は、加算器6iにおいて加算される。そして、加算結果、すなわちCRモータ4の駆動電流は、前述したように、D/Aコンバータ6jに送られてアナログ電流に変換され、このアナログ電流に基づいてCRモータ・ドライバ5はCRモータ4を駆動制御する。
The speed calculation unit 6 d calculates the actual speed of the
図5(A)は、キャリッジ3の減速区間における目標速度Vとキャリッジ3の絶対位置Xとの間の関係を示すグラフであり、図5(B)は図5(A)の部分拡大図である。ここで、キャリッジ3の「絶対位置」とは、キャリッジ3の待機位置(ホーム・ポジション:図示せず)を基準とした、キャリッジ3の位置(移動位置)をいう。
FIG. 5A is a graph showing the relationship between the target speed V in the deceleration zone of the
図5(A)に示す様に、キャリッジ3は、定速度Vaによる定速走行(図5の左から右に走行する)から減速開始位置Pdで減速走行へ移行し、最終的に目標停止位置P0で停止する動作をとる。
As shown in FIG. 5 (A), the
ここで、減速開始位置Pdから目標停止位置P0間に至る減速曲線T0は、PROM21もしくはEEPROM23またはDCU6内の内部メモリ(図示略)にあらかじめ記憶された目標速度テーブルに従って決定される。
Here, the deceleration curve T 0 from the deceleration start position P d to the target stop position P 0 is determined according to a target speed table stored in advance in the
図6は、減速曲線T0を表す目標速度テーブルを示している。目標速度テーブルには、テーブルの欄が上から下に向かうほど(アドレスが0からnに向かうほど)、その絶対値として小さな値を有する目標速度が格納されている。各目標速度の値は、減速開始位置Pdから目標停止位置P0に至るキャリッジ3の各位置毎(例えば、リニア式エンコーダ11のステップ毎)に対応して設定されていて、それらを結ぶと図5(A)に示す減速開始位置Pdから目標停止位置P0に向かう減速曲線T0となる。
Figure 6 shows a target speed table indicating the gear curve T 0. The target speed table stores a target speed having a smaller absolute value as the table column moves from top to bottom (address goes from 0 to n). The value of each target speed, for each position of the
キャリッジ3の絶対位置Xに対応する目標速度Vは、例えばリニア式エンコーダ11からの出力信号が与えられるごとに、例えば基準となる減速曲線T0の場合であれば、アドレス5からアドレスn+5に向けて順次目標速度演算部6cによって読み出され、キャリッジ3の移動速度は、この読み出された目標速度Vとなるように制御される。すなわち、減速開始位置Pdから目標停止位置P0に向かうにつれて、順次アドレス5からアドレスn+5に向けて、目標速度V5からVn+5が目標速度演算部6cによって順次読み出され、その結果、キャリッジ3は、図5(A)に示す減速曲線T0を描くように減速制御される。
The target speed V corresponding to the absolute position X of the
ここで、減速開始位置Pdから目標停止位置P0に至る距離を考慮すると、目標速度テーブルの参照範囲は、例えば図6に示す範囲A5で足りることとなるが、本実施形態においては、図6に示す様に目標速度テーブルは前記必要な範囲長よりも長いテーブル長を有している(この理由については後に説明する)。そして、基準位置番号としてのアドレス”5”が、PROM21或いはEEPROM23或いはDCU6の内部メモリに格納されていて、DCU6は、当該アドレス”5”を読み出すことにより、アドレス5を基準開始位置として、順次アドレスn+5まで目標速度Vを読み出す。
Here, considering the distance from the deceleration start position P d at the target stop position P 0, the reference range of the target speed table is, for example, so that the sufficient range A 5 shown in FIG. 6, in this embodiment, As shown in FIG. 6, the target speed table has a table length longer than the necessary range length (the reason will be described later). The address “5” as the reference position number is stored in the internal memory of the
次に、キャリッジ3の動的負荷が何らかの原因、例えば、キャリッジ3とキャリッジ軸32との間の摩擦抵抗の変化等により変化した場合には、キャリッジ3の停止位置は、図5(B)に示す様に目標停止位置P0の前後にずれる場合がある。位置P1は、キャリッジ3が目標停止位置P0の手前で停止した一例を示すものであり、位置P2は、キャリッジ3が目標停止位置P0をオーバーして停止した一例を示すものである。即ち、キャリッジ3の動的負荷が増加した場合には、キャリッジ3は目標停止位置P0の手前で失速して目標停止位置P0の手前で停止し、逆にキャリッジ3の動的負荷が減少した場合には、キャリッジ3は目標停止位置P0の手前で充分に減速できず、目標停止位置P0をオーバーしてしまうことになる。尚、符号T1及びT2で示す軌跡は、キャリッジ3が位置P1、P2で停止する場合のキャリッジ3の実際に描く軌跡(目標速度Vと絶対位置Xの関係)である。
Next, when the dynamic load of the
キャリッジ3の動的負荷の変化は、キャリッジ3とキャリッジ軸32(図2参照)との関係において、温度変化や経年変化、摺動部の
摩耗、グリスの消耗等によって経時的に変化するものであると共に、部品精度、組み立て精度等によっても発生する。キャリッジ3の停止位置が位置P1に示す様に目標停止位置P0の手前になると、次の主走査の為の加速区間(目標停止位置P0から減速開始位置Pdに至る距離)が短くなり、これによって充分な加速制御が行えず、定速度Vaに達する前にインク吐出を開始し、もって印刷品質を低下させるといった不具合を招く。
The change in the dynamic load of the
以下、この様な問題を解決する手段について説明する。CPU16は、一連の印刷動作終了時に、キャリッジ3の減速制御の結果、つまり、目標停止位置P0とキャリッジ3の停止位置とのずれ量及びずれ方向を表す値(以下これを「前回停止位置偏差d」と言う)を、「停止位置情報」としてDCU6に送信し、DCU6は、これを内部メモリに記憶する。尚、前回停止位置偏差dは、CPU16によってEEPROM23に書き込んでも良い。また、CPU16は、EEPROM23に記憶された前回停止位置偏差dに変化が無い場合には、DCU6へこれを送信しない様にしても良い。ここで、前回停止位置偏差dは、例えば図5(B)に示す目標停止位置P0と位置P1との距離(リニア式エンコーダ11のステップ数)である。また、本実施形態では、目標停止位置P0の手前で停止した場合の前回停止位置偏差dを負の値とし、逆に目標停止位置P0をオーバーした場合の前回停止位置偏差dを正の値とする。
Hereinafter, means for solving such a problem will be described. CPU16, upon a series of printing operation is finished, the result of the deceleration control of the
ところで、DCU6は前回停止位置偏差dを受けた際、前回停止位置偏差dが閾値dmaxを超えたか否かを判定し、超えない場合には、前回停止位置偏差dを更新し、超えた場合には、前回停止位置偏差dを更新しない様になっている(この理由については、後に説明する)。 Incidentally, DCU6 occasion of receiving the last stop position deviation d, determines whether the last stop position deviation d has exceeded the threshold value d max, if not exceed, when updating the previous stop position deviation d, exceeds The previous stop position deviation d is not updated (the reason will be described later).
DCU6は、次の減速制御時において目標速度Vを図6に示す目標速度テーブルから読み出す際に、前回停止位置偏差dを用いることにより、目標速度テーブルにおける適切なアドレスから、所定長さだけ目標速度Vを読み出す。より詳しくは、DCU6は、次の減速制御時の目標速度テーブルからの読み出し開始アドレスを”d+5”とする。例えば、前回停止位置偏差dが”−2”(目標停止位置P0の手前2ステップ)である場合、読み出しアドレスnは”3”となり、この場合には、アドレス3の位置から目標速度Vが呼び出される。
When the
つまり、図6において読み出しアドレスnが基準開始位置としての”5”から読み出された場合には、目標速度Vの参照範囲は符号A5で示す範囲となり、従って前回停止位置偏差dが”0”であればそのままの参照範囲(範囲A5)に維持され、前記停止位置偏差dが”0”でない場合には、目標速度テーブルの参照範囲は、図6に示す範囲A5の上下にシフトすることになる。尚、範囲A0は最も上にシフトした場合を示し、範囲A9は最も下にシフトした場合を示している。 That is, when the read address n in FIG. 6 is read from the "5" as a reference start position is the reference range of the target speed V becomes the range shown by symbol A 5, therefore the previous stop position deviation d "0 "Is maintained in the reference range as it is (range A 5 ), and when the stop position deviation d is not" 0 ", the reference range of the target speed table is shifted up and down the range A 5 shown in FIG. Will do. Note that the range A 0 shows the case of shifting to the top, and the range A 9 shows the case of shifting to the bottom.
この様に目標速度テーブルの参照範囲がシフトすると、減速開始位置Pdから目標停止位置P0に至るキャリッジ3の絶対位置Xに対応する目標速度Vが変化し、範囲A0に示す様に上方向にシフトした場合は、図7において符号T2示す様に減速曲線は上方にシフトし、範囲A9に示す様に下方向にシフトした場合は、図7において符号T1で示す様に減速曲線は下方にシフトする。尚、図7において符号T0で示す減速曲線は、目標速度テーブルの参照範囲を範囲A5とした場合の減速曲線(基準となる減速曲線)である。
When such a reference range of the target speed table is shifted, the target speed V is changed corresponding to the absolute position X of the
この様に目標速度テーブルにおける目標速度Vの参照範囲をシフトさせることにより、減速曲線が変化し、キャリッジ3の絶対位置Xに対応する目標速度Vが変化するので、例えば図5(B)において位置P1で示す様にキャリッジ3が目標停止位置P0の手前で停止した場合には、減速曲線を図7に示す減速曲線T2の様に変更することにより、キャリッジ3の絶対位置Xに対応する目標速度Vが引き上げられ、これによってより正確にキャリッジ3を目標停止位置P0に停止させることができる様になる。
By shifting the reference range of the target speed V in the target speed table in this way, the deceleration curve changes and the target speed V corresponding to the absolute position X of the
従って、キャリッジ3の動的負荷が変化しても、キャリッジ3を目標停止位置P0に正確に停止させることができ、また、目標停止位置P0を本来の目標停止位置の前後に変更しないで、キャリッジ3を目標停止位置P0に停止させることができるので、上位の制御手段、例えば、プリンタ60に印刷データを送信するホスト・コンピュータ等におけるプリンタドライバによる制御を複雑化させるといったことも無い。
Accordingly, even after changing the dynamic load of the
尚、前回停止位置偏差dが閾値dmaxを超えた場合には、DCU6は、前回停止位置偏差dの更新を行わないが、これは次の様な理由による。即ち、前回停止位置偏差dが閾値dmaxを超えた場合には、何らかの異常(例えば、ユーザがキャリッジ3を強制的に動かした様な場合)が発生したと考えられ、この様な場合には、キャリッジ3の停止位置ずれはキャリッジ3の動的負荷の変化等によるものではなく、この様な場合に前回停止位置偏差dを更新し、もってキャリッジ3の目標速度Vを変更するのは不適切だからである。
In the case where the previous stop position deviation d has exceeded the threshold value d max is DCU6 is not updated the last stop position deviation d, which is due to the following such reasons. That is, when the previous stop position deviation d exceeds the threshold value dmax , it is considered that some abnormality (for example, the user has forcibly moved the carriage 3) has occurred. The stop position deviation of the
続いて、他の実施形態について説明する。目標速度Vは、図6を参照しつつ説明した目標速度テーブルに基づいて決定するのではなく、速度関数を用いて計算により求めることもできる。以下、これについて図8を参照しつつ説明する。ここで、図8は、速度関数f(X)により定まる減速直線を有している。 Subsequently, another embodiment will be described. The target speed V is not determined based on the target speed table described with reference to FIG. 6, but can also be obtained by calculation using a speed function. This will be described below with reference to FIG. Here, FIG. 8 has a deceleration straight line determined by the speed function f (X).
速度関数f(X)は、DCU6の内部メモリ(図示せず)に予め記憶されていて、本実施形態では、該速度関数f(x)は、最終目標速度をVbとすると、以下の様になっている。 V=f(X)={〔(Va−Vb)−(d×C)〕/(Pd−P0)}・X ここで、値Cは予め定められ且つDCU6の内部メモリに記憶された補正係数を示し、値dは、前述した前回停止位置偏差を示している。DCU6は、この様な速度関数f(X)に基づいて目標速度Vを算出する。
The speed function f (X) is stored in advance in an internal memory (not shown) of the
具体的な例によって説明すると、例えば、減速開始速度Va=100(step/msec)、最終目標速度Vb=10(step/msec)、目標停止位置P0=10(step)、減速開始位置Pd=110(step)、補正係数C=0.95としたときに、前回停止位置偏差d=0の場合、つまり、図8に示す減速直線S0(基準となる減速直線)を表す速度関数f(X)は、 V=f(X)=0.9・X となる。 To explain with a specific example, for example, deceleration start speed V a = 100 (step / msec), final target speed V b = 10 (step / msec), target stop position P 0 = 10 (step), deceleration start position When P d = 110 (step) and the correction coefficient C = 0.95, the speed represents the deceleration straight line S 0 (reference deceleration straight line) shown in FIG. 8 when the previous stop position deviation d = 0. The function f (X) is V = f (X) = 0.9 · X.
そしてこの速度関数f(X)を用いて制御を行った結果、例えばキャリッジ3が目標停止位置P0の手前5stepで停止した場合、速度関数f(X)は、 V=f(X)=0.95・X となる。 従ってこれによると、キャリッジ3の絶対位置Xに対応する目標速度Vは引き上げられ、図8において符号S1で示す様な減速直線となり、これにより、キャリッジ3は、より正確に目標停止位置P0に停止することができる様になる。
As a result of performing control using this speed function f (X), for example, when the
つまり、速度関数f(X)は、前回停止位置偏差dを含んでいる為、これによって前回制御結果が次回の制御に反映されることとなり、これにより、キャリッジ3をより正確に目標停止位置P0に停止させることができる。
That is, since the speed function f (X) includes the previous stop position deviation d, the previous control result is reflected in the next control, and thereby the
尚、前述の例では、図8に示す変更後の減速直線S1の最終目標速度はVb’となっている。従って、最終目標速度Vb’そのものを変更することにより、減速直線S0を減速直線S1の様に変更することもできる。例えば、減速直線S0を示す速度関数f(X)が、 V=f(X)={(Va−Vb)/(Pd−P0)}・X で与えられているとき、最終目標速度Vbに、前回停止位置偏差dの値に対応して予め定められた補正値C’を乗ずることにより、最終目標速度Vb’の値そのものを変更して、減速直線S1を得ることも可能である。 In the above example, the final target speed of the deceleration straight line S 1 after the change shown in FIG. 8 is V b ′. Therefore, the deceleration straight line S 0 can be changed to the deceleration straight line S 1 by changing the final target speed V b ′ itself. For example, when the speed function f (X) indicating the deceleration straight line S 0 is given by V = f (X) = {(V a −V b ) / (P d −P 0 )} · X the target speed V b, 'by multiplying the final target speed V b' correction value C set in advance to correspond to the value of the last stop position deviation d by changing the value itself, obtaining the deceleration linear S 1 It is also possible.
次に、更に他の実施形態について説明する。目標速度Vは、図6を参照しつつ説明した目標速度テーブルの参照範囲をシフトさせることによって変更する方法や、図8を参照しつつ説明した前回停止位置偏差dを用いた速度関数f(X)による変更方法の他に、前回停止位置偏差dの値に応じて予め複数の目標速度テーブルを用意し、これによってキャリッジ3の絶対位置Xに対応する目標速度Vを変更する様にしても良い。
Next, still another embodiment will be described. The target speed V is changed by shifting the reference range of the target speed table described with reference to FIG. 6, or the speed function f (X (X) using the previous stop position deviation d described with reference to FIG. ), A plurality of target speed tables may be prepared in advance according to the value of the previous stop position deviation d, whereby the target speed V corresponding to the absolute position X of the
図9は予め用意された複数の目標速度テーブルを示し、図10はそれぞれの目標速度テーブルに対応する減速曲線を示すものである。図9に示す目標速度テーブルのテーブル長は、減速開始位置Pdから目標停止位置P0に至るまでの距離に対応した長さ(アドレス0〜n)となっていて、これら複数の目標速度テーブルは、DCU6の内部メモリ(図示せず)に記憶されている。
FIG. 9 shows a plurality of target speed tables prepared in advance, and FIG. 10 shows a deceleration curve corresponding to each target speed table. Table length of the target speed table shown in FIG. 9, consist deceleration start position P d length corresponding to the distance up to the target stop position P 0 and (
例えば、図10において符号W0で示す減速曲線を用いて制御を行った結果、キャリッジ3が目標停止位置P0の手前で停止した様な場合には、前回停止位置偏差dの値に対応して予め設定された目標速度テーブルに変更する。例えば、図9においてテーブル(0)からテーブル(2)に変更することにより、図10において符号W2で示す減速曲線となり、これによってキャリッジ3の絶対位置Xに対応した目標速度Vが引き上げられ、もってキャリッジ3をより正確に目標停止位置P0に停止させることができる。
For example, when the
尚、図9では一例として3つの目標速度テーブルを示しているが、より多数の目標速度テーブルを用意してよりきめ細かな制御を行う様にすることもできる。 In FIG. 9, three target speed tables are shown as an example. However, a larger number of target speed tables can be prepared to perform finer control.
ところで、前回停止位置偏差dは、前述した様に本実施形態においては、一連の印刷動作の一環として、印刷動作終了時に、CPU16からDCU6に送信され、DCU6は内部メモリに記憶された前回停止位置偏差dを更新する様になっているが、これを単独で行う様にしても良い。
By the way, as described above, the previous stop position deviation d is transmitted from the
即ち、制御装置100が所定の条件を検出した際に、非印刷動作時にキャリッジ3を駆動制御し、キャリッジ3の減速制御を行い、もってキャリッジ3が目標停止位置P0に正確に停止したか、或いはどの程度前後にずれたかを測定するモード(以下これを「メジャーメントモード」と言う)を備えることにより、所定のタイミングで前回停止位置偏差dを更新する様にしても良い。この様にすることにより、例えば、前回印刷動作後から次回の印刷動作開始時までに相当の時間が経過している場合において、この間のキャリッジ3の駆動負荷の変化が発生していても、適切な前回停止位置偏差dを得ることによってキャリッジ3を正確に停止させることができる。
That is, when the
所定の条件としては、例えば、プリンタ60の電源ON検出時があり、電源ON検出時に前記メジャーメントモードを実行することにより、長期間プリンタ60が使用されなかった場合の、キャリッジ3の駆動負荷の変化に適切に対応することができる。
As the predetermined condition, for example, when the power supply of the
或いは、所定の条件としては、印刷データ受信時、つまり、毎回の印刷動作開始前に前記メジャーメントモードを実行することが考えられ、この様な場合には、印刷スループットは低下するものの、常に最新の前回停止位置偏差dを得ることができ、もってより正確にキャリッジ3を目標停止位置P0に停止させることができる。
Alternatively, as the predetermined condition, it is conceivable that the measurement mode is executed when print data is received, that is, before the start of each printing operation. In such a case, although the print throughput is reduced, it is always the latest. the last can be obtained stop position deviation d, the
更に、所定の条件として、インクカートリッジ34の交換検出時に実行する
ことも考えられる。この様な場合には、キャリッジ3の駆動負荷が変化し易いインクカートリッジ交換作業後に前記メジャーメントモードを実行するので、後に実行する印刷動作においてはキャリッジ3の駆動負荷が変化した後における前回停止位置情報dが得られ、もってキャリッジ3をより正確に目標停止位置P0に停止させることができる。
Furthermore, as a predetermined condition, it may be executed when the replacement of the
尚、本実施形態においては、駆動対象としてのキャリッジ3の減速制御について説明したが、本発明はモータの制御装置に関する発明であるので、図3に示したPFモータ1に適用することも可能であることは言うまでも無い。
In the present embodiment, the deceleration control of the
加えて、これまで述べた目標速度演算部6cにおける減速制御は、ハードウェア回路によって実現することもできるし、プログラムおよびプログラムを実行する処理装置(CPU等)によって実現することもできる。また、減速制御を記述したプログラムは、フロッピィ・ディスク、光磁気ディスク、CD−ROM、ハードディスク等のコンピュータ読み取り可能な記録媒体に記録して提供することもできる。 In addition, the deceleration control in the target speed calculation unit 6c described so far can be realized by a hardware circuit, or can be realized by a program and a processing device (CPU or the like) that executes the program. The program describing the deceleration control can be provided by being recorded on a computer-readable recording medium such as a floppy disk, a magneto-optical disk, a CD-ROM, or a hard disk.
以上説明した様に、本発明によれば、モータ制御装置は、駆動対象を減速制御した結果、当該駆動対象が停止した位置を停止位置情報として記憶する停止位置情報記憶手段と、前記停止位置情報に基づいて前記目標速度を設定する速度設定手段とを有している。そして、前記停止位置情報に基づいて、前記駆動対象の移動位置に対応する前記目標速度を変更する。前記駆動対象の移動位置に対応する前記目標停止位置を変更すると、前記駆動対象の停止位置が変化するので、従ってこれにより、前記駆動対象を、目標停止位置に正確に停止させることができるとともに、目標停止位置を変更する必要が無いので、上位の制御手段に影響を与えることが無い。 As described above, according to the present invention, as a result of the deceleration control of the drive target, the motor control device stores the stop position information storage unit that stores the position where the drive target stops as stop position information, and the stop position information. Speed setting means for setting the target speed based on And based on the said stop position information, the said target speed corresponding to the movement position of the said drive target is changed. When the target stop position corresponding to the movement position of the drive target is changed, the stop position of the drive target is changed, and accordingly, the drive target can be accurately stopped at the target stop position, and Since there is no need to change the target stop position, it does not affect the upper control means.
3 キャリッジ、4 CRモータ、5 CRモータ・ドライバ、6 DCU、11 リニア式エンコーダ、16 CPU、6a,6e 減算器、6c 目標速度演算部、6d 速度演算部、6i 加算器、50 印刷用紙、60 インク・ジェット・プリンタ、100 制御装置 3 Carriage, 4 CR motor, 5 CR motor driver, 6 DCU, 11 Linear encoder, 16 CPU, 6a, 6e Subtractor, 6c Target speed calculator, 6d Speed calculator, 6i Adder, 50 Printing paper, 60 Ink jet printer, 100 controller
Claims (7)
前記駆動対象を前記目標停止位置に停止させる制御を行った際の実際の停止位置を停止位置情報として記憶する停止位置情報記憶手段と、
前記停止位置情報に基づいて前記目標速度を設定する速度設定手段と、を有し、
前記速度設定手段によって前記駆動対象の移動位置に対応する前記目標速度を変更することにより、前記目標停止位置はそのままで前記駆動対象の停止位置を変化させる様構成され、
前記モータ制御装置は、前記モータの速度が設定された目標速度テーブルを有し、前記減速制御を開始する位置から前記目標停止位置に至る各位置に対応する前記目標速度によって描かれる減速曲線が前記目標速度テーブルによって決定され、
前記目標速度テーブルのテーブル長が、前記減速制御を開始する位置から前記目標停止位置までの距離に対応したテーブル長よりも長いテーブル長を有するとともに、前記目標速度テーブルの参照範囲をシフトさせることにより、前記駆動対象が前記停止位置情報記憶手段に記憶された停止位置よりも手前の位置で停止する様に、または前記停止位置情報記憶手段に記憶された停止位置よりも先の位置で停止する様に、前記減速曲線が変化し、
前記速度設定手段が、前記停止位置情報に基づき、前記駆動対象が前記目標停止位置に停止する様前記目標速度テーブルの参照範囲をシフトさせる、
ことを特徴とするモータ制御装置。 A motor for stopping the drive target at a predetermined target stop position by performing deceleration control for controlling the motor to drive the drive target at a predetermined target speed corresponding to the movement position of the drive target. A control device,
Stop position information storage means for storing an actual stop position as stop position information when performing control to stop the drive target at the target stop position;
Speed setting means for setting the target speed based on the stop position information,
By changing the target speed corresponding to the movement position of the drive object by the speed setting means, the stop position of the drive object is changed without changing the target stop position,
The motor control device has a target speed table in which the speed of the motor is set, and a deceleration curve drawn by the target speed corresponding to each position from the position where the deceleration control is started to the target stop position is Determined by the target speed table,
The table length of the target speed table is longer than the table length corresponding to the distance from the position where the deceleration control is started to the target stop position, and the reference range of the target speed table is shifted. The driving object stops at a position before the stop position stored in the stop position information storage means, or stops at a position earlier than the stop position stored in the stop position information storage means. The deceleration curve changes,
The speed setting means shifts the reference range of the target speed table based on the stop position information so that the drive target stops at the target stop position.
The motor control apparatus characterized by the above-mentioned.
前記記録ヘッドと対向する位置へ被記録材を搬送する搬送ローラと、
前記記録ヘッドによって記録の行われた被記録材を排紙する排紙ローラと、を有する記録装置であって、
前記キャリッジを駆動するモータ及び前記搬送ローラを駆動するモータの少なくともいずれか一方が、請求項1または2に記載された前記モータ制御装置によって制御される様構成されたことを特徴とする記録装置。 A carriage having a recording head for recording on a recording material and provided to reciprocate in the main scanning direction;
A conveyance roller for conveying a recording material to a position facing the recording head;
A recording apparatus having a discharge roller for discharging the recording material recorded by the recording head,
3. A recording apparatus, wherein at least one of a motor for driving the carriage and a motor for driving the transport roller is controlled by the motor control apparatus according to claim 1 or 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006253305A JP4412314B2 (en) | 2006-09-19 | 2006-09-19 | Motor control device, recording device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006253305A JP4412314B2 (en) | 2006-09-19 | 2006-09-19 | Motor control device, recording device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002170300A Division JP4009834B2 (en) | 2002-06-11 | 2002-06-11 | Motor control device, recording device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007001315A JP2007001315A (en) | 2007-01-11 |
JP4412314B2 true JP4412314B2 (en) | 2010-02-10 |
Family
ID=37687313
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006253305A Expired - Fee Related JP4412314B2 (en) | 2006-09-19 | 2006-09-19 | Motor control device, recording device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4412314B2 (en) |
-
2006
- 2006-09-19 JP JP2006253305A patent/JP4412314B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2007001315A (en) | 2007-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH09202014A (en) | Printer | |
JP4666970B2 (en) | Conveying device and recording apparatus provided with the device | |
US9022517B2 (en) | Recording device | |
JP4192974B2 (en) | Printer and printing method | |
JP2012229074A (en) | Conveyance device and image forming apparatus | |
JP2006240212A (en) | Printer and controlling method of motor for printer | |
US20020051026A1 (en) | Recording apparatus | |
US8413983B2 (en) | Image forming apparatus with accurate sheet conveyance | |
US20050195226A1 (en) | Printer-control apparatus, printer-control method and printer | |
JP4412314B2 (en) | Motor control device, recording device | |
JP5195687B2 (en) | Motor control apparatus and image forming apparatus | |
JP4009834B2 (en) | Motor control device, recording device | |
US20080025781A1 (en) | Printer and method for controlling the printer | |
JP2019166761A (en) | Motor control method and motor controller | |
JP2006192575A (en) | Recoding device and liquid jet device | |
US20130257953A1 (en) | Image Forming Apparatus | |
JP4141626B2 (en) | Carriage drive control device and control method | |
JP7327026B2 (en) | drive system | |
US20220314666A1 (en) | Control system | |
US10850500B2 (en) | Image forming system | |
JP2007168976A (en) | Recorder, control method of recorder and control program of recorder | |
JP5834730B2 (en) | Motor control device and image forming system | |
JP2023180091A (en) | control system | |
JP2006248104A (en) | Control method and controller of motor, and inkjet printer | |
JP2022154875A (en) | control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061011 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061011 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20090622 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20090706 |
|
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: 20091027 |
|
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: 20091109 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121127 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |