JP2005341726A - Method and device for controlling motor, and inkjet printer - Google Patents

Method and device for controlling motor, and inkjet printer Download PDF

Info

Publication number
JP2005341726A
JP2005341726A JP2004157831A JP2004157831A JP2005341726A JP 2005341726 A JP2005341726 A JP 2005341726A JP 2004157831 A JP2004157831 A JP 2004157831A JP 2004157831 A JP2004157831 A JP 2004157831A JP 2005341726 A JP2005341726 A JP 2005341726A
Authority
JP
Japan
Prior art keywords
motor
rotational speed
value
target
motor control
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
JP2004157831A
Other languages
Japanese (ja)
Other versions
JP4534600B2 (en
Inventor
Hiroshi Wanibuchi
博 鰐渕
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 JP2004157831A priority Critical patent/JP4534600B2/en
Publication of JP2005341726A publication Critical patent/JP2005341726A/en
Application granted granted Critical
Publication of JP4534600B2 publication Critical patent/JP4534600B2/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 control method which can shorten acceleration period, while preventing overshoot, and also can reduce the computational quantity required for the control, and a motor control unit and an inkjet printer. <P>SOLUTION: In the motor control method, in controlling a carriage motor 13 by means of a CR motor control circuit 200, having a comparison element 210 which outputs a value corresponding to the deviation ΔV between the rotational speed Vc and a target rotational speed Vt of the carriage motor 13; and an integral element 212 which integrates the deviation ΔV between the rotational speed Vc and the target rotational speed Vt of the carriage motor 13 to output a value corresponding to the integrated value; and the output value QI of the integral element 212 in the target uniform rotational speed Vconst of the carriage motor 13 is preliminarily set as an integrated output upper limit value, fixing the output value QI of the integral element 212 to the integrated output upper limit value during the time of acceleration t0 to t1 until the rotational speed, on a basic operation of the carriage motor 13 reaches the target uniform rotational speed Vconst. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、モータの回転速度を目標回転速度との偏差に応じた値を出力する比例手段と、モータの回転速度と目標回転速度との偏差を積分して積分値に応じた値を出力する積分手段を有する制御系によりモータの駆動を制御するモータの制御方法、モータの制御装置、及びインクジェットプリンタに関する。   The present invention integrates the deviation between the motor rotation speed and the target rotation speed and outputs a value corresponding to the integral value by a proportional means for outputting a value corresponding to the deviation between the motor rotation speed and the target rotation speed. The present invention relates to a motor control method for controlling driving of a motor by a control system having an integrating unit, a motor control device, and an ink jet printer.

紙、布、フィルム等の被印刷体に印刷を行う各種のプリンタのなかで、被印刷体にインクを吐出して印刷を行う方式のプリンタは、インクジェットプリンタと呼ばれている。   Among various printers that perform printing on a printing medium such as paper, cloth, and film, a printer that performs printing by discharging ink onto the printing medium is called an inkjet printer.

このようなインクジェットプリンタにおいては、インクを吐出する印刷ヘッドと、該印刷ヘッドに供給するインクを収容したインク容器とを搭載したキャリッジを駆動するモータを制御系によって制御し、キャリッジを移動させながら印刷ヘッドから被印刷体に向けてインクを吐出して印刷を行うのが一般的である。   In such an ink jet printer, a motor that drives a carriage on which a print head that discharges ink and an ink container that stores ink to be supplied to the print head is controlled by a control system to perform printing while moving the carriage. In general, printing is performed by ejecting ink from a head toward a substrate.

したがって、被印刷体に対して高品質の印刷を行うためには、キャリッジを駆動するモータを高精度に制御する必要がある。   Therefore, in order to perform high-quality printing on the printing medium, it is necessary to control the motor that drives the carriage with high accuracy.

そこで、モータの回転速度と目標回転速度との偏差に応じた値を出力する比例手段と、前記モータの回転速度と目標回転速度との偏差を積分して積分値に応じた値を出力する積分手段を有する制御系により前記モータを制御するモータ制御方法において、前記比例手段の出力値に対して、前記積分手段の出力値に応じた比例出力上限値を設け、前記比例手段の出力値がこの比例出力上限値を超える場合には、前記比例手段の出力値が前記比例出力上限値とすることを特徴とするモータ制御方法が提案されている(例えば、特許文献1参照)。   Therefore, a proportional means for outputting a value according to the deviation between the motor rotation speed and the target rotation speed, and an integration for integrating the deviation between the motor rotation speed and the target rotation speed and outputting a value according to the integral value. In a motor control method for controlling the motor by a control system having a means, a proportional output upper limit value corresponding to the output value of the integrating means is provided for the output value of the proportional means, and the output value of the proportional means is A motor control method has been proposed in which when the proportional output upper limit value is exceeded, the output value of the proportional means becomes the proportional output upper limit value (see, for example, Patent Document 1).

このようなモータ制御方法によれば、インクが消費されてインク容器に収容されたインクの量が少なくなってモータに加わる負荷が変動した場合であっても、高精度にモータを制御することが可能となる。   According to such a motor control method, it is possible to control the motor with high accuracy even when the ink is consumed and the amount of ink stored in the ink container is reduced and the load applied to the motor fluctuates. It becomes possible.

特開2003−79177号JP 2003-79177 A

上述したように、従来のモータ制御方法では、比例手段による比例制御と積分手段による積分制御を組み合わせ、さらには微分制御も加えた所謂PID制御を行うことが一般的であり、モータの加速時から等速状態を経て停止するまでの1回の走査駆動に対して、例えば図9に示すような目標回転速度を設定していた。なお、この図9のグラフは、モータによりインクジェットプリンタのキャリッジを駆動する際のキャリッジの位置とモータの回転速度との関係を示したものである。   As described above, in the conventional motor control method, it is common to perform so-called PID control in which proportional control by the proportional means and integral control by the integrating means are combined, and further differential control is added. For example, a target rotational speed as shown in FIG. 9 has been set for one scanning drive until stopping after passing through a constant speed state. The graph of FIG. 9 shows the relationship between the position of the carriage and the rotational speed of the motor when the carriage of the ink jet printer is driven by the motor.

しかしながら、図9に示すように設定された目標回転速度にモータの回転速度を追従させようとした場合には、目標回転速度が等速度の時だけでなく加速時や減速時においても実回転速度を目標回転速度に一致させるように制御するため、例えば目標等回転速度に達するまでの加速期間が長くなってしまう。そして、加速期間が長くなるに伴ってキャリッジの加速距離も長く設けなけばならず、プリンタが大型化してしまう要因となってしまう。   However, when trying to make the motor rotational speed follow the target rotational speed set as shown in FIG. 9, the actual rotational speed is not only when the target rotational speed is constant, but also during acceleration and deceleration. Is controlled so as to match the target rotation speed, for example, the acceleration period until the target constant rotation speed is reached becomes longer. As the acceleration period becomes longer, the acceleration distance of the carriage must be longer, which causes the printer to become larger.

また、加速期間を短くしようとして急激な加速を試みたとしても、積分手段の出力値は比例手段の時間的累積の値であるため目標回転速度に近づいたときには過大な値となったり、また、積分手段の演算から実際にモータへ出力されるまでのタイムラグの影響が増大しやすくなったりするため、目標回転速度に対してオーバーシュートが起こりやすかった。   Also, even if a rapid acceleration is attempted in order to shorten the acceleration period, the output value of the integrating means is a value of the cumulative time of the proportional means, so when it approaches the target rotational speed, it becomes an excessive value, Since the influence of the time lag from the calculation of the integrating means to the actual output to the motor is likely to increase, overshooting is likely to occur with respect to the target rotation speed.

さらに、モータの加速から停止までの間、常に比例手段と積分手段によって高精度の制御を行おうとすると、制御回路の演算負荷が増大し、メモリの量も増えてしまう状況にあった。   Furthermore, if high-precision control is always performed by the proportional means and the integral means from the acceleration to the stop of the motor, the calculation load of the control circuit increases and the amount of memory increases.

本発明の目的は、オーバーシュートを防ぎつつ加速期間を短縮することができ、制御に要する演算量を少なくすることができるモータの制御方法、モータの制御装置、及びインクジェットプリンタを提供することである。   An object of the present invention is to provide a motor control method, a motor control device, and an ink jet printer that can reduce the acceleration period while preventing overshoot and reduce the amount of calculation required for control. .

上記課題を解決することのできる本発明に係るモータ制御方法は、モータの回転速度と目標回転速度との偏差に応じた値を出力する比例手段と、前記モータの回転速度と目標回転速度との偏差を積分して積分値に応じた値を出力する積分手段を有する制御系により前記モータを制御するモータ制御方法において、前記モータの目標等速回転速度における前記積分手段の出力値を積分出力上限値として予め設定し、前記モータを本稼動させたときの回転速度が前記目標等速回転速度に達するまでの加速期間に、前記積分手段の出力値を前記積分出力上限値に固定することを特徴としている。   A motor control method according to the present invention capable of solving the above-described problems includes a proportional means for outputting a value corresponding to a deviation between the rotational speed of the motor and the target rotational speed, and the rotational speed of the motor and the target rotational speed. In a motor control method for controlling the motor by a control system having an integration unit that integrates a deviation and outputs a value corresponding to an integration value, the output value of the integration unit at a target constant speed rotation speed of the motor is an integral output upper limit. A value is set in advance, and the output value of the integration means is fixed to the integral output upper limit value during an acceleration period until the rotational speed when the motor is fully operated reaches the target constant speed rotational speed. It is said.

このような構成のモータ制御方法によれば、例えばモータを予備駆動させて本稼動時のモータの目標等速回転速度となる積分手段の出力値を測定してそれを積分出力上限値として設定しておき、その後モータを本稼動させる際の加速期間に、積分手段からの出力値を積分出力上限値に固定することで、実際にモータの回転速度が目標等速回転速度に達するときに積分手段の出力値が積分出力上限値を超えないため、オーバーシュートの発生を容易に防止することができる。また、加速期間において積分手段が出力する値が一定であるため、制御に要する演算量が少なくなり、さらに積分手段の演算から出力までのタイムラグの発生も防ぐことができる。したがって、モータの急激な加速が可能となり、加速期間を短くすることができる。   According to the motor control method having such a configuration, for example, the motor is preliminarily driven to measure the output value of the integrating means that becomes the target constant speed rotation speed of the motor during the actual operation, and is set as the integrated output upper limit value. After that, during the acceleration period when the motor is actually operated, the output value from the integration means is fixed to the integral output upper limit value, so that the integration means when the motor rotation speed actually reaches the target constant speed rotation speed. Since the output value does not exceed the integral output upper limit value, overshooting can be easily prevented. In addition, since the value output from the integrating means is constant during the acceleration period, the amount of calculation required for control is reduced, and the occurrence of a time lag from the calculation of the integrating means to the output can be prevented. Therefore, the motor can be accelerated rapidly, and the acceleration period can be shortened.

また、本発明のモータ制御方法において、前記加速期間における目標回転速度を前記目標等速回転速度と同値に設定し、前記加速期間に前記比例手段による演算を行うことが好ましい。
この場合には、上記のようにモータを本稼動させる際の加速期間には積分手段からの出力値は一定であるため、モータを加速させるための出力は比例手段によるものが支配的要素となる。そして、加速期間の目標回転速度を目標等速回転速度と同値としておくことで、加速初期の速度偏差が大きくなり比例手段の演算によって急激にモータの回転が加速される。したがって、加速時間を効果的に短縮することができる。
In the motor control method of the present invention, it is preferable that the target rotation speed during the acceleration period is set to the same value as the target constant speed rotation speed, and the calculation by the proportional means is performed during the acceleration period.
In this case, since the output value from the integrating means is constant during the acceleration period when the motor is actually operated as described above, the output for accelerating the motor is based on the proportional means. . Then, by setting the target rotational speed during the acceleration period to the same value as the target constant speed rotational speed, the speed deviation at the initial stage of acceleration increases, and the rotation of the motor is accelerated rapidly by the calculation of the proportional means. Therefore, the acceleration time can be effectively shortened.

また、本発明のモータ制御方法において、前記加速期間終了後、前記比例手段及び前記積分手段による演算を行うことが好ましい。
モータの回転速度が目標等速回転速度に達した後は、回転速度を目標等速回転速度に維持するための制御を行えば良いため、比例手段だけでなく積分手段の演算も行ってフィードバック制御を行うことで、回転速度の偏差を小さくすることができる。
In the motor control method of the present invention, it is preferable that the calculation by the proportional means and the integrating means is performed after the acceleration period is over.
After the motor rotation speed reaches the target constant speed rotation speed, it is only necessary to perform control to maintain the rotation speed at the target constant speed rotation speed. Therefore, feedback control is performed by calculating not only the proportional means but also the integration means. By performing this, the deviation of the rotation speed can be reduced.

また、上記課題を解決することのできる本発明に係るモータ制御装置は、モータの回転速度と目標回転速度との偏差に応じた値を出力する比例手段と、前記モータの回転速度と目標回転速度との偏差を積分して積分値に応じた値を出力する積分手段を有する制御系により前記モータを制御するモータ制御装置において、前記制御系は、前記モータの目標等速回転速度における前記積分手段の出力値を積分出力上限値として設定可能であり、前記モータを本稼動させたときの回転速度が前記目標等速回転速度に達するまでの加速期間に、前記積分手段の出力値を前記積分出力上限値に固定することを特徴としている。   Further, the motor control device according to the present invention capable of solving the above-described problems includes a proportional means for outputting a value corresponding to a deviation between the rotational speed of the motor and the target rotational speed, the rotational speed of the motor and the target rotational speed. In the motor control device that controls the motor by a control system having an integration unit that integrates a deviation from the output and outputs a value corresponding to the integration value, the control system includes the integration unit at a target constant speed rotation speed of the motor Can be set as an integral output upper limit value, and during the acceleration period until the rotational speed when the motor is fully operated reaches the target constant rotational speed, the output value of the integrating means is the integrated output. It is characterized by being fixed at the upper limit.

また、本発明のモータ制御装置において、前記制御系は、前記加速期間における目標回転速度を前記目標等速回転速度と同値に設定し、前記加速期間に前記比例手段による演算を行うことが好ましい。   In the motor control device of the present invention, it is preferable that the control system sets a target rotation speed during the acceleration period to be equal to the target constant speed rotation speed and performs calculation by the proportional means during the acceleration period.

また、本発明のモータ制御装置において、前記制御系は、前記加速期間終了後、前記比例手段及び前記積分手段による演算を行うことが好ましい。   In the motor control device of the present invention, it is preferable that the control system performs calculation by the proportional means and the integrating means after the acceleration period ends.

また、本発明のモータ制御装置において、前記モータは、被印刷体にインクを吐出する印刷ヘッドと、該印刷ヘッドに供給されるインクを収容したインク容器を備えたキャリッジを駆動するためのモータとすると良い。
この場合には、インクを吐出するためにキャリッジが等速度で走査するまでの立ち上がり時間を短くすることができ、素早い印刷を行うことが可能となる。
In the motor control device of the present invention, the motor includes a print head that discharges ink to a printing medium, and a motor that drives a carriage including an ink container that stores ink supplied to the print head. Good.
In this case, the rise time until the carriage scans at a constant speed for ejecting ink can be shortened, and quick printing can be performed.

また、上記構成のモータ制御装置を備えたインクジェットプリンタは、素早い印刷を行うことができるとともに、キャリッジを加速させるための加速距離を短くできるため、プリンタの小型化を図ることができる。   In addition, the ink jet printer provided with the motor control device having the above-described configuration can perform quick printing and can shorten the acceleration distance for accelerating the carriage, thereby reducing the size of the printer.

本発明によれば、オーバーシュートを防ぎつつ加速期間を短縮することができ、制御に要する演算量を少なくすることができるモータの制御方法、モータの制御装置、及びインクジェットプリンタを提供することができる。   According to the present invention, it is possible to provide a motor control method, a motor control device, and an ink jet printer that can reduce the acceleration period while preventing overshoot and reduce the amount of calculation required for control. .

以下、添付図面に基づいて本発明に係るモータの制御方法、モータの制御装置、及びインクジェットプリンタの一実施形態を詳細に説明する。
図1及び図2は本実施形態のモータ制御方法を実施可能なインクジェットプリンタ1の主要な構成を示す概略斜視図である。
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a motor control method, a motor control device, and an inkjet printer according to embodiments of the invention will be described in detail with reference to the accompanying drawings.
1 and 2 are schematic perspective views showing a main configuration of an ink jet printer 1 capable of performing the motor control method of the present embodiment.

このインクジェットプリンタ1は、印刷用紙を収容した給紙カセット10が着脱自在に装着されている。給紙カセット10は、用紙を収容するように略矩形状に形成されたベース10aを備えており、プリンタ本体に装着される給紙口側にシャッタ部材10cが設けられるとともに、このシャッタ部材10cの後方側(プリンタ本体と離れた側)には開閉自在な保護カバー10bが設けられている。なお、保護カバー10bは、プリンタ本体に給紙カセット10を装着したままの状態で、プリンタ本体側に傾倒するように開閉可能である。   The ink jet printer 1 is detachably mounted with a paper feed cassette 10 containing printing paper. The paper feed cassette 10 includes a base 10a formed in a substantially rectangular shape so as to store paper. A shutter member 10c is provided on the side of a paper feed port to be mounted on the printer body. A protective cover 10b that can be freely opened and closed is provided on the rear side (side away from the printer main body). The protective cover 10b can be opened and closed so as to tilt toward the printer main body while the paper feed cassette 10 is mounted on the printer main body.

このインクジェットプリンタ1において、キャリッジ4は、キャリッジモータ13にタイミングベルト3により接続されて、ガイドレール2に沿って往復移動するように構成されており、用紙と対向する面にはアクチュエータによりインクを加圧してノズル開口からインク適を吐出させるインクジェットヘッド5が設けられている。   In this ink jet printer 1, the carriage 4 is connected to the carriage motor 13 by the timing belt 3 and is configured to reciprocate along the guide rail 2, and ink is applied to the surface facing the paper by an actuator. An ink jet head 5 is provided that presses and ejects ink from the nozzle openings.

そして、このインクジェットヘッド5に対して、図2に示すように、プリンタ下部に配置したインクカートリッジ7から可撓性のインクチューブ6を介してインクが供給される。   Then, as shown in FIG. 2, ink is supplied to the inkjet head 5 from an ink cartridge 7 disposed at the lower part of the printer via a flexible ink tube 6.

給紙カセット10内に収容された用紙は、紙送りモータ12により回転伝達機構(図示せず)を介して接続されたオートシートフィーダ15と、歯車伝達機構20により回転駆動される搬送ローラ11及び14とにより、一定のピッチでキャリッジ4の移動方向(主走査方向)と直交する方向(副走査方向)に搬送される。   The paper stored in the paper feed cassette 10 includes an auto sheet feeder 15 connected by a paper feed motor 12 via a rotation transmission mechanism (not shown), a conveyance roller 11 rotated by a gear transmission mechanism 20, and 14 is conveyed in a direction (sub-scanning direction) orthogonal to the moving direction (main scanning direction) of the carriage 4 at a constant pitch.

また、図2に示すように、印刷領域の外側には、インクジェットヘッド5のインクノズル面の汚れのワイピング、インクノズルの詰まりを防止するためのキャッピング、インクノズルから増粘状態のインクを吸引するインク吸引等を行うヘッドメンテナンス機構28が設けられている。   Further, as shown in FIG. 2, outside the printing region, the ink nozzle surface of the inkjet head 5 is wiped with dirt, capped to prevent clogging of the ink nozzles, and ink in a thickened state is sucked from the ink nozzles. A head maintenance mechanism 28 that performs ink suction or the like is provided.

搬送ローラ11は、図1に示すように、歯車伝達機構20を構成する歯車23を一端側に有し、紙送りモータ12の軸上のピニオン21から減速歯車22を介して駆動されるとともに、他端側に設けた駆動歯車26が回転伝達機構(図示せず)を介してオートシートフィーダ15及びヘッドメンテナンス機構28を駆動する。搬送ローラ14は、一端側に歯車25を有し、複数の伝達歯車24を介して紙送りモータ12により駆動される。   As shown in FIG. 1, the transport roller 11 has a gear 23 constituting the gear transmission mechanism 20 on one end side, and is driven from a pinion 21 on the shaft of the paper feed motor 12 via a reduction gear 22. A drive gear 26 provided on the other end side drives the auto sheet feeder 15 and the head maintenance mechanism 28 via a rotation transmission mechanism (not shown). The transport roller 14 has a gear 25 on one end side, and is driven by the paper feed motor 12 via a plurality of transmission gears 24.

次に、図3を参照しつつ、インクジェットプリンタ1の電気的な構成について説明する。図3は、インクジェットプリンタ1の電気的な構成を示すブロック図である。   Next, the electrical configuration of the inkjet printer 1 will be described with reference to FIG. FIG. 3 is a block diagram illustrating an electrical configuration of the inkjet printer 1.

インクジェットプリンタ1は、主制御回路102と、CPU104と、主制御回路102およびCPU104にバスを介して接続された各種のメモリ(ROM110、RAM112、EEPROM114)とを備えている。主制御回路102には、パーソナルコンピュータなどの外部装置との間で信号の送受信を行うインターフェース回路120と、紙送りモータ駆動回路130と、ヘッド駆動回路140と、CRモータ駆動回路150とが接続されている。   The ink jet printer 1 includes a main control circuit 102, a CPU 104, and various memories (ROM 110, RAM 112, EEPROM 114) connected to the main control circuit 102 and the CPU 104 via a bus. Connected to the main control circuit 102 are an interface circuit 120 that transmits and receives signals to and from an external device such as a personal computer, a paper feed motor drive circuit 130, a head drive circuit 140, and a CR motor drive circuit 150. ing.

紙送りモータ12は、紙送りモータ駆動回路130によって駆動されて搬送ローラ14を回転させ、これによって用紙Pを副走査方向に移動させる。紙送りモータ12にはロータリエンコーダ32が設けられており、ロータリエンコーダ32の出力信号は主制御回路102に入力されている。   The paper feed motor 12 is driven by the paper feed motor drive circuit 130 to rotate the transport roller 14 and thereby move the paper P in the sub-scanning direction. The paper feed motor 12 is provided with a rotary encoder 32, and an output signal of the rotary encoder 32 is input to the main control circuit 102.

キャリッジ4の底面には、複数のノズル(図示せず)を有する印刷ヘッド52が設けられている。各ノズルは、ヘッド駆動回路140によって駆動されて、用紙P、または紙、布、フィルム等の被印刷体に向けて、インク滴を吐出する。   A print head 52 having a plurality of nozzles (not shown) is provided on the bottom surface of the carriage 4. Each nozzle is driven by a head drive circuit 140 and ejects ink droplets toward a paper P or a printing material such as paper, cloth, or film.

キャリッジモータ13は、CRモータ駆動回路150によって駆動される。このインクジェットプリンタ1は、キャリッジ4の主走査方向に沿った位置と速度を検出するためのリニアエンコーダ70を備えている。このリニアエンコーダ70は、主走査方向に平行に設けられた直線状の符号板72と、キャリッジ50に設けられたフォトセンサ74とによって構成されている。リニアエンコーダ70の出力信号は、主制御回路102に入力されている。   The carriage motor 13 is driven by a CR motor drive circuit 150. The ink jet printer 1 includes a linear encoder 70 for detecting the position and speed of the carriage 4 along the main scanning direction. The linear encoder 70 includes a linear code plate 72 provided parallel to the main scanning direction and a photo sensor 74 provided on the carriage 50. The output signal of the linear encoder 70 is input to the main control circuit 102.

なお、主制御回路102は、3つの駆動回路130、140、150に制御信号をそれぞれ供給する機能を有しており、また、インターフェース回路120で受信した各種の印刷コマンドの解読や、印刷データの調整に関する制御、各種のセンサの監視などを実行する機能も有している。一方、CPU104は、主制御回路102を補助するための各種の機能を有しており、例えば各種のメモリの制御などを実行する。   The main control circuit 102 has a function of supplying control signals to the three drive circuits 130, 140, and 150, respectively, decodes various print commands received by the interface circuit 120, and print data It also has a function of executing control related to adjustment and monitoring of various sensors. On the other hand, the CPU 104 has various functions for assisting the main control circuit 102, and executes control of various memories, for example.

次に、図4及び図5を参照しつつ、キャリッジモータ13の駆動制御装置の構成について説明する。図4は、キャリッジモータ13の駆動制御装置の構成を示すブロック図である。図5は、モータ駆動信号Sdrと、キャリッジモータ13の特性との関係を示す説明図である。   Next, the configuration of the drive control device for the carriage motor 13 will be described with reference to FIGS. 4 and 5. FIG. 4 is a block diagram showing the configuration of the drive control device for the carriage motor 13. FIG. 5 is an explanatory diagram showing the relationship between the motor drive signal Sdr and the characteristics of the carriage motor 13.

キャリッジモータ13の駆動制御装置は、CRモータ制御回路200と、CRモータ駆動回路150とを含んでいる。なお、CRモータ制御回路200は、図3に示した主制御回路102の一部である。   The drive control device for the carriage motor 13 includes a CR motor control circuit 200 and a CR motor drive circuit 150. The CR motor control circuit 200 is a part of the main control circuit 102 shown in FIG.

リニアエンコーダ70の出力信号Senは、CRモータ制御回路200内の位置演算回路230と速度演算回路232とに入力される。これらの回路230、232は、エンコーダ70の出力信号Senの図示しないA相信号とB相信号とに基づいて、キャリッジモータ13の現行回転位置Pcと現行回転速度Vcとをそれぞれ求める。現行回転位置Pcは目標回転速度発生回路204に入力される。目標回転速度発生回路204には、回転位置Pcに応じた目標回転速度Vtが予め設定されており、この目標回転位置Pcに応じた目標回転速度Vtを発生する。   The output signal Sen of the linear encoder 70 is input to the position calculation circuit 230 and the speed calculation circuit 232 in the CR motor control circuit 200. These circuits 230 and 232 obtain the current rotational position Pc and the current rotational speed Vc of the carriage motor 13 based on the A phase signal and the B phase signal (not shown) of the output signal Sen of the encoder 70, respectively. The current rotation position Pc is input to the target rotation speed generation circuit 204. The target rotational speed generation circuit 204 is preset with a target rotational speed Vt corresponding to the rotational position Pc, and generates a target rotational speed Vt corresponding to the target rotational position Pc.

減算器206は、この目標回転速度Vtと現行回転速度Vcとの偏差ΔVを求め、この回転速度偏差ΔVを比例要素(比例手段)210と積分要素(積分手段)212と微分要素(微分手段)214とに入力する。これらの3つの演算要素210、212、214の演算結果QP、QI、QDは、加算器216で加算されて、加算結果ΣQが算出される。   The subtractor 206 obtains a deviation ΔV between the target rotational speed Vt and the current rotational speed Vc, and calculates the rotational speed deviation ΔV from a proportional element (proportional means) 210, an integral element (integral means) 212, and a differential element (differential means). And 214. The calculation results QP, QI, and QD of these three calculation elements 210, 212, and 214 are added by an adder 216 to calculate an addition result ΣQ.

各演算要素210、212、214の出力QP、QI、QDと、それらの加算結果ΣQは、例えば以下の式(1)〜(4)で与えられる。   The outputs QP, QI, QD of the respective arithmetic elements 210, 212, 214 and their addition result ΣQ are given by, for example, the following equations (1) to (4).

QP(j)=ΔV(j)×Kp ・・・(1)
QI(j)=QI(j−1)+ΔV(j)×Ki ・・・(2)
QD(j)={ΔV(j)−ΔV(j−1)}×Kd ・・・(3)
ΣQ(j)=QP(j)+QI(j)+QD(j) ・・・(4)
ここで、jは時刻であり、Kpは比例ゲイン、Kiは積分ゲイン、Kdは微分ゲインである。
QP (j) = ΔV (j) × Kp (1)
QI (j) = QI (j−1) + ΔV (j) × Ki (2)
QD (j) = {ΔV (j) −ΔV (j−1)} × Kd (3)
ΣQ (j) = QP (j) + QI (j) + QD (j) (4)
Here, j is time, Kp is a proportional gain, Ki is an integral gain, and Kd is a differential gain.

デューティ調整回路220は、この加算結果ΣQ(「PID出力」とも呼ぶ)に応じて、積分要素212または目標回転速度発生回路204を調整することによって、駆動回路150に供給するデューティ信号Dtのレベルを調整する。このデューティ信号Dtは、加算結果ΣQに比例した信号であり、キャリッジモータ13のデューティを示す信号である。   The duty adjustment circuit 220 adjusts the level of the duty signal Dt supplied to the drive circuit 150 by adjusting the integration element 212 or the target rotation speed generation circuit 204 according to the addition result ΣQ (also referred to as “PID output”). adjust. The duty signal Dt is a signal proportional to the addition result ΣQ and is a signal indicating the duty of the carriage motor 13.

CRモータ駆動回路150は、トランジスタブリッジで構成されたDC−DCコンバータ154と、ベースドライブ回路152とを備えている。ベースドライブ回路152は、CRモータ制御回路200から供給されたデューティ信号Dtに応じて、DC−DCコンバータ154のトランジスタのベースに印加するベース信号を発生する。DC−DCコンバータ154は、このベース信号に応じてモータ駆動信号Sdrを生成してキャリッジモータ13に供給する。   The CR motor drive circuit 150 includes a DC-DC converter 154 configured with a transistor bridge and a base drive circuit 152. The base drive circuit 152 generates a base signal to be applied to the base of the transistor of the DC-DC converter 154 in accordance with the duty signal Dt supplied from the CR motor control circuit 200. The DC-DC converter 154 generates a motor drive signal Sdr according to the base signal and supplies it to the carriage motor 13.

図5(A)は、モータ駆動信号Sdrの信号変化を示している。モータ駆動信号Sdrのデューティは、オンレベルにある期間Tonを、駆動信号の1周期Tpで割った値である。なお、本実施の形態では、モータ駆動信号Sdrのデューティを「キャリッジモータのデューティ」とも呼ぶ。   FIG. 5A shows a signal change of the motor drive signal Sdr. The duty of the motor drive signal Sdr is a value obtained by dividing the period Ton at the on level by one cycle Tp of the drive signal. In the present embodiment, the duty of the motor drive signal Sdr is also referred to as “carriage motor duty”.

キャリッジモータ13としてブラシ付きDCモータを使用した場合には、そのトルク/回転数特性は、図5(B)に示すように、デューティに比例する。CRモータ駆動回路150は、駆動信号Sdrのデューティがデューティ信号Dtに比例するように駆動信号Sdrを生成する。この結果、キャリッジモータ13は、CRモータ制御回路200から与えられるデューティ信号Dtに応じた駆動力を発生してキャリッジ4を駆動する。   When a brushed DC motor is used as the carriage motor 13, the torque / rotational speed characteristics are proportional to the duty as shown in FIG. The CR motor drive circuit 150 generates the drive signal Sdr so that the duty of the drive signal Sdr is proportional to the duty signal Dt. As a result, the carriage motor 13 generates a driving force corresponding to the duty signal Dt given from the CR motor control circuit 200 to drive the carriage 4.

次に、図6を参照しつつ印刷ヘッド52による印刷動作の概要について説明する。図6は、印刷動作の概要を説明するための図である。   Next, the outline of the printing operation by the print head 52 will be described with reference to FIG. FIG. 6 is a diagram for explaining the outline of the printing operation.

前述したように目標回転速度発生装置204は、回転位置Pcに応じてキャリッジモータ13の目標回転速度Vtを発生させる。発生する目標回転速度Vtの変化パターンは、例えば、図6に示したようなものである。なお、この図6のグラフは、キャリッジモータ13により駆動されて走査方向に移動する際のキャリッジ4の位置Pとキャリッジモータ13の目標回転速度Vtとの関係を示したものである。   As described above, the target rotational speed generator 204 generates the target rotational speed Vt of the carriage motor 13 according to the rotational position Pc. The generated change pattern of the target rotational speed Vt is, for example, as shown in FIG. The graph of FIG. 6 shows the relationship between the position P of the carriage 4 and the target rotational speed Vt of the carriage motor 13 when it is driven by the carriage motor 13 and moves in the scanning direction.

図6において、P0〜P1の区間はキャリッジモータ13の加速区間であり、本実施形態では従来(図9参照)と異なり、走査開始位置(グラフ左端)からインク吐出時の等速回転速度の目標値と同値に設定されている。そのため、この加速区間ではキャリッジモータ13の駆動開始直後から即座に等速回転速度に追従するように加速する。また、P1〜P2の区間はキャリッジモータ13の等速区間であり、この区間ではキャリッジモータ13の回転速度がVconstなる回転速度にて等速回転するように制御される。P2〜P3の区間は、キャリッジモータ13の減速区間であり、この区間ではキャリッジモータ13の回転速度が減速するように制御される。   In FIG. 6, the interval between P0 and P1 is the acceleration interval of the carriage motor 13, and in this embodiment, unlike the conventional case (see FIG. 9), the target of the constant rotation speed at the time of ink ejection from the scanning start position (left end of the graph). It is set to the same value. Therefore, in this acceleration section, acceleration is performed immediately following the start of driving of the carriage motor 13 so as to follow the constant speed rotation speed. Further, the section from P1 to P2 is a constant speed section of the carriage motor 13, and in this section, the rotation speed of the carriage motor 13 is controlled to rotate at a constant speed of Vconst. A section from P2 to P3 is a deceleration section of the carriage motor 13. In this section, the rotation speed of the carriage motor 13 is controlled to be reduced.

したがって、印刷ヘッド52が搭載されているキャリッジ4は、P0〜P1の区間では加速するように制御され、P1〜P2の区間では等速移動するように制御され、P2〜P3の区間では減速するように制御される。   Accordingly, the carriage 4 on which the print head 52 is mounted is controlled to accelerate in the section P0 to P1, is controlled to move at a constant speed in the section P1 to P2, and decelerates in the section P2 to P3. To be controlled.

ここで、印刷ヘッド52を搭載したキャリッジ4が等速移動を開始する少し前の時期から、等速移動を終了した少し後の時期までの間において、印刷ヘッド52から被印刷体に対してインクを吐出することにより印刷が行われる。例えば、印刷ヘッド52を搭載したキャリッジ4を駆動するキャリッジモータ13の回転速度が、目標等速回転速度Vconstの80%〜90%以上になるとインクの吐出が開始され、キャリッジモータ13の回転速度が、目標等速回転速度Vconstの80%〜90%以下になるとインクの吐出が終了する。なお、印刷ヘッド52を搭載したキャリッジ4が等速移動を行っている期間のみ、印刷ヘッド52から被印刷体に対してインクを吐出するようにしてもよい。   Here, ink is applied from the print head 52 to the printing medium from a time just before the carriage 4 carrying the print head 52 starts to move at a constant speed to a time just after the carriage 4 has finished moving at a constant speed. Printing is performed by discharging the ink. For example, when the rotation speed of the carriage motor 13 that drives the carriage 4 on which the print head 52 is mounted becomes 80% to 90% or more of the target constant speed rotation speed Vconst, ink ejection is started, and the rotation speed of the carriage motor 13 is increased. When the target constant speed rotation speed Vconst is 80% to 90% or less, the ink ejection is finished. Note that ink may be ejected from the print head 52 to the printing medium only during a period in which the carriage 4 on which the print head 52 is mounted moves at a constant speed.

したがって、被印刷体に対して高品質な印刷を行うためには、特に、加速区間の終期、等速区間、及び、減速区間の初期において、キャリッジモータ13の回転速度が、図6に示したような目標回転速度パターンに精度良く追従することが求められる。   Therefore, in order to perform high-quality printing on the printing medium, the rotational speed of the carriage motor 13 is shown in FIG. 6 especially at the end of the acceleration section, the constant speed section, and the initial stage of the deceleration section. It is required to accurately follow such a target rotational speed pattern.

次に、図7及び図8を参照しつつ、CRモータ制御回路200の動作について説明する。図7及び図8は、本実施形態に係るCRモータ制御回路200の動作例を示した図であり、図7は、キャリッジ4の目標回転速度パターンと、実際の回転速度との関係を示した図である。図7において、横軸(時間軸)t0〜t1の期間は図6に示したP0〜P1の区間と対応する加速期間であり、t1〜t2の期間は図6に示したP1〜P2の区間と対応する等速期間であり、t2〜t3の期間は図6に示したP2〜P3の区間と対応する減速期間である。   Next, the operation of the CR motor control circuit 200 will be described with reference to FIGS. 7 and 8 are diagrams showing an example of the operation of the CR motor control circuit 200 according to this embodiment. FIG. 7 shows the relationship between the target rotational speed pattern of the carriage 4 and the actual rotational speed. FIG. In FIG. 7, the horizontal axis (time axis) t0 to t1 is an acceleration period corresponding to the period P0 to P1 shown in FIG. 6, and the period t1 to t2 is the period P1 to P2 shown in FIG. The period from t2 to t3 is a deceleration period corresponding to the section from P2 to P3 shown in FIG.

また、図8は、比例要素210の出力値QP、積分要素212の出力値QI、及び加算結果ΣQの出力値を説明するための図である。なお、図8において、微分要素214の出力値は、加算結果ΣQに対して非常に小さいため、図示を省略している。また、微分要素214の演算による制御は、加速期間、等速期間、減速期間の何れにおいても、行っても行わなくても良い。   FIG. 8 is a diagram for explaining the output value QP of the proportional element 210, the output value QI of the integral element 212, and the output value of the addition result ΣQ. In FIG. 8, the output value of the differentiation element 214 is very small with respect to the addition result ΣQ, and is not shown. Further, the control by the calculation of the differential element 214 may or may not be performed in any of the acceleration period, the constant speed period, and the deceleration period.

CRモータ制御回路200を動作させるに際して、まず、キャリッジモータ13の回転速度が目標回転速度に精度良く追従するように、比例要素210、積分要素212、及び、微分要素214における、比例ゲインKp、積分ゲインKi、及び、微分ゲインKdをチューニングする。   When operating the CR motor control circuit 200, first, the proportional gain Kp and integral in the proportional element 210, the integral element 212, and the differential element 214 are set so that the rotational speed of the carriage motor 13 accurately follows the target rotational speed. The gain Ki and the differential gain Kd are tuned.

また、本実施形態では、加速期間から等速期間にかけてのオーバーシュートの発生を防止するために、加速期間における積分要素212の出力値QIを予め設定する。比例要素210の出力QP、積分要素212の出力QI、微分要素214の出力QDのうち、出力QDの影響は僅かであるため出力QPと出力QIについて検討すると、出力QPは、目標速度に一致すれば理論上ゼロとなる。特に、等速期間で一致し続ければ出力QPもゼロのままとなる。一方、出力QIは、出力QPの累積と考えることができるため、等速期間においてもゼロになることはないと考えられる。このように、キャリッジモータ13の制御に大きな影響を与えるのは積分要素212の出力QIであり、オーバーシュートを引き起こすのも加速期間の終期で出力QIが過大となることが主要因である。   In this embodiment, in order to prevent the occurrence of overshoot from the acceleration period to the constant speed period, the output value QI of the integration element 212 during the acceleration period is set in advance. Of the output QP of the proportional element 210, the output QI of the integral element 212, and the output QD of the differential element 214, the influence of the output QD is slight. Therefore, when the output QP and the output QI are examined, the output QP matches the target speed. In theory, it becomes zero. In particular, the output QP also remains zero if it continues to match during the constant speed period. On the other hand, since the output QI can be considered as the accumulation of the output QP, it is considered that the output QI does not become zero even in the constant speed period. As described above, the output QI of the integration element 212 has a great influence on the control of the carriage motor 13, and overshooting is mainly caused by the output QI being excessive at the end of the acceleration period.

そのため、本実施形態では、実際の回転速度が目標等速回転速度となるときの出力QIの値を積分出力上限値として予め設定し、加速期間における積分要素212の出力QIの値を、この積分出力上限値に固定する。積分出力上限値の決め方は、予め回転速度と出力QIとの関係をデータテーブルとして作成して、その中から選択的に決定しても良いし、また、印刷前にキャリッジ4を予備走査して目標等速度で移動させ、そのときの出力QIをメモリに記憶しておいても良い。なお、出力QIの値は、キャリッジ4の質量、駆動摩擦力、キャリッジモータ13のトルク、キャリッジモータ13の回転速度等の因子で決定されるため、予備動作により決定することが好ましい。予備動作は、インクジェットプリンタ1の電源ON時、印刷開始直前、印刷モード変換後、等のタイミングで行うと良い。   Therefore, in this embodiment, the value of the output QI when the actual rotational speed becomes the target constant speed rotational speed is set in advance as the integral output upper limit value, and the value of the output QI of the integral element 212 during the acceleration period is set as this integral value. Fix the output upper limit value. The integral output upper limit value can be determined by preparing the relationship between the rotational speed and the output QI in advance as a data table and selectively determining the relationship between them, or by pre-scanning the carriage 4 before printing. It is also possible to move at a target constant speed and store the output QI at that time in a memory. Since the value of the output QI is determined by factors such as the mass of the carriage 4, the driving frictional force, the torque of the carriage motor 13, and the rotational speed of the carriage motor 13, it is preferably determined by a preliminary operation. The preliminary operation may be performed at a timing such as when the ink jet printer 1 is turned on, immediately before printing is started, or after printing mode conversion.

このように、加速期間における積分要素212の出力QIの値を目標等速回転速度時の出力である積分出力上限値に固定することで、加速期間内で出力QIが過大となることを確実に防ぐことができ、オーバーシュートの発生が防止される。また、加速期間において積分要素の演算を行わないため、演算負荷及びメモリの使用量を軽減できるとともに、出力QIが一定値であるため演算から出力までのタイムラグも発生しない。   Thus, by fixing the value of the output QI of the integration element 212 during the acceleration period to the integral output upper limit value that is the output at the target constant speed rotation speed, it is ensured that the output QI will be excessive during the acceleration period. It is possible to prevent the occurrence of overshoot. Further, since the integral element is not calculated during the acceleration period, the calculation load and the amount of memory used can be reduced, and since the output QI is a constant value, there is no time lag from the calculation to the output.

また、加速期間における目標回転速度が目標等速回転速度Vconstと同値に設定されており、その目標回転速度との偏差に応じた比例要素210による演算を行うため、従来の目標速度に追従して加速を行うよりも素早く回転速度を目標等速回転速度Vconstまで上げることができ、加速期間t0〜t1を短くすることができる。従来の目標速度パターンではキャリッジモータ13のデューティが100%とはならないが、本実施形態における加速期間での制御は所謂ステップ応答制御であり、キャリッジモータ13のデューティをより大きくしてキャリッジモータ13のパワーをより効果的に活用することができる。なお、比例要素210による演算は、回転速度が目標等速回転速度Vconstに達したときに出力QPがゼロとなるため、オーバーシュートを引き起こしにくい。   In addition, the target rotational speed during the acceleration period is set to the same value as the target constant speed rotational speed Vconst, and the calculation by the proportional element 210 corresponding to the deviation from the target rotational speed is performed. The rotational speed can be increased to the target constant speed rotational speed Vconst more quickly than the acceleration, and the acceleration periods t0 to t1 can be shortened. In the conventional target speed pattern, the duty of the carriage motor 13 is not 100%. However, the control in the acceleration period in this embodiment is so-called step response control, and the duty of the carriage motor 13 is increased by increasing the duty of the carriage motor 13. Power can be used more effectively. The calculation by the proportional element 210 is less likely to cause overshoot because the output QP becomes zero when the rotation speed reaches the target constant rotation speed Vconst.

また、図8に示すように、回転速度が目標等速回転速度Vconstに達して等速期間となったら、比例要素210による演算は引き続き行われ、さらに、積分要素212による演算が開始される。つまり、目標等速回転速度Vconstに対する回転速度の変動を比例要素210と積分要素212によるフィードバック制御により収束させる。なお、同時に微分要素214による制御を加えても良い。   Further, as shown in FIG. 8, when the rotation speed reaches the target constant speed rotation speed Vconst and becomes a constant speed period, the calculation by the proportional element 210 is continued, and the calculation by the integration element 212 is further started. That is, the fluctuation of the rotational speed with respect to the target constant speed rotational speed Vconst is converged by feedback control by the proportional element 210 and the integral element 212. At the same time, control by the differential element 214 may be added.

また、減速期間においては、比例要素と積分要素による制御を引き続き行って、キャリッジモータ13の回転を停止させる。なお、減速期間には微分要素214も加えた所謂PID制御を行うことが望ましい。   Further, during the deceleration period, the control by the proportional element and the integral element is continued, and the rotation of the carriage motor 13 is stopped. In addition, it is desirable to perform so-called PID control including the differential element 214 during the deceleration period.

前述の実施の形態では、比例要素、積分要素、及び、微分要素を備えた制御系を例にとって説明したが、微分要素を有しない制御系についても、本発明は適用可能である。   In the above-described embodiment, the control system including the proportional element, the integral element, and the differential element has been described as an example. However, the present invention can also be applied to a control system having no differential element.

また、被印刷体として印刷用紙を例にとって説明したが、被印刷体として、フィルム、布、金属薄板等を用いてもよい。   Moreover, although the printing paper has been described as an example of the printing material, a film, a cloth, a thin metal plate, or the like may be used as the printing material.

前述の実施形態に係るプリンタ、コンピュータ本体、CRT等の表示装置、マウスやキーボード等の入力装置、フレキシブルドライブ装置、及び、CD−ROMドライブ装置を備えたコンピュータシステムも実現可能であり、このようにして実現されたコンピュータシステムは、システム全体として従来システムよりも優れたシステムとなる。   A computer system including a printer, a computer main body, a display device such as a CRT, an input device such as a mouse or a keyboard, a flexible drive device, and a CD-ROM drive device according to the above-described embodiments can also be realized. The computer system realized in this way is a system superior to the conventional system as a whole system.

前述の実施形態に係るプリンタに、コンピュータ本体、表示装置、入力装置、フレキシブルディスクドライブ装置、及び、CD−ROMドライブ装置がそれぞれ有する機能又は機構の一部を持たせてもよい。例えば、プリンタが、画像処理を行う画像処理部、各種の表示を行う表示部、及び、デジタルカメラ等により撮影された画像データを記録した記録メディアを着脱するための記録メディア着脱部を有する構成としてもよい。   The printer according to the above-described embodiment may have a part of functions or mechanisms respectively included in the computer main body, the display device, the input device, the flexible disk drive device, and the CD-ROM drive device. For example, the printer includes an image processing unit that performs image processing, a display unit that performs various displays, and a recording medium attachment / detachment unit for attaching / detaching a recording medium that records image data captured by a digital camera or the like. Also good.

上記実施の形態のモータの制御方法及び装置では、印刷装置としてカラーインクジェットプリンタを用いたが、被印刷体に対して印刷処理できる印刷装置であれば、これに限られることなく、例えば、モノクロインクジェットプリンタ、レーザプリンタ、ファクシミリ等に適用しても良い。また、シリアルプリンタの印刷ヘッド用モータの制御、ラインプリンタの紙送り用モータの制御にも本発明は適用できる。さらに、DCモータ全般の駆動を制御するのに本発明が好適であるが、ACサーボモータやステッピングモータ等の駆動制御に対しても本発明は適用可能である。   In the motor control method and apparatus of the above-described embodiment, a color inkjet printer is used as a printing apparatus. However, the present invention is not limited to this as long as the printing apparatus can perform printing processing on a printing medium. You may apply to a printer, a laser printer, a facsimile, etc. The present invention can also be applied to control of a print head motor of a serial printer and control of a paper feed motor of a line printer. Further, the present invention is suitable for controlling the driving of the entire DC motor, but the present invention can also be applied to driving control of an AC servo motor, a stepping motor, or the like.

また、紙送りする際に用いられるモータを制御するために、上記のモータ制御方法及びモータ制御装置を用いることもできる。その場合、安定した紙送り動作が行われるので、印刷に際して濃淡むらの発生を防止することができる。   The motor control method and the motor control device described above can also be used to control a motor used when paper is fed. In this case, since a stable paper feeding operation is performed, it is possible to prevent the occurrence of uneven density during printing.

本発明の一実施例としてのインクジェットプリンタの主要な構成を示す概略上側斜視図である。1 is a schematic upper perspective view showing a main configuration of an ink jet printer as one embodiment of the present invention. 本発明の一実施例としてのインクジェットプリンタの主要な構成を示す概略下側斜視図である。1 is a schematic bottom perspective view showing a main configuration of an ink jet printer as an embodiment of the present invention. プリンタの電気的な構成を示すブロック図である。FIG. 2 is a block diagram illustrating an electrical configuration of a printer. キャリッジモータの駆動制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the drive control apparatus of a carriage motor. モータ駆動信号と、キャリッジモータの特性との関係を示す説明図である。It is explanatory drawing which shows the relationship between a motor drive signal and the characteristic of a carriage motor. 印刷動作の概要を説明するための図である。It is a figure for demonstrating the outline | summary of printing operation. CRモータ制御回路の動作例を示した図である。It is the figure which showed the operation example of CR motor control circuit. 演算要素の出力値を示した図である。It is the figure which showed the output value of the calculation element. 従来のキャリッジモータの目標回転速度を示す図である。It is a figure which shows the target rotational speed of the conventional carriage motor.

符号の説明Explanation of symbols

1:インクジェットプリンタ、2:ガイドレール、3:牽引ベルト、4:キャリッジ、5:インクジェットヘッド、6:インクチューブ、7:インクカートリッジ、10:給紙カセット、11:搬送ローラ、12:紙送りモータ、13:キャリッジモータ、14:搬送ローラ、20:歯車伝達機構、28:ヘッドメンテナンス機構、32:ロータリエンコーダ、52:印刷ヘッド、70:リニアエンコーダ、72:符号板、74:フォトセンサ、102:主制御回路、104:CPU、110:ROM、112:RAM、114:EEPROM、120:インターフェース回路、130:紙送りモータ駆動回路、140:ヘッド駆動回路、150:CRモータ駆動回路、152:ベースドライブ回路、154:DC−DCコンバータ、200:CRモータ制御回路、204:目標速度発生回路、206:減算器、210:比例要素、212:積分要素、214:微分要素、216:加算器、220:デューティ調整回路、230:位置演算回路、232:速度演算回路 1: ink jet printer, 2: guide rail, 3: pulling belt, 4: carriage, 5: ink jet head, 6: ink tube, 7: ink cartridge, 10: paper feed cassette, 11: transport roller, 12: paper feed motor , 13: carriage motor, 14: transport roller, 20: gear transmission mechanism, 28: head maintenance mechanism, 32: rotary encoder, 52: print head, 70: linear encoder, 72: sign plate, 74: photo sensor, 102: Main control circuit, 104: CPU, 110: ROM, 112: RAM, 114: EEPROM, 120: interface circuit, 130: paper feed motor drive circuit, 140: head drive circuit, 150: CR motor drive circuit, 152: base drive Circuit, 154: DC-DC converter, 200 CR motor control circuit, 204: target speed generation circuit, 206: subtractor, 210: proportional element, 212: integration element, 214: differentiation element, 216: adder, 220: duty adjustment circuit, 230: position calculation circuit, 232 : Speed calculation circuit

Claims (8)

モータの回転速度と目標回転速度との偏差に応じた値を出力する比例手段と、前記モータの回転速度と目標回転速度との偏差を積分して積分値に応じた値を出力する積分手段を有する制御系により前記モータを制御するモータ制御方法において、
前記モータの目標等速回転速度における前記積分手段の出力値を積分出力上限値として予め設定し、
前記モータを本稼動させたときの回転速度が前記目標等速回転速度に達するまでの加速期間に、前記積分手段の出力値を前記積分出力上限値に固定することを特徴とするモータ制御方法。
Proportional means for outputting a value corresponding to the deviation between the rotational speed of the motor and the target rotational speed, and an integrating means for integrating the deviation between the rotational speed of the motor and the target rotational speed and outputting a value corresponding to the integral value In a motor control method for controlling the motor by a control system having:
The output value of the integration means at the target constant speed rotation speed of the motor is preset as an integral output upper limit value,
A motor control method characterized in that the output value of the integrating means is fixed to the integrated output upper limit value during an acceleration period until the rotational speed when the motor is fully operated reaches the target constant speed rotational speed.
請求項1に記載のモータ制御方法であって、
前記加速期間における目標回転速度を前記目標等速回転速度と同値に設定し、
前記加速期間に前記比例手段による演算を行うことを特徴とするモータ制御方法。
The motor control method according to claim 1,
The target rotational speed in the acceleration period is set to the same value as the target constant speed rotational speed,
A motor control method comprising performing computation by the proportional means during the acceleration period.
請求項1または2に記載のモータ制御方法であって、
前記加速期間終了後、前記比例手段及び前記積分手段による演算を行うことを特徴とするモータ制御方法。
The motor control method according to claim 1 or 2,
A motor control method comprising performing computation by the proportional means and the integrating means after completion of the acceleration period.
モータの回転速度と目標回転速度との偏差に応じた値を出力する比例手段と、前記モータの回転速度と目標回転速度との偏差を積分して積分値に応じた値を出力する積分手段を有する制御系により前記モータを制御するモータ制御装置において、
前記制御系は、前記モータの目標等速回転速度における前記積分手段の出力値を積分出力上限値として設定可能であり、
前記モータを本稼動させたときの回転速度が前記目標等速回転速度に達するまでの加速期間に、前記積分手段の出力値を前記積分出力上限値に固定することを特徴とするモータ制御装置。
Proportional means for outputting a value corresponding to the deviation between the rotational speed of the motor and the target rotational speed, and an integrating means for integrating the deviation between the rotational speed of the motor and the target rotational speed and outputting a value corresponding to the integral value In a motor control device for controlling the motor by a control system having:
The control system can set the output value of the integrating means at the target constant speed rotation speed of the motor as an integrated output upper limit value,
A motor control device, wherein the output value of the integrating means is fixed to the integral output upper limit value during an acceleration period until the rotational speed when the motor is fully operated reaches the target constant speed rotational speed.
請求項4に記載のモータ制御装置であって、
前記制御系は、前記加速期間における目標回転速度を前記目標等速回転速度と同値に設定し、
前記加速期間に前記比例手段による演算を行うことを特徴とするモータ制御装置。
The motor control device according to claim 4,
The control system sets the target rotational speed in the acceleration period to the same value as the target constant speed rotational speed,
A motor control device that performs calculation by the proportional means during the acceleration period.
請求項4または5に記載のモータ制御装置であって、
前記制御系は、前記加速期間終了後、前記比例手段及び前記積分手段による演算を行うことを特徴とするモータ制御装置。
The motor control device according to claim 4 or 5,
The motor control apparatus, wherein the control system performs calculation by the proportional means and the integrating means after the acceleration period ends.
請求項4から6の何れか1項に記載のモータ制御装置であって、前記モータは、被印刷体にインクを吐出する印刷ヘッドと、該印刷ヘッドに供給されるインクを収容したインク容器を備えたキャリッジを駆動するためのモータであることを特徴とするモータ制御装置。   7. The motor control device according to claim 4, wherein the motor includes a print head that discharges ink onto a printing medium, and an ink container that stores ink supplied to the print head. A motor control device, characterized by being a motor for driving a provided carriage. 請求項4から7の何れか1項に記載のモータ制御装置を備えたことを特徴とするインクジェットプリンタ。   An ink jet printer comprising the motor control device according to any one of claims 4 to 7.
JP2004157831A 2004-05-27 2004-05-27 Motor control method, motor control device, and ink jet printer Expired - Fee Related JP4534600B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004157831A JP4534600B2 (en) 2004-05-27 2004-05-27 Motor control method, motor control device, and ink jet printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004157831A JP4534600B2 (en) 2004-05-27 2004-05-27 Motor control method, motor control device, and ink jet printer

Publications (2)

Publication Number Publication Date
JP2005341726A true JP2005341726A (en) 2005-12-08
JP4534600B2 JP4534600B2 (en) 2010-09-01

Family

ID=35494667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004157831A Expired - Fee Related JP4534600B2 (en) 2004-05-27 2004-05-27 Motor control method, motor control device, and ink jet printer

Country Status (1)

Country Link
JP (1) JP4534600B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009133478A (en) * 2007-10-30 2009-06-18 Brother Ind Ltd Drive force transmitting device, and image recording device provided with the same
JP2009255508A (en) * 2008-03-28 2009-11-05 Seiko Epson Corp Driving control device of movable member, printer, driving control method of movable member
JP2009255507A (en) * 2008-03-28 2009-11-05 Seiko Epson Corp Driving control device of movable member, printer and driving control method of movable member

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6464575A (en) * 1987-09-01 1989-03-10 Canon Kk Speed control of motor
JPH04195301A (en) * 1990-11-28 1992-07-15 Shinko Electric Co Ltd Integral and proportional compensator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6464575A (en) * 1987-09-01 1989-03-10 Canon Kk Speed control of motor
JPH04195301A (en) * 1990-11-28 1992-07-15 Shinko Electric Co Ltd Integral and proportional compensator

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009133478A (en) * 2007-10-30 2009-06-18 Brother Ind Ltd Drive force transmitting device, and image recording device provided with the same
JP2009255508A (en) * 2008-03-28 2009-11-05 Seiko Epson Corp Driving control device of movable member, printer, driving control method of movable member
JP2009255507A (en) * 2008-03-28 2009-11-05 Seiko Epson Corp Driving control device of movable member, printer and driving control method of movable member

Also Published As

Publication number Publication date
JP4534600B2 (en) 2010-09-01

Similar Documents

Publication Publication Date Title
JP3654217B2 (en) Control of carriage motor in printing device
US7686301B2 (en) Printing apparatus, feeding apparatus, and feeding control method
US7562870B2 (en) Printer
JP2006240026A (en) Recording apparatus and method for controlling recording
JP2009073181A (en) Printer, drive control method, and motor control program of printer
JP4534600B2 (en) Motor control method, motor control device, and ink jet printer
JP2006240212A (en) Printer and controlling method of motor for printer
JP3738715B2 (en) MOTOR CONTROL DEVICE, INKJET PRINTER, MOTOR CONTROL METHOD, COMPUTER PROGRAM, AND COMPUTER SYSTEM
JP5754212B2 (en) Image forming apparatus
JP2005354800A (en) Motor control method, motor control device and inkjet printer
JP2019166761A (en) Motor control method and motor controller
JP4543967B2 (en) Motor control device and printing device
JP2005335231A (en) Method of controlling motor, control device of motor, and inkjet printer
JP2013226730A (en) Print device and print method
JP2013215914A (en) Recording device, drive control method of recording device, and drive control program of recording device
JP4342906B2 (en) Image forming apparatus
JP4325151B2 (en) Printing apparatus and computer system
JP2011116050A (en) Carriage control method
JP2006248104A (en) Control method and controller of motor, and inkjet printer
JP4507704B2 (en) Printing apparatus and control method thereof
JP2005349690A (en) Printer
JP2006150619A (en) Printing device, computer program, printing system, and printing method
JP2008179057A (en) Printer
JP3695361B2 (en) Control of carriage motor in printing device
JP2006272762A (en) Printer, printing method, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070320

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070320

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20070320

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080331

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100413

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

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

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

Free format text: PAYMENT UNTIL: 20130625

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