JP2002305888A - Motor control device and control method - Google Patents

Motor control device and control method

Info

Publication number
JP2002305888A
JP2002305888A JP2001101093A JP2001101093A JP2002305888A JP 2002305888 A JP2002305888 A JP 2002305888A JP 2001101093 A JP2001101093 A JP 2001101093A JP 2001101093 A JP2001101093 A JP 2001101093A JP 2002305888 A JP2002305888 A JP 2002305888A
Authority
JP
Japan
Prior art keywords
drive
time
motor
series
driving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001101093A
Other languages
Japanese (ja)
Inventor
Kozo Kishida
田 孝 三 岸
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 JP2001101093A priority Critical patent/JP2002305888A/en
Publication of JP2002305888A publication Critical patent/JP2002305888A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a motor control device of such a constitution that it can suppress the caloric value of a motor being the target of control, while suppressing the increase of drive operation time as a whole. SOLUTION: This motor control device and control method decide whether to set a drive stop time or not, according to the drive time in executed drive action and the quantity of a motor current per unit time, or not only the total quantity of the motor current and the drive time but also the drive time in succeeding unexecuted drive action and the quantity of the motor current per unit time, or according to the total quantity of the motor current and the drive time, too.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、モータ制御装置及
び制御方法に係り、特に、シリアルプリンタのキャリッ
ジモータ又は紙送りモータの発熱対策として用いられる
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor control device and a control method, and more particularly to a motor control device and a control method used as a measure against heat generation of a carriage motor or a paper feed motor of a serial printer.

【0002】[0002]

【従来の技術】従来のDCモータ制御装置及び制御方法
によるDCモータの制御においては、連続動作によるD
Cモータの発熱により発熱抵抗が増加して、DCモータ
への電流入り込み不足が発生するという問題点があっ
た。
2. Description of the Related Art In the control of a DC motor by a conventional DC motor control apparatus and control method, a D
There is a problem in that the heat generated by the C motor increases the heat generation resistance, resulting in insufficient current flowing into the DC motor.

【0003】DCモータへの電流入り込み不足は、DC
モータの制御精度を低下させる。そのDCモータが、例
えばインクジェットプリンタのキャリッジモータや紙送
りモータである場合には、印刷性能及び印刷品質の低下
を招くことになる。
[0003] Insufficient current flow into the DC motor
Decrease motor control accuracy. If the DC motor is, for example, a carriage motor or a paper feed motor of an ink jet printer, the print performance and print quality will be reduced.

【0004】従来は、その通常の対策として、駆動動作
中にブレーキングを行ったり、連続印字長さに制限を設
けたりすることが行われていたが、いずれも、全体とし
ての駆動動作時間が大幅に増加してしまうという欠点が
あった。
Conventionally, braking has been performed during the driving operation or a limit has been imposed on the continuous printing length as a normal countermeasure. There was a drawback that it increased significantly.

【0005】そこで、全体としての駆動動作時間の増加
を抑制しながらモータの発熱も抑制するための解決手段
として、実行済みの駆動動作における駆動動作時間及び
単位時間当たりのDCモータ電流量、又は、DCモータ
電流総量及び駆動動作時間に応じて、駆動停止時間を算
出し設定するDCモータ制御装置及び制御方法がこれま
でに提案されている。そのDCモータ制御装置及び制御
方法は、換言すると、実行済みの駆動動作における駆動
動作時間及び単位時間当たりのDCモータ電流量、又
は、DCモータ電流総量及び駆動動作時間に応じて、実
行済みの駆動動作における単位時間当たりのDCモータ
電流量が所定値以下になるように駆動停止時間を算出し
設定するものである。
[0005] Therefore, as means for solving the problem of suppressing the heat generation of the motor while suppressing the increase in the driving operation time as a whole, the driving operation time in the already executed driving operation and the DC motor current amount per unit time, or A DC motor control device and a control method for calculating and setting a drive stop time according to a total DC motor current and a drive operation time have been proposed. In other words, the DC motor control device and the control method perform the executed drive in accordance with the drive operation time and the DC motor current amount per unit time in the executed drive operation, or the total DC motor current amount and the drive operation time. The drive stop time is calculated and set so that the DC motor current amount per unit time in the operation is equal to or less than a predetermined value.

【0006】[0006]

【発明が解決しようとする課題】しかし、上記DCモー
タ制御装置及び制御方法においても、全体としての駆動
動作時間の増加の抑制及びモータの発熱の抑制という課
題の解決に関し、以下のような不十分な点があった。
However, the above-described DC motor control apparatus and control method are also inadequate with respect to solving the problems of suppressing an increase in drive operation time as a whole and suppressing heat generation of the motor as described below. There was a point.

【0007】即ち、実行済みの駆動動作における駆動動
作時間及び単位時間当たりのDCモータ電流量、又は、
DCモータ電流総量及び駆動動作時間に応じて、駆動停
止時間を設定すべきであると判断される場合であって
も、後続する未実行の駆動動作における駆動動作時間に
対するDCモータ電流総量が小さいとき、即ち、後続す
る未実行の駆動動作における単位時間当たりのDCモー
タ電流量が小さいときには、駆動停止時間を設定するこ
となく後続の駆動動作を実行してもモータ温度が限界値
に達することはなく、むしろその方が全体としての駆動
動作時間を抑制できる場合が少なくない。
That is, the driving operation time and the DC motor current amount per unit time in the executed driving operation, or
Even when it is determined that the drive stop time should be set in accordance with the DC motor current total amount and the drive operation time, when the DC motor current total amount with respect to the drive operation time in the subsequent unexecuted drive operation is small. That is, when the DC motor current amount per unit time in the subsequent unexecuted drive operation is small, the motor temperature does not reach the limit value even if the subsequent drive operation is executed without setting the drive stop time. Rather, it is often the case that the driving operation time as a whole can be suppressed.

【0008】逆に、実行済みの駆動動作における駆動動
作時間及び単位時間当たりのDCモータ電流量、又は、
DCモータ電流総量及び駆動動作時間に応じて、駆動停
止時間を設定しなくてもよいと判断される場合であって
も、後続する未実行の駆動動作における駆動動作時間に
対するDCモータ電流総量が大きいとき、即ち、後続す
る未実行の駆動動作における単位時間当たりのDCモー
タ電流量が大きいときには、駆動停止時間を設定するこ
となく後続の駆動動作を実行するとモータ温度が限界値
に達してしまうこともないとはいえない。
Conversely, the driving operation time and the DC motor current amount per unit time in the executed driving operation, or
Even when it is determined that the drive stop time does not need to be set according to the DC motor current total amount and the drive operation time, the DC motor current total amount with respect to the drive operation time in the subsequent unexecuted drive operation is large. When the DC motor current amount per unit time in the subsequent unexecuted driving operation is large, when the subsequent driving operation is executed without setting the driving stop time, the motor temperature may reach the limit value. It cannot be said that it is not.

【0009】然るに、上記DCモータ制御装置及び制御
方法においては、後続する未実行の駆動動作の内容を考
慮せず、実行済みの駆動動作における駆動動作時間及び
単位時間当たりのDCモータ電流量、又は、DCモータ
電流総量及び駆動動作時間のみに応じて、駆動停止時間
を設定するか否かを判断していたので、全体としての駆
動動作時間の増加の抑制及びモータの発熱の抑制という
課題の解決に関しては、不十分な面があった。
However, in the above-described DC motor control device and control method, the driving operation time and the DC motor current amount per unit time in the already executed driving operation, or Since it is determined whether to set the drive stop time only in accordance with the total amount of the DC motor current and the drive operation time, the problem of suppressing the increase in the drive operation time and the heat generation of the motor as a whole is solved. As for, there were insufficient aspects.

【0010】本発明は上記問題点に鑑みてなされたもの
で、その目的は、全体としての駆動動作時間の増加をよ
り小さく抑制しながら、制御対象であるDCモータの発
熱量を抑制することが可能な構成のDCモータ制御装置
及び制御方法を提供することである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to suppress the amount of heat generated by a DC motor to be controlled while suppressing an increase in overall drive operation time. An object of the present invention is to provide a DC motor control device and a control method having a possible configuration.

【0011】[0011]

【課題を解決するための手段】本発明の第1の構成に係
るモータ制御装置及び制御方法によれば、モータの一回
の一連の駆動動作ごとに、一回の一連の駆動動作のモー
タ電流総量を算出する電流総量算出部(過程)と、モー
タの一回の一連の駆動動作ごとに、一回の一連の駆動動
作のモータ駆動時間を算出する駆動時間算出部(過程)
と、モータの一回の一連の駆動動作ごとに、実行済みの
一連の駆動動作に後続する未実行の一連の駆動動作の駆
動制御データに基づき、未実行の一連の駆動動作におけ
るモータ電流波形を予測形成する電流波形予測形成部
(過程)と、モータの一回の一連の駆動動作ごとに、予
測形成された上記モータ電流波形に基づき、実行済みの
一連の駆動動作に後続する未実行の一連の駆動動作の後
続電流総量を算出する後続電流総量算出部(過程)と、
モータの一回の一連の駆動動作ごとに、予測形成された
上記モータ電流波形に基づき、実行済みの一連の駆動動
作に後続する未実行の一連の駆動動作の後続駆動時間を
算出する後続駆動時間算出部(過程)と、上記モータ電
流総量と上記後続電流総量とを加算して拡張電流総量を
算出する拡張電流総量算出部(過程)と、上記モータ駆
動時間と上記後続駆動時間とを加算して拡張駆動時間を
算出する拡張駆動時間算出部(過程)と、上記拡張電流
総量及び上記拡張駆動時間から、実行済みの一回の一連
の駆動動作及び後続する未実行の一回の一連の駆動動作
における単位時間当たりの拡張モータ電流量を算出する
拡張単位時間電流量算出部(過程)と、一回の一連の駆
動動作ごとの後続する駆動動作開始前に、上記拡張駆動
時間及び上記単位時間当たりの拡張モータ電流量に応じ
た時間だけモータ駆動を停止させる拡張駆動停止時間を
算出する拡張駆動停止時間算出部(過程)と、を備えた
ことを特徴とする。
According to the motor control apparatus and the control method according to the first configuration of the present invention, the motor current of one series of drive operation is generated for each series of drive operation of the motor. A current total amount calculation unit (process) for calculating the total amount, and a drive time calculation unit (process) for calculating a motor drive time of one series of drive operations for each series of drive operations of the motor
For each one series of driving operations of the motor, based on the driving control data of the series of unexecuted driving operations following the series of executed driving operations, the motor current waveform in the series of unexecuted driving operations is calculated. A current waveform prediction forming section (process) for predicting and forming, for each one series of driving operations of the motor, an unexecuted series following a series of executed driving operations based on the predicted and formed motor current waveform; A subsequent current total amount calculation unit (process) for calculating a total subsequent current amount of the driving operation of
Subsequent driving time for calculating a subsequent driving time of an unexecuted series of driving operations subsequent to an already executed series of driving operations based on the motor current waveform predicted and formed for each series of driving operations of the motor. A calculating unit (process), a total extended current calculating unit (process) for calculating the total extended current by adding the total motor current and the total subsequent current, and adding the motor driving time and the subsequent driving time. An extended driving time calculating unit (process) for calculating an extended driving time by using the total amount of the extended current and the extended driving time, and a series of completed driving operations and a series of subsequent unexecuted driving operations An extended unit time current amount calculation unit (process) for calculating an extended motor current amount per unit time in operation; and an extended drive time and the unit before starting a subsequent drive operation for each of a series of drive operations. Extended drive stop time calculating unit for calculating the expansion motor current amount extended driving stop time for stopping only the motor driving time in accordance with the per between the (process), and further comprising a.

【0012】本発明の第2の構成に係るモータ制御装置
及び制御方法によれば、モータの一回の一連の駆動動作
ごとに、一回の一連の駆動動作のモータ電流総量を算出
する電流総量算出部(過程)と、モータの一回の一連の
駆動動作ごとに、一回の一連の駆動動作のモータ駆動時
間を算出する駆動時間算出部(過程)と、モータの一回
の一連の駆動動作ごとに、実行済みの一連の駆動動作に
後続する未実行の一連の駆動動作の駆動制御データに基
づき、未実行の一連の駆動動作におけるモータ電流波形
を予測形成する電流波形予測形成部(過程)と、モータ
の一回の一連の駆動動作ごとに、予測形成された上記モ
ータ電流波形に基づき、実行済みの一連の駆動動作に後
続する未実行の一連の駆動動作の後続電流総量を算出す
る後続電流総量算出部(過程)と、モータの一回の一連
の駆動動作ごとに、予測形成された上記モータ電流波形
に基づき、実行済みの一連の駆動動作に後続する未実行
の一連の駆動動作の後続駆動時間を算出する後続駆動時
間算出部(過程)と、上記モータ電流総量と上記後続電
流総量とを加算して拡張電流総量を算出する拡張電流総
量算出部(過程)と、上記モータ駆動時間と上記後続駆
動時間とを加算して拡張駆動時間を算出する拡張駆動時
間算出部(過程)と、一回の一連の駆動動作ごとの後続
する駆動動作開始前に、上記拡張電流総量及び上記拡張
駆動時間に応じた時間だけモータ駆動を停止させる拡張
駆動停止時間を算出する拡張駆動停止時間算出部(過
程)と、を備えたことを特徴とする。
According to the motor control apparatus and the control method according to the second configuration of the present invention, the total current amount for calculating the total amount of the motor current in one series of driving operations for each series of driving operations of the motor A calculating unit (process), a driving time calculating unit (process) for calculating a motor driving time of one series of driving operations for each series of driving operations of the motor, and a series of driving of the motor For each operation, a current waveform prediction forming section (process) for predicting and forming a motor current waveform in a series of unexecuted driving operations based on drive control data of a series of unexecuted driving operations subsequent to a series of executed driving operations. ), And for each one series of driving operations of the motor, the subsequent current total amount of an unexecuted series of driving operations following the executed series of driving operations is calculated based on the predicted motor current waveform. Subsequent current total calculation Part (process) and, for each one series of driving operations of the motor, the subsequent driving time of a series of unexecuted driving operations subsequent to the series of executed driving operations based on the motor current waveform predicted and formed. A driving time calculating unit (process) for calculating the motor driving time, the motor driving time, and the subsequent driving time calculating unit (process). An extended drive time calculating unit (process) for calculating an extended drive time by adding the drive time, and before the start of a subsequent drive operation for each series of drive operations, the extended current total amount and the extended drive time are calculated. An extended drive stop time calculation unit (process) for calculating an extended drive stop time for stopping the motor drive for a corresponding time.

【0013】本発明の第3の構成に係るモータ制御装置
及び制御方法によれば、モータの一回の一連の駆動動作
ごとに、一回の一連の駆動動作のモータ電流総量を算出
する電流総量算出部(過程)と、モータの一回の一連の
駆動動作ごとに、一回の一連の駆動動作のモータ駆動時
間を算出する駆動時間算出部(過程)と、上記モータ駆
動時間及び上記モータ電流総量から、一回の一連の駆動
動作における単位時間当たりのモータ電流量を算出する
単位時間電流量算出部(過程)と、一回の一連の駆動動
作ごとの後続する駆動動作開始前に、上記モータ駆動時
間及び上記単位時間当たりのモータ電流量に応じた駆動
停止時間を算出する駆動停止時間算出部(過程)と、上
記駆動停止時間が正の値である場合に、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の駆動制
御データに基づき、未実行の一連の駆動動作におけるモ
ータ電流波形を予測形成する電流波形予測形成部(過
程)と、予測形成された上記モータ電流波形に基づき、
実行済みの一連の駆動動作に後続する未実行の一連の駆
動動作の後続電流総量を算出する後続電流総量算出部
(過程)と、予測形成された上記モータ電流波形に基づ
き、実行済みの一連の駆動動作に後続する未実行の一連
の駆動動作の後続駆動時間を算出する後続駆動時間算出
部(過程)と、上記モータ電流総量と上記後続電流総量
とを加算して拡張電流総量を算出する拡張電流総量算出
部(過程)と、上記モータ駆動時間と上記後続駆動時間
とを加算して拡張駆動時間を算出する拡張駆動時間算出
部(過程)と、上記拡張電流総量及び上記拡張駆動時間
から、実行済みの一回の一連の駆動動作及び後続する未
実行の一回の一連の駆動動作における単位時間当たりの
拡張モータ電流量を算出する拡張単位時間電流量算出部
(過程)と、一回の一連の駆動動作ごとの後続する駆動
動作開始前に、上記拡張駆動時間及び上記単位時間当た
りの拡張モータ電流量に応じた時間だけモータ駆動を停
止させる拡張駆動停止時間を算出する拡張駆動停止時間
算出部(過程)と、を備えたことを特徴とする。
According to the motor control device and the control method according to the third configuration of the present invention, the total current amount for calculating the total amount of the motor current in one series of driving operation for each series of driving operation of the motor A calculating unit (process), a driving time calculating unit (process) for calculating a motor driving time of one series of driving operation for each series of driving operations of the motor, the motor driving time and the motor current A unit time current amount calculation unit (process) for calculating a motor current amount per unit time in one series of driving operations from the total amount; A drive stop time calculation unit (process) for calculating a drive stop time according to the motor drive time and the motor current amount per unit time, and a series of executed drive when the drive stop time is a positive value Subsequent to operation A current waveform prediction forming section (process) for predicting and forming a motor current waveform in a series of unexecuted driving operations based on drive control data of a series of unexecuted driving operations; ,
A subsequent current total amount calculation unit (process) for calculating a total subsequent current amount of a series of unexecuted driving operations following the executed series of driving operations; and a series of executed currents based on the predicted motor current waveform. A subsequent drive time calculating unit (process) for calculating a subsequent drive time of a series of unexecuted drive operations following the drive operation; and an extension for calculating the total extended current by adding the total motor current and the total subsequent current. A total current amount calculation unit (process), an extended drive time calculation unit (process) for adding the motor drive time and the subsequent drive time to calculate an extended drive time, and an extended current total amount and the extended drive time An extended unit time current amount calculation unit (process) for calculating an extended motor current amount per unit time in one executed series of driving operations and one subsequent unexecuted series of driving operations; An extended drive stop time calculation for calculating an extended drive stop time for stopping the motor drive for a time corresponding to the extended drive time and the extended motor current amount per unit time before starting the subsequent drive operation for each successive drive operation (Process).

【0014】本発明の第4の構成に係るモータ制御装置
及び制御方法によれば、モータの一回の一連の駆動動作
ごとに、一回の一連の駆動動作のモータ電流総量を算出
する電流総量算出部(過程)と、モータの一回の一連の
駆動動作ごとに、一回の一連の駆動動作のモータ駆動時
間を算出する駆動時間算出部(過程)と、一回の一連の
駆動動作ごとの後続する駆動動作開始前に、上記モータ
駆動時間及び上記モータ電流総量に応じた駆動停止時間
を算出する駆動停止時間算出部(過程)と、上記駆動停
止時間が正の値である場合に、実行済みの一連の駆動動
作に後続する未実行の一連の駆動動作の駆動制御データ
に基づき、未実行の一連の駆動動作におけるモータ電流
波形を予測形成する電流波形予測形成部(過程)と、予
測形成された上記モータ電流波形に基づき、実行済みの
一連の駆動動作に後続する未実行の一連の駆動動作の後
続電流総量を算出する後続電流総量算出部(過程)と、
予測形成された上記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続駆動時間を算出する後続駆動時間算出部(過程)
と、上記モータ電流総量と上記後続電流総量とを加算し
て拡張電流総量を算出する拡張電流総量算出部(過程)
と、上記モータ駆動時間と上記後続駆動時間とを加算し
て拡張駆動時間を算出する拡張駆動時間算出部(過程)
と、一回の一連の駆動動作ごとの後続する駆動動作開始
前に、上記拡張電流総量及び上記拡張駆動時間に応じた
時間だけモータ駆動を停止させる拡張駆動停止時間を算
出する拡張駆動停止時間算出部(過程)と、を備えたこ
とを特徴とする。
According to the motor control device and the control method according to the fourth configuration of the present invention, the total current amount for calculating the total amount of the motor current in one series of driving operation for each series of driving operation of the motor A calculating unit (process), a driving time calculating unit (process) for calculating a motor driving time of one series of driving operations for each series of driving operations of the motor, and a driving time calculating unit (step) for each series of driving operations of the motor Before the start of the subsequent drive operation, a drive stop time calculation unit (process) that calculates a drive stop time according to the motor drive time and the motor current total amount; and, when the drive stop time is a positive value, A current waveform prediction forming unit (process) for predicting and forming a motor current waveform in a series of unexecuted driving operations based on drive control data of a series of unexecuted driving operations subsequent to the series of executed driving operations; Formed above Based on over motor current waveform, subsequent current amount calculation unit for calculating a subsequent current total amount of a series of driving operations unexecuted subsequent to the executed series of driving operations and (Process)
Subsequent drive time calculation unit (process) that calculates a subsequent drive time of a series of unexecuted drive operations following a series of executed drive operations based on the predicted and formed motor current waveform.
And an extended current total amount calculation unit (process) for adding the total motor current amount and the subsequent current amount to calculate an extended current total amount
And an extended drive time calculation unit (process) for adding the motor drive time and the subsequent drive time to calculate an extended drive time
And an extended drive stop time calculation for calculating an extended drive stop time for stopping the motor drive for a time corresponding to the total amount of the extended current and the extended drive time before starting a subsequent drive operation for each series of drive operations. (Process).

【0015】本発明の第5の構成に係るモータ制御装置
及び制御方法によれば、モータの一回の一連の駆動動作
ごとに、一回の一連の駆動動作のモータ電流総量を算出
する電流総量算出部(過程)と、モータの一回の一連の
駆動動作ごとに、一回の一連の駆動動作のモータ駆動時
間を算出する駆動時間算出部(過程)と、モータの所定
の複数回の一連の駆動動作ごとに、実行済みの一連の駆
動動作に後続する未実行の一連の駆動動作の駆動制御デ
ータに基づき、未実行の一連の駆動動作におけるモータ
電流波形を予測形成する電流波形予測形成部(過程)
と、モータの所定の複数回の一連の駆動動作ごとに、予
測形成された上記モータ電流波形に基づき、実行済みの
一連の駆動動作に後続する未実行の一連の駆動動作の後
続電流総量を算出する後続電流総量算出部(過程)と、
モータの所定の複数回の一連の駆動動作ごとに、予測形
成された上記モータ電流波形に基づき、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の後続駆
動時間を算出する後続駆動時間算出部(過程)と、所定
の複数回分の上記モータ電流総量と上記後続電流総量と
を加算して拡張電流総量を算出する拡張電流総量算出部
(過程)と、所定の複数回分の上記モータ駆動時間と上
記後続駆動時間とを加算して拡張駆動時間を算出する拡
張駆動時間算出部(過程)と、上記拡張電流総量及び上
記拡張駆動時間から、実行済みの一回の一連の駆動動作
及び後続する未実行の一回の一連の駆動動作における単
位時間当たりの拡張モータ電流量を算出する拡張単位時
間電流量算出部(過程)と、一回の一連の駆動動作ごと
の後続する駆動動作開始前に、上記拡張駆動時間及び上
記単位時間当たりの拡張モータ電流量に応じた時間だけ
モータ駆動を停止させる拡張駆動停止時間を算出する拡
張駆動停止時間算出部(過程)と、を備えたことを特徴
とする。
According to the motor control device and the control method according to the fifth configuration of the present invention, the total current amount for calculating the total amount of the motor current in one series of driving operations for each series of one driving operation of the motor A calculating unit (process); a driving time calculating unit (process) for calculating a motor driving time of one series of driving operation for each series of driving operations of the motor; A current waveform prediction forming unit for predicting and forming a motor current waveform in a series of unexecuted driving operations based on drive control data of a series of unexecuted driving operations subsequent to a series of executed driving operations for each of the driving operations (process)
Calculating, for each of a plurality of predetermined series of driving operations of the motor, a subsequent current total amount of an unexecuted series of driving operations subsequent to the already executed series of driving operations based on the predicted motor current waveform. Subsequent current total amount calculation unit (process)
Calculating, for each of a plurality of predetermined series of driving operations of the motor, a subsequent driving time of a series of unexecuted driving operations following the executed series of driving operations based on the predicted motor current waveform; A driving time calculating unit (process), a total extended current calculating unit (process) for adding a total of the motor current and a total of the following currents for a plurality of predetermined times to calculate a total extended current; An extended drive time calculating section (process) for calculating an extended drive time by adding the motor drive time and the subsequent drive time; and a series of one-time drive operation executed from the extended current total amount and the extended drive time An extended unit time current amount calculation unit (process) for calculating an extended motor current amount per unit time in one successive series of unexecuted driving operations; and a subsequent driving operation for each successive series of driving operations. Before starting, an extended drive stop time calculating unit (process) for calculating an extended drive stop time for stopping the motor drive for a time corresponding to the extended drive time and the extended motor current amount per unit time. It is characterized by.

【0016】本発明の第6の構成に係るモータ制御装置
及び制御方法によれば、モータの一回の一連の駆動動作
ごとに、一回の一連の駆動動作のモータ電流総量を算出
する電流総量算出部(過程)と、モータの一回の一連の
駆動動作ごとに、一回の一連の駆動動作のモータ駆動時
間を算出する駆動時間算出部(過程)と、モータの所定
の複数回の一連の駆動動作ごとに、実行済みの一連の駆
動動作に後続する未実行の一連の駆動動作の駆動制御デ
ータに基づき、未実行の一連の駆動動作におけるモータ
電流波形を予測形成する電流波形予測形成部(過程)
と、モータの所定の複数回の一連の駆動動作ごとに、予
測形成された上記モータ電流波形に基づき、実行済みの
一連の駆動動作に後続する未実行の一連の駆動動作の後
続電流総量を算出する後続電流総量算出部(過程)と、
モータの所定の複数回の一連の駆動動作ごとに、予測形
成された上記モータ電流波形に基づき、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の後続駆
動時間を算出する後続駆動時間算出部(過程)と、所定
の複数回分の上記モータ電流総量と上記後続電流総量と
を加算して拡張電流総量を算出する拡張電流総量算出部
(過程)と、所定の複数回分の上記モータ駆動時間と上
記後続駆動時間とを加算して拡張駆動時間を算出する拡
張駆動時間算出部(過程)と、一回の一連の駆動動作ご
との後続する駆動動作開始前に、上記拡張電流総量及び
上記拡張駆動時間に応じた時間だけモータ駆動を停止さ
せる拡張駆動停止時間を算出する拡張駆動停止時間算出
部(過程)と、を備えたことを特徴とする。
According to the motor control apparatus and the control method according to the sixth configuration of the present invention, the total current amount for calculating the total amount of the motor current in one series of drive operations for each series of drive operations in the motor A calculating unit (process); a driving time calculating unit (process) for calculating a motor driving time of one series of driving operation for each series of driving operations of the motor; A current waveform prediction forming unit for predicting and forming a motor current waveform in a series of unexecuted driving operations based on drive control data of a series of unexecuted driving operations subsequent to a series of executed driving operations for each of the driving operations (process)
Calculating, for each of a plurality of predetermined series of driving operations of the motor, a subsequent current total amount of an unexecuted series of driving operations subsequent to the already executed series of driving operations based on the predicted motor current waveform. Subsequent current total amount calculation unit (process)
Calculating, for each of a plurality of predetermined series of driving operations of the motor, a subsequent driving time of a series of unexecuted driving operations following the executed series of driving operations based on the predicted motor current waveform; A driving time calculating unit (process), a total extended current calculating unit (process) for adding a total of the motor current and a total of the following currents for a plurality of predetermined times to calculate a total extended current; An extended drive time calculating section (process) for calculating an extended drive time by adding the motor drive time and the subsequent drive time, and the total amount of the extended current before starting the subsequent drive operation for each series of drive operations And an extended drive stop time calculation unit (process) for calculating an extended drive stop time for stopping the motor drive for a time corresponding to the extended drive time.

【0017】本発明の第7の構成に係るモータ制御装置
及び制御方法によれば、モータの一回の一連の駆動動作
ごとに、一回の一連の駆動動作のモータ電流総量を算出
する電流総量算出部(過程)と、モータの一回の一連の
駆動動作ごとに、一回の一連の駆動動作のモータ駆動時
間を算出する駆動時間算出部(過程)と、上記モータ駆
動時間及び上記モータ電流総量から、一回の一連の駆動
動作における単位時間当たりのモータ電流量を算出する
単位時間電流量算出部(過程)と、モータの一回の一連
の駆動動作ごとに、上記モータ駆動時間及び上記単位時
間当たりのモータ電流量に応じた駆動停止時間を算出す
る駆動停止時間算出部(過程)と、所定の複数回の一連
の駆動動作ごとの後続する駆動動作開始前に、所定の複
数回の一連の駆動動作の上記駆動停止時間の積算値に応
じた駆動停止時間積算値を算出する駆動停止時間積算値
算出部(過程)と、上記駆動停止時間積算値が正の値で
ある場合に、実行済みの一連の駆動動作に後続する未実
行の一連の駆動動作の駆動制御データに基づき、未実行
の一連の駆動動作におけるモータ電流波形を予測形成す
る電流波形予測形成部(過程)と、予測形成された上記
モータ電流波形に基づき、実行済みの一連の駆動動作に
後続する未実行の一連の駆動動作の後続電流総量を算出
する後続電流総量算出部(過程)と、予測形成された上
記モータ電流波形に基づき、実行済みの一連の駆動動作
に後続する未実行の一連の駆動動作の後続駆動時間を算
出する後続駆動時間算出部(過程)と、上記モータ電流
総量と上記後続電流総量とを加算して拡張電流総量を算
出する拡張電流総量算出部(過程)と、上記モータ駆動
時間と上記後続駆動時間とを加算して拡張駆動時間を算
出する拡張駆動時間算出部(過程)と、上記拡張電流総
量及び上記拡張駆動時間から、実行済みの一回の一連の
駆動動作及び後続する未実行の一回の一連の駆動動作に
おける単位時間当たりの拡張モータ電流量を算出する拡
張単位時間電流量算出部(過程)と、一回の一連の駆動
動作ごとの後続する駆動動作開始前に、上記拡張駆動時
間及び上記単位時間当たりの拡張モータ電流量に応じた
時間だけモータ駆動を停止させる拡張駆動停止時間を算
出する拡張駆動停止時間算出部(過程)と、を備えたこ
とを特徴とする。
According to the motor control device and the control method according to the seventh configuration of the present invention, the total current amount for calculating the total amount of the motor current in one series of drive operations is calculated for each series of drive operations in the motor. A calculating unit (process), a driving time calculating unit (process) for calculating a motor driving time of one series of driving operation for each series of driving operations of the motor, the motor driving time and the motor current A unit time current amount calculation unit (process) for calculating a motor current amount per unit time in one series of drive operations from the total amount; and a motor drive time and the above A drive stop time calculating unit (process) for calculating a drive stop time according to a motor current amount per unit time; and a plurality of predetermined times before starting a subsequent drive operation for each of a plurality of predetermined series of drive operations. A series of drives A drive stop time integrated value calculating section (process) for calculating a drive stop time integrated value according to the integrated value of the drive stop time of the operation; and an executed drive stop time integrated value when the drive stop time integrated value is a positive value. A current waveform prediction forming unit (process) for predicting and forming a motor current waveform in a series of unexecuted driving operations based on drive control data of a series of unexecuted driving operations subsequent to the series of driving operations; A subsequent current total amount calculating unit (process) for calculating a total subsequent current amount of a series of unexecuted driving operations subsequent to a series of executed driving operations based on the motor current waveform; A subsequent driving time calculating unit (process) for calculating a subsequent driving time of a series of unexecuted driving operations following the executed series of driving operations, and adding the total motor current and the total subsequent current. An extended current total amount calculating unit (process) for calculating the total extended current; an extended driving time calculating unit (process) for adding the motor driving time and the subsequent driving time to calculate an extended driving time; And an extended unit time current amount calculation unit for calculating an extended motor current amount per unit time in one executed series of driving operations and one subsequent unexecuted series of driving operations from the extended driving time. Step) and before the start of the subsequent driving operation for each series of driving operations, the extended driving stop time for stopping the motor driving for a time corresponding to the extended driving time and the extended motor current amount per unit time is set. And an extended drive stop time calculation unit (process) for calculating.

【0018】本発明の第8の構成に係るモータ制御装置
及び制御方法によれば、モータの一回の一連の駆動動作
ごとに、一回の一連の駆動動作のモータ電流総量を算出
する電流総量算出部(過程)と、モータの一回の一連の
駆動動作ごとに、一回の一連の駆動動作のモータ駆動時
間を算出する駆動時間算出部(過程)と、モータの一回
の一連の駆動動作ごとに、上記モータ駆動時間及び上記
モータ電流総量に応じた駆動停止時間を算出する駆動停
止時間算出部(過程)と、所定の複数回の一連の駆動動
作ごとの後続する駆動動作開始前に、所定の複数回の一
連の駆動動作の上記駆動停止時間の積算値に応じた駆動
停止時間積算値を算出する駆動停止時間積算値算出部
(過程)と、上記駆動停止時間積算値が正の値である場
合に、実行済みの一連の駆動動作に後続する未実行の一
連の駆動動作の駆動制御データに基づき、未実行の一連
の駆動動作におけるモータ電流波形を予測形成する電流
波形予測形成部(過程)と、予測形成された上記モータ
電流波形に基づき、実行済みの一連の駆動動作に後続す
る未実行の一連の駆動動作の後続電流総量を算出する後
続電流総量算出部(過程)と、予測形成された上記モー
タ電流波形に基づき、実行済みの一連の駆動動作に後続
する未実行の一連の駆動動作の後続駆動時間を算出する
後続駆動時間算出部(過程)と、上記モータ電流総量と
上記後続電流総量とを加算して拡張電流総量を算出する
拡張電流総量算出部(過程)と、上記モータ駆動時間と
上記後続駆動時間とを加算して拡張駆動時間を算出する
拡張駆動時間算出部(過程)と、一回の一連の駆動動作
ごとの後続する駆動動作開始前に、上記拡張電流総量及
び上記拡張駆動時間に応じた時間だけモータ駆動を停止
させる拡張駆動停止時間を算出する拡張駆動停止時間算
出部(過程)と、を備えたことを特徴とする。
According to the motor control device and the control method according to the eighth configuration of the present invention, the total current amount for calculating the total amount of the motor current in one series of driving operation for each series of one driving operation of the motor A calculating unit (process), a driving time calculating unit (process) for calculating a motor driving time of one series of driving operations for each series of driving operations of the motor, and a series of driving of the motor A drive stop time calculating unit (process) for calculating a drive stop time according to the motor drive time and the total amount of the motor current for each operation; and before starting a subsequent drive operation for each of a plurality of predetermined series of drive operations. A drive stop time integrated value calculating unit (process) for calculating a drive stop time integrated value according to the integrated value of the drive stop time in a predetermined series of drive operations; If the value is A current waveform prediction forming section (process) for predicting and forming a motor current waveform in a series of unexecuted driving operations based on drive control data of a series of unexecuted driving operations subsequent to the driving operation of A subsequent current total amount calculating unit (process) for calculating a total subsequent current amount of a series of unexecuted driving operations following the executed series of driving operations based on the motor current waveform, and based on the predicted motor current waveform A subsequent drive time calculating unit (process) for calculating a subsequent drive time of a series of unexecuted drive operations subsequent to the executed series of drive operations, and adding and expanding the total motor current and the total subsequent current An extended current total amount calculation unit (process) for calculating the total current amount, an extended drive time calculation unit (process) for adding the motor drive time and the subsequent drive time to calculate an extended drive time, An extended drive stop time calculating unit (process) for calculating an extended drive stop time for stopping motor driving for a time corresponding to the extended current amount and the extended drive time before starting a subsequent drive operation for each series of drive operations; , Is provided.

【0019】本発明に係るモータ制御装置及び制御方法
によれば、実行済みの一連の駆動動作内容のみならず、
後続する未実行の一連の駆動動作内容をも考慮して算出
した拡張駆動停止時間の間にモータが冷却されるので、
連続動作によるモータの発熱に起因するモータへの電流
入り込み不足を防止することができる。また、後続する
未実行の一連の駆動動作内容をも考慮して駆動停止時間
を算出するので、不要な駆動停止時間を設けることや本
来必要な駆動停止時間を設け損なうことを回避すること
ができる。従って、全体としての駆動時間の増加をより
小さく抑制することができる。
According to the motor control device and the control method according to the present invention, not only a series of executed driving operations but also
Since the motor is cooled during the extended drive stop time calculated in consideration of the subsequent unexecuted series of drive operation contents,
It is possible to prevent shortage of current from flowing into the motor due to heat generation of the motor due to continuous operation. In addition, since the drive stop time is calculated in consideration of the content of a series of subsequent unexecuted drive operations, it is possible to avoid providing an unnecessary drive stop time or failing to provide an originally necessary drive stop time. . Therefore, the increase in the driving time as a whole can be suppressed smaller.

【0020】上記モータは、プリンタのキャリッジモー
タであるものとするとよい。又は、上記モータは、プリ
ンタの紙送りモータであるものとしてもよい。
The motor may be a carriage motor of a printer. Alternatively, the motor may be a paper feed motor of a printer.

【0021】本発明に係るコンピュータプログラムの記
録媒体によれば、上記本発明に係るプリンタ制御方法の
いずれかをコンピュータシステムにおいて実行するコン
ピュータプログラムが記録されたことを特徴とする。
According to a recording medium of a computer program according to the present invention, a computer program for executing any of the above-described printer control methods in a computer system is recorded.

【0022】[0022]

【発明の実施の形態】最初に、本発明に係るプリンタ制
御装置及びプリンタ制御方法の主な適用対象であるイン
クジェットプリンタの概略構成及び制御方法について説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a schematic configuration and a control method of an ink jet printer to which a printer control device and a printer control method according to the present invention are mainly applied will be described.

【0023】図26は、インクジェットプリンタの概略
構成を示したブロック図である。
FIG. 26 is a block diagram showing a schematic configuration of the ink jet printer.

【0024】図26に示したインクジェットプリンタ
は、紙送りを行う紙送りモータ(以下、PFモータとも
いう。)1と、紙送りモータ1を駆動する紙送りモータ
ドライバ2と、印刷紙50にインクを吐出するヘッド9
が固定され、印刷紙50に対し平行方向かつ紙送り方向
に対し垂直方向に駆動されるキャリッジ3と、キャリッ
ジ3を駆動するキャリッジモータ(以下、CRモータと
もいう。)4と、キャリッジモータ4を駆動するCRモ
ータドライバ5と、CRモータドライバ5に直流電流指
令値を払い出すDCユニット6と、ヘッド9の目詰まり
防止のためのインクの吸い出しを制御するポンプモータ
7と、ポンプモータ7を駆動するポンプモータドライバ
8と、ヘッド9を駆動制御するヘッドドライバ10と、
キャリッジ3に固定されたリニア式エンコーダ11と、
所定の間隔にスリットが形成されたリニア式エンコーダ
11用符号板12と、PFモータ1用のロータリ式エン
コーダ13と、印刷処理されている紙の終端位置を検出
する紙検出センサ15と、プリンタ全体の制御を行うC
PU16と、CPU16に対して周期的に割込み信号を
発生するタイマIC17と、ホストコンピュータ18と
の間でデータの送受信を行うインタフェース部(以下、
IFともいう。)19と、ホストコンピュータ18から
IF19を介して送られてくる印字情報に基づいて印字
解像度やヘッド9の駆動波形等を制御するASIC20
と、ASIC20及びCPU16の作業領域やプログラ
ム格納領域として用いられるPROM21,RAM22
及びEEPROM23と、印刷紙50を支持するプラテ
ン25と、PFモータ1によって駆動されて印刷紙50
を搬送する搬送ローラ27と、CRモータ4の回転軸に
取付けられたプーリ30と、プーリ30によって駆動さ
れるタイミングベルト31とから構成されている。
The ink jet printer shown in FIG. 26 includes a paper feed motor (hereinafter also referred to as a PF motor) 1 for feeding paper, a paper feed motor driver 2 for driving the paper feed motor 1, and ink on the printing paper 50. Head 9 for discharging
The carriage 3 is driven in a direction parallel to the printing paper 50 and perpendicular to the paper feeding direction, a carriage motor (hereinafter also referred to as a CR motor) 4 for driving the carriage 3, and a carriage motor 4. A CR motor driver 5 to be driven, a DC unit 6 for issuing a DC current command value to the CR motor driver 5, a pump motor 7 for controlling ink suction for preventing clogging of the head 9, and a drive for the pump motor 7 A pump motor driver 8, a head driver 10 for driving and controlling a head 9,
A linear encoder 11 fixed to the carriage 3,
A code plate 12 for a linear encoder 11 having slits formed at predetermined intervals; a rotary encoder 13 for a PF motor 1; a paper detection sensor 15 for detecting the end position of the paper being printed; C that controls
An interface unit (hereinafter, referred to as a “CPU 16”) that transmits and receives data to and from a PU 16, a timer IC 17 that periodically generates an interrupt signal to the CPU 16, and a host computer 18.
Also called IF. ) 19 and an ASIC 20 for controlling the printing resolution and the driving waveform of the head 9 based on the printing information sent from the host computer 18 via the IF 19.
And a PROM 21 and a RAM 22 used as a work area and a program storage area of the ASIC 20 and the CPU 16.
And the EEPROM 23, the platen 25 supporting the printing paper 50, and the printing paper 50 driven by the PF motor 1.
, A pulley 30 attached to the rotation shaft of the CR motor 4, and a timing belt 31 driven by the pulley 30.

【0025】DCユニット6は、CPU16から送られ
てくる制御指令、エンコーダ11,13の出力に基づい
て紙送りモータドライバ2及びCRモータドライバ5を
駆動制御する。また、紙送りモータ1及びCRモータ4
はいずれもDCモータで構成されている。
The DC unit 6 controls the driving of the paper feed motor driver 2 and the CR motor driver 5 based on control commands sent from the CPU 16 and outputs of the encoders 11 and 13. Also, the paper feed motor 1 and the CR motor 4
Are all composed of DC motors.

【0026】図27は、インクジェットプリンタのキャ
リッジ3周辺の構成を示した斜視図である。
FIG. 27 is a perspective view showing the structure around the carriage 3 of the ink jet printer.

【0027】図27に示すように、キャリッジ3は、タ
イミングベルト31によりプーリ30を介してキャリッ
ジモータ4に接続され、ガイド部材32に案内されてプ
ラテン25に平行に移動するように駆動される。キャリ
ッジ3の印刷紙に対向する面には、ブラックインクを吐
出するノズル列及びカラーインクを吐出するノズル列を
有する記録ヘッド9が設けられ、各ノズルはインクカー
トリッジ34からインクの供給を受けて印刷紙にインク
滴を吐出して文字や画像を印刷する。
As shown in FIG. 27, the carriage 3 is connected to the carriage motor 4 via a pulley 30 by a timing belt 31, and is driven by a guide member 32 to move in parallel with the platen 25. On the surface of the carriage 3 facing the printing paper, a recording head 9 having a nozzle array for discharging black ink and a nozzle array for discharging color ink is provided. Each nozzle receives ink supplied from an ink cartridge 34 to perform printing. Prints characters and images by ejecting ink droplets on paper.

【0028】また、キャリッジ3の非印字領域には、非
印字時に記録ヘッド9のノズル開口を封止するためのキ
ャッピング装置35と、図26に示したポンプモータ7
を有するポンプユニット36とが設けられている。キャ
リッジ3が印字領域から非印字領域に移動すると、図示
しないレバーにキャリッジ3が当接して、キャッピング
装置35が上方に移動し、ヘッド9を封止する。
In the non-printing area of the carriage 3, a capping device 35 for sealing the nozzle opening of the recording head 9 during non-printing, and a pump motor 7 shown in FIG.
And a pump unit 36 having the same. When the carriage 3 moves from the printing area to the non-printing area, the carriage 3 comes into contact with a lever (not shown), and the capping device 35 moves upward to seal the head 9.

【0029】ヘッド9のノズル開口列に目詰まりが生じ
た場合や、カートリッジ34の交換等を行ってヘッド9
から強制的にインクを吐出する場合は、ヘッド9を封止
した状態でポンプユニット36を作動させ、ポンプユニ
ット36からの負圧により、ノズル開口列からインクを
吸い出す。これにより、ノズル開口列の近傍に付着して
いる塵埃や紙粉が洗浄され、さらにはヘッド9内の気泡
がインクとともにキャップ37に排出される。
When clogging occurs in the nozzle row of the head 9 or when the cartridge 34 is replaced,
When the ink is forcibly ejected from the pump unit, the pump unit is operated while the head 9 is sealed, and the ink is sucked out from the nozzle opening row by the negative pressure from the pump unit. As a result, dust and paper dust adhering in the vicinity of the nozzle opening row are washed, and the air bubbles in the head 9 are discharged to the cap 37 together with the ink.

【0030】図28は、キャリッジ3に取付けられたリ
ニア式エンコーダ11の構成を模式的に示した説明図で
ある。
FIG. 28 is an explanatory diagram schematically showing the configuration of the linear encoder 11 mounted on the carriage 3. As shown in FIG.

【0031】図28に示したエンコーダ11は、発光ダ
イオード11aと、コリメータレンズ11bと、検出処
理部11cとを備えている。検出処理部11cは、複数
(4個)のフォトダイオード11dと、信号処理回路1
1eと、2個のコンパレータ11fA,11fBとを有し
ている。
The encoder 11 shown in FIG. 28 includes a light emitting diode 11a, a collimator lens 11b, and a detection processing unit 11c. The detection processing unit 11c includes a plurality (four) of photodiodes 11d and the signal processing circuit 1
1e and two comparators 11fA and 11fB.

【0032】発光ダイオード11aの両端に抵抗を介し
て電圧VCCが印加されると、発光ダイオード11aから
光が発せられる。この光はコリメータレンズ11bによ
り平行光に集光されて符号板12を通過する。符号板1
2には、所定の間隔(例えば1/180インチ(1イン
チ=2.54cm))毎にスリットが設けられている。
When a voltage VCC is applied to both ends of the light emitting diode 11a via a resistor, light is emitted from the light emitting diode 11a. This light is converged into parallel light by the collimator lens 11b and passes through the code plate 12. Code plate 1
2, slits are provided at predetermined intervals (for example, 1/180 inch (1 inch = 2.54 cm)).

【0033】符号板12を通過した平行光は、図示しな
い固定スリットを通って各フォトダイオード11dに入
射し、電気信号に変換される。4個のフォトダイオード
11dから出力される電気信号は信号処理回路11eに
おいて信号処理され、信号処理回路11eから出力され
る信号はコンパレータ11fA,11fBにおいて比較さ
れ、比較結果がパルスとして出力される。コンパレータ
11fA,11fBから出力されるパルスENC−A,E
NC−Bがエンコーダ11の出力となる。
The parallel light passing through the code plate 12 enters each photodiode 11d through a fixed slit (not shown) and is converted into an electric signal. The electric signals output from the four photodiodes 11d are subjected to signal processing in a signal processing circuit 11e, the signals output from the signal processing circuit 11e are compared in comparators 11fA and 11fB, and the comparison result is output as a pulse. Pulses ENC-A and E output from comparators 11fA and 11fB
NC-B is the output of the encoder 11.

【0034】図29は、CRモータ正転時及び逆転時に
おけるエンコーダ11の2つの出力信号の波形を示した
タイミングチャートである。
FIG. 29 is a timing chart showing waveforms of two output signals of the encoder 11 at the time of forward rotation and reverse rotation of the CR motor.

【0035】図29(a),(b)に示すように、CR
モータ正転時及び逆転時のいずれの場合も、パルスEN
C−AとパルスENC−Bとは位相が90度だけ異なっ
ている。CRモータ4が正転しているとき、即ち、キャ
リッジ3が主走査方向に移動しているときは、図29
(a)に示すように、パルスENC−AはパルスENC
−Bよりも90度だけ位相が進み、CRモータ4が逆転
しているときは、図29(b)に示すように、パルスE
NC−AはパルスENC−Bよりも90度だけ位相が遅
れるようにエンコーダ4は構成されている。そして、上
記パルスの1周期Tは符号板12のスリット間隔(例え
ば1/180インチ)に対応し、キャリッジ3が上記ス
リット間隔を移動する時間に等しい。
As shown in FIGS. 29A and 29B, CR
In both forward and reverse rotations of the motor, the pulse EN
The phase of CA differs from that of pulse ENC-B by 90 degrees. When the CR motor 4 is rotating forward, that is, when the carriage 3 is moving in the main scanning direction, FIG.
As shown in (a), the pulse ENC-A is the pulse ENC
When the CR motor 4 is rotating in the reverse direction by 90 degrees with respect to −B, as shown in FIG.
The encoder 4 is configured so that the phase of NC-A is delayed by 90 degrees from the pulse ENC-B. One cycle T of the pulse corresponds to the slit interval of the code plate 12 (for example, 1/180 inch), and is equal to the time during which the carriage 3 moves through the slit interval.

【0036】一方、PFモータ1用のロータリ式エンコ
ーダ13は符号板がPFモータ1の回転に応じて回転す
る回転円板である以外は、リニア式エンコーダ11と同
様の構成となっており、2つの出力パルスENC−A,
ENC−Bを出力する。インクジェットプリンタにおい
ては、PFモータ1用のロータリ式エンコーダ13の符
号板に設けられている複数のスリットのスリット間隔は
1/180インチであり、PFモータ1が上記1スリッ
ト間隔だけ回転すると、1/1440インチだけ紙送り
されるような構成となっている。
On the other hand, the rotary encoder 13 for the PF motor 1 has the same configuration as the linear encoder 11 except that the code plate is a rotating disk that rotates according to the rotation of the PF motor 1. Output pulses ENC-A,
Outputs ENC-B. In the ink jet printer, the slit interval of the plurality of slits provided on the code plate of the rotary encoder 13 for the PF motor 1 is 1/180 inch. The paper is fed by 1440 inches.

【0037】図30は、給紙及び紙検出に関連する部分
を示した透視図である。図30を参照して、図26に示
した紙検出センサ15の位置について説明する。図30
において、プリンタ60の給紙挿入口61に挿入された
印刷紙50は、給紙モータ63により駆動される給紙ロ
ーラ64によってプリンタ60内に送り込まれる。プリ
ンタ60内に送り込まれた印刷紙50の先端が例えば光
学式の紙検出センサ15により検出される。紙検出セン
サ15によって先端が検出された紙50は、PFモータ
1により駆動される紙送りローラ65及び従動ローラ6
6によって紙送りが行われる。
FIG. 30 is a perspective view showing a portion related to sheet feeding and sheet detection. The position of the paper detection sensor 15 shown in FIG. 26 will be described with reference to FIG. FIG.
The printing paper 50 inserted into the paper feeding slot 61 of the printer 60 is fed into the printer 60 by a paper feeding roller 64 driven by a paper feeding motor 63. The leading end of the printing paper 50 sent into the printer 60 is detected by, for example, an optical paper detection sensor 15. The paper 50 whose leading end is detected by the paper detection sensor 15 is supplied to the paper feed roller 65 and the driven roller 6 driven by the PF motor 1.
6, the paper is fed.

【0038】続いてキャリッジガイド部材32に沿って
移動するキャリッジ3に固定された記録ヘッド(図示せ
ず)からインクが滴下されることにより印字が行われ
る。所定の位置まで紙送りが行われると、現在、印字さ
れている印刷紙50の終端が紙検出センサ15によって
検出される。印字が終了した印刷紙50は、PFモータ
1により駆動される歯車67A,67Bを介して歯車6
7Cにより駆動される排紙ローラ68及び従動ローラ6
9によって排紙口62から外部に排出される。尚、紙送
りローラ65の回転軸には、ロータリ式エンコーダ13
が連結されている。
Subsequently, printing is performed by dropping ink from a recording head (not shown) fixed to the carriage 3 moving along the carriage guide member 32. When the paper has been fed to a predetermined position, the end of the currently printed printing paper 50 is detected by the paper detection sensor 15. The printing paper 50 on which printing has been completed is transferred to the gear 6 via gears 67A and 67B driven by the PF motor 1.
7C driven by the paper discharge roller 68 and the driven roller 6
9, the paper is discharged from the paper discharge port 62 to the outside. The rotary shaft of the paper feed roller 65 includes a rotary encoder 13.
Are connected.

【0039】図31は、プリンタの紙送りに関連する部
分を詳細に示した透視図である。
FIG. 31 is a perspective view showing in detail a portion related to paper feeding of the printer.

【0040】図30に示したプリンタの部分のうち紙送
りに関連する部分について、図30及び図31を参照し
て、より詳細に説明する。
Referring to FIGS. 30 and 31, a more detailed description will be given of a portion of the printer shown in FIG. 30 relating to paper feeding.

【0041】プリンタ60の給紙挿入口61から挿入さ
れ、給紙ローラ64によってプリンタ60内に送り込ま
れた印刷紙50の先端が紙検出センサ15により検出さ
れると、PFモータ1により小歯車87を介して駆動さ
れる大歯車67aの回転軸であるスマップ(Smap)軸8
3の周囲に設けられた紙送りローラ65と、給紙側から
送られてきた印刷紙50を垂直方向下向きに押圧するホ
ルダ89の紙送り方向排紙側先端部に設けられた従動ロ
ーラ66とにより、印刷紙50の紙送りが行われる。
When the leading end of the printing paper 50 inserted into the printer 60 through the paper feeding slot 61 of the printer 60 and fed into the printer 60 by the paper feeding roller 64 is detected by the paper detection sensor 15, the small gear 87 is driven by the PF motor 1. (Smap) shaft 8, which is the rotation axis of the large gear 67a driven through the
3 and a driven roller 66 provided at the leading end of the holder 89 that presses the printing paper 50 sent from the paper feeding side downward in the paper feeding direction. As a result, the printing paper 50 is fed.

【0042】PFモータ1はプリンタ60内のフレーム
86にねじ85により固定されており、大歯車67a周
囲の所定箇所にはロータリ式エンコーダ13が配設さ
れ、かつ、大歯車67aの回転軸であるスマップ軸83
にはロータリ式エンコーダ用符号板14が連結されてい
る。
The PF motor 1 is fixed to a frame 86 in the printer 60 by screws 85, a rotary encoder 13 is disposed at a predetermined position around the large gear 67a, and is a rotating shaft of the large gear 67a. Smap axis 83
Is connected to a rotary encoder code plate 14.

【0043】紙送りローラ65と従動ローラ66とによ
り紙送りが行われた印刷紙50は、印刷紙50を支持す
るプラテン84上を通過し、小歯車87,大歯車67
a,中間歯車67b,小歯車88及び排紙歯車67cを
介してPFモータ1により駆動される排紙ローラ68
と、従動ローラであるギザローラ69とにより挟持され
て紙送りが行われ、排紙口62から外部に排出される。
The printing paper 50 fed by the paper feed roller 65 and the driven roller 66 passes over a platen 84 that supports the printing paper 50, and has a small gear 87 and a large gear 67.
a, a discharge roller 68 driven by the PF motor 1 via the intermediate gear 67b, the small gear 88, and the discharge gear 67c.
Then, the paper is fed while being pinched by a toothed roller 69 which is a driven roller, and the paper is discharged from the paper discharge port 62 to the outside.

【0044】印刷紙50がプラテン84上に支持されて
いる間に、キャリッジ3がプラテン84上の空間をガイ
ド部材32に沿って左右に移動し、キャリッジ3に固定
された記録ヘッド(図示せず)からインクが吐出されて
印刷が行われる。
While the printing paper 50 is supported on the platen 84, the carriage 3 moves left and right in the space on the platen 84 along the guide member 32, and a recording head (not shown) fixed to the carriage 3 ), The ink is ejected to perform printing.

【0045】次に、上述したインクジェットプリンタの
CRモータ4を制御する従来のDCモータ制御装置であ
るDCユニット6の構成、及び、DCユニット6による
制御方法について説明する。
Next, the configuration of a DC unit 6 which is a conventional DC motor control device for controlling the CR motor 4 of the above-described ink jet printer and a control method by the DC unit 6 will be described.

【0046】図32は、従来のDCモータ制御装置であ
るDCユニット6の構成を示したブロック図であり、図
33は、DCユニット6により制御されるCRモータ4
のモータ電流及びモータ速度を示したグラフである。
FIG. 32 is a block diagram showing the structure of a DC unit 6 which is a conventional DC motor control device. FIG.
5 is a graph showing motor current and motor speed of FIG.

【0047】図32に示したDCユニット6は、位置演
算部6aと、減算器6bと、目標速度演算部6cと、速
度演算部6dと、減算器6eと、比例要素6fと、積分
要素6gと、微分要素6hと、加算器6iと、D/Aコ
ンバータ6jと、タイマ6kと、加速制御部6mとから
構成されている。
The DC unit 6 shown in FIG. 32 includes a position calculator 6a, a subtractor 6b, a target speed calculator 6c, a speed calculator 6d, a subtractor 6e, a proportional element 6f, and an integral element 6g. , A differential element 6h, an adder 6i, a D / A converter 6j, a timer 6k, and an acceleration control unit 6m.

【0048】位置演算部6aは、エンコーダ11の出力
パルスENC−A,ENC−Bの各々の立ち上がりエッ
ジ、立ち下がりエッジを検出し、検出されたエッジの個
数を計数し、この計数値に基づいて、キャリッジ3の位
置を演算する。この計数はCRモータ4が正転している
ときは1個のエッジが検出されると「+1」を加算し、
逆転しているときは、1個のエッジが検出されると「−
1」を加算する。パルスENC−A及びENC−Bの各
々の周期は符号板12のスリット間隔に等しく、かつ、
パルスENC−AとパルスENC−Bとは位相が90度
だけ異なっている。このため、上記計数のカウント値
「1」は符号板12のスリット間隔の1/4に対応す
る。これにより上記計数値にスリット間隔の1/4を乗
算すれば、計数値が「0」に対応するキャリッジ3の位
置からの移動量を求めることができる。このときエンコ
ーダ11の解像度は符号板12のスリットの間隔の1/
4となる。上記スリットの間隔を1/180インチとす
れば解像度は1/720インチとなる。
The position calculating section 6a detects the rising edge and the falling edge of each of the output pulses ENC-A and ENC-B of the encoder 11, counts the number of detected edges, and based on the counted value. , The position of the carriage 3 is calculated. This count adds "+1" when one edge is detected when the CR motor 4 is rotating forward,
When the edge is reversed, if one edge is detected, “−”
1 "is added. Each period of the pulses ENC-A and ENC-B is equal to the slit interval of the code plate 12, and
Pulse ENC-A and pulse ENC-B differ in phase by 90 degrees. Therefore, the count value “1” of the above-mentioned count corresponds to 1 / of the slit interval of the code plate 12. Thus, by multiplying the above-mentioned count value by 1 / of the slit interval, the movement amount from the position of the carriage 3 corresponding to the count value of “0” can be obtained. At this time, the resolution of the encoder 11 is 1/1 of the interval between the slits of the code plate 12.
It becomes 4. If the interval between the slits is 1/180 inch, the resolution is 1/720 inch.

【0049】減算器6bは、CPU16から送られてく
る目標位置と、位置演算部6aによって求められたキャ
リッジ3の実際の位置との位置偏差を演算する。
The subtractor 6b calculates a positional deviation between the target position sent from the CPU 16 and the actual position of the carriage 3 obtained by the position calculating section 6a.

【0050】目標速度演算部6cは、減算器6bの出力
である位置偏差に基づいてキャリッジ3の目標速度を演
算する。この演算は位置偏差にゲインKPを乗算するこ
とにより行われる。このゲインKPは位置偏差に応じて
決定される。尚、このゲインKP の値は図示しないテー
ブルに格納されていてもよい。
The target speed calculator 6c calculates the target speed of the carriage 3 based on the position deviation output from the subtractor 6b. This calculation is performed by multiplying the position deviation by the gain KP. This gain KP is determined according to the position deviation. Incidentally, the value of the gain KP may be stored in a table (not shown).

【0051】速度演算部6dは、エンコーダ11の出力
パルスENC−A,ENC−Bに基づいてキャリッジ3
の速度を演算する。この速度は次のようにして求められ
る。まず、エンコーダ11の出力パルスENC−A,E
NC−Bの各々の立ち上がりエッジ、立ち下がりエッジ
を検出し、符号板12のスリット間隔の1/4に対応す
るエッジ間の時間間隔を、タイマカウンタによってカウ
ントする。このカウント値をTとし、符号板12のスリ
ット間隔をλとすればキャリッジの速度はλ/(4T)
として求められる。尚、ここでは、速度の演算は、出力
パルスENC−Aの1周期、例えば立ち上がりエッジか
ら次の立ち上がりエッジまでをタイマカウンタによって
計測することにより求めている。
The speed calculating section 6d determines the carriage 3 based on the output pulses ENC-A and ENC-B of the encoder 11.
Calculate the speed of This speed is determined as follows. First, the output pulses ENC-A, E of the encoder 11
Each rising edge and falling edge of NC-B is detected, and the time interval between edges corresponding to 1/4 of the slit interval of the code plate 12 is counted by a timer counter. If the count value is T and the slit interval of the code plate 12 is λ, the carriage speed is λ / (4T)
Is required. Here, the calculation of the speed is obtained by measuring one cycle of the output pulse ENC-A, for example, from the rising edge to the next rising edge using a timer counter.

【0052】減算器6eは、目標速度と、速度演算部6
dによって演算されたキャリッジ3の実際の速度との速
度偏差を演算する。
The subtractor 6e has a target speed and a speed calculator 6
The speed deviation from the actual speed of the carriage 3 calculated by d is calculated.

【0053】比例要素6fは、上記速度偏差に定数Gp
を乗算し、乗算結果を出力する。積分要素6gは、速度
偏差に定数Giを乗じたものを積算する。微分要素6h
は、現在の速度偏差と、1つ前の速度偏差との差に定数
Gdを乗算し、乗算結果を出力する。比例要素6f、積
分要素6g及び微分要素6hの演算は、エンコーダ11
の出力パルスENC−Aの1周期ごとに、例えば出力パ
ルスENC−Aの立ち上がりエッジに同期して行う。
The proportional element 6f is obtained by adding a constant Gp to the speed deviation.
And outputs the multiplication result. The integral element 6g integrates the value obtained by multiplying the speed deviation by a constant Gi. Differential element 6h
Multiplies the difference between the current speed deviation and the immediately preceding speed deviation by a constant Gd, and outputs the multiplication result. The calculation of the proportional element 6f, the integral element 6g, and the differential element 6h is performed by the encoder 11
, For example, in synchronization with the rising edge of the output pulse ENC-A for each cycle of the output pulse ENC-A.

【0054】比例要素6f、積分要素6g及び微分要素
6hの出力は、加算器6iにおいて加算される。そして
加算結果、即ちCRモータ4の駆動電流が、D/Aコン
バータ6jに送られてアナログ電流に変換される。この
アナログ電圧に基づいて、ドライバ5によりCRモータ
4が駆動される。
The outputs of the proportional element 6f, integral element 6g and differential element 6h are added in an adder 6i. Then, the addition result, that is, the drive current of the CR motor 4 is sent to the D / A converter 6j and converted into an analog current. The CR motor 4 is driven by the driver 5 based on the analog voltage.

【0055】また、タイマ6k及び加速制御部6mは、
加速制御に用いられ、比例要素6f、積分要素6g及び
微分要素6hを使用するPID制御は、加速途中の定速
及び減速制御に用いられる。
The timer 6k and the acceleration control unit 6m
PID control, which is used for acceleration control and uses the proportional element 6f, integral element 6g, and differential element 6h, is used for constant speed and deceleration control during acceleration.

【0056】タイマ6kは、CPU16から送られてく
るクロック信号に基づいて所定時間ごとにタイマ割込み
信号を発生する。
The timer 6k generates a timer interrupt signal at predetermined time intervals based on a clock signal sent from the CPU 16.

【0057】加速制御部6mは、上記タイマ割込信号を
受ける度ごとに所定の電流値(例えば20mA)を目標
電流値に積算し、積算結果、即ち加速時におけるDCモ
ータ4の目標電流値が、D/Aコンバータ6jに送られ
る。PID制御の場合と同様に、上記目標電流値はD/
Aコンバータ6jによってアナログ電流に変換され、こ
のアナログ電流に基づいて、ドライバ5によりCRモー
タ4が駆動される。
The acceleration control unit 6m integrates a predetermined current value (for example, 20 mA) with the target current value every time the timer interrupt signal is received, and calculates the integration result, that is, the target current value of the DC motor 4 during acceleration. , D / A converter 6j. As in the case of the PID control, the target current value is D /
The current is converted into an analog current by the A converter 6j, and the CR motor 4 is driven by the driver 5 based on the analog current.

【0058】ドライバ5は、例えば4個のトランジスタ
を備えており、D/Aコンバータ6jの出力に基づいて
上記トランジスタを各々ON又はOFFさせることによ
り(a)CRモータ4を正転又は逆転させる運転モー
ド、(b)回生ブレーキ運転モード(ショートブレーキ
運転モード、即ち、CRモータの停止を維持するモー
ド)、(c)CRモータを停止させようとするモード、
を行わせることが可能な構成となっている。
The driver 5 includes, for example, four transistors, and turns on or off each of the transistors based on the output of the D / A converter 6j. (A) The operation of rotating the CR motor 4 forward or backward. Mode, (b) regenerative brake operation mode (short brake operation mode, that is, mode in which CR motor is stopped), (c) mode in which CR motor is to be stopped,
Is performed.

【0059】次に、図33(a),(b)を参照してD
Cユニット6の動作、即ち、従来のDCモータ制御方法
について説明する。
Next, referring to FIGS. 33 (a) and 33 (b), D
The operation of the C unit 6, that is, a conventional DC motor control method will be described.

【0060】CRモータ4が停止しているときに、CP
U16からDCユニット6へ、CRモータ4を起動させ
る起動指令信号が送られると、加速制御部6mから起動
初期電流値I0がD/Aコンバータ6jに送られる。こ
の起動初期電流値I0は、起動指令信号とともにCPU
16から加速制御部6mに送られてくる。そしてこの電
流値I0は、D/Aコンバータ6jによってアナログ電
圧に変換されてドライバ5に送られ、ドライバ5によっ
てCRモータ4が起動開始する(図33(a),(b)
参照)。起動指令信号を受信した後、所定の時間ごとに
タイマ6kからタイマ割込信号が発生される。加速制御
部6mは、タイマ割込信号を受信する度ごとに、起動初
期電流値I0に所定の電流値(例えば20mA)を積算
し、積算した電流値をD/Aコンバータ6jに送る。す
ると、この積算した電流値は、D/Aコンバータ6jに
よってアナログ電流に変換されてドライバ5に送られ
る。そして、CRモータ4に供給される電流の値が上記
積算した電流値となるように、ドライバ5によってCR
モータが駆動されCRモータ4の速度は上昇する(図3
3(b)参照)。このためCRモータ4に供給される電
流値は、図33(a)に示すように階段状になる。尚、
このときPID制御系も動作しているが、D/Aコンバ
ータ6jは加速制御部6mの出力を選択して取込む。
When the CR motor 4 is stopped, the CP
When a start command signal for starting the CR motor 4 is sent from the U16 to the DC unit 6, an initial start current value I0 is sent from the acceleration control unit 6m to the D / A converter 6j. The starting initial current value I0 is determined by the CPU together with the starting command signal.
16 to the acceleration control unit 6m. This current value I0 is converted into an analog voltage by the D / A converter 6j and sent to the driver 5, and the driver 5 starts the start of the CR motor 4 (FIGS. 33A and 33B).
reference). After receiving the start command signal, the timer 6k generates a timer interrupt signal at predetermined time intervals. Every time the acceleration control unit 6m receives the timer interrupt signal, the acceleration control unit 6m integrates a predetermined current value (for example, 20 mA) with the starting initial current value I0, and sends the integrated current value to the D / A converter 6j. Then, the integrated current value is converted into an analog current by the D / A converter 6j and sent to the driver 5. Then, the driver 5 controls the CR so that the value of the current supplied to the CR motor 4 becomes the integrated current value.
The motor is driven and the speed of the CR motor 4 increases (FIG. 3
3 (b)). Therefore, the current value supplied to the CR motor 4 has a step shape as shown in FIG. still,
At this time, the PID control system is also operating, but the D / A converter 6j selects and takes in the output of the acceleration control unit 6m.

【0061】加速制御部6mの電流値の積算処理は、積
算した電流値が一定の電流値ISとなるまで行われる。
時刻t1において積算した電流値が所定値IS となる
と、加速制御部6mは積算処理を停止し、D/Aコンバ
ータ6jに一定の電流値ISを供給する。これによりC
Rモータ4に供給される電流の値が電流値ISとなるよ
うにドライバ5によって駆動される(図33(a)参
照)。
The accumulating process of the current value by the acceleration control unit 6m is performed until the integrated current value becomes a constant current value IS.
When the current value integrated at time t1 reaches the predetermined value IS, the acceleration control unit 6m stops the integration process and supplies a constant current value IS to the D / A converter 6j. This gives C
The motor 5 is driven by the driver 5 so that the value of the current supplied to the R motor 4 becomes the current value IS (see FIG. 33A).

【0062】そして、CRモータ4の速度がオーバーシ
ュートするのを防止するために、CRモータ4が所定の
速度V1になると(時刻t2参照)、CRモータ4に供給
される電流を減小させるように加速制御部6mが制御す
る。このときCRモータ4の速度は更に上昇するが、C
Rモータ4の速度が所定の速度Vcに達すると(図33
(b)の時刻t3参照)、D/Aコンバータ6jが、P
ID制御系の出力、即ち加算器6iの出力を選択し、P
ID制御が行われる。
Then, in order to prevent the speed of the CR motor 4 from overshooting, the current supplied to the CR motor 4 is reduced when the CR motor 4 reaches a predetermined speed V1 (see time t2). Is controlled by the acceleration control unit 6m. At this time, the speed of the CR motor 4 further increases, but C
When the speed of the R motor 4 reaches a predetermined speed Vc (FIG. 33)
(See time t3 in (b)), the D / A converter 6j
The output of the ID control system, that is, the output of the adder 6i is selected.
ID control is performed.

【0063】即ち、目標位置と、エンコーダ11の出力
から得られる実際の位置との位置偏差に基づいて目標速
度が演算され、この目標速度と、エンコーダ11の出力
から得られる実際の速度との速度偏差に基づいて、比例
要素6f、積分要素6g及び微分要素6hが動作し、各
々比例、積分、及び微分演算が行われ、これらの演算結
果の和に基づいて、CRモータ4の制御が行われる。
尚、上記比例、積分及び微分演算は、例えばエンコーダ
11の出力パルスENC−Aの立ち上がりエッジに同期
して行われる。これによりDCモータ4の速度は所望の
速度Veとなるように制御される。尚、所定の速度Vc
は、所望の速度Veの70〜80%の値であることが好
ましい。
That is, the target speed is calculated based on the positional deviation between the target position and the actual position obtained from the output of the encoder 11, and the speed between the target speed and the actual speed obtained from the output of the encoder 11 is calculated. The proportional element 6f, the integral element 6g, and the differential element 6h operate based on the deviation, and perform proportional, integral, and differential calculations, respectively, and control the CR motor 4 based on the sum of the calculation results. .
The above-described proportional, integral, and differential calculations are performed, for example, in synchronization with the rising edge of the output pulse ENC-A of the encoder 11. As a result, the speed of the DC motor 4 is controlled to a desired speed Ve. Note that a predetermined speed Vc
Is preferably 70 to 80% of the desired speed Ve.

【0064】時刻t4からDCモータ4は、所望の速度
となるからキャリッジ3も所望の一定の速度Veとな
り、印字処理を行うことが可能となる。
From time t4, the DC motor 4 reaches the desired speed, so that the carriage 3 also reaches the desired constant speed Ve, and the printing process can be performed.

【0065】印字処理が終了し、キャリッジ3が目標位
置に近づくと(図33(b)の時刻t5参照)、位置偏
差が小さくなるから目標速度も小さくなり、このため速
度偏差、即ち減算器6eの出力が負になり、DCモータ
4の減速が行われ、時刻t6に停止する。
When the printing process is completed and the carriage 3 approaches the target position (see time t5 in FIG. 33 (b)), the position deviation becomes small, so that the target speed also becomes small. Therefore, the speed deviation, ie, the subtractor 6e Becomes negative, the DC motor 4 is decelerated, and stops at time t6.

【0066】以下、本発明に係るDCモータ制御装置及
び制御方法の実施の形態について、図面を参照しながら
説明する。
Hereinafter, embodiments of a DC motor control device and a control method according to the present invention will be described with reference to the drawings.

【0067】本発明に係るDCモータ制御装置及び制御
方法は、実行済みの駆動動作における駆動時間及び単位
時間当たりのDCモータ電流量、又は、DCモータ電流
総量及び駆動時間のみならず、後続する未実行の駆動動
作における駆動時間及び単位時間当たりのDCモータ電
流量、又は、DCモータ電流総量及び駆動時間にも応じ
て、駆動停止時間を設定するか否かを決定する点に特徴
を有するものである。
The DC motor control device and the control method according to the present invention provide not only the driving time and the DC motor current amount per unit time in the executed driving operation, or the DC motor current total amount and the driving time, but also It is characterized in that it is determined whether or not to set the drive stop time according to the drive time and the DC motor current amount per unit time in the execution drive operation or the DC motor current total amount and the drive time. is there.

【0068】図1は、本発明の第1の実施の形態に係る
DCモータ制御装置の構成を示したブロック図である。
図1に示した本発明の第1の実施の形態に係るDCモー
タ制御装置は、DCユニット6と、DCユニット6に付
加されたキャリッジ駆動停止時間算出ユニット100と
から構成されている。DCユニット6の構成は、図32
に示した従来のDCモータ制御装置におけるDCユニッ
ト6の構成と同様であり、位置演算部6aと、減算部6
bと、目標速度演算部6cと、速度演算部6dと、減算
器6eと、比例要素6fと、積分要素6gと、微分要素
6hと、加算器6iと、D/Aコンバータ6jと、タイ
マ6kと、加速制御部6mとから構成されている。ま
た、DCモータ4,ドライバ5,エンコーダ11も従来
のインクジェットプリンタにおけるものと同様のものと
することができ、DCモータ4はCR(キャリッジ)モ
ータ又はPF(紙送り)モータとすることができる。
FIG. 1 is a block diagram showing the configuration of the DC motor control device according to the first embodiment of the present invention.
The DC motor control device according to the first embodiment of the present invention shown in FIG. 1 includes a DC unit 6 and a carriage drive stop time calculation unit 100 added to the DC unit 6. The configuration of the DC unit 6 is shown in FIG.
The configuration of the DC unit 6 in the conventional DC motor control device shown in FIG.
b, target speed calculator 6c, speed calculator 6d, subtractor 6e, proportional element 6f, integral element 6g, differential element 6h, adder 6i, D / A converter 6j, timer 6k And an acceleration control unit 6m. The DC motor 4, driver 5, and encoder 11 can be the same as those in the conventional inkjet printer, and the DC motor 4 can be a CR (carriage) motor or a PF (paper feed) motor.

【0069】本発明の第1の実施の形態に係るDCモー
タ制御装置におけるキャリッジ駆動停止時間算出ユニッ
ト100は、タイマ6kからのタイマ割り込みタイミン
グ、エンコーダ11からのエンコーダ割り込みタイミン
グ、並びに、タイマ割り込みタイミング及びエンコーダ
割り込みタイミングにおけるD/Aコンバータ出力値
(以下、DAC出力値ともいう。)を記憶保持し、それ
らを所定の駆動停止判断条件に応じて出力するバッファ
メモリ101と、タイマ割り込みタイミング又はエンコ
ーダ割り込みタイミングの間隔とDAC出力値とから、
各割込みタイミングの間の各期間におけるDCモータ電
流量を算出する電流量算出部102と、各期間における
DCモータ電流量から、実行済みの一連の駆動動作にお
けるDCモータ電流総量を算出する電流総量算出部10
3と、タイマ割り込みタイミング又はエンコーダ割り込
みタイミングの間隔から、実行済みの一連の駆動動作に
おける駆動時間を算出する駆動時間算出部104と、後
続する未実行の一連の駆動動作の駆動制御データに基づ
き、所定の駆動停止判断条件に応じて、後続する未実行
の一連の駆動動作におけるDCモータ電流波形を予測形
成する駆動電流波形予測形成部111と、予測形成した
DCモータ電流波形に基づき、後続する未実行の一連の
駆動動作における後続DCモータ電流総量を算出する後
続電流総量算出部112と、予測形成したDCモータ電
流波形に基づき、後続する未実行の一連の駆動動作にお
ける後続駆動時間を算出する後続駆動時間算出部113
と、DCモータ電流総量と後続DCモータ電流総量とを
加算して拡張DCモータ電流総量を算出する拡張電流総
量算出部114と、駆動時間と後続駆動時間とを加算し
て拡張駆動時間を算出する拡張駆動時間算出部115
と、拡張DCモータ電流総量と拡張駆動時間とから、実
行済みの一連の駆動動作及び後続する未実行の一連の駆
動動作における単位時間当たりの拡張DCモータ電流量
を算出する拡張単位時間電流量算出部116と、拡張駆
動時間と単位時間当たりの拡張DCモータ電流量とか
ら、実行済みの一連の駆動動作と後続する未実行の一連
の駆動動作との間においてDCモータ駆動を停止すべき
拡張駆動停止時間を算出する拡張駆動停止時間算出部1
17とから構成されている。
The carriage drive stop time calculation unit 100 in the DC motor control device according to the first embodiment of the present invention includes a timer interrupt timing from the timer 6k, an encoder interrupt timing from the encoder 11, and a timer interrupt timing. A buffer memory 101 that stores and holds a D / A converter output value (hereinafter, also referred to as a DAC output value) at an encoder interrupt timing and outputs them according to a predetermined drive stop determination condition; a timer interrupt timing or an encoder interrupt timing From the interval of and the DAC output value,
A current amount calculating unit 102 for calculating a DC motor current amount in each period between each interrupt timing, and a total current amount calculation for calculating a DC motor current amount in a series of executed driving operations from the DC motor current amount in each period Part 10
3, a drive time calculation unit 104 that calculates a drive time in a series of executed drive operations from an interval of a timer interrupt timing or an encoder interrupt timing, and drive control data of a subsequent series of unexecuted drive operations based on: A drive current waveform prediction forming unit 111 that predicts and forms a DC motor current waveform in a series of subsequent unexecuted driving operations according to a predetermined drive stop determination condition, A subsequent current total amount calculation unit 112 for calculating the total amount of the subsequent DC motor current in the series of driving operations to be executed; and a succeeding driving time for calculating the subsequent unexecuted series of driving operations based on the predicted DC motor current waveform. Driving time calculator 113
And an extended current total amount calculation unit 114 that calculates the total amount of extended DC motor current by adding the total amount of DC motor current and the total amount of subsequent DC motor current, and calculates an extended drive time by adding the drive time and the subsequent drive time. Extended drive time calculation unit 115
And an extended unit time current amount calculation for calculating an extended DC motor current amount per unit time in a series of executed driving operations and a series of subsequent unexecuted driving operations from the total amount of the extended DC motor current and the extended driving time. Based on the extended drive time and the extended DC motor current amount per unit time, the extended drive to stop the DC motor drive between a series of executed drive operations and a series of subsequent unexecuted drive operations Extended drive stop time calculator 1 for calculating stop time
17.

【0070】図2は、本発明の第1の実施の形態に係る
DCモータ制御装置の動作、即ち、本発明の第1の実施
の形態に係るDCモータ制御方法の手順を示したフロー
チャートである。また、図3は、タイマ割込み動作期間
におけるDCモータ電流量算出方法を示したグラフ、図
4は、エンコーダ割込み動作期間におけるDCモータ電
流量算出方法を示したグラフ、図5は、単位時間当たり
のDCモータ電流量からのDCモータ駆動停止時間算出
方法を示したグラフである。
FIG. 2 is a flowchart showing the operation of the DC motor control device according to the first embodiment of the present invention, that is, the procedure of the DC motor control method according to the first embodiment of the present invention. . FIG. 3 is a graph showing a method of calculating a DC motor current amount during a timer interrupt operation period, FIG. 4 is a graph showing a method of calculating a DC motor current amount during an encoder interrupt operation period, and FIG. 5 is a graph showing a method of calculating a DC motor drive stop time from a DC motor current amount.

【0071】図1乃至図5を参照して、本発明の第1の
実施の形態に係るDCモータ制御装置の動作、即ち、本
発明の第1の実施の形態に係るDCモータ制御方法の手
順について説明する。
Referring to FIGS. 1 to 5, the operation of the DC motor control device according to the first embodiment of the present invention, that is, the procedure of the DC motor control method according to the first embodiment of the present invention. Will be described.

【0072】DCモータに対する起動指令信号によりD
Cモータが駆動され、これによりキャリッジの駆動が開
始された後、タイマ6kからのタイマ割り込み又はエン
コーダ11からのエンコーダ割り込みが発生する度ごと
に、それらのタイミング及び各タイミングにおけるDA
C出力値を、バッファメモリ101に記憶保持してお
く。
A start command signal to the DC motor causes D
After the C motor is driven and the carriage starts to be driven, every time a timer interrupt from the timer 6k or an encoder interrupt from the encoder 11 occurs, the timing and the DA at each timing are determined.
The C output value is stored and held in the buffer memory 101.

【0073】バッファメモリ101は、駆動動作開始
後、所定の駆動停止判断条件に応じて、記憶保持してい
たタイマ割り込みタイミング及びエンコーダ割り込みタ
イミング並びに各タイミングにおけるDAC出力値を出
力する(ステップS101)。ここで、所定の駆動停止
判断条件とは、例えば、タイマ割込みが発生せず、か
つ、エンコーダの逆転が検出されたとき、又は、タイマ
割込みが発生せず、かつ、エンコーダ割込みが一定時間
(例えば5ms)発生しないときとする。即ち、タイマ
割込み制御からエンコーダ割込み制御に移行した後に、
エンコーダの逆転が検出されたとき、又は、エンコーダ
割込みが一定時間発生しないときは、DCモータ駆動停
止判断がされたものとして、バッファメモリ101は、
上記各タイミング及びDAC出力値を出力する。
After the start of the driving operation, the buffer memory 101 outputs the timer interrupt timing and the encoder interrupt timing stored therein and the DAC output value at each timing according to predetermined driving stop determination conditions (step S101). Here, the predetermined drive stop determination condition is, for example, when a timer interrupt does not occur and a reverse rotation of the encoder is detected, or when a timer interrupt does not occur and the encoder interrupt occurs for a predetermined time (for example, 5 ms) It is assumed that no occurrence occurs. That is, after shifting from timer interrupt control to encoder interrupt control,
When the reverse rotation of the encoder is detected, or when the encoder interrupt does not occur for a predetermined time, the buffer memory 101 determines that the DC motor drive stop has been determined, and
The respective timings and DAC output values are output.

【0074】DCモータ駆動停止判断がされ、タイマ割
り込みタイミング及びエンコーダ割り込みタイミング並
びに各タイミングにおけるDAC出力値が出力される
と、電流量算出部102,電流総量算出部103,駆動
時間算出部104の一連の動作により、実行済みの一連
の駆動動作におけるDCモータ電流総量及び駆動時間を
算出する(ステップS102)。尚、一連の駆動動作と
は、一の駆動動作の開始から当該一の駆動動作の停止ま
でをいう。
When the DC motor drive stop is determined and the timer interrupt timing, the encoder interrupt timing, and the DAC output value at each timing are output, a series of operations of the current amount calculation unit 102, the total current amount calculation unit 103, and the drive time calculation unit 104 are performed. By the above operation, the DC motor current total amount and the driving time in a series of driving operations that have been executed are calculated (step S102). Note that a series of driving operations refers to a period from the start of one driving operation to the stop of the one driving operation.

【0075】一連の駆動動作におけるDCモータ電流総
量を算出するためには、各割込みタイミングの間のDC
モータ電流量を求めなければならない。
In order to calculate the total amount of DC motor current in a series of driving operations, the DC motor current during each interrupt timing must be calculated.
The motor current must be determined.

【0076】そこで、先ず、タイマ割込み制御期間とエ
ンコーダ割込み制御期間とにおける各割込みタイミング
の間のDCモータ電流量の算出方法について説明する。
First, a method of calculating the DC motor current amount between each interrupt timing in the timer interrupt control period and the encoder interrupt control period will be described.

【0077】タイマ割込み制御期間においては、図3に
示すように、一定時間ごとにタイマ割込みが発生する。
ここでは、各割込みタイミングごとに、その直前の割込
みタイミングとの間の期間におけるDCモータ電流量を
算出するものとする。第nの割込みタイミングとその直
前の第n−1の割込みタイミングとの間の期間、即ち、
時刻tn-1から時刻tnまでの期間におけるDCモータ電
流量は、その期間の時間Tn-1とその期間におけるDA
C出力値DACn-1を乗算することにより求めることができ
る。即ち、第nの割込みタイミングにおいて算出される
電流量Inは、In=Tn-1×DACn-1となる。同様に、第
n+1の割込みタイミングにおいて算出される電流量I
n+1は、In+1=Tn×DACnとなる。
In the timer interrupt control period, as shown in FIG. 3, a timer interrupt occurs at regular intervals.
Here, it is assumed that, for each interruption timing, the DC motor current amount in a period between the interruption timing immediately before and the interruption timing is calculated. A period between the nth interrupt timing and the immediately preceding (n-1) th interrupt timing, that is,
The DC motor current amount during the period from the time tn-1 to the time tn is determined by the time Tn-1 of the period and the DA motor during the period.
It can be obtained by multiplying the C output value DACn-1. That is, the current amount In calculated at the n-th interrupt timing is In = Tn-1 × DACn-1. Similarly, the current amount I calculated at the (n + 1) th interrupt timing
n + 1 is In + 1 = Tn × DACn.

【0078】あるいは、直前の期間における電流値から
の増減分についてのみ乗算を行い、その増減分を、直前
の期間における電流量に加減算することにより、各タイ
ミングにおけるDCモータ電流量を求めてもよい。時刻
tn+1から時刻tn+2までの期間の時間をTn+1、電流値
増加分をΔDAC1とすると、第n+2の割込みタイミング
において算出される電流量In+2は、In+2=In+1+Tn
+1×ΔDAC1となる。時刻tpから時刻tqまで(tp<t
q)、DAC出力値が一定の加速電流値DACaccになるも
のとし、時刻tqから時刻tq+1までの期間の時間をT
q、電流値減少分をΔDAC2とすると、第q+1の割込み
タイミングにおいて算出される電流量Iq+1は、Iq+1=
Iq+Tq×(−ΔDAC2)となる。
Alternatively, the DC motor current amount at each timing may be obtained by multiplying only the increase or decrease from the current value in the immediately preceding period and adding or subtracting the increased or decreased amount to or from the current amount in the immediately preceding period. . Assuming that the time from the time tn + 1 to the time tn + 2 is Tn + 1 and the increase in the current value is ΔDAC1, the current amount In + 2 calculated at the (n + 2) th interrupt timing is In + 2 = In + 1 + Tn
+ 1 × ΔDAC1. From time tp to time tq (tp <t
q), the DAC output value is assumed to be a constant acceleration current value DACacc, and the time from time tq to time tq + 1 is defined as T
q, assuming that the current value decrease is ΔDAC2, the current amount Iq + 1 calculated at the (q + 1) th interrupt timing is Iq + 1 =
Iq + Tq × (−ΔDAC2).

【0079】DAC出力値が一定の加速電流値DACaccに
なる時刻tpから時刻tqまでの各期間における電流量は
一定となる。例えば、時刻tpから時刻tp+1までの期間
の時間をTpとすると、第P+1の割込みタイミングに
おいて算出される電流量Ip+1は、Ip+1=Tp×DACacc
となる。尚、タイマ割込み制御期間における各割込みタ
イミングの間の各期間の長さは総て等しい。
The amount of current in each period from time tp to time tq at which the DAC output value reaches a constant acceleration current value DACacc is constant. For example, if the time from time tp to time tp + 1 is Tp, the current amount Ip + 1 calculated at the (P + 1) th interrupt timing is Ip + 1 = Tp × DACacc
Becomes Note that the lengths of the respective periods between the respective interrupt timings in the timer interrupt control period are all equal.

【0080】一方、エンコーダ割込み制御期間において
は、図4に示すように、DCモータの回転速度に応じた
不定時間間隔でエンコーダ割込みが発生するが、各割込
みタイミングの間のDCモータ電流量の算出方法は、タ
イマ割込み制御期間と同様であり、各割込みタイミング
ごとに、その直前の割込みタイミングとの間の期間にお
けるDCモータ電流量を算出する。第nの割込みタイミ
ングとその直前の第n−1の割込みタイミングとの間の
期間、即ち、時刻tn-1から時刻tnまでの期間における
DCモータ電流量は、その期間の時間Tn-1とその期間
におけるDAC出力値DACn-1を乗算することにより求め
ることができる。即ち、第nの割込みタイミングにおい
て算出される電流量Inは、In=Tn-1×DACn-1とな
る。同様に、第n+1の割込みタイミングにおいて算出
される電流量In+1は、In+1=Tn×DACnとなる。
On the other hand, during the encoder interrupt control period, as shown in FIG. 4, encoder interrupts occur at indefinite time intervals corresponding to the rotation speed of the DC motor, but the DC motor current amount between each interrupt timing is calculated. The method is the same as that of the timer interrupt control period. For each interrupt timing, the DC motor current amount in the period between the interrupt timing and the interrupt timing immediately before that is calculated. The DC motor current amount during the period between the n-th interrupt timing and the immediately preceding (n-1) th interrupt timing, that is, the period from time tn-1 to time tn, is calculated based on the time Tn-1 and the time Tn-1 during that period. It can be obtained by multiplying the DAC output value DACn-1 in the period. That is, the current amount In calculated at the n-th interrupt timing is In = Tn-1 × DACn-1. Similarly, the current amount In + 1 calculated at the (n + 1) th interrupt timing is In + 1 = Tn × DACn.

【0081】以上のように一連の駆動動作における各割
込みタイミングの間のDCモータ電流量を算出し、さら
にそれらのDCモータ電流量を総て加算することによ
り、一連の駆動動作におけるDCモータ電流総量Itota
lを算出する。また、一連の駆動動作における各割込み
タイミングの間の時間間隔を総て加算することにより、
一連の駆動動作における駆動時間Ttotalを算出する。
As described above, the DC motor current amount during each interrupt timing in the series of driving operations is calculated, and all the DC motor current amounts are added to obtain the total DC motor current amount in the series of driving operations. Itota
Calculate l. Also, by adding all the time intervals between the interrupt timings in a series of driving operations,
The driving time Ttotal in a series of driving operations is calculated.

【0082】上述のように、DCモータ駆動停止判断に
応じて、実行済みの一連の駆動動作におけるDCモータ
電流総量及び駆動時間を算出する一方(ステップS10
2)、後続する未実行の一連の駆動動作の駆動制御デー
タに基づき、DCモータ駆動停止判断に応じて、後続す
る未実行の一連の駆動動作におけるDCモータ電流波形
を駆動電流波形予測形成部111により予測形成する
(ステップS103)。
As described above, the DC motor current total amount and the driving time in a series of executed driving operations are calculated according to the DC motor driving stop determination (step S10).
2) Based on the drive control data of the subsequent series of unexecuted driving operations, the DC motor current waveform in the subsequent series of unexecuted driving operations is determined in accordance with the DC motor drive stop determination by the drive current waveform prediction forming unit 111. (Step S103).

【0083】DCモータが、例えばプリンタのCRモー
タ又はPFモータである場合には、モータの最大速度及
び加速区間は、通常、一定であるので、後続する未実行
の一連の駆動動作におけるDCモータ電流波形は、その
一連の駆動動作の駆動制御データに基づいて容易に予測
形成することができる。また、DCモータが、例えばプ
リンタのCRモータ又はPFモータである場合には、駆
動制御データは印刷データということになる。
When the DC motor is, for example, a CR motor or a PF motor of a printer, the maximum speed and the acceleration section of the motor are usually constant. The waveform can be easily predicted based on the drive control data of the series of drive operations. When the DC motor is, for example, a CR motor or a PF motor of a printer, the drive control data is print data.

【0084】予測形成されたDCモータ電流波形は、例
えば、図3,図4又は図33に示すような電流波形とな
る。
The predicted DC motor current waveform is, for example, a current waveform as shown in FIG. 3, FIG. 4 or FIG.

【0085】後続する未実行の一連の駆動動作における
DCモータ電流波形の予測形成後、後続電流総量算出部
112,後続駆動時間算出部113は、予測形成された
DCモータ電流波形に基づき、後続する未実行の一連の
駆動動作における後続電流総量、後続駆動時間をそれぞ
れ算出する(ステップS104)。後続電流総量及び後
続駆動時間の算出方法は、上述のDCモータ電流総量及
び駆動時間の算出方法と同様である。
After the prediction of the DC motor current waveform in the subsequent series of unexecuted driving operations, the subsequent current total amount calculator 112 and the subsequent driving time calculator 113 perform the following based on the predicted DC motor current waveform. The subsequent current total amount and the subsequent driving time in a series of unexecuted driving operations are calculated (step S104). The method of calculating the total amount of the subsequent current and the subsequent driving time is the same as the method of calculating the total amount of the DC motor current and the driving time described above.

【0086】後続電流総量及び後続駆動時間の算出後、
拡張電流総量算出部114は、DCモータ電流総量と後
続電流総量とを加算することにより拡張電流総量IEXを
算出し、拡張駆動時間算出部115は、駆動時間と後続
駆動時間とを加算することにより拡張駆動時間TEXを算
出する(ステップS105)。
After calculating the total amount of the subsequent current and the subsequent driving time,
The extended current total amount calculation unit 114 calculates the extended current total amount IEX by adding the DC motor current total amount and the subsequent current total amount, and the extended drive time calculation unit 115 adds the drive time and the subsequent drive time. The extended drive time TEX is calculated (step S105).

【0087】拡張電流総量IEX及び拡張駆動時間TEXの
算出後、拡張電流総量IEX及び拡張駆動時間TEXから、
実行済みの一連の駆動動作及び後続する未実行の一連の
駆動動作における単位時間当たりの拡張DCモータ電流
量τEX=IEX/TEXを算出する(ステップS106)。
After calculating the total extended current amount IEX and the extended driving time TEX, the following formula is obtained from the total extended current amount IEX and the extended driving time TEX.
An extended DC motor current amount τEX = IEX / TEX per unit time in a series of executed driving operations and a series of subsequent unexecuted driving operations is calculated (step S106).

【0088】単位時間当たりの拡張DCモータ電流量τ
EXを算出した後、実行済みの一連の駆動動作及び後続す
る未実行の一連の駆動動作における拡張駆動時間TEXと
単位時間当たりの拡張DCモータ電流量τEXとから、拡
張駆動停止時間ΔtEXを拡張駆動停止時間算出部117
により算出する(ステップS107)。図5を参照し
て、拡張駆動停止時間ΔtEXの算出方法について説明す
る。
The amount of extended DC motor current τ per unit time
After calculating EX, the extended drive stop time ΔtEX is extended from the extended drive time TEX and the extended DC motor current amount τEX per unit time in a series of executed drive operations and a series of subsequent unexecuted drive operations. Stop time calculation unit 117
(Step S107). With reference to FIG. 5, a method of calculating the extended drive stop time ΔtEX will be described.

【0089】単位時間当たりのDCモータ電流量τが小
さければDCモータの発熱量は小さく、単位時間当たり
のDCモータ電流量τが大きければDCモータの発熱量
も大きくなり、前述したDCモータへの電流入り込み不
足が発生する。そこで、単位時間当たりの拡張DCモー
タ電流量τEXが、所定値を超えた場合に、DCモータ駆
動動作を停止させる拡張駆動停止時間ΔtEXを設けるべ
く、単位時間当たりのDCモータ電流量閾値τthを予め
定めておく。
If the amount of DC motor current τ per unit time is small, the amount of heat generated by the DC motor is small. If the amount of DC motor current τ per unit time is large, the amount of heat generated by the DC motor is large. Insufficient current flow occurs. Therefore, in order to provide an extended drive stop time ΔtEX for stopping the DC motor drive operation when the extended DC motor current amount τEX per unit time exceeds a predetermined value, the DC motor current amount threshold τth per unit time is set in advance. I will decide.

【0090】単位時間当たりの拡張DCモータ電流量τ
EXで拡張駆動時間TEXだけ電流を流したときの電流総量
が拡張電流総量IEXであるが、閾値τthで拡張電流総量
IEXを流すために必要な時間をTEX+ΔtEXとしたとき
の時間ΔtEXを拡張駆動停止時間ΔtEXとする。即ち、
以下の式が成り立つ。 τth×(TEX+ΔtEX)=τEX×TEX=IEX TEX+ΔtEX=(τEX/τth)×TEX=IEX/τth ΔtEX=(τEX/τth)×TEX−TEX =((τEX/τth)−1)×TEX =IEX/τth−TEX ・・・(1) 従って、実行済みの一連の駆動動作及び後続する未実行
の一連の駆動動作における拡張電流総量IEXと拡張駆動
時間TEXとから拡張駆動停止時間ΔtEXを算出すること
もできるが、第1の実施の形態においては、実行済みの
一連の駆動動作及び後続する未実行の一連の駆動動作に
おける拡張駆動時間TEXと単位時間当たりの拡張DCモ
ータ電流量τEXとから、拡張駆動停止時間ΔtEXを算出
することとする。式(1)より、単位時間当たりの拡張
DCモータ電流量τEXが閾値τthより大きければΔtEX
>0となり、単位時間当たりの拡張DCモータ電流量τ
EXが閾値τthより小さければΔtEX<0となる。また、
単位時間当たりの拡張DCモータ電流量τEXが閾値τth
に等しければΔtEX=0となる。あるいは、IEX/τth
>TEXであればΔtEX>0となり、IEX/τth<TEXで
あればΔtEX<0となり、IEX/τth=TEXであればΔ
tEX=0となる、ということもできる。
Extended DC motor current amount τ per unit time
The total amount of current when the current flows for the extended drive time TEX in EX is the total amount of extended current IEX, but the time ΔtEX when the time required for flowing the total amount of extended current IEX with the threshold τth is TEX + ΔtEX is stopped for extended drive. Time ΔtEX. That is,
The following equation holds. τth × (TEX + ΔtEX) = τEX × TEX = IEX TEX + ΔtEX = (τEX / τth) × TEX = IEX / τth ΔtEX = (τEX / τth) × TEX−TEX = ((τEX / τth) −1) × TEX = IEX / τth−TEX (1) Therefore, the extended drive stop time ΔtEX may be calculated from the total extended current amount IEX and the extended drive time TEX in a series of executed drive operations and a series of subsequent unexecuted drive operations. However, in the first embodiment, the extended drive time TEX and the extended DC motor current amount τEX per unit time in the executed series of drive operations and the subsequent The stop time ΔtEX is calculated. From equation (1), if the extended DC motor current amount τEX per unit time is larger than the threshold value τth, ΔtEX
> 0, and the amount of extended DC motor current τ per unit time
If EX is smaller than the threshold τth, ΔtEX <0. Also,
The extended DC motor current amount τEX per unit time is the threshold τth
If it is equal to, ΔtEX = 0. Or IEX / τth
> TEX, ΔtEX> 0, IEX / τth <TEX, ΔtEX <0, and if IEX / τth = TEX, Δ
It can be said that tEX = 0.

【0091】そこで、算出された拡張駆動停止時間Δt
EXの値に応じてその後の駆動制御を行う。即ち、拡張駆
動停止時間ΔtEXが正の値(ΔtEX>0)であるかどう
かを判断し(ステップS108)、拡張駆動停止時間Δ
tEXが0以下の値(ΔtEX≦0)であるときは特にDC
モータ駆動停止時間を設けずに、通常通り、DCモータ
駆動停止してから直ちに後続の駆動動作に移行する(ス
テップS109)。
Thus, the calculated extended drive stop time Δt
The subsequent drive control is performed according to the value of EX. That is, it is determined whether the extended drive stop time ΔtEX is a positive value (ΔtEX> 0) (step S108), and the extended drive stop time Δ
When tEX is 0 or less (ΔtEX ≦ 0), DC
Without providing a motor drive stop time, the process immediately proceeds to the subsequent drive operation immediately after the DC motor drive is stopped (step S109).

【0092】一方、拡張駆動停止時間ΔtEXが正の値
(ΔtEX>0)であるときは、DCモータ駆動停止して
からその拡張駆動停止時間ΔtEXだけDCモータを停止
させ続ける(ステップS110)。拡張駆動停止時間Δ
tEXが経過した後は、後続の駆動動作に移行する。
On the other hand, if the extended drive stop time ΔtEX is a positive value (ΔtEX> 0), the DC motor drive is stopped and then the DC motor is stopped for the extended drive stop time ΔtEX (step S110). Extended drive stop time Δ
After the elapse of tEX, the operation shifts to the subsequent driving operation.

【0093】以上のように、本発明の第1の実施の形態
に係るDCモータ制御装置及び制御方法によれば、実行
済みの一連の駆動動作内容のみならず、後続する未実行
の一連の駆動動作内容をも考慮して算出した拡張駆動停
止時間ΔtEXの間にDCモータが冷却されるので、連続
動作によるDCモータの発熱に起因するDCモータへの
電流入り込み不足を防止することができる。また、実行
済みの一連の駆動動作内容のみを考慮して駆動停止時間
を算出する場合と比較すると、後続する未実行の一連の
駆動動作内容をも考慮して駆動停止時間を算出するの
で、不要な駆動停止時間を設けることや本来必要な駆動
停止時間を設け損なうことを回避することができる。従
って、全体としての駆動時間の増加をより小さく抑制す
ることができる。
As described above, according to the DC motor control apparatus and the control method according to the first embodiment of the present invention, not only a series of already executed driving operations but also a series of subsequent unexecuted driving operations Since the DC motor is cooled during the extended drive stop time ΔtEX calculated in consideration of the operation content, it is possible to prevent shortage of current from flowing into the DC motor due to heat generation of the DC motor due to continuous operation. Also, compared with the case where the drive stop time is calculated by considering only a series of executed drive operations, the drive stop time is calculated by also considering the subsequent series of unexecuted drive operations. It is possible to avoid providing a short drive stop time and failing to provide an originally necessary drive stop time. Therefore, the increase in the driving time as a whole can be suppressed smaller.

【0094】図6は、本発明の第2の実施の形態に係る
DCモータ制御装置の構成を示したブロック図である。
FIG. 6 is a block diagram showing a configuration of a DC motor control device according to the second embodiment of the present invention.

【0095】図6に示した本発明の第2の実施の形態に
係るDCモータ制御装置も、DCユニット6と、DCユ
ニット6に付加されたキャリッジ駆動停止時間算出ユニ
ット100とから構成されているが、キャリッジ駆動停
止時間算出ユニット100の構成が第1の実施の形態と
異なっている。DCユニット6の構成は、第1の実施の
形態と同様である。
The DC motor control device according to the second embodiment of the present invention shown in FIG. 6 also includes a DC unit 6 and a carriage drive stop time calculation unit 100 added to the DC unit 6. However, the configuration of the carriage drive stop time calculation unit 100 is different from that of the first embodiment. The configuration of the DC unit 6 is the same as in the first embodiment.

【0096】第1の実施の形態についての説明中に示し
た式(1)から分かるように、拡張駆動停止時間ΔtEX
は、単位時間当たりの拡張DCモータ電流量τEXを算出
しなくても、拡張電流総量IEX及び拡張駆動時間TEXの
値から算出することができる。そこで、本発明の第2の
実施の形態に係るDCモータ制御装置におけるキャリッ
ジ駆動停止時間算出ユニット100は、第1の実施の形
態におけるキャリッジ駆動停止時間算出ユニット100
から拡張単位時間電流量算出部116を除去した構成と
なっている。
As can be seen from the equation (1) shown in the description of the first embodiment, the extended drive stop time ΔtEX
Can be calculated from the values of the total extended current amount IEX and the extended drive time TEX without calculating the extended DC motor current amount τEX per unit time. Therefore, the carriage drive stop time calculation unit 100 in the DC motor control device according to the second embodiment of the present invention is different from the carriage drive stop time calculation unit 100 in the first embodiment.
Is a configuration in which the extension unit time current amount calculation unit 116 is removed from FIG.

【0097】即ち、本発明の第2の実施の形態に係るD
Cモータ制御装置におけるキャリッジ駆動停止時間算出
ユニット100は、タイマ6kからのタイマ割り込みタ
イミング、エンコーダ11からのエンコーダ割り込みタ
イミング、並びに、タイマ割り込みタイミング及びエン
コーダ割り込みタイミングにおけるD/Aコンバータ出
力値(以下、DAC出力値ともいう。)を記憶保持し、
それらを所定の駆動停止判断条件に応じて出力するバッ
ファメモリ101と、タイマ割り込みタイミング又はエ
ンコーダ割り込みタイミングの間隔とDAC出力値とか
ら、各割込みタイミングの間の各期間におけるDCモー
タ電流量を算出する電流量算出部102と、各期間にお
けるDCモータ電流量から、実行済みの一連の駆動動作
におけるDCモータ電流総量を算出する電流総量算出部
103と、タイマ割り込みタイミング又はエンコーダ割
り込みタイミングの間隔から、実行済みの一連の駆動動
作における駆動時間を算出する駆動時間算出部104
と、後続する未実行の一連の駆動動作の駆動制御データ
に基づき、後続する未実行の一連の駆動動作におけるD
Cモータ電流波形を予測形成する駆動電流波形予測形成
部111と、予測形成したDCモータ電流波形に基づ
き、後続する未実行の一連の駆動動作における後続DC
モータ電流総量を算出する後続電流総量算出部112
と、予測形成したDCモータ電流波形に基づき、後続す
る未実行の一連の駆動動作における後続駆動時間を算出
する後続駆動時間算出部113と、DCモータ電流総量
と後続DCモータ電流総量とを加算して拡張DCモータ
電流総量を算出する拡張電流総量算出部114と、駆動
時間と後続駆動時間とを加算して拡張駆動時間を算出す
る拡張駆動時間算出部115と、拡張駆動時間と拡張D
Cモータ電流総量とから、実行済みの一連の駆動動作と
後続する未実行の一連の駆動動作との間においてDCモ
ータ駆動を停止すべき拡張駆動停止時間を算出する拡張
駆動停止時間算出部117とから構成されている。
That is, the D according to the second embodiment of the present invention
The carriage drive stop time calculation unit 100 in the C motor control device includes a timer interrupt timing from the timer 6k, an encoder interrupt timing from the encoder 11, and a D / A converter output value (hereinafter, DAC) at the timer interrupt timing and the encoder interrupt timing. Output value).
The DC motor current amount in each period between each interrupt timing is calculated from the buffer memory 101 that outputs them according to a predetermined drive stop determination condition, the interval between the timer interrupt timing or the encoder interrupt timing, and the DAC output value. The current amount calculation unit 102, the total current amount calculation unit 103 that calculates the total DC motor current amount in a series of executed driving operations from the DC motor current amount in each period, and the execution based on the timer interrupt timing or the encoder interrupt timing. Drive time calculator 104 for calculating the drive time in a series of completed drive operations
And D in the subsequent series of unexecuted driving operations based on the drive control data of the subsequent series of unexecuted driving operations.
A drive current waveform prediction forming unit 111 that predicts and forms a C motor current waveform; and a subsequent DC in a subsequent series of unexecuted drive operations based on the predicted DC motor current waveform.
Subsequent total current amount calculation unit 112 that calculates the total amount of motor current
And a subsequent drive time calculation unit 113 that calculates a subsequent drive time in a series of subsequent unexecuted drive operations based on the predicted and formed DC motor current waveform, and adds the DC motor current total amount and the subsequent DC motor current total amount. An extended current total amount calculating unit 114 that calculates an extended DC motor current total amount, an extended driving time calculating unit 115 that adds a driving time and a subsequent driving time to calculate an extended driving time, an extended driving time and an extended D
An extended drive stop time calculation unit 117 for calculating an extended drive stop time for stopping the DC motor drive between a series of executed drive operations and a series of subsequent unexecuted drive operations from the total amount of C motor current; It is composed of

【0098】図7は、本発明の第2の実施の形態に係る
DCモータ制御装置の動作、即ち、本発明の第2の実施
の形態に係るDCモータ制御方法の手順を示したフロー
チャートである。
FIG. 7 is a flowchart showing the operation of the DC motor control device according to the second embodiment of the present invention, that is, the procedure of the DC motor control method according to the second embodiment of the present invention. .

【0099】本発明の第2の実施の形態に係るDCモー
タ制御装置の動作、即ち、本発明の第2の実施の形態に
係るDCモータ制御方法の手順は、拡張電流総量IEX及
び拡張駆動時間TEXを算出した後(ステップS11
5)、単位時間当たりの拡張DCモータ電流量τEXを算
出せずに、拡張電流総量IEX及び拡張駆動時間TEXの値
から拡張駆動停止時間ΔtEXを算出している(ステップ
S116)点を除くと、総て第1の実施の形態と同様で
ある。拡張電流総量IEX及び拡張駆動時間TEXの値から
直接、拡張駆動停止時間ΔtEXを算出できることは、上
述のように、第1の実施の形態についての説明中の式
(1)に示した通りである。
The operation of the DC motor control device according to the second embodiment of the present invention, that is, the procedure of the DC motor control method according to the second embodiment of the present invention is based on the total extended current amount IEX and the extended drive time. After calculating TEX (step S11
5) Except for calculating the extended DC motor current amount τEX per unit time and calculating the extended drive stop time ΔtEX from the value of the extended current total amount IEX and the value of the extended drive time TEX (step S116), All are the same as in the first embodiment. The fact that the extended drive stop time ΔtEX can be calculated directly from the values of the extended current total amount IEX and the extended drive time TEX is as described in the equation (1) in the description of the first embodiment, as described above. .

【0100】図8は、本発明の第3の実施の形態に係る
DCモータ制御装置の構成を示したブロック図である。
図8に示した本発明の第3の実施の形態に係るDCモー
タ制御装置も、DCユニット6と、DCユニット6に付
加されたキャリッジ駆動停止時間算出ユニット100と
から構成されているが、キャリッジ駆動停止時間算出ユ
ニット100の構成が第1の実施の形態と異なってい
る。DCユニット6の構成は、第1の実施の形態と同様
である。
FIG. 8 is a block diagram showing a configuration of a DC motor control device according to a third embodiment of the present invention.
The DC motor control device according to the third embodiment of the present invention shown in FIG. 8 also includes a DC unit 6 and a carriage drive stop time calculation unit 100 added to the DC unit 6, The configuration of the drive stop time calculation unit 100 is different from that of the first embodiment. The configuration of the DC unit 6 is the same as in the first embodiment.

【0101】前述した本発明の第1の実施の形態に係る
DCモータ制御装置及び制御方法においては、最初か
ら、実行済みの駆動動作及び後続する未実行の駆動動作
における駆動時間及び単位時間当たりのDCモータ電流
量に応じて拡張駆動停止時間を算出し、拡張駆動停止時
間を設定するか否かを判断していたが、本発明の第3の
実施の形態に係るDCモータ制御装置及び制御方法にお
いては、先ず、実行済みの駆動動作における駆動時間及
び単位時間当たりのDCモータ電流量に応じて駆動停止
時間を算出し、駆動停止時間を設定すべきであると判断
される場合にのみ、さらに、実行済みの駆動動作及び後
続する未実行の駆動動作における駆動時間及び単位時間
当たりのDCモータ電流量に応じて拡張駆動停止時間を
算出し、拡張駆動停止時間を設定するか否かを判断す
る。
In the above-described DC motor control device and control method according to the first embodiment of the present invention, the driving time per unit time and the driving time per unit time in the executed driving operation and the subsequent unexecuted driving operation from the beginning. The extended drive stop time is calculated according to the DC motor current amount, and it is determined whether to set the extended drive stop time. However, the DC motor control device and control method according to the third embodiment of the present invention In, first, the drive stop time is calculated according to the drive time in the executed drive operation and the DC motor current amount per unit time, and only when it is determined that the drive stop time should be set, Calculating the extended drive stop time according to the drive time and the DC motor current amount per unit time in the executed drive operation and the subsequent unexecuted drive operation, To determine whether or not to set a time.

【0102】即ち、本発明の第3の実施の形態に係るD
Cモータ制御装置及び制御方法は、先ず、実行済みの駆
動動作内容に応じて駆動停止時間を設定するか否かを判
断し、駆動停止時間を設定すべきであると判断される場
合には、さらに、実行済みの駆動動作内容及び後続する
未実行の駆動動作内容に応じて、駆動停止時間を設定す
ることが本当に必要であるか否かを判断するものであ
る。
That is, D according to the third embodiment of the present invention.
The C motor control device and the control method first determine whether to set the drive stop time according to the content of the executed drive operation, and when it is determined that the drive stop time should be set, Furthermore, it is determined whether or not it is really necessary to set the drive stop time in accordance with the content of the executed driving operation and the content of the subsequent unexecuted driving operation.

【0103】本発明の第3の実施の形態に係るDCモー
タ制御装置におけるキャリッジ駆動停止時間算出ユニッ
ト100は、タイマ6kからのタイマ割り込みタイミン
グ、エンコーダ11からのエンコーダ割り込みタイミン
グ、並びに、タイマ割り込みタイミング及びエンコーダ
割り込みタイミングにおけるD/Aコンバータ出力値
(以下、DAC出力値ともいう。)を記憶保持し、それ
らを所定の駆動停止判断条件に応じて出力するバッファ
メモリ101と、タイマ割り込みタイミング又はエンコ
ーダ割り込みタイミングの間隔とDAC出力値とから、
各割込みタイミングの間の各期間におけるDCモータ電
流量を算出する電流量算出部102と、各期間における
DCモータ電流量から、一連の駆動動作におけるDCモ
ータ電流総量を算出する電流総量算出部103と、タイ
マ割り込みタイミング又はエンコーダ割り込みタイミン
グの間隔から、一連の駆動動作における駆動時間を算出
する駆動時間算出部104と、DCモータ電流総量と駆
動時間とから、単位時間当たりのDCモータ電流量を算
出する単位時間電流量算出部105と、駆動時間と単位
時間当たりのDCモータ電流量とから、一の駆動動作と
これに後続する駆動動作との間においてDCモータ駆動
を停止すべき駆動停止時間を算出する駆動停止時間算出
部106と、後続する未実行の一連の駆動動作の駆動制
御データに基づき、上記駆動停止時間が正の値である場
合に、後続する未実行の一連の駆動動作におけるDCモ
ータ電流波形を予測形成する駆動電流波形予測形成部1
11と、予測形成したDCモータ電流波形に基づき、後
続する未実行の一連の駆動動作における後続DCモータ
電流総量を算出する後続電流総量算出部112と、予測
形成したDCモータ電流波形に基づき、後続する未実行
の一連の駆動動作における後続駆動時間を算出する後続
駆動時間算出部113と、DCモータ電流総量と後続D
Cモータ電流総量とを加算して拡張DCモータ電流総量
を算出する拡張電流総量算出部114と、駆動時間と後
続駆動時間とを加算して拡張駆動時間を算出する拡張駆
動時間算出部115と、拡張DCモータ電流総量と拡張
駆動時間とから、実行済みの一連の駆動動作及び後続す
る未実行の一連の駆動動作における単位時間当たりの拡
張DCモータ電流量を算出する拡張単位時間電流量算出
部116と、拡張駆動時間と単位時間当たりの拡張DC
モータ電流量とから、実行済みの一連の駆動動作と後続
する未実行の一連の駆動動作との間においてDCモータ
駆動を停止すべき拡張駆動停止時間を算出する拡張駆動
停止時間算出部117とから構成されている。
The carriage drive stop time calculation unit 100 in the DC motor control device according to the third embodiment of the present invention includes a timer interrupt timing from the timer 6k, an encoder interrupt timing from the encoder 11, and a timer interrupt timing. A buffer memory 101 that stores and holds a D / A converter output value (hereinafter, also referred to as a DAC output value) at an encoder interrupt timing and outputs them according to a predetermined drive stop determination condition; a timer interrupt timing or an encoder interrupt timing From the interval of and the DAC output value,
A current amount calculation unit 102 for calculating a DC motor current amount in each period between each interrupt timing, a current total amount calculation unit 103 for calculating a DC motor current amount in a series of driving operations from the DC motor current amount in each period; A drive time calculating unit 104 that calculates a drive time in a series of drive operations from an interval of a timer interrupt timing or an encoder interrupt timing, and calculates a DC motor current amount per unit time from the DC motor current total amount and the drive time. A unit time current amount calculation unit 105 calculates a drive stop time for stopping the DC motor drive between one drive operation and a subsequent drive operation from the drive time and the DC motor current amount per unit time. Based on the drive stop time calculation unit 106 and the drive control data of the subsequent series of unexecuted drive operations. If the drive stop time is a positive value, the drive current waveform prediction forming unit 1 for predicting forming a DC motor current waveform in a series of driving operations subsequent unexecuted
11, a subsequent current total amount calculation unit 112 that calculates a total amount of subsequent DC motor current in a series of subsequent unexecuted driving operations based on the predicted formed DC motor current waveform, and a subsequent current total amount calculation unit 112 based on the predicted formed DC motor current waveform A subsequent driving time calculation unit 113 for calculating a subsequent driving time in a series of unexecuted driving operations to be performed,
An extended current total amount calculating unit 114 for adding the total amount of C motor current to calculate an extended DC motor current total amount; an extended driving time calculating unit 115 for adding the driving time and the subsequent driving time to calculate an extended driving time; An extended unit time current amount calculation unit 116 that calculates an extended DC motor current amount per unit time in a series of executed driving operations and a series of subsequent unexecuted driving operations from the total amount of the extended DC motor current and the extended driving time. And extended drive time and extended DC per unit time
An extended drive stop time calculation unit 117 that calculates an extended drive stop time for stopping the DC motor drive between a series of executed drive operations and a series of subsequent unexecuted drive operations from the motor current amount. It is configured.

【0104】図9は、本発明の第3の実施の形態に係る
DCモータ制御装置の動作、即ち、本発明の第3の実施
の形態に係るDCモータ制御方法の手順を示したフロー
チャートである。
FIG. 9 is a flowchart showing the operation of the DC motor control device according to the third embodiment of the present invention, that is, the procedure of the DC motor control method according to the third embodiment of the present invention. .

【0105】図8及び図9を参照して、本発明の第3の
実施の形態に係るDCモータ制御装置の動作、即ち、本
発明の第3の実施の形態に係るDCモータ制御方法につ
いて説明する。
Referring to FIGS. 8 and 9, the operation of the DC motor control device according to the third embodiment of the present invention, that is, the DC motor control method according to the third embodiment of the present invention will be described. I do.

【0106】DCモータに対する起動指令信号によりD
Cモータが駆動され、これによりキャリッジの駆動が開
始された後、タイマ6kからのタイマ割り込み又はエン
コーダ11からのエンコーダ割り込みが発生する度ごと
に、それらのタイミング及び各タイミングにおけるDA
C出力値を、バッファメモリ101に記憶保持してお
く。
A start command signal to the DC motor causes D
After the C motor is driven and the carriage starts to be driven, every time a timer interrupt from the timer 6k or an encoder interrupt from the encoder 11 occurs, the timing and the DA at each timing are determined.
The C output value is stored and held in the buffer memory 101.

【0107】バッファメモリ101は、駆動動作開始
後、所定の駆動停止判断条件に応じて、記憶保持してい
たタイマ割り込みタイミング及びエンコーダ割り込みタ
イミング並びに各タイミングにおけるDAC出力値を出
力する(ステップS121)。所定の駆動停止判断条件
は、第1の実施の形態と同様に、例えば、タイマ割込み
が発生せず、かつ、エンコーダの逆転が検出されたと
き、又は、タイマ割込みが発生せず、かつ、エンコーダ
割込みが一定時間(例えば5ms)発生しないときとす
る。即ち、タイマ割込み制御からエンコーダ割込み制御
に移行した後に、エンコーダの逆転が検出されたとき、
又は、エンコーダ割込みが一定時間発生しないときは、
DCモータ駆動停止判断がされたものとして、バッファ
メモリ101は、上記各タイミング及びDAC出力値を
出力する。
After the start of the driving operation, the buffer memory 101 outputs the timer interrupt timing and the encoder interrupt timing stored therein and the DAC output value at each timing according to predetermined driving stop determination conditions (step S121). As in the first embodiment, the predetermined drive stop determination condition is, for example, that no timer interrupt occurs and that a reverse rotation of the encoder is detected, or that no timer interrupt occurs, and It is assumed that an interrupt does not occur for a predetermined time (for example, 5 ms). That is, when the encoder reverse rotation is detected after the transition from the timer interrupt control to the encoder interrupt control,
Or, if the encoder interrupt does not occur for a certain period of time,
Assuming that the DC motor drive stop has been determined, the buffer memory 101 outputs the above-described timings and DAC output values.

【0108】DCモータ駆動停止判断がされ、タイマ割
り込みタイミング及びエンコーダ割り込みタイミング並
びに各タイミングにおけるDAC出力値が出力される
と、電流量算出部102,電流総量算出部103,DC
モータ駆動時間算出部104,単位時間電流量算出部1
05の一連の動作により、一連の駆動動作におけるDC
モータ駆動時間及びDCモータ電流総量並びに単位時間
当たりのDCモータ電流量τを算出する(ステップS1
22)。
When it is determined that the DC motor is stopped, and the timer interrupt timing, the encoder interrupt timing, and the DAC output value at each timing are output, the current amount calculation unit 102, the total current amount calculation unit 103, the DC
Motor drive time calculation unit 104, unit time current amount calculation unit 1
05 in a series of driving operations,
The motor driving time, the total amount of the DC motor current, and the DC motor current amount τ per unit time are calculated (step S1).
22).

【0109】一連の駆動動作におけるDCモータ駆動時
間及びDCモータ電流総量の算出方法は、第1の実施の
形態において説明した通りである。尚、ここで算出した
DCモータ駆動時間、DCモータ電流総量は、拡張電流
総量算出部114,拡張駆動時間算出部115にそれぞ
れ保持しておく。また、一連の駆動動作における単位時
間当たりのDCモータ電流量τは、第1の実施の形態に
おいて説明した拡張単位時間電流量τEX(単位時間当た
りの拡張DCモータ電流量τEX)と同様の算出方法によ
り算出する。
The method of calculating the DC motor drive time and the DC motor current total amount in a series of drive operations is as described in the first embodiment. The calculated DC motor drive time and total DC motor current amount are stored in the extended current total amount calculation unit 114 and the extended drive time calculation unit 115, respectively. The DC motor current amount τ per unit time in a series of drive operations is calculated in the same manner as the extended unit time current amount τEX (extended DC motor current amount τEX per unit time) described in the first embodiment. It is calculated by:

【0110】単位時間当たりのDCモータ電流量τ(単
位時間電流量τ)を算出した後、一連の駆動動作におけ
る駆動時間Ttotalと単位時間当たりのDCモータ電流
量τとから、DCモータ駆動停止時間Δtを駆動停止時
間算出部106により算出する(ステップS123)。
DCモータ駆動停止時間Δtは、第1の実施の形態にお
いて説明した拡張駆動停止時間ΔtEXと同様の算出方法
により算出する。尚、DCモータ駆動停止時間Δtの算
出の際に用いる単位時間当たりのDCモータ電流量閾値
τthは、通常、拡張駆動停止時間ΔtEXの算出の際に用
いる単位時間当たりのDCモータ電流量閾値τthと同一
の値とするが、異なる値としてもよい。
After calculating the DC motor current amount τ per unit time (unit time current amount τ), the DC motor drive stop time is calculated from the drive time Ttotal in a series of drive operations and the DC motor current amount τ per unit time. Δt is calculated by the drive stop time calculation unit 106 (step S123).
The DC motor drive stop time Δt is calculated by the same calculation method as the extended drive stop time ΔtEX described in the first embodiment. Note that the DC motor current amount threshold τth per unit time used in calculating the DC motor drive stop time Δt is generally equal to the DC motor current amount threshold τth per unit time used in calculating the extended drive stop time ΔtEX. The values are the same, but may be different.

【0111】そして、算出されたDCモータ駆動停止時
間Δtの値に応じてその後の駆動制御を行う。即ち、D
Cモータ駆動停止時間Δtが正の値(Δt>0)である
かどうかを判断し(ステップS124)、DCモータ駆
動停止時間Δtが0以下の値(Δt≦0)であるときは
特にDCモータ駆動停止時間を設けずに、通常通り、D
Cモータ駆動停止してから直ちに後続の駆動動作に移行
する(ステップS125)。
Then, the subsequent drive control is performed according to the value of the calculated DC motor drive stop time Δt. That is, D
It is determined whether the C motor drive stop time Δt is a positive value (Δt> 0) (step S124). If the DC motor drive stop time Δt is a value equal to or less than 0 (Δt ≦ 0), the DC motor Without the drive stop time, D
Immediately after the driving of the C motor is stopped, the process proceeds to the subsequent driving operation (step S125).

【0112】一方、DCモータ駆動停止時間Δtが正の
値(Δt>0)であるときは、直ちにDCモータ駆動停
止時間を設けることはせずに、実行済みの一連の駆動動
作内容のみならず、後続する未実行の一連の駆動動作内
容をも考慮した上で、DCモータ駆動停止時間を設ける
ことが必要であるか否かを判断すべく、拡張駆動停止時
間ΔtEXを算出するための動作手順を開始する。
On the other hand, when the DC motor drive stop time Δt is a positive value (Δt> 0), the DC motor drive stop time is not immediately provided, and not only the completed series of drive operation contents but also An operation procedure for calculating the extended drive stop time ΔtEX in order to determine whether or not it is necessary to provide a DC motor drive stop time in consideration of a series of subsequent unexecuted drive operations. To start.

【0113】即ち、DCモータ駆動停止時間Δtが正の
値(Δt>0)であるときは、先ず、後続する未実行の
一連の駆動動作の駆動制御データに基づき、後続する未
実行の一連の駆動動作におけるDCモータ電流波形を駆
動電流波形予測形成部111により予測形成する(ステ
ップS126)。
That is, when the DC motor drive stop time Δt is a positive value (Δt> 0), first, based on the drive control data of the subsequent unexecuted series of drive operations, the subsequent unexecuted series of A DC motor current waveform in the driving operation is predicted and formed by the driving current waveform prediction forming unit 111 (step S126).

【0114】後続する未実行の一連の駆動動作における
DCモータ電流波形の予測形成後、後続電流総量算出部
112,後続駆動時間算出部113は、予測形成された
DCモータ電流波形に基づき、後続する未実行の一連の
駆動動作における後続電流総量、後続駆動時間をそれぞ
れ算出する(ステップS127)。
After the predictive formation of the DC motor current waveform in the subsequent series of unexecuted drive operations, the subsequent current total amount calculating unit 112 and the subsequent driving time calculating unit 113 perform the following based on the predicted and formed DC motor current waveform. The subsequent current total amount and the subsequent driving time in a series of unexecuted driving operations are calculated (step S127).

【0115】後続電流総量及び後続駆動時間の算出後、
拡張電流総量算出部114は、DCモータ電流総量と後
続電流総量とを加算することにより拡張電流総量IEXを
算出し、拡張駆動時間算出部115は、駆動時間と後続
駆動時間とを加算することにより拡張駆動時間TEXを算
出する(ステップS128)。
After calculating the total amount of the subsequent current and the subsequent driving time,
The extended current total amount calculation unit 114 calculates the extended current total amount IEX by adding the DC motor current total amount and the subsequent current total amount, and the extended drive time calculation unit 115 adds the drive time and the subsequent drive time. The extended drive time TEX is calculated (step S128).

【0116】拡張電流総量IEX及び拡張駆動時間TEXの
算出後、拡張電流総量IEX及び拡張駆動時間TEXから、
実行済みの一連の駆動動作及び後続する未実行の一連の
駆動動作における単位時間当たりの拡張DCモータ電流
量τEX=IEX/TEXを算出する(ステップS129)。
After calculating the total extended current amount IEX and the extended drive time TEX, from the total extended current amount IEX and the extended drive time TEX,
An extended DC motor current amount τEX = IEX / TEX per unit time in a series of executed driving operations and a series of subsequent unexecuted driving operations is calculated (step S129).

【0117】単位時間当たりの拡張DCモータ電流量τ
EXを算出した後、実行済みの一連の駆動動作及び後続す
る未実行の一連の駆動動作における拡張駆動時間TEXと
単位時間当たりの拡張DCモータ電流量τEXとから、拡
張駆動停止時間ΔtEXを拡張駆動停止時間算出部117
により算出する(ステップS129)。拡張駆動停止時
間ΔtEXの算出方法は、第1の実施の形態において説明
した通りである。
Extended DC motor current τ per unit time
After calculating EX, the extended drive stop time ΔtEX is extended from the extended drive time TEX and the extended DC motor current amount τEX per unit time in a series of executed drive operations and a series of subsequent unexecuted drive operations. Stop time calculation unit 117
(Step S129). The method of calculating the extended drive stop time ΔtEX is as described in the first embodiment.

【0118】そして、算出された拡張駆動停止時間Δt
EXの値に応じてその後の駆動制御を行う。即ち、拡張駆
動停止時間ΔtEXが正の値(ΔtEX>0)であるかどう
かを判断し(ステップS131)、拡張駆動停止時間Δ
tEXが0以下の値(ΔtEX≦0)であるときは特にDC
モータ駆動停止時間を設けずに、通常通り、DCモータ
駆動停止してから直ちに後続の駆動動作に移行する(ス
テップS125)。
Then, the calculated extended drive stop time Δt
The subsequent drive control is performed according to the value of EX. That is, it is determined whether the extended drive stop time ΔtEX is a positive value (ΔtEX> 0) (step S131), and the extended drive stop time ΔtEX is determined.
When tEX is 0 or less (ΔtEX ≦ 0), DC
Without providing a motor drive stop time, the process immediately proceeds to the subsequent drive operation immediately after the DC motor drive is stopped (step S125).

【0119】一方、拡張駆動停止時間ΔtEXが正の値
(ΔtEX>0)であるときは、DCモータ駆動停止して
からその拡張駆動停止時間ΔtEXだけDCモータを停止
させ続ける(ステップS132)。拡張駆動停止時間Δ
tEXが経過した後は、後続の駆動動作に移行する。
On the other hand, when the extended drive stop time ΔtEX is a positive value (ΔtEX> 0), the DC motor drive is stopped, and then the DC motor is stopped for the extended drive stop time ΔtEX (step S132). Extended drive stop time Δ
After the elapse of tEX, the operation shifts to the subsequent driving operation.

【0120】以上のように、本発明の第3の実施の形態
に係るDCモータ制御装置及び制御方法によれば、実行
済みの一連の駆動動作内容のみならず、後続する未実行
の一連の駆動動作内容をも考慮して算出した拡張駆動停
止時間ΔtEXの間にDCモータが冷却されるので、連続
動作によるDCモータの発熱に起因するDCモータへの
電流入り込み不足を防止することができる。また、実行
済みの一連の駆動動作内容のみを考慮して駆動停止時間
を算出する場合と比較すると、後続する未実行の一連の
駆動動作内容をも考慮して駆動停止時間を算出するの
で、不要な駆動停止時間を設けることや本来必要な駆動
停止時間を設け損なうことを回避することができる。従
って、全体としての駆動時間の増加をより小さく抑制す
ることができる。
As described above, according to the DC motor control apparatus and the control method according to the third embodiment of the present invention, not only a series of already executed driving operations but also a series of subsequent unexecuted driving operations Since the DC motor is cooled during the extended drive stop time ΔtEX calculated in consideration of the operation content, it is possible to prevent shortage of current from flowing into the DC motor due to heat generation of the DC motor due to continuous operation. Also, compared with the case where the drive stop time is calculated by considering only a series of executed drive operations, the drive stop time is calculated by also considering the subsequent series of unexecuted drive operations. It is possible to avoid providing a short drive stop time and failing to provide an originally necessary drive stop time. Therefore, the increase in the driving time as a whole can be suppressed smaller.

【0121】図10は、本発明の第4の実施の形態に係
るDCモータ制御装置の構成を示したブロック図であ
る。
FIG. 10 is a block diagram showing a configuration of a DC motor control device according to a fourth embodiment of the present invention.

【0122】図10に示した本発明の第4の実施の形態
に係るDCモータ制御装置も、DCユニット6と、DC
ユニット6に付加されたキャリッジ駆動停止時間算出ユ
ニット100とから構成されている。キャリッジ駆動停
止時間算出ユニット100の構成は、本発明の第3の実
施の形態に係るDCモータ制御装置におけるキャリッジ
駆動停止時間算出ユニット100の構成に類似している
が、一部が異なっている。DCユニット6の構成は、第
1の実施の形態と同様である。
A DC motor control device according to the fourth embodiment of the present invention shown in FIG.
And a carriage drive stop time calculation unit 100 added to the unit 6. The configuration of the carriage drive stop time calculation unit 100 is similar to the configuration of the carriage drive stop time calculation unit 100 in the DC motor control device according to the third embodiment of the present invention, but is partially different. The configuration of the DC unit 6 is the same as in the first embodiment.

【0123】第1の実施の形態についての説明中に示し
た式(1)から分かるように、DCモータ駆動停止時間
Δt,拡張駆動停止時間ΔtEXは、単位時間当たりのD
Cモータ電流量τ,拡張DCモータ電流量τEXを算出し
なくても、DCモータ電流総量Itotal及び駆動時間Tt
otal,拡張電流総量IEX及び拡張駆動時間TEXの値から
それぞれ算出することができる。そこで、本発明の第4
の実施の形態に係るDCモータ制御装置におけるキャリ
ッジ駆動停止時間算出ユニット100は、第3の実施の
形態におけるキャリッジ駆動停止時間算出ユニット10
0から単位時間電流量算出部105及び拡張単位時間電
流量算出部116を除去した構成となっている。
As can be seen from the equation (1) shown in the description of the first embodiment, the DC motor drive stop time Δt and the extended drive stop time ΔtEX are expressed by D per unit time.
Even if the C motor current amount τ and the extended DC motor current amount τEX are not calculated, the DC motor current total amount Itotal and the driving time Tt
otal, the total amount of extension current IEX, and the value of the extension drive time TEX. Therefore, the fourth aspect of the present invention
The carriage drive stop time calculation unit 100 in the DC motor control device according to the third embodiment is different from the carriage drive stop time calculation unit 10 in the third embodiment.
From 0, the unit time current amount calculation unit 105 and the extended unit time current amount calculation unit 116 are removed.

【0124】本発明の第4の実施の形態に係るDCモー
タ制御装置におけるキャリッジ駆動停止時間算出ユニッ
ト100は、タイマ6kからのタイマ割り込みタイミン
グ、エンコーダ11からのエンコーダ割り込みタイミン
グ、並びに、タイマ割り込みタイミング及びエンコーダ
割り込みタイミングにおけるD/Aコンバータ出力値
(以下、DAC出力値ともいう。)を記憶保持し、それ
らを所定の駆動停止判断条件に応じて出力するバッファ
メモリ101と、タイマ割り込みタイミング又はエンコ
ーダ割り込みタイミングの間隔とDAC出力値とから、
各割込みタイミングの間の各期間におけるDCモータ電
流量を算出する電流量算出部102と、各期間における
DCモータ電流量から、一連の駆動動作におけるDCモ
ータ電流総量を算出する電流総量算出部103と、タイ
マ割り込みタイミング又はエンコーダ割り込みタイミン
グの間隔から、一連の駆動動作における駆動時間を算出
する駆動時間算出部104と、DCモータ電流総量と駆
動時間とから、一の駆動動作とこれに後続する駆動動作
との間においてDCモータ駆動を停止すべき駆動停止時
間を算出する駆動停止時間算出部106と、後続する未
実行の一連の駆動動作の駆動制御データに基づき、上記
駆動停止時間が正の値である場合に、後続する未実行の
一連の駆動動作におけるDCモータ電流波形を予測形成
する駆動電流波形予測形成部111と、予測形成したD
Cモータ電流波形に基づき、後続する未実行の一連の駆
動動作における後続DCモータ電流総量を算出する後続
電流総量算出部112と、予測形成したDCモータ電流
波形に基づき、後続する未実行の一連の駆動動作におけ
る後続駆動時間を算出する後続駆動時間算出部113
と、DCモータ電流総量と後続DCモータ電流総量とを
加算して拡張DCモータ電流総量を算出する拡張電流総
量算出部114と、駆動時間と後続駆動時間とを加算し
て拡張駆動時間を算出する拡張駆動時間算出部115
と、拡張DCモータ電流総量と拡張駆動時間とから、実
行済みの一連の駆動動作と後続する未実行の一連の駆動
動作との間においてDCモータ駆動を停止すべき拡張駆
動停止時間を算出する拡張駆動停止時間算出部117と
から構成されている。
The carriage drive stop time calculation unit 100 in the DC motor control device according to the fourth embodiment of the present invention includes a timer interrupt timing from the timer 6k, an encoder interrupt timing from the encoder 11, and a timer interrupt timing. A buffer memory 101 that stores and holds a D / A converter output value (hereinafter, also referred to as a DAC output value) at an encoder interrupt timing and outputs them according to a predetermined drive stop determination condition; a timer interrupt timing or an encoder interrupt timing From the interval of and the DAC output value,
A current amount calculation unit 102 for calculating a DC motor current amount in each period between each interrupt timing, a current total amount calculation unit 103 for calculating a DC motor current amount in a series of driving operations from the DC motor current amount in each period; A drive time calculation unit 104 that calculates a drive time in a series of drive operations from an interval of a timer interrupt timing or an encoder interrupt timing; and one drive operation and a subsequent drive operation based on the DC motor current total amount and the drive time. And a drive stop time calculating unit 106 that calculates a drive stop time for stopping the DC motor drive, and a drive stop time having a positive value based on drive control data of a series of subsequent unexecuted drive operations. In some cases, a drive current waveform that predicts and forms a DC motor current waveform in a subsequent series of unexecuted drive operations A measuring section 111, predicted form D
A subsequent current total amount calculation unit 112 that calculates the total amount of the subsequent DC motor current in the subsequent series of unexecuted driving operations based on the C motor current waveform, and a series of subsequent unexecuted series based on the predicted formed DC motor current waveform. Subsequent driving time calculation unit 113 that calculates the subsequent driving time in the driving operation
And an extended current total amount calculation unit 114 that calculates the total amount of extended DC motor current by adding the total amount of DC motor current and the total amount of subsequent DC motor current, and calculates an extended drive time by adding the drive time and the subsequent drive time. Extended drive time calculation unit 115
And an extended drive stop time for stopping the DC motor drive between a series of executed drive operations and a series of subsequent unexecuted drive operations from the total amount of extended DC motor current and the extended drive time And a drive stop time calculation unit 117.

【0125】図11は、本発明の第4の実施の形態に係
るDCモータ制御装置の動作、即ち、本発明の第4の実
施の形態に係るDCモータ制御方法の手順を示したフロ
ーチャートである。
FIG. 11 is a flowchart showing the operation of the DC motor control device according to the fourth embodiment of the present invention, that is, the procedure of the DC motor control method according to the fourth embodiment of the present invention. .

【0126】本発明の第4の実施の形態に係るDCモー
タ制御装置の動作、即ち、本発明の第4の実施の形態に
係るDCモータ制御方法の手順は、DCモータ電流総量
Itotal及び駆動時間Ttotalを算出した後、単位時間当
たりのDCモータ電流量τを算出せずに、DCモータ電
流総量Itotal及び駆動時間Ttotalの値からDCモータ
駆動停止時間Δtを算出している(ステップS142,
S143)点、拡張電流総量IEX及び拡張駆動時間TEX
を算出した後(ステップS148)、単位時間当たりの
拡張DCモータ電流量τEXを算出せずに、拡張電流総量
IEX及び拡張駆動時間TEXの値から拡張駆動停止時間Δ
tEXを算出している(ステップS149)点を除くと、
総て第3の実施の形態と同様である。DCモータ電流総
量Itotal及び駆動時間Ttotalの値から直接、DCモー
タ駆動停止時間Δtを算出できること、拡張電流総量I
EX及び拡張駆動時間TEXの値から直接、拡張駆動停止時
間ΔtEXを算出できることは、上述のように、第1の実
施の形態についての説明中の式(1)に示した通りであ
る。
The operation of the DC motor control device according to the fourth embodiment of the present invention, that is, the procedure of the DC motor control method according to the fourth embodiment of the present invention is based on the total DC motor current amount Itotal and the driving time. After calculating Ttotal, the DC motor driving stop time Δt is calculated from the DC motor current total amount Itotal and the driving time Ttotal without calculating the DC motor current amount τ per unit time (step S142,
S143) Point, extended current total amount IEX and extended drive time TEX
Is calculated (step S148), the extended DC motor current amount τEX per unit time is not calculated, and the extended drive stop time Δ is calculated from the value of the extended current total amount IEX and the extended drive time TEX.
Except for calculating tEX (step S149),
All are the same as in the third embodiment. The DC motor drive stop time Δt can be calculated directly from the values of the total DC motor current Itotal and the drive time Ttotal.
The fact that the extended drive stop time ΔtEX can be directly calculated from the values of EX and the extended drive time TEX is as described in the equation (1) in the description of the first embodiment, as described above.

【0127】図12は、本発明の第5の実施の形態に係
るDCモータ制御装置の構成を示したブロック図であ
る。図12に示した本発明の第5の実施の形態に係るD
Cモータ制御装置も、DCユニット6と、DCユニット
6に付加されたキャリッジ駆動停止時間算出ユニット1
00とから構成されている。キャリッジ駆動停止時間算
出ユニット100の構成は、本発明の第1の実施の形態
に係るDCモータ制御装置におけるキャリッジ駆動停止
時間算出ユニット100の構成に類似しているが、一部
が異なっている。DCユニット6の構成は、第1の実施
の形態と同様である。
FIG. 12 is a block diagram showing a configuration of a DC motor control device according to a fifth embodiment of the present invention. D according to the fifth embodiment of the present invention shown in FIG.
The C motor control device also includes a DC unit 6 and a carriage drive stop time calculation unit 1 added to the DC unit 6.
00. The configuration of the carriage drive stop time calculation unit 100 is similar to the configuration of the carriage drive stop time calculation unit 100 in the DC motor control device according to the first embodiment of the present invention, but is partially different. The configuration of the DC unit 6 is the same as in the first embodiment.

【0128】本発明の第5の実施の形態に係るDCモー
タ制御装置におけるキャリッジ駆動停止時間算出ユニッ
ト100は、タイマ6kからのタイマ割り込みタイミン
グ又はエンコーダ11からのエンコーダ割り込みタイミ
ングの間隔、並びに、タイマ割り込みタイミング及びエ
ンコーダ割り込みタイミングにおけるDAC出力値か
ら、各割込みタイミングの間の各期間におけるDCモー
タ電流量を算出する電流量算出部102と、各期間にお
けるDCモータ電流量から、一連の駆動動作におけるD
Cモータ電流総量を算出する電流総量算出部103と、
タイマ割り込みタイミング又はエンコーダ割り込みタイ
ミングの間隔から、一連の駆動動作における駆動時間を
算出するDCモータ駆動時間算出部104と、DCモー
タ電流総量と駆動時間とをタイマ割り込みタイミング又
はエンコーダ割り込みタイミングごとに更新して記憶保
持し、それらを所定の駆動停止判断条件に応じて出力す
るバッファメモリ101と、後続する未実行の一連の駆
動動作の駆動制御データに基づき、所定の駆動停止判断
条件に応じて、後続する未実行の一連の駆動動作におけ
るDCモータ電流波形を予測形成する駆動電流波形予測
形成部111と、予測形成したDCモータ電流波形に基
づき、後続する未実行の一連の駆動動作における後続D
Cモータ電流総量を算出する後続電流総量算出部112
と、予測形成したDCモータ電流波形に基づき、後続す
る未実行の一連の駆動動作における後続駆動時間を算出
する後続駆動時間算出部113と、DCモータ電流総量
と後続DCモータ電流総量とを加算して拡張DCモータ
電流総量を算出する拡張電流総量算出部114と、駆動
時間と後続駆動時間とを加算して拡張駆動時間を算出す
る拡張駆動時間算出部115と、拡張DCモータ電流総
量と拡張駆動時間とから、実行済みの一連の駆動動作及
び後続する未実行の一連の駆動動作における単位時間当
たりの拡張DCモータ電流量を算出する拡張単位時間電
流量算出部116と、拡張駆動時間と単位時間当たりの
拡張DCモータ電流量とから、実行済みの一連の駆動動
作と後続する未実行の一連の駆動動作との間においてD
Cモータ駆動を停止すべき拡張駆動停止時間を算出する
拡張駆動停止時間算出部117とから構成されている。
The carriage drive stop time calculation unit 100 in the DC motor control device according to the fifth embodiment of the present invention is configured to control the timer interrupt timing from the timer 6k or the encoder interrupt timing from the encoder 11, and the timer interrupt timing. The current amount calculation unit 102 calculates the DC motor current amount in each period between the interrupt timings from the DAC output value at the timing and the encoder interrupt timing.
A total current amount calculator 103 for calculating the total amount of C motor current;
A DC motor drive time calculation unit 104 that calculates a drive time in a series of drive operations from an interval of the timer interrupt timing or the encoder interrupt timing, and updates the DC motor current total amount and the drive time for each timer interrupt timing or encoder interrupt timing. The buffer memory 101 outputs and stores them in accordance with a predetermined drive stop determination condition. Current waveform prediction forming unit 111 for predicting and forming a DC motor current waveform in a series of unexecuted driving operations to be performed, and a subsequent D in a subsequent series of unexecuted driving operations based on the predicted and formed DC motor current waveform.
Subsequent total current amount calculation unit 112 for calculating the total amount of C motor current
And a subsequent drive time calculating unit 113 that calculates a subsequent drive time in a series of subsequent unexecuted drive operations based on the predicted and formed DC motor current waveform, and adds the DC motor current total amount and the subsequent DC motor current total amount. Extended current calculating unit 114 for calculating the total extended DC motor current, extended driving time calculating unit 115 for adding the driving time and the subsequent driving time to calculate the extended driving time, total extended DC motor current and the extended driving An extended unit time current amount calculation unit 116 for calculating an extended DC motor current amount per unit time in a series of executed driving operations and a series of subsequent unexecuted driving operations from the time, an extended driving time and a unit time Between the executed series of driving operations and the subsequent series of unexecuted driving operations,
And an extended drive stop time calculation unit 117 for calculating an extended drive stop time for stopping the C motor drive.

【0129】上述のように、本発明の第1の実施の形態
に係るDCモータ制御装置においては、タイマ割り込み
タイミング、エンコーダ割り込みタイミング、各割り込
みタイミングにおけるDAC出力値を記憶保持してお
き、所定の駆動停止判断条件に応じて、DCモータ電流
量、DCモータ電流総量、駆動時間を算出している。
As described above, in the DC motor control device according to the first embodiment of the present invention, the timer interrupt timing, the encoder interrupt timing, and the DAC output value at each interrupt timing are stored and held. The DC motor current amount, the DC motor current total amount, and the drive time are calculated according to the drive stop determination condition.

【0130】これに対し、本発明の第5の実施の形態に
係るDCモータ制御装置においては、駆動動作開始後、
電流量算出部102,電流総量算出部103,DCモー
タ駆動時間算出部104によりDCモータ電流量、DC
モータ電流総量、駆動時間を各割込みタイミングごとに
計算し、DCモータ電流総量、駆動時間を各割込みタイ
ミングごとに更新してバッファメモリ101に記憶保持
しておく。そして、所定の駆動停止判断条件に応じて、
DCモータ電流総量がバッファメモリ101から拡張電
流総量算出部114に出力されて保持され、駆動時間が
バッファメモリ101から拡張駆動時間算出部115に
出力されて保持される。
On the other hand, in the DC motor control device according to the fifth embodiment of the present invention, after starting the driving operation,
The amount of DC motor current, the amount of DC current,
The total motor current and the drive time are calculated for each interrupt timing, and the total DC motor current and the drive time are updated for each interrupt timing and stored in the buffer memory 101. Then, according to a predetermined drive stop determination condition,
The total DC motor current is output from the buffer memory 101 to the extended current total calculator 114 and held, and the drive time is output from the buffer memory 101 to the extended drive time calculator 115 and held.

【0131】一方、後続する未実行の一連の駆動動作の
駆動制御データに基づき、DCモータ駆動停止判断に応
じて、後続する未実行の一連の駆動動作におけるDCモ
ータ電流波形を駆動電流波形予測形成部111により予
測形成する動作手順以後の各動作手順は、第1の実施の
形態と同様である。従って、本発明の第5の実施の形態
に係るDCモータ制御方法の手順を示したフローチャー
トは、図2に示したフローチャートと同様のものとな
る。
On the other hand, based on the drive control data of the subsequent series of unexecuted driving operations, the DC motor current waveform in the subsequent series of unexecuted driving operations is formed in accordance with the drive motor waveform prediction formation in accordance with the DC motor drive stop determination. Each operation procedure after the operation procedure predicted and formed by the unit 111 is the same as in the first embodiment. Therefore, the flowchart showing the procedure of the DC motor control method according to the fifth embodiment of the present invention is similar to the flowchart shown in FIG.

【0132】図13は、本発明の第6の実施の形態に係
るDCモータ制御装置の構成を示したブロック図であ
る。図13に示した本発明の第6の実施の形態に係るD
Cモータ制御装置も、DCユニット6と、DCユニット
6に付加されたキャリッジ駆動停止時間算出ユニット1
00とから構成されている。キャリッジ駆動停止時間算
出ユニット100の構成は、本発明の第2の実施の形態
に係るDCモータ制御装置におけるキャリッジ駆動停止
時間算出ユニット100の構成に類似しているが、一部
が異なっている。DCユニット6の構成は、第1の実施
の形態と同様である。
FIG. 13 is a block diagram showing a configuration of a DC motor control device according to a sixth embodiment of the present invention. D according to the sixth embodiment of the present invention shown in FIG.
The C motor control device also includes a DC unit 6 and a carriage drive stop time calculation unit 1 added to the DC unit 6.
00. The configuration of the carriage drive stop time calculation unit 100 is similar to the configuration of the carriage drive stop time calculation unit 100 in the DC motor control device according to the second embodiment of the present invention, but is partially different. The configuration of the DC unit 6 is the same as in the first embodiment.

【0133】本発明の第6の実施の形態に係るDCモー
タ制御装置におけるキャリッジ駆動停止時間算出ユニッ
ト100は、タイマ6kからのタイマ割り込みタイミン
グ又はエンコーダ11からのエンコーダ割り込みタイミ
ングの間隔、並びに、タイマ割り込みタイミング及びエ
ンコーダ割り込みタイミングにおけるDAC出力値か
ら、各割込みタイミングの間の各期間におけるDCモー
タ電流量を算出する電流量算出部102と、各期間にお
けるDCモータ電流量から、一連の駆動動作におけるD
Cモータ電流総量を算出する電流総量算出部103と、
タイマ割り込みタイミング又はエンコーダ割り込みタイ
ミングの間隔から、一連の駆動動作における駆動時間を
算出するDCモータ駆動時間算出部104と、DCモー
タ電流総量と駆動時間とをタイマ割り込みタイミング又
はエンコーダ割り込みタイミングごとに更新して記憶保
持し、それらを所定の駆動停止判断条件に応じて出力す
るバッファメモリ101と、後続する未実行の一連の駆
動動作の駆動制御データに基づき、所定の駆動停止判断
条件に応じて、後続する未実行の一連の駆動動作におけ
るDCモータ電流波形を予測形成する駆動電流波形予測
形成部111と、予測形成したDCモータ電流波形に基
づき、後続する未実行の一連の駆動動作における後続D
Cモータ電流総量を算出する後続電流総量算出部112
と、予測形成したDCモータ電流波形に基づき、後続す
る未実行の一連の駆動動作における後続駆動時間を算出
する後続駆動時間算出部113と、DCモータ電流総量
と後続DCモータ電流総量とを加算して拡張DCモータ
電流総量を算出する拡張電流総量算出部114と、駆動
時間と後続駆動時間とを加算して拡張駆動時間を算出す
る拡張駆動時間算出部115と、拡張DCモータ電流総
量と拡張駆動時間とから、実行済みの一連の駆動動作と
後続する未実行の一連の駆動動作との間においてDCモ
ータ駆動を停止すべき拡張駆動停止時間を算出する拡張
駆動停止時間算出部117とから構成されている。
The carriage drive stop time calculation unit 100 in the DC motor control device according to the sixth embodiment of the present invention is capable of controlling the timer interrupt timing from the timer 6k or the encoder interrupt timing from the encoder 11 and the timer interrupt timing. The current amount calculation unit 102 calculates the DC motor current amount in each period between the interrupt timings from the DAC output value at the timing and the encoder interrupt timing.
A total current amount calculator 103 for calculating the total amount of C motor current;
A DC motor drive time calculation unit 104 that calculates a drive time in a series of drive operations from an interval of the timer interrupt timing or the encoder interrupt timing, and updates the DC motor current total amount and the drive time for each timer interrupt timing or encoder interrupt timing. The buffer memory 101 outputs and stores them in accordance with a predetermined drive stop determination condition. Current waveform prediction forming unit 111 for predicting and forming a DC motor current waveform in a series of unexecuted driving operations to be performed, and a subsequent D in a subsequent series of unexecuted driving operations based on the predicted and formed DC motor current waveform.
Subsequent total current amount calculation unit 112 for calculating the total amount of C motor current
And a subsequent drive time calculating unit 113 that calculates a subsequent drive time in a series of subsequent unexecuted drive operations based on the predicted and formed DC motor current waveform, and adds the DC motor current total amount and the subsequent DC motor current total amount. Extended current calculating unit 114 for calculating the total extended DC motor current, extended driving time calculating unit 115 for adding the driving time and the subsequent driving time to calculate the extended driving time, total extended DC motor current and the extended driving And an extended drive stop time calculation unit 117 that calculates an extended drive stop time for stopping the DC motor drive between a series of executed drive operations and a series of subsequent unexecuted drive operations from the time. ing.

【0134】上述のように、本発明の第2の実施の形態
に係るDCモータ制御装置においては、タイマ割り込み
タイミング、エンコーダ割り込みタイミング、各割り込
みタイミングにおけるDAC出力値を記憶保持してお
き、所定の駆動停止判断条件に応じて、DCモータ電流
量、DCモータ電流総量、駆動時間を算出している。
As described above, in the DC motor control device according to the second embodiment of the present invention, the timer interrupt timing, the encoder interrupt timing, and the DAC output value at each interrupt timing are stored and held. The DC motor current amount, the DC motor current total amount, and the drive time are calculated according to the drive stop determination condition.

【0135】これに対し、本発明の第6の実施の形態に
係るDCモータ制御装置においては、駆動動作開始後、
電流量算出部102,電流総量算出部103,DCモー
タ駆動時間算出部104によりDCモータ電流量、DC
モータ電流総量、駆動時間を各割込みタイミングごとに
計算し、DCモータ電流総量、駆動時間を各割込みタイ
ミングごとに更新してバッファメモリ101に記憶保持
しておく。そして、所定の駆動停止判断条件に応じて、
DCモータ電流総量がバッファメモリ101から拡張電
流総量算出部114に出力されて保持され、駆動時間が
バッファメモリ101から拡張駆動時間算出部115に
出力されて保持される。
On the other hand, in the DC motor control device according to the sixth embodiment of the present invention, after starting the driving operation,
The amount of DC motor current, the amount of DC current,
The total motor current and the drive time are calculated for each interrupt timing, and the total DC motor current and the drive time are updated for each interrupt timing and stored in the buffer memory 101. Then, according to a predetermined drive stop determination condition,
The total DC motor current is output from the buffer memory 101 to the extended current total calculator 114 and held, and the drive time is output from the buffer memory 101 to the extended drive time calculator 115 and held.

【0136】一方、後続する未実行の一連の駆動動作の
駆動制御データに基づき、DCモータ駆動停止判断に応
じて、後続する未実行の一連の駆動動作におけるDCモ
ータ電流波形を駆動電流波形予測形成部111により予
測形成する動作手順以後の各動作手順は、第2の実施の
形態と同様である。従って、本発明の第6の実施の形態
に係るDCモータ制御方法の手順を示したフローチャー
トは、図7に示したフローチャートと同様のものとな
る。
On the other hand, based on the drive control data of the following series of unexecuted driving operations, the DC motor current waveform in the subsequent series of unexecuted driving operations is formed based on the drive motor data predictive formation in response to the determination of DC motor drive stop. Each operation procedure after the operation procedure predicted and formed by the unit 111 is the same as in the second embodiment. Therefore, the flowchart showing the procedure of the DC motor control method according to the sixth embodiment of the present invention is similar to the flowchart shown in FIG.

【0137】図14は、本発明の第7の実施の形態に係
るDCモータ制御装置の構成を示したブロック図であ
る。図14に示した本発明の第7の実施の形態に係るD
Cモータ制御装置も、DCユニット6と、DCユニット
6に付加されたキャリッジ駆動停止時間算出ユニット1
00とから構成されている。キャリッジ駆動停止時間算
出ユニット100の構成は、本発明の第3の実施の形態
に係るDCモータ制御装置におけるキャリッジ駆動停止
時間算出ユニット100の構成に類似しているが、一部
が異なっている。DCユニット6の構成は、第1の実施
の形態と同様である。
FIG. 14 is a block diagram showing a configuration of a DC motor control device according to the seventh embodiment of the present invention. D according to the seventh embodiment of the present invention shown in FIG.
The C motor control device also includes a DC unit 6 and a carriage drive stop time calculation unit 1 added to the DC unit 6.
00. The configuration of the carriage drive stop time calculation unit 100 is similar to the configuration of the carriage drive stop time calculation unit 100 in the DC motor control device according to the third embodiment of the present invention, but is partially different. The configuration of the DC unit 6 is the same as in the first embodiment.

【0138】本発明の第7の実施の形態に係るDCモー
タ制御装置におけるキャリッジ駆動停止時間算出ユニッ
ト100は、タイマ6kからのタイマ割り込みタイミン
グ又はエンコーダ11からのエンコーダ割り込みタイミ
ングの間隔、並びに、タイマ割り込みタイミング及びエ
ンコーダ割り込みタイミングにおけるDAC出力値か
ら、各割込みタイミングの間の各期間におけるDCモー
タ電流量を算出する電流量算出部102と、各期間にお
けるDCモータ電流量から、一連の駆動動作におけるD
Cモータ電流総量を算出する電流総量算出部103と、
タイマ割り込みタイミング又はエンコーダ割り込みタイ
ミングの間隔から、一連の駆動動作における駆動時間を
算出するDCモータ駆動時間算出部104と、DCモー
タ電流総量と駆動時間とをタイマ割り込みタイミング又
はエンコーダ割り込みタイミングごとに更新して記憶保
持し、それらを所定の駆動停止判断条件に応じて出力す
るバッファメモリ101と、DCモータ電流総量と駆動
時間とから、単位時間当たりのDCモータ電流量を算出
する単位時間電流量算出部105と、駆動時間と単位時
間当たりのDCモータ電流量とから、一の駆動動作とこ
れに後続する駆動動作との間においてDCモータ駆動を
停止すべき駆動停止時間を算出する駆動停止時間算出部
106と、後続する未実行の一連の駆動動作の駆動制御
データに基づき、上記駆動停止時間が正の値である場合
に、後続する未実行の一連の駆動動作におけるDCモー
タ電流波形を予測形成する駆動電流波形予測形成部11
1と、予測形成したDCモータ電流波形に基づき、後続
する未実行の一連の駆動動作における後続DCモータ電
流総量を算出する後続電流総量算出部112と、予測形
成したDCモータ電流波形に基づき、後続する未実行の
一連の駆動動作における後続駆動時間を算出する後続駆
動時間算出部113と、DCモータ電流総量と後続DC
モータ電流総量とを加算して拡張DCモータ電流総量を
算出する拡張電流総量算出部114と、駆動時間と後続
駆動時間とを加算して拡張駆動時間を算出する拡張駆動
時間算出部115と、拡張DCモータ電流総量と拡張駆
動時間とから、実行済みの一連の駆動動作及び後続する
未実行の一連の駆動動作における単位時間当たりの拡張
DCモータ電流量を算出する拡張単位時間電流量算出部
116と、拡張駆動時間と単位時間当たりの拡張DCモ
ータ電流量とから、実行済みの一連の駆動動作と後続す
る未実行の一連の駆動動作との間においてDCモータ駆
動を停止すべき拡張駆動停止時間を算出する拡張駆動停
止時間算出部117とから構成されている。
The carriage drive stop time calculation unit 100 in the DC motor control device according to the seventh embodiment of the present invention includes a timer interrupt timing from the timer 6k or an encoder interrupt timing from the encoder 11, and a timer interrupt timing. The current amount calculation unit 102 calculates the DC motor current amount in each period between the interrupt timings from the DAC output value at the timing and the encoder interrupt timing.
A total current amount calculator 103 for calculating the total amount of C motor current;
A DC motor drive time calculation unit 104 that calculates a drive time in a series of drive operations from an interval of the timer interrupt timing or the encoder interrupt timing, and updates the DC motor current total amount and the drive time for each timer interrupt timing or encoder interrupt timing. A buffer memory 101 which stores and holds the DC motor current in accordance with a predetermined drive stop determination condition; and a unit time current amount calculation unit which calculates a DC motor current amount per unit time from the DC motor current total amount and the drive time. A drive stop time calculation unit for calculating a drive stop time for stopping the DC motor drive between one drive operation and a subsequent drive operation based on the drive time and the DC motor current amount per unit time; 106, based on the drive control data of the subsequent series of unexecuted drive operations, If serial drive stop time is a positive value, the drive current to predict form DC motor current waveform in a series of driving operations subsequent unexecuted waveform prediction forming unit 11
1, a subsequent current total amount calculation unit 112 that calculates the total amount of subsequent DC motor current in a series of subsequent unexecuted driving operations based on the predicted formed DC motor current waveform, and a subsequent current A subsequent drive time calculation unit 113 for calculating a subsequent drive time in a series of unexecuted drive operations to be performed;
An extended current total amount calculation unit 114 that adds the total motor current amount to calculate an extended DC motor current total amount; an extended drive time calculation unit 115 that adds the drive time and the subsequent drive time to calculate an extended drive time; An extended unit time current amount calculation unit 116 that calculates an extended DC motor current amount per unit time in a series of executed driving operations and a series of subsequent unexecuted driving operations from the DC motor current total amount and the extended driving time; From the extended drive time and the amount of the extended DC motor current per unit time, an extended drive stop time for stopping the DC motor drive between a series of executed drive operations and a series of subsequent unexecuted drive operations is determined. And an extended drive stop time calculating unit 117 to calculate.

【0139】上述のように、本発明の第3の実施の形態
に係るDCモータ制御装置においては、タイマ割り込み
タイミング、エンコーダ割り込みタイミング、各割り込
みタイミングにおけるDAC出力値を記憶保持してお
き、所定の駆動停止判断条件に応じて、DCモータ電流
量、DCモータ電流総量、駆動時間を算出して、単位時
間当たりのDCモータ電流量τを算出し、さらに、DC
モータ駆動停止時間を算出している。
As described above, in the DC motor control device according to the third embodiment of the present invention, the timer interrupt timing, the encoder interrupt timing, and the DAC output value at each interrupt timing are stored and held. The DC motor current amount, the total DC motor current amount, and the drive time are calculated according to the drive stop determination condition, and the DC motor current amount τ per unit time is calculated.
The motor drive stop time is calculated.

【0140】これに対し、本発明の第7の実施の形態に
係るDCモータ制御装置においては、駆動動作開始後、
電流量算出部102,電流総量算出部103,DCモー
タ駆動時間算出部104によりDCモータ電流量、DC
モータ電流総量、駆動時間を各割込みタイミングごとに
計算し、DCモータ電流総量、駆動時間を各割込みタイ
ミングごとに更新してバッファメモリ101に記憶保持
しておく。そして、所定の駆動停止判断条件に応じて、
DCモータ電流総量及び駆動時間がバッファメモリ10
1から単位時間電流量算出部105に出力され、かつ、
DCモータ電流総量がバッファメモリ101から拡張電
流総量算出部114に出力されて保持され、駆動時間が
バッファメモリ101から拡張駆動時間算出部115に
出力されて保持される。
On the other hand, in the DC motor control device according to the seventh embodiment of the present invention, after starting the driving operation,
The amount of DC motor current, the amount of DC current,
The total motor current and the drive time are calculated for each interrupt timing, and the total DC motor current and the drive time are updated for each interrupt timing and stored in the buffer memory 101. Then, according to a predetermined drive stop determination condition,
DC motor current total and drive time buffer memory 10
1 to the unit time current amount calculation unit 105, and
The total DC motor current is output from the buffer memory 101 to the extended current total calculator 114 and held, and the drive time is output from the buffer memory 101 to the extended drive time calculator 115 and held.

【0141】一方、DCモータ駆動停止時間Δtが正の
値(Δt>0)であるときに、後続する未実行の一連の
駆動動作の駆動制御データに基づき、後続する未実行の
一連の駆動動作におけるDCモータ電流波形を駆動電流
波形予測形成部111により予測形成する動作手順以後
の各動作手順は、第3の実施の形態と同様である。従っ
て、本発明の第7の実施の形態に係るDCモータ制御方
法の手順を示したフローチャートは、図9に示したフロ
ーチャートと同様のものとなる。
On the other hand, when the DC motor drive stop time Δt is a positive value (Δt> 0), the subsequent unexecuted series of drive operations are performed based on the drive control data of the subsequent unexecuted series of drive operations. The operation procedures after the operation procedure of predicting and forming the DC motor current waveform by the drive current waveform prediction forming unit 111 in the above are the same as those in the third embodiment. Therefore, the flowchart showing the procedure of the DC motor control method according to the seventh embodiment of the present invention is similar to the flowchart shown in FIG.

【0142】図15は、本発明の第8の実施の形態に係
るDCモータ制御装置の構成を示したブロック図であ
る。図15に示した本発明の第5の実施の形態に係るD
Cモータ制御装置も、DCユニット6と、DCユニット
6に付加されたキャリッジ駆動停止時間算出ユニット1
00とから構成されている。キャリッジ駆動停止時間算
出ユニット100の構成は、本発明の第4の実施の形態
に係るDCモータ制御装置におけるキャリッジ駆動停止
時間算出ユニット100の構成に類似しているが、一部
が異なっている。DCユニット6の構成は、第1の実施
の形態と同様である。
FIG. 15 is a block diagram showing a configuration of a DC motor control device according to an eighth embodiment of the present invention. D according to the fifth embodiment of the present invention shown in FIG.
The C motor control device also includes a DC unit 6 and a carriage drive stop time calculation unit 1 added to the DC unit 6.
00. The configuration of the carriage drive stop time calculation unit 100 is similar to the configuration of the carriage drive stop time calculation unit 100 in the DC motor control device according to the fourth embodiment of the present invention, but is partially different. The configuration of the DC unit 6 is the same as in the first embodiment.

【0143】本発明の第8の実施の形態に係るDCモー
タ制御装置におけるキャリッジ駆動停止時間算出ユニッ
ト100は、タイマ6kからのタイマ割り込みタイミン
グ又はエンコーダ11からのエンコーダ割り込みタイミ
ングの間隔、並びに、タイマ割り込みタイミング及びエ
ンコーダ割り込みタイミングにおけるDAC出力値か
ら、各割込みタイミングの間の各期間におけるDCモー
タ電流量を算出する電流量算出部102と、各期間にお
けるDCモータ電流量から、一連の駆動動作におけるD
Cモータ電流総量を算出する電流総量算出部103と、
タイマ割り込みタイミング又はエンコーダ割り込みタイ
ミングの間隔から、一連の駆動動作における駆動時間を
算出するDCモータ駆動時間算出部104と、DCモー
タ電流総量と駆動時間とをタイマ割り込みタイミング又
はエンコーダ割り込みタイミングごとに更新して記憶保
持し、それらを所定の駆動停止判断条件に応じて出力す
るバッファメモリ101と、DCモータ電流総量と駆動
時間とから、一の駆動動作とこれに後続する駆動動作と
の間においてDCモータ駆動を停止すべき駆動停止時間
を算出する駆動停止時間算出部106と、後続する未実
行の一連の駆動動作の駆動制御データに基づき、上記駆
動停止時間が正の値である場合に、後続する未実行の一
連の駆動動作におけるDCモータ電流波形を予測形成す
る駆動電流波形予測形成部111と、予測形成したDC
モータ電流波形に基づき、後続する未実行の一連の駆動
動作における後続DCモータ電流総量を算出する後続電
流総量算出部112と、予測形成したDCモータ電流波
形に基づき、後続する未実行の一連の駆動動作における
後続駆動時間を算出する後続駆動時間算出部113と、
DCモータ電流総量と後続DCモータ電流総量とを加算
して拡張DCモータ電流総量を算出する拡張電流総量算
出部114と、駆動時間と後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出部115と、拡
張DCモータ電流総量と拡張駆動時間とから、実行済み
の一連の駆動動作と後続する未実行の一連の駆動動作と
の間においてDCモータ駆動を停止すべき拡張駆動停止
時間を算出する拡張駆動停止時間算出部117とから構
成されている。
The carriage drive stop time calculation unit 100 in the DC motor control device according to the eighth embodiment of the present invention includes: a timer interrupt timing from the timer 6k or an encoder interrupt timing from the encoder 11; The current amount calculation unit 102 calculates the DC motor current amount in each period between the interrupt timings from the DAC output value at the timing and the encoder interrupt timing.
A total current amount calculator 103 for calculating the total amount of C motor current;
A DC motor drive time calculation unit 104 that calculates a drive time in a series of drive operations from an interval of the timer interrupt timing or the encoder interrupt timing, and updates the DC motor current total amount and the drive time for each timer interrupt timing or encoder interrupt timing. A buffer memory 101 that stores and holds them according to a predetermined drive stop determination condition, and a DC motor between one drive operation and a subsequent drive operation based on the total DC motor current and the drive time. If the drive stop time is a positive value based on the drive stop time calculation unit 106 that calculates the drive stop time to stop driving and the drive control data of the subsequent series of unexecuted drive operations, A drive current waveform predictor for predicting and forming a DC motor current waveform in a series of unexecuted drive operations. A forming section 111, predicted formed DC
A subsequent current total amount calculation unit 112 that calculates a total amount of subsequent DC motor current in a subsequent series of unexecuted driving operations based on the motor current waveform, and a subsequent series of unexecuted driving based on the predicted formed DC motor current waveform. A subsequent drive time calculation unit 113 that calculates a subsequent drive time in the operation;
An extended current total amount calculation unit 114 that calculates the extended DC motor current amount by adding the total DC motor current amount and the subsequent DC motor current amount, and an extended drive that calculates the extended drive time by adding the drive time and the subsequent drive time The extended drive stop time for stopping the DC motor drive between a series of executed driving operations and a series of subsequent unexecuted driving operations based on the time calculating unit 115 and the total amount of the extended DC motor current and the extended driving time. And an extended drive stop time calculation unit 117 for calculating

【0144】上述のように、本発明の第4の実施の形態
に係るDCモータ制御装置においては、タイマ割り込み
タイミング、エンコーダ割り込みタイミング、各割り込
みタイミングにおけるDAC出力値を記憶保持してお
き、所定の駆動停止判断条件に応じて、DCモータ電流
量、DCモータ電流総量、駆動時間を算出し、さらに、
DCモータ駆動停止時間を算出している。
As described above, in the DC motor control device according to the fourth embodiment of the present invention, the timer interrupt timing, the encoder interrupt timing, and the DAC output value at each interrupt timing are stored and held. The DC motor current amount, the DC motor current total amount, and the drive time are calculated according to the drive stop determination condition.
The DC motor drive stop time is calculated.

【0145】これに対し、本発明の第8の実施の形態に
係るDCモータ制御装置においては、駆動動作開始後、
電流量算出部102,電流総量算出部103,DCモー
タ駆動時間算出部104によりDCモータ電流量、DC
モータ電流総量、駆動時間を各割込みタイミングごとに
計算し、DCモータ電流総量、駆動時間を各割込みタイ
ミングごとに更新してバッファメモリ101に記憶保持
しておく。そして、所定の駆動停止判断条件に応じて、
DCモータ電流総量及び駆動時間がバッファメモリ10
1から駆動停止時間算出部106に出力され、かつ、D
Cモータ電流総量がバッファメモリ101から拡張電流
総量算出部114に出力されて保持され、駆動時間がバ
ッファメモリ101から拡張駆動時間算出部115に出
力されて保持される。
On the other hand, in the DC motor control device according to the eighth embodiment of the present invention, after starting the driving operation,
The amount of DC motor current, the amount of DC current,
The total motor current and the drive time are calculated for each interrupt timing, and the total DC motor current and the drive time are updated for each interrupt timing and stored in the buffer memory 101. Then, according to a predetermined drive stop determination condition,
DC motor current total and drive time buffer memory 10
1 to the drive stop time calculation unit 106 and D
The total amount of the C motor current is output from the buffer memory 101 to the extended current amount calculation unit 114 and held, and the drive time is output from the buffer memory 101 to the extended drive time calculation unit 115 and held.

【0146】一方、DCモータ駆動停止時間Δtが正の
値(Δt>0)であるときに、後続する未実行の一連の
駆動動作の駆動制御データに基づき、後続する未実行の
一連の駆動動作におけるDCモータ電流波形を駆動電流
波形予測形成部111により予測形成する動作手順以後
の各動作手順は、第4の実施の形態と同様である。従っ
て、本発明の第8の実施の形態に係るDCモータ制御方
法の手順を示したフローチャートは、図11に示したフ
ローチャートと同様のものとなる。
On the other hand, when the DC motor drive stop time Δt is a positive value (Δt> 0), the subsequent unexecuted series of drive operations are performed based on the drive control data of the subsequent unexecuted series of drive operations. Each operation procedure after the operation procedure of predicting and forming the DC motor current waveform by the drive current waveform prediction forming unit 111 in the second embodiment is the same as that of the fourth embodiment. Therefore, the flowchart showing the procedure of the DC motor control method according to the eighth embodiment of the present invention is similar to the flowchart shown in FIG.

【0147】図16は、本発明の第9の実施の形態に係
るDCモータ制御装置の構成を示したブロック図であ
る。図16に示した本発明の第9の実施の形態に係るD
Cモータ制御装置も、DCユニット6と、DCユニット
6に付加されたキャリッジ駆動停止時間算出ユニット1
00とから構成されているが、キャリッジ駆動停止時間
算出ユニット100の構成が第1乃至第8の実施の形態
とは異なっている。DCユニット6の構成は、第1の実
施の形態と同様である。
FIG. 16 is a block diagram showing the configuration of the DC motor control device according to the ninth embodiment of the present invention. D according to the ninth embodiment of the present invention shown in FIG.
The C motor control device also includes a DC unit 6 and a carriage drive stop time calculation unit 1 added to the DC unit 6.
However, the configuration of the carriage drive stop time calculation unit 100 is different from those of the first to eighth embodiments. The configuration of the DC unit 6 is the same as in the first embodiment.

【0148】上述した第1乃至第8の実施の形態におい
ては、DCモータの一回の一連の駆動動作ごとに、実行
済みの一回の一連の駆動動作及び後続する未実行の一回
の一連の駆動動作における駆動時間及び単位時間当たり
のDCモータ電流量、又は、DCモータ電流総量及び駆
動時間を算出し、一回の一連の駆動動作ごとの後続する
駆動動作開始前に、算出した値に応じた時間だけDCモ
ータ駆動を停止させる駆動停止時間を設けている。
In the above-described first to eighth embodiments, each of a series of driving operations of the DC motor is executed once, and a series of driving operations already executed and a series of unexecuted subsequent driving operations are performed. Calculate the driving time and the DC motor current amount per unit time in the driving operation, or the DC motor current total amount and the driving time, and calculate the calculated value before starting the subsequent driving operation for each series of driving operations. A drive stop time for stopping the DC motor drive for a corresponding time is provided.

【0149】これに対し、以下に説明する第9乃至第1
6の実施の形態においては、DCモータの一回の一連の
駆動動作ごとに、実行済みの一回の一連の駆動動作にお
ける駆動時間及び単位時間当たりのDCモータ電流量、
又は、DCモータ電流総量及び駆動時間を算出し、か
つ、複数回の一連の駆動動作ごとの後続する駆動動作開
始前に、実行済みの複数回の一連の駆動動作及び未実行
の所定回数の一連の駆動動作における駆動時間及び単位
時間当たりのDCモータ電流量、又は、DCモータ電流
総量及び駆動時間に応じた時間だけDCモータ駆動を停
止させる駆動停止時間を設ける点に特徴がある。
On the other hand, the ninth to the first to be described below
In the sixth embodiment, the driving time and the DC motor current amount per unit time in one executed series of driving operations are calculated for each series of driving operations of the DC motor.
Alternatively, the DC motor current total amount and the driving time are calculated, and before the subsequent driving operation is started for each of the plural series of driving operations, a series of a plurality of executed driving operations and a series of a predetermined number of unexecuted driving operations are performed. Is characterized by providing a drive time and a DC motor current amount per unit time in the drive operation, or a drive stop time for stopping the DC motor drive for a time corresponding to the DC motor current amount and the drive time.

【0150】一回の一連の駆動動作ごとではなく、複数
回の一連の駆動動作ごとに駆動停止時間を設けることに
より、全体としての駆動時間の増加をより小さく抑制し
ながら、DCモータの発熱量を抑制することが可能とな
る。例えば、一の駆動動作において算出された駆動停止
時間が負の値であり、後続する駆動動作において算出さ
れた駆動停止時間が正の値である場合、それらを相殺し
て、より短い駆動停止時間でDCモータの発熱量を抑制
することが可能となる。
By providing a drive stop time for each of a plurality of series of drive operations rather than for each of a series of drive operations, the amount of heat generated by the DC motor can be reduced while suppressing an increase in the overall drive time. Can be suppressed. For example, if the drive stop time calculated in one drive operation is a negative value and the drive stop time calculated in the subsequent drive operation is a positive value, the drive stop time is canceled to make the drive stop time shorter. Thus, the amount of heat generated by the DC motor can be suppressed.

【0151】一方、駆動停止時間の算出の際に考慮する
未実行の一連の駆動動作の回数は、一回としてもよい
し、複数回としてもよいが、通常は、数値算出に用いる
実行済みの一連の駆動動作の回数よりも小さくなるよう
にする。即ち、未実行の一連の駆動動作内容が駆動停止
時間の大小に与える影響は、実行済みの一連の駆動動作
内容が駆動停止時間の大小に与える影響よりも小さくな
るようにする。未確定の要素よりも確定済みの要素をよ
り大きく評価すべきだからである。
On the other hand, the number of a series of unexecuted driving operations to be considered when calculating the driving stop time may be one or a plurality of times. It should be smaller than the number of times of a series of driving operations. That is, the influence of the series of unexecuted driving operations on the magnitude of the driving stop time is made smaller than the influence of the series of executed driving operations on the magnitude of the driving stop time. This is because determined elements should be evaluated more than undetermined elements.

【0152】本発明の第9の実施の形態に係るDCモー
タ制御装置におけるキャリッジ駆動停止時間算出ユニッ
ト100は、タイマ6kからのタイマ割り込みタイミン
グ、エンコーダ11からのエンコーダ割り込みタイミン
グ、並びに、タイマ割り込みタイミング及びエンコーダ
割り込みタイミングにおけるDAC出力値を記憶保持
し、それらを所定の駆動停止判断条件に応じて出力する
バッファメモリ101と、タイマ割り込みタイミング又
はエンコーダ割り込みタイミングの間隔とDAC出力値
とから、各割込みタイミングの間の各期間におけるDC
モータ電流量を算出する電流量算出部102と、各期間
におけるDCモータ電流量から、一回の一連の駆動動作
におけるDCモータ電流総量を算出する電流総量算出部
103と、タイマ割り込みタイミング又はエンコーダ割
り込みタイミングの間隔から、一回の一連の駆動動作に
おける駆動時間を算出するDCモータ駆動時間算出部1
04と、DCモータ電流総量及び駆動時間の算出回数を
計数し、算出回数が所定の複数回(K回)になると駆動
電流波形予測形成指令を行うカウンタ107と、後続す
る未実行の所定回数(p回)の一連の駆動動作の駆動制
御データに基づき、駆動電流波形予測形成指令に応じ
て、後続する未実行のp回の一連の駆動動作におけるD
Cモータ電流波形を予測形成する駆動電流波形予測形成
部111と、予測形成したDCモータ電流波形に基づ
き、後続する未実行のp回の一連の駆動動作における後
続DCモータ電流総量を算出する後続電流総量算出部1
12と、予測形成したDCモータ電流波形に基づき、後
続する未実行のp回の一連の駆動動作における後続駆動
時間を算出する後続駆動時間算出部113と、K回分の
DCモータ電流総量を保持し、K回分のDCモータ電流
総量と後続DCモータ電流総量とを加算して拡張DCモ
ータ電流総量を算出する拡張電流総量算出部114と、
K回分の駆動時間を保持し、K回分の駆動時間と後続駆
動時間とを加算して拡張駆動時間を算出する拡張駆動時
間算出部115と、拡張DCモータ電流総量と拡張駆動
時間とから、実行済みのK回の一連の駆動動作及び後続
する未実行のp回の一連の駆動動作における単位時間当
たりの拡張DCモータ電流量を算出する拡張単位時間電
流量算出部116と、拡張駆動時間と単位時間当たりの
拡張DCモータ電流量とから、実行済みのK回の一連の
駆動動作と後続する未実行のp回の一連の駆動動作との
間においてDCモータ駆動を停止すべき拡張駆動停止時
間を算出する拡張駆動停止時間算出部117とから構成
されている。
The carriage drive stop time calculation unit 100 in the DC motor control device according to the ninth embodiment of the present invention includes a timer interrupt timing from the timer 6k, an encoder interrupt timing from the encoder 11, and a timer interrupt timing. The buffer memory 101 that stores and holds the DAC output values at the encoder interrupt timing and outputs them in accordance with predetermined drive stop determination conditions, and determines the timing of each interrupt timing based on the timer interrupt timing or the interval of the encoder interrupt timing and the DAC output value. DC in each period between
A current amount calculator 102 for calculating a motor current amount; a current total amount calculator 103 for calculating a DC motor current amount in one series of driving operations from a DC motor current amount in each period; a timer interrupt timing or an encoder interrupt DC motor drive time calculation unit 1 that calculates a drive time in one series of drive operations from timing intervals
04, a counter 107 for counting the number of times of calculating the total amount of the DC motor current and the drive time, and issuing a drive current waveform prediction forming command when the number of calculations reaches a predetermined number of times (K times); Based on the drive control data of a series of drive operations (p times), D in a subsequent p series of unexecuted drive operations in response to a drive current waveform prediction formation command
A driving current waveform prediction forming unit 111 for predicting and forming a C motor current waveform, and a subsequent current for calculating a total amount of a subsequent DC motor current in a subsequent series of unexecuted p driving operations based on the predicted DC motor current waveform Total amount calculation unit 1
12, a subsequent drive time calculation unit 113 for calculating a subsequent drive time in a series of subsequent unexecuted p drive operations based on the predicted and formed DC motor current waveform, and a DC motor current total amount for K times. , An extended current total amount calculation unit 114 for adding the total DC motor current amount for the K times and the subsequent DC motor current amount to calculate an extended DC motor current total amount;
The extended drive time calculation unit 115 that holds the K drive times and adds the K drive time and the subsequent drive time to calculate the extended drive time, and executes the extended DC motor current total amount and the extended drive time. An extended unit time current amount calculator 116 for calculating an extended DC motor current amount per unit time in the completed K series of driving operations and the subsequent unexecuted p series of driving operations; From the amount of the extended DC motor current per unit time, the extended drive stop time for stopping the DC motor drive between the executed K series of drive operations and the subsequent unexecuted p series of drive operations is calculated. And an extended drive stop time calculating unit 117 to calculate.

【0153】図17は、本発明の第9の実施の形態に係
るDCモータ制御装置の動作、即ち、本発明の第9の実
施の形態に係るDCモータ制御方法の手順を示したフロ
ーチャートである。
FIG. 17 is a flowchart showing the operation of the DC motor control device according to the ninth embodiment of the present invention, that is, the procedure of the DC motor control method according to the ninth embodiment of the present invention. .

【0154】図16及び図17を参照して、本発明の第
9の実施の形態に係るDCモータ制御装置の動作、即
ち、本発明の第9の実施の形態に係るDCモータ制御方
法について説明する。
Referring to FIGS. 16 and 17, the operation of the DC motor control apparatus according to the ninth embodiment of the present invention, that is, the DC motor control method according to the ninth embodiment of the present invention will be described. I do.

【0155】DCモータに対する起動指令信号によりD
Cモータが駆動され、これによりキャリッジの駆動が開
始された後、タイマ6kからのタイマ割り込み又はエン
コーダ11からのエンコーダ割り込みが発生する度ごと
に、それらのタイミング及び各タイミングにおけるDA
C出力値を、バッファメモリ101に記憶保持してお
く。
[0155] In response to a start command signal for the DC motor, D
After the C motor is driven and the carriage starts to be driven, every time a timer interrupt from the timer 6k or an encoder interrupt from the encoder 11 occurs, the timing and the DA at each timing are determined.
The C output value is stored and held in the buffer memory 101.

【0156】バッファメモリ101は、駆動動作開始
後、所定の駆動停止判断条件に応じて、記憶保持してい
たタイマ割り込みタイミング及びエンコーダ割り込みタ
イミング並びに各タイミングにおけるDAC出力値を出
力する(ステップS161)。所定の駆動停止判断条件
は、第1の実施の形態と同様に、例えば、タイマ割込み
が発生せず、かつ、エンコーダの逆転が検出されたと
き、又は、タイマ割込みが発生せず、かつ、エンコーダ
割込みが一定時間(例えば5ms)発生しないときとす
る。即ち、タイマ割込み制御からエンコーダ割込み制御
に移行した後に、エンコーダの逆転が検出されたとき、
又は、エンコーダ割込みが一定時間発生しないときは、
DCモータ駆動停止判断がされたものとして、バッファ
メモリ101は、上記各タイミング及びDAC出力値を
出力する。
After the start of the driving operation, the buffer memory 101 outputs the stored timer interruption timing and encoder interruption timing and the DAC output value at each timing according to predetermined driving stop judgment conditions (step S161). As in the first embodiment, the predetermined drive stop determination condition is, for example, that no timer interrupt occurs and that a reverse rotation of the encoder is detected, or that no timer interrupt occurs, and It is assumed that an interrupt does not occur for a predetermined time (for example, 5 ms). That is, when the encoder reverse rotation is detected after the transition from the timer interrupt control to the encoder interrupt control,
Or, if the encoder interrupt does not occur for a certain period of time,
Assuming that the DC motor drive stop has been determined, the buffer memory 101 outputs the above-described timings and DAC output values.

【0157】DCモータ駆動停止判断がされ、タイマ割
り込みタイミング及びエンコーダ割り込みタイミング並
びに各タイミングにおけるDAC出力値が出力される
と、電流量算出部102,電流総量算出部103,DC
モータ駆動時間算出部104の一連の動作により、一回
の一連の駆動動作におけるDCモータ駆動時間及びDC
モータ電流総量を算出する(ステップS122)。
When it is determined that the DC motor is to be stopped, and the timer interrupt timing, the encoder interrupt timing, and the DAC output value at each timing are output, the current amount calculation unit 102, the total current amount calculation unit 103, the DC
By the series of operations of the motor drive time calculation unit 104, the DC motor drive time and the DC
The total motor current is calculated (step S122).

【0158】一連の駆動動作におけるDCモータ駆動時
間及びDCモータ電流総量の算出方法は、第1の実施の
形態において説明した通りである。尚、ここで算出した
DCモータ駆動時間、DCモータ電流総量は、後述する
ように拡張電流総量算出部114,拡張駆動時間算出部
115にそれぞれ保持しておく。
The method of calculating the DC motor drive time and the total amount of DC motor current in a series of drive operations is as described in the first embodiment. The calculated DC motor drive time and the total amount of DC motor current are stored in an extended current total amount calculation unit 114 and an extended drive time calculation unit 115, respectively, as described later.

【0159】電流総量算出部103,DCモータ駆動時
間算出部104によりDCモータ駆動時間、DCモータ
電流総量が算出されると、カウンタ107は、その算出
回数を計数する。カウンタ107は、DCモータ駆動時
間及びDCモータ電流総量の算出回数Nが、Kの整数倍
(N=mK(m=1,2,...))となったときにの
み駆動電流波形予測形成指令信号を出力することにより
駆動電流波形予測形成指令を行う(ステップS16
3)。
When the DC motor driving time and the DC motor current total amount are calculated by the total current amount calculating section 103 and the DC motor driving time calculating section 104, the counter 107 counts the number of times of calculation. The counter 107 performs the drive current waveform prediction formation only when the number N of times of calculating the DC motor drive time and the total amount of the DC motor current becomes an integral multiple of K (N = mK (m = 1, 2,...)). A driving current waveform prediction forming command is issued by outputting a command signal (step S16).
3).

【0160】一方、カウンタ107による駆動電流波形
予測形成指令に応じて駆動電流波形の予測形成及び後続
する動作手順が行われない限り、算出したDCモータ駆
動時間、DCモータ電流総量は、拡張電流総量算出部1
14,拡張駆動時間算出部115にそれぞれ順次保持し
ておく(ステップS164)。
On the other hand, unless the drive current waveform prediction formation and the subsequent operation procedure are performed in response to the drive current waveform prediction formation command from the counter 107, the calculated DC motor drive time and DC motor current total amount are the extended current total amount. Calculation unit 1
14, and sequentially stored in the extended drive time calculation unit 115 (step S164).

【0161】DCモータ駆動時間及びDCモータ電流総
量の算出回数NがKの整数倍(N=mK)となってカウ
ンタ107から駆動電流波形予測形成部111へ駆動電
流波形予測形成指令信号が入力されると、駆動電流波形
予測形成部111は、後続する未実行のp回の一連の駆
動動作の駆動制御データに基づき、後続する未実行のp
回の一連の駆動動作におけるDCモータ電流波形を予測
形成する(ステップS165)。
The drive current waveform prediction forming command signal is input from the counter 107 to the drive current waveform prediction forming section 111 when the DC motor drive time and the number N of times of calculating the total DC motor current amount become an integral multiple of K (N = mK). Then, based on the drive control data of the subsequent p unexecuted series of drive operations, the drive current waveform prediction forming unit 111
A DC motor current waveform in a series of driving operations is predicted and formed (step S165).

【0162】後続する未実行のp回の一連の駆動動作に
おけるDCモータ電流波形の予測形成後、後続電流総量
算出部112,後続駆動時間算出部113は、予測形成
されたDCモータ電流波形に基づき、後続する未実行の
p回の一連の駆動動作における後続電流総量、後続駆動
時間をそれぞれ算出する(ステップS166)。
After the DC motor current waveform is predicted and formed in the subsequent series of unexecuted p driving operations, the subsequent current total amount calculating unit 112 and the subsequent driving time calculating unit 113 determine the DC motor current waveform based on the predicted and formed DC motor current waveform. Then, the total amount of the subsequent current and the subsequent driving time in the subsequent series of unexecuted p driving operations are calculated (step S166).

【0163】後続電流総量及び後続駆動時間の算出後、
拡張電流総量算出部114は、保持していたK回分のD
Cモータ電流総量と後続電流総量とを加算することによ
り拡張電流総量IEXを算出し、拡張駆動時間算出部11
5は、保持していたK回分の駆動時間と後続駆動時間と
を加算することにより拡張駆動時間TEXを算出する(ス
テップS167)。
After calculating the total amount of the subsequent current and the subsequent driving time,
The extended current total amount calculation unit 114 calculates the stored D
The total extended current amount IEX is calculated by adding the total amount of the C motor current and the total amount of the subsequent current, and the extended drive time calculating unit 11
5 calculates the extended drive time TEX by adding the held drive time for K times and the subsequent drive time (step S167).

【0164】拡張電流総量IEX及び拡張駆動時間TEXの
算出後、拡張電流総量IEX及び拡張駆動時間TEXから、
実行済みのK回の一連の駆動動作及び後続する未実行の
p回の一連の駆動動作における単位時間当たりの拡張D
Cモータ電流量τEX=IEX/TEXを算出する(ステップ
S168)。
After calculating the total extended current amount IEX and the extended drive time TEX, from the total extended current amount IEX and the extended drive time TEX,
Extension D per unit time in the executed K series of driving operations and the subsequent unexecuted p series of driving operations
The C motor current amount τEX = IEX / TEX is calculated (step S168).

【0165】単位時間当たりの拡張DCモータ電流量τ
EXを算出した後、実行済みのK回の一連の駆動動作及び
後続する未実行のp回の一連の駆動動作における拡張駆
動時間TEXと単位時間当たりの拡張DCモータ電流量τ
EXとから、拡張駆動停止時間ΔtEXを拡張駆動停止時間
算出部117により算出する(ステップS169)。拡
張駆動停止時間ΔtEXの算出方法は、第1の実施の形態
において説明した通りである。
Extended DC motor current amount τ per unit time
After calculating EX, the extended drive time TEX and the extended DC motor current amount τ per unit time in the K series of executed drive operations and the subsequent p series of unexecuted drive operations
From EX, the extended drive stop time ΔtEX is calculated by the extended drive stop time calculation unit 117 (step S169). The method of calculating the extended drive stop time ΔtEX is as described in the first embodiment.

【0166】そして、算出された拡張駆動停止時間Δt
EXの値に応じてその後の駆動制御を行う。即ち、拡張駆
動停止時間ΔtEXが正の値(ΔtEX>0)であるかどう
かを判断し(ステップS170)、拡張駆動停止時間Δ
tEXが0以下の値(ΔtEX≦0)であるときは特にDC
モータ駆動停止時間を設けずに、通常通り、DCモータ
駆動停止してから直ちに後続の駆動動作に移行する(ス
テップS171)。
Then, the calculated extended drive stop time Δt
The subsequent drive control is performed according to the value of EX. That is, it is determined whether the extended drive stop time ΔtEX is a positive value (ΔtEX> 0) (step S170), and the extended drive stop time Δ
When tEX is 0 or less (ΔtEX ≦ 0), DC
Without providing a motor drive stop time, the process immediately proceeds to the subsequent drive operation immediately after the DC motor drive is stopped (step S171).

【0167】一方、拡張駆動停止時間ΔtEXが正の値
(ΔtEX>0)であるときは、DCモータ駆動停止して
からその拡張駆動停止時間ΔtEXだけDCモータを停止
させ続ける(ステップS172)。拡張駆動停止時間Δ
tEXが経過した後は、後続の駆動動作に移行する。
On the other hand, when the extended drive stop time ΔtEX is a positive value (ΔtEX> 0), the DC motor drive is stopped and then the DC motor is stopped for the extended drive stop time ΔtEX (step S172). Extended drive stop time Δ
After the elapse of tEX, the operation shifts to the subsequent driving operation.

【0168】以上のように、本発明の第9の実施の形態
に係るDCモータ制御装置及び制御方法によれば、一回
の一連の駆動動作ごとではなく、複数回の一連の駆動動
作ごとに、実行済みの一連の駆動動作内容のみならず、
後続する未実行の一連の駆動動作内容をも考慮して算出
した駆動停止時間を設けることにより、全体としての駆
動時間の増加をさらに小さく抑制しながら、DCモータ
の発熱量を抑制し、連続動作によるDCモータの発熱に
起因するDCモータへの電流入り込み不足を防止するこ
とが可能となる。例えば、一の駆動動作において算出さ
れた駆動停止時間が負の値であり、後続する駆動動作に
おいて算出された駆動停止時間が正の値である場合、そ
れらを相殺して、より短い駆動停止時間でDCモータの
発熱量を抑制することが可能となる。
As described above, according to the DC motor control device and the control method according to the ninth embodiment of the present invention, instead of one series of drive operations, instead of one series of drive operations, , As well as a series of executed driving operations,
By providing a drive stop time calculated in consideration of the contents of a series of subsequent unexecuted drive operations, it is possible to reduce the amount of heat generated by the DC motor while suppressing the increase in the overall drive time even further. It is possible to prevent shortage of current from flowing into the DC motor due to heat generated by the DC motor. For example, if the drive stop time calculated in one drive operation is a negative value and the drive stop time calculated in the subsequent drive operation is a positive value, the drive stop time is canceled to make the drive stop time shorter. Thus, the amount of heat generated by the DC motor can be suppressed.

【0169】図18は、本発明の第10の実施の形態に
係るDCモータ制御装置の構成を示したブロック図であ
る。
FIG. 18 is a block diagram showing a configuration of a DC motor control device according to the tenth embodiment of the present invention.

【0170】図18に示した本発明の第10の実施の形
態に係るDCモータ制御装置も、DCユニット6と、D
Cユニット6に付加されたキャリッジ駆動停止時間算出
ユニット100とから構成されている。キャリッジ駆動
停止時間算出ユニット100の構成は、本発明の第9の
実施の形態に係るDCモータ制御装置におけるキャリッ
ジ駆動停止時間算出ユニット100の構成に類似してい
るが、一部が異なっている。DCユニット6の構成は、
第1の実施の形態と同様である。
The DC motor control device according to the tenth embodiment of the present invention shown in FIG.
And a carriage drive stop time calculation unit 100 added to the C unit 6. The configuration of the carriage drive stop time calculation unit 100 is similar to the configuration of the carriage drive stop time calculation unit 100 in the DC motor control device according to the ninth embodiment of the present invention, but is partially different. The configuration of the DC unit 6 is as follows.
This is the same as in the first embodiment.

【0171】第1の実施の形態についての説明中に示し
た式(1)から分かるように、拡張駆動停止時間ΔtEX
は、単位時間当たりの拡張DCモータ電流量τEXを算出
しなくても、拡張電流総量IEX及び拡張駆動時間TEXの
値から算出することができる。そこで、本発明の第10
の実施の形態に係るDCモータ制御装置におけるキャリ
ッジ駆動停止時間算出ユニット100は、第9の実施の
形態におけるキャリッジ駆動停止時間算出ユニット10
0から拡張単位時間電流量算出部116を除去した構成
となっている。
As can be seen from equation (1) shown in the description of the first embodiment, the extended drive stop time ΔtEX
Can be calculated from the values of the total extended current amount IEX and the extended drive time TEX without calculating the extended DC motor current amount τEX per unit time. Therefore, the tenth aspect of the present invention
The carriage drive stop time calculation unit 100 in the DC motor control device according to the ninth embodiment is different from the carriage drive stop time calculation unit 10 in the ninth embodiment.
The configuration is such that the extension unit time current amount calculation unit 116 is removed from 0.

【0172】即ち、本発明の第10の実施の形態に係る
DCモータ制御装置におけるキャリッジ駆動停止時間算
出ユニット100は、本発明の第9の実施の形態に係る
DCモータ制御装置におけるキャリッジ駆動停止時間算
出ユニット100は、タイマ6kからのタイマ割り込み
タイミング、エンコーダ11からのエンコーダ割り込み
タイミング、並びに、タイマ割り込みタイミング及びエ
ンコーダ割り込みタイミングにおけるDAC出力値を記
憶保持し、それらを所定の駆動停止判断条件に応じて出
力するバッファメモリ101と、タイマ割り込みタイミ
ング又はエンコーダ割り込みタイミングの間隔とDAC
出力値とから、各割込みタイミングの間の各期間におけ
るDCモータ電流量を算出する電流量算出部102と、
各期間におけるDCモータ電流量から、一回の一連の駆
動動作におけるDCモータ電流総量を算出する電流総量
算出部103と、タイマ割り込みタイミング又はエンコ
ーダ割り込みタイミングの間隔から、一回の一連の駆動
動作における駆動時間を算出するDCモータ駆動時間算
出部104と、DCモータ電流総量及び駆動時間の算出
回数を計数し、算出回数が所定の複数回(K回)になる
と駆動電流波形予測形成指令を行うカウンタ107と、
後続する未実行の所定回数(p回)の一連の駆動動作の
駆動制御データに基づき、駆動電流波形予測形成指令に
応じて、後続する未実行のp回の一連の駆動動作におけ
るDCモータ電流波形を予測形成する駆動電流波形予測
形成部111と、予測形成したDCモータ電流波形に基
づき、後続する未実行のp回の一連の駆動動作における
後続DCモータ電流総量を算出する後続電流総量算出部
112と、予測形成したDCモータ電流波形に基づき、
後続する未実行のp回の一連の駆動動作における後続駆
動時間を算出する後続駆動時間算出部113と、K回分
のDCモータ電流総量を保持し、K回分のDCモータ電
流総量と後続DCモータ電流総量とを加算して拡張DC
モータ電流総量を算出する拡張電流総量算出部114
と、K回分の駆動時間を保持し、K回分の駆動時間と後
続駆動時間とを加算して拡張駆動時間を算出する拡張駆
動時間算出部115と、拡張DCモータ電流総量と拡張
駆動時間とから、実行済みのK回の一連の駆動動作と後
続する未実行のp回の一連の駆動動作との間においてD
Cモータ駆動を停止すべき拡張駆動停止時間を算出する
拡張駆動停止時間算出部117とから構成されている。
That is, the carriage drive stop time calculation unit 100 in the DC motor control device according to the tenth embodiment of the present invention is different from the carriage drive stop time calculation unit 100 in the DC motor control device according to the ninth embodiment of the present invention. The calculation unit 100 stores and holds the timer interrupt timing from the timer 6k, the encoder interrupt timing from the encoder 11, and the DAC output values at the timer interrupt timing and the encoder interrupt timing, and stores them in accordance with predetermined drive stop determination conditions. Output buffer memory 101, timer interrupt timing or encoder interrupt timing interval and DAC
A current amount calculation unit 102 that calculates a DC motor current amount in each period between each interrupt timing from the output value,
From a DC motor current amount in each period, a total current amount calculating unit 103 that calculates a total DC motor current amount in one series of driving operations, and an interval of a timer interruption timing or an encoder interruption timing, a single series of driving operations is performed. A DC motor drive time calculation unit 104 for calculating the drive time, and a counter for counting the total number of DC motor currents and the number of times the drive time is calculated, and issuing a drive current waveform prediction forming command when the number of calculations reaches a predetermined number (K times). 107,
A DC motor current waveform in a subsequent p series of unexecuted drive operations in response to a drive current waveform prediction formation command based on drive control data of a series of subsequent unexecuted predetermined times (p times) of drive operation Drive current waveform prediction forming section 111 for predicting and forming the following, and the subsequent current total amount calculating section 112 for calculating the subsequent DC motor current total in the subsequent series of unexecuted p driving operations based on the predicted and formed DC motor current waveform And, based on the predicted DC motor current waveform,
A subsequent drive time calculation unit 113 for calculating a subsequent drive time in a series of unexecuted p-time drive operations, holding the total DC motor current for K times, and calculating the total DC motor current for K times and the subsequent DC motor current Extended DC by adding the total amount
Extended current total amount calculation unit 114 that calculates the total motor current amount
And an extended drive time calculation unit 115 that holds the drive time for K times, adds the drive time for K times and the subsequent drive time to calculate an extended drive time, and calculates the extended DC motor current total amount and the extended drive time. , Between the executed K series of driving operations and the subsequent unexecuted p series of driving operations.
And an extended drive stop time calculation unit 117 for calculating an extended drive stop time for stopping the C motor drive.

【0173】図19は、本発明の第10の実施の形態に
係るDCモータ制御装置の動作、即ち、本発明の第10
の実施の形態に係るDCモータ制御方法の手順を示した
フローチャートである。
FIG. 19 shows the operation of the DC motor control device according to the tenth embodiment of the present invention, that is, the operation of the tenth embodiment of the present invention.
4 is a flowchart showing a procedure of a DC motor control method according to the embodiment.

【0174】本発明の第10の実施の形態に係るDCモ
ータ制御装置の動作、即ち、本発明の第10の実施の形
態に係るDCモータ制御方法の手順は、拡張電流総量I
EX及び拡張駆動時間TEXを算出した後(ステップS18
7)、単位時間当たりの拡張DCモータ電流量τEXを算
出せずに、拡張電流総量IEX及び拡張駆動時間TEXの値
から拡張駆動停止時間ΔtEXを算出している(ステップ
S188)点を除くと、総て第9の実施の形態と同様で
ある。拡張電流総量IEX及び拡張駆動時間TEXの値から
直接、拡張駆動停止時間ΔtEXを算出できることは、上
述のように、第1の実施の形態についての説明中の式
(1)に示した通りである。
The operation of the DC motor control device according to the tenth embodiment of the present invention, that is, the procedure of the DC motor control method according to the tenth embodiment of the present invention,
After calculating EX and the extended drive time TEX (step S18)
7), except that the extended drive stop time ΔtEX is calculated from the value of the total extended current IEX and the value of the extended drive time TEX without calculating the extended DC motor current amount τEX per unit time (step S188), All are the same as the ninth embodiment. The fact that the extended drive stop time ΔtEX can be calculated directly from the values of the extended current total amount IEX and the extended drive time TEX is as described in the equation (1) in the description of the first embodiment, as described above. .

【0175】図20は、本発明の第11の実施の形態に
係るDCモータ制御装置の構成を示したブロック図であ
る。図20に示した本発明の第11の実施の形態に係る
DCモータ制御装置も、DCユニット6と、DCユニッ
ト6に付加されたキャリッジ駆動停止時間算出ユニット
100とから構成されているが、キャリッジ駆動停止時
間算出ユニット100の構成が第9の実施の形態と異な
っている。DCユニット6の構成は、第1の実施の形態
と同様である。
FIG. 20 is a block diagram showing a configuration of a DC motor control device according to an eleventh embodiment of the present invention. The DC motor control device according to the eleventh embodiment of the present invention shown in FIG. 20 also includes a DC unit 6 and a carriage drive stop time calculation unit 100 added to the DC unit 6, The configuration of the drive stop time calculation unit 100 is different from that of the ninth embodiment. The configuration of the DC unit 6 is the same as in the first embodiment.

【0176】前述した本発明の第9の実施の形態に係る
DCモータ制御装置及び制御方法においては、最初か
ら、実行済みのK回の一連の駆動動作及び後続する未実
行のp回の駆動動作における駆動時間及び単位時間当た
りのDCモータ電流量に応じて拡張駆動停止時間を算出
し、拡張駆動停止時間を設定するか否かを判断してい
た。これに対し、本発明の第11の実施の形態に係るD
Cモータ制御装置及び制御方法においては、先ず、実行
済みのK回の一連の駆動動作における駆動時間及び単位
時間当たりのDCモータ電流量に応じてK回分の駆動停
止時間を算出し、K回分の駆動停止時間から駆動停止時
間積算値を算出し、駆動停止時間積算値に基づき駆動停
止時間を設定すべきであると判断される場合にのみ、さ
らに、実行済みのK回の駆動動作及び後続する未実行の
p回の駆動動作における駆動時間及び単位時間当たりの
DCモータ電流量に応じて拡張駆動停止時間を算出し、
拡張駆動停止時間を設定するか否かを判断する。
In the DC motor control apparatus and control method according to the ninth embodiment of the present invention described above, a series of K drive operations already executed and p subsequent unexecuted drive operations are performed from the beginning. , The extended drive stop time is calculated according to the drive time and the DC motor current amount per unit time, and it is determined whether to set the extended drive stop time. On the other hand, D according to the eleventh embodiment of the present invention
In the C motor control device and the control method, first, a drive stop time for K times is calculated according to a drive time and a DC motor current amount per unit time in a series of K drive operations that have been executed, and The drive stop time integrated value is calculated from the drive stop time, and only when it is determined that the drive stop time should be set based on the drive stop time integrated value, the K drive operations already performed and the subsequent Calculating an extended drive stop time according to the drive time and the DC motor current amount per unit time in the p unexecuted drive operations;
It is determined whether to set the extended drive stop time.

【0177】即ち、本発明の第11の実施の形態に係る
DCモータ制御装置及び制御方法は、先ず、実行済みの
K回の駆動動作内容に応じて駆動停止時間を設定するか
否かを判断し、駆動停止時間を設定すべきであると判断
される場合には、さらに、実行済みのK回の駆動動作内
容及び後続する未実行のp回の駆動動作内容に応じて、
駆動停止時間を設定することが本当に必要であるか否か
を判断するものである。
That is, in the DC motor control device and the control method according to the eleventh embodiment of the present invention, first, it is determined whether or not to set the drive stop time in accordance with the content of the K drive operations that have been performed. However, if it is determined that the drive stop time should be set, further, according to the executed K drive operation contents and the subsequent unexecuted p drive operation contents,
This is to determine whether it is really necessary to set the drive stop time.

【0178】本発明の第11の実施の形態に係るDCモ
ータ制御装置におけるキャリッジ駆動停止時間算出ユニ
ット100は、タイマ6kからのタイマ割り込みタイミ
ング、エンコーダ11からのエンコーダ割り込みタイミ
ング、並びに、タイマ割り込みタイミング及びエンコー
ダ割り込みタイミングにおけるDAC出力値を記憶保持
し、それらを所定の駆動停止判断条件に応じて出力する
バッファメモリ101と、タイマ割り込みタイミング又
はエンコーダ割り込みタイミングの間隔とDAC出力値
とから、各割込みタイミングの間の各期間におけるDC
モータ電流量を算出する電流量算出部102と、各期間
におけるDCモータ電流量から、一回の一連の駆動動作
におけるDCモータ電流総量を算出する電流総量算出部
103と、タイマ割り込みタイミング又はエンコーダ割
り込みタイミングの間隔から、一回の一連の駆動動作に
おける駆動時間を算出するDCモータ駆動時間算出部1
04と、一回の一連の駆動動作におけるDCモータ電流
総量と駆動時間とから、一回の一連の駆動動作における
単位時間当たりのDCモータ電流量を算出する単位時間
電流量算出部105と、一回の一連の駆動動作における
駆動時間と単位時間当たりのDCモータ電流量とから、
一の駆動動作とこれに後続する駆動動作との間において
DCモータ駆動を停止すべきDCモータ駆動停止時間を
算出するDCモータ駆動停止時間算出部106と、DC
モータ駆動停止時間の算出回数を計数するカウンタ10
7と、所定の複数回(K回)分のDCモータ駆動停止時
間を記憶保持し、DCモータ駆動停止時間の算出回数が
K回となったときにK回分のDCモータ駆動停止時間を
出力するバッファメモリ108と、K回分のDCモータ
駆動停止時間から、K回の一連の駆動動作におけるDC
モータ駆動停止時間積算値を算出するDCモータ駆動停
止時間積算値算出部109と、後続する未実行の所定回
数(p回)の一連の駆動動作の駆動制御データに基づ
き、上記DCモータ駆動停止時間積算値が正の値である
場合に、後続する未実行のp回の一連の駆動動作におけ
るDCモータ電流波形を予測形成する駆動電流波形予測
形成部111と、予測形成したDCモータ電流波形に基
づき、後続する未実行のp回の一連の駆動動作における
後続DCモータ電流総量を算出する後続電流総量算出部
112と、予測形成したDCモータ電流波形に基づき、
後続する未実行のp回の一連の駆動動作における後続駆
動時間を算出する後続駆動時間算出部113と、K回分
のDCモータ電流総量を保持し、K回分のDCモータ電
流総量と後続DCモータ電流総量とを加算して拡張DC
モータ電流総量を算出する拡張電流総量算出部114
と、K回分の駆動時間を保持し、K回分の駆動時間と後
続駆動時間とを加算して拡張駆動時間を算出する拡張駆
動時間算出部115と、拡張DCモータ電流総量と拡張
駆動時間とから、実行済みのK回の一連の駆動動作及び
後続する未実行のp回の一連の駆動動作における単位時
間当たりの拡張DCモータ電流量を算出する拡張単位時
間電流量算出部116と、拡張駆動時間と単位時間当た
りの拡張DCモータ電流量とから、実行済みのK回の一
連の駆動動作と後続する未実行のp回の一連の駆動動作
との間においてDCモータ駆動を停止すべき拡張駆動停
止時間を算出する拡張駆動停止時間算出部117とから
構成されている。
The carriage drive stop time calculation unit 100 in the DC motor control device according to the eleventh embodiment of the present invention includes a timer interrupt timing from the timer 6k, an encoder interrupt timing from the encoder 11, and a timer interrupt timing. The buffer memory 101 which stores and holds the DAC output values at the encoder interrupt timing and outputs them in accordance with predetermined drive stop determination conditions, and the interval of the timer interrupt timing or the encoder interrupt timing and the DAC output value and the DAC output value determines each interrupt timing. DC in each period between
A current amount calculator 102 for calculating a motor current amount; a current total amount calculator 103 for calculating a DC motor current amount in one series of driving operations from a DC motor current amount in each period; a timer interrupt timing or an encoder interrupt DC motor drive time calculation unit 1 that calculates a drive time in one series of drive operations from timing intervals
A unit time current amount calculation unit 105 that calculates a DC motor current amount per unit time in one series of drive operations from the DC motor current total amount and the drive time in one series of drive operations; From the drive time in a series of drive operations and the DC motor current amount per unit time,
A DC motor drive stop time calculation unit 106 that calculates a DC motor drive stop time for stopping the DC motor drive between one drive operation and a subsequent drive operation;
Counter 10 for counting the number of times the motor drive stop time is calculated
7 and a predetermined number of times (K times) of DC motor drive stop time are stored and stored, and when the number of times of calculation of the DC motor drive stop time becomes K times, the DC motor drive stop time of K times is output. From the buffer memory 108 and the DC motor drive stop time for K times, the DC
The DC motor drive stop time is calculated based on the DC motor drive stop time integrated value calculation unit 109 for calculating the motor drive stop time integrated value and the drive control data of a series of drive operations of a predetermined number of times (p times) that have not been executed. When the integrated value is a positive value, a driving current waveform prediction forming unit 111 that predicts and forms a DC motor current waveform in a series of subsequent unexecuted p driving operations, based on the predicted and formed DC motor current waveform A subsequent current total amount calculating unit 112 for calculating a total subsequent DC motor current amount in a series of subsequent unexecuted p driving operations, and a predicted DC motor current waveform,
A subsequent drive time calculation unit 113 for calculating a subsequent drive time in a series of unexecuted p-time drive operations, holding the total DC motor current for K times, and calculating the total DC motor current for K times and the subsequent DC motor current Extended DC by adding the total amount
Extended current total amount calculation unit 114 that calculates the total motor current amount
And an extended drive time calculation unit 115 that holds the drive time for K times, adds the drive time for K times and the subsequent drive time to calculate an extended drive time, and calculates the extended DC motor current total amount and the extended drive time. An extended unit time current amount calculator 116 for calculating an extended DC motor current amount per unit time in a series of executed K driving operations and a subsequent series of unexecuted p driving operations; Extended drive stop to stop the DC motor drive between the executed K series of drive operations and the subsequent unexecuted p series of drive operations, based on and the extended DC motor current amount per unit time. And an extended drive stop time calculation unit 117 for calculating time.

【0179】図21は、本発明の第11の実施の形態に
係るDCモータ制御装置の動作、即ち、本発明の第11
の実施の形態に係るDCモータ制御方法の手順を示した
フローチャートである。
FIG. 21 shows the operation of the DC motor control device according to the eleventh embodiment of the present invention, that is, the eleventh embodiment of the present invention.
4 is a flowchart showing a procedure of a DC motor control method according to the embodiment.

【0180】図20及び図21を参照して、本発明の第
11の実施の形態に係るDCモータ制御装置の動作、即
ち、本発明の第11の実施の形態に係るDCモータ制御
方法について説明する。
The operation of the DC motor control device according to the eleventh embodiment of the present invention, that is, the DC motor control method according to the eleventh embodiment of the present invention will be described with reference to FIGS. I do.

【0181】DCモータ駆動停止判断条件の判断(ステ
ップS201)、DCモータ電流総量及びDCモータ駆
動時間の算出、単位時間当たりのDCモータ電流量τの
算出(ステップS202)、DCモータ駆動停止時間Δ
tの算出(ステップS203)の各ステップにおける各
数値の算出及び制御動作は、第3の実施の形態と同様で
ある。尚、ステップS202において算出したDCモー
タ駆動時間、DCモータ電流総量は、拡張電流総量算出
部114,拡張駆動時間算出部115にそれぞれ保持し
ておく。
Judgment of DC motor drive stop determination conditions (step S201), calculation of DC motor current total and DC motor drive time, calculation of DC motor current τ per unit time (step S202), DC motor drive stop time Δ
The calculation and control operation of each numerical value in each step of the calculation of t (step S203) are the same as in the third embodiment. The DC motor driving time and the DC motor current total amount calculated in step S202 are stored in the extended current total amount calculating unit 114 and the extended driving time calculating unit 115, respectively.

【0182】DCモータ駆動停止時間Δtが算出される
と、DCモータ駆動停止時間Δtの算出回数Nがカウン
タ107により計数される。カウンタ107は、DCモ
ータ駆動停止時間Δtの算出回数Nが、Kの整数倍(N
=mK(m=1,2,...))となったときにのみ出
力指令信号を出力する(ステップS204)。
After the DC motor drive stop time Δt is calculated, the counter 107 counts the number of times the DC motor drive stop time Δt is calculated. The counter 107 determines that the number N of times of calculation of the DC motor drive stop time Δt is an integral multiple of K (N
= MK (m = 1, 2,...)), An output command signal is output (step S204).

【0183】一方、バッファメモリ108は、カウンタ
107からの出力指令信号が入力されない限り、算出さ
れたDCモータ駆動停止時間Δtを順次記憶保持してい
く(ステップS205)。
On the other hand, the buffer memory 108 sequentially stores and holds the calculated DC motor drive stop time Δt unless an output command signal is input from the counter 107 (step S205).

【0184】DCモータ駆動停止時間Δtの算出回数N
がKの整数倍(N=mK)となってカウンタ107から
バッファメモリ108へ出力指令信号が入力されると、
バッファメモリ108は、直前のK回分のDCモータ駆
動停止時間ΔtをDCモータ駆動停止時間積算値算出部
109へ順次出力する。DCモータ駆動停止時間積算値
算出部109は、直前のK回分のDCモータ駆動停止時
間Δtを総て加算して、K回の一連の駆動動作における
DCモータ駆動停止時間積算値ΣΔtを算出する(ステ
ップS206)。
Calculation number N of DC motor drive stop time Δt
Becomes an integral multiple of K (N = mK) and an output command signal is input from the counter 107 to the buffer memory 108,
The buffer memory 108 sequentially outputs the DC motor drive stop time Δt for the last K times to the DC motor drive stop time integrated value calculation unit 109. The DC motor drive stop time integrated value calculating unit 109 calculates the DC motor drive stop time integrated value ΣΔt in a series of K drive operations by adding all of the DC motor drive stop times Δt for the last K times. Step S206).

【0185】そして、算出されたDCモータ駆動停止時
間積算値ΣΔtの値に応じてその後の駆動制御を行う。
即ち、DCモータ駆動停止時間積算値ΣΔtが正の値で
あるかどうか(ΣΔt>0)を判断し(ステップS20
7)、DCモータ駆動停止時間積算値ΣΔtが0以下の
値(ΣΔt≦0)であるときは特にDCモータ駆動停止
時間を設けずに、通常通り、DCモータ駆動停止してか
ら直ちに後続の駆動動作に移行する(ステップS20
8)。
Then, subsequent drive control is performed according to the calculated value of the DC motor drive stop time integrated value ΣΔt.
That is, it is determined whether the DC motor drive stop time integrated value ΣΔt is a positive value (ΣΔt> 0) (step S20).
7) When the integrated value of the DC motor drive stop time ΣΔt is a value of 0 or less (ΣΔt ≦ 0), the DC motor drive stop time is not provided, and the subsequent drive is performed immediately after the DC motor drive stop as usual. Move to operation (step S20)
8).

【0186】一方、DCモータ駆動停止時間積算値ΣΔ
tが正の値(ΣΔt>0)であるときは、DCモータ駆
動停止時間積算値ΣΔtに等しい駆動停止時間を直ちに
設けることはせずに、実行済みのK回の一連の駆動動作
内容のみならず、後続する未実行のp回の一連の駆動動
作内容をも考慮した上で、DCモータ駆動停止時間を設
けることが必要であるか否かを判断すべく、拡張駆動停
止時間ΔtEXを算出するための動作手順を開始する。
On the other hand, the DC motor drive stop time integrated value 時間 Δ
When t is a positive value (ΣΔt> 0), a drive stop time equal to the DC motor drive stop time integrated value ΣΔt is not immediately provided, and if only a series of K drive operations that have been executed are performed. In addition, the extended drive stop time ΔtEX is calculated in order to determine whether or not it is necessary to provide the DC motor drive stop time in consideration of the content of a series of subsequent unexecuted drive operations. To start the operation procedure.

【0187】即ち、DCモータ駆動停止時間積算値ΣΔ
tが正の値(ΣΔt>0)であるときは、先ず、後続す
る未実行のp回の一連の駆動動作の駆動制御データに基
づき、後続する未実行のp回の一連の駆動動作における
DCモータ電流波形を駆動電流波形予測形成部111に
より予測形成する(ステップS209)。
That is, the integrated value of the DC motor drive stop time ΣΔ
When t is a positive value (ΣΔt> 0), first, based on the drive control data of the subsequent unexecuted p series of driving operations, DC in the subsequent unexecuted p series of driving operations is performed. The motor current waveform is predicted and formed by the drive current waveform prediction forming unit 111 (step S209).

【0188】後続する未実行のp回の一連の駆動動作に
おけるDCモータ電流波形の予測形成後、後続電流総量
算出部112,後続駆動時間算出部113は、予測形成
されたDCモータ電流波形に基づき、後続する未実行の
p回の一連の駆動動作における後続電流総量、後続駆動
時間をそれぞれ算出する(ステップS210)。
After the DC motor current waveform is predicted and formed in the subsequent series of unexecuted p driving operations, the subsequent current total amount calculating unit 112 and the subsequent driving time calculating unit 113 determine the DC motor current waveform based on the predicted and formed DC motor current waveform. Then, the subsequent current total amount and the subsequent driving time in the subsequent series of unexecuted p driving operations are calculated (step S210).

【0189】後続電流総量及び後続駆動時間の算出後、
拡張電流総量算出部114は、保持していたK回分のD
Cモータ電流総量と後続電流総量とを加算することによ
り拡張電流総量IEXを算出し、拡張駆動時間算出部11
5は、保持していたK回分の駆動時間と後続駆動時間と
を加算することにより拡張駆動時間TEXを算出する(ス
テップS211)。
After calculating the total amount of the subsequent current and the subsequent driving time,
The extended current total amount calculation unit 114 calculates the stored D
The total extended current amount IEX is calculated by adding the total amount of the C motor current and the total amount of the subsequent current, and the extended drive time calculating unit 11
5 calculates the extended drive time TEX by adding the held drive time for K times and the subsequent drive time (step S211).

【0190】拡張電流総量IEX及び拡張駆動時間TEXの
算出後、拡張電流総量IEX及び拡張駆動時間TEXから、
実行済みのK回の一連の駆動動作及び後続する未実行の
p回の一連の駆動動作における単位時間当たりの拡張D
Cモータ電流量τEX=IEX/TEXを算出する(ステップ
S212)。
After calculating the total extended current amount IEX and the extended driving time TEX, the following formula is obtained from the total extended current amount IEX and the extended driving time TEX.
Extension D per unit time in the executed K series of driving operations and the subsequent unexecuted p series of driving operations
The C motor current amount τEX = IEX / TEX is calculated (step S212).

【0191】単位時間当たりの拡張DCモータ電流量τ
EXを算出した後、実行済みのK回の一連の駆動動作及び
後続する未実行のp回の一連の駆動動作における拡張駆
動時間TEXと単位時間当たりの拡張DCモータ電流量τ
EXとから、拡張駆動停止時間ΔtEXを拡張駆動停止時間
算出部117により算出する(ステップS213)。拡
張駆動停止時間ΔtEXの算出方法は、第1の実施の形態
において説明した通りである。
Extended DC motor current amount τ per unit time
After calculating EX, the extended drive time TEX and the extended DC motor current amount τ per unit time in the K series of executed drive operations and the subsequent p series of unexecuted drive operations
From EX, the extended drive stop time ΔtEX is calculated by the extended drive stop time calculation unit 117 (step S213). The method of calculating the extended drive stop time ΔtEX is as described in the first embodiment.

【0192】そして、算出された拡張駆動停止時間Δt
EXの値に応じてその後の駆動制御を行う。即ち、拡張駆
動停止時間ΔtEXが正の値(ΔtEX>0)であるかどう
かを判断し(ステップS214)、拡張駆動停止時間Δ
tEXが0以下の値(ΔtEX≦0)であるときは特にDC
モータ駆動停止時間を設けずに、通常通り、DCモータ
駆動停止してから直ちに後続の駆動動作に移行する(ス
テップS208)。
Then, the calculated extended drive stop time Δt
The subsequent drive control is performed according to the value of EX. That is, it is determined whether or not the extended drive stop time ΔtEX is a positive value (ΔtEX> 0) (step S214), and the extended drive stop time Δ
When tEX is 0 or less (ΔtEX ≦ 0), DC
Without providing a motor drive stop time, the process immediately proceeds to the subsequent drive operation immediately after the DC motor drive is stopped (step S208).

【0193】一方、拡張駆動停止時間ΔtEXが正の値
(ΔtEX>0)であるときは、DCモータ駆動停止して
からその拡張駆動停止時間ΔtEXだけDCモータを停止
させ続ける(ステップS215)。拡張駆動停止時間Δ
tEXが経過した後は、後続の駆動動作に移行する。
On the other hand, when the extended drive stop time ΔtEX is a positive value (ΔtEX> 0), the DC motor drive is stopped and then the DC motor is stopped for the extended drive stop time ΔtEX (step S215). Extended drive stop time Δ
After the elapse of tEX, the operation shifts to the subsequent driving operation.

【0194】以上のように、本発明の第11の実施の形
態に係るDCモータ制御装置及び制御方法によれば、一
回の一連の駆動動作ごとではなく、複数回の一連の駆動
動作ごとに、実行済みの一連の駆動動作内容のみなら
ず、後続する未実行の一連の駆動動作内容をも考慮して
算出した駆動停止時間を設けることにより、全体として
の駆動時間の増加をさらに小さく抑制しながら、DCモ
ータの発熱量を抑制し、連続動作によるDCモータの発
熱に起因するDCモータへの電流入り込み不足を防止す
ることが可能となる。例えば、一の駆動動作において算
出された駆動停止時間が負の値であり、後続する駆動動
作において算出された駆動停止時間が正の値である場
合、それらを相殺して、より短い駆動停止時間でDCモ
ータの発熱量を抑制することが可能となる。
As described above, according to the DC motor control device and the control method according to the eleventh embodiment of the present invention, instead of every single series of driving operations, each series of plural driving operations is performed. By providing a drive stop time calculated in consideration of not only a series of executed driving operations but also a series of subsequent unexecuted driving operations, it is possible to further suppress an increase in the entire driving time. However, it is possible to suppress the amount of heat generated by the DC motor and prevent shortage of current from flowing into the DC motor due to heat generated by the DC motor due to continuous operation. For example, if the drive stop time calculated in one drive operation is a negative value and the drive stop time calculated in the subsequent drive operation is a positive value, the drive stop time is canceled to make the drive stop time shorter. Thus, the amount of heat generated by the DC motor can be suppressed.

【0195】図22は、本発明の第12の実施の形態に
係るDCモータ制御装置の構成を示したブロック図であ
る。
FIG. 22 is a block diagram showing a configuration of a DC motor control device according to the twelfth embodiment of the present invention.

【0196】図22に示した本発明の第12の実施の形
態に係るDCモータ制御装置も、DCユニット6と、D
Cユニット6に付加されたキャリッジ駆動停止時間算出
ユニット100とから構成されている。キャリッジ駆動
停止時間算出ユニット100の構成は、本発明の第11
の実施の形態に係るDCモータ制御装置におけるキャリ
ッジ駆動停止時間算出ユニット100の構成に類似して
いるが、一部が異なっている。DCユニット6の構成
は、第1の実施の形態と同様である。
A DC motor control device according to the twelfth embodiment of the present invention shown in FIG.
And a carriage drive stop time calculation unit 100 added to the C unit 6. The configuration of the carriage drive stop time calculation unit 100 is the same as that of the eleventh embodiment of the present invention.
Although the configuration is similar to that of the carriage drive stop time calculation unit 100 in the DC motor control device according to the present embodiment, the configuration is partially different. The configuration of the DC unit 6 is the same as in the first embodiment.

【0197】第1の実施の形態についての説明中に示し
た式(1)から分かるように、DCモータ駆動停止時間
Δt,拡張駆動停止時間ΔtEXは、単位時間当たりのD
Cモータ電流量τ,拡張DCモータ電流量τEXを算出し
なくても、DCモータ電流総量Itotal及び駆動時間Tt
otal,拡張電流総量IEX及び拡張駆動時間TEXの値から
それぞれ算出することができる。そこで、本発明の第1
2の実施の形態に係るDCモータ制御装置におけるキャ
リッジ駆動停止時間算出ユニット100は、第11の実
施の形態におけるキャリッジ駆動停止時間算出ユニット
100から単位時間電流量算出部105及び拡張単位時
間電流量算出部116を除去した構成となっている。
As can be seen from the equation (1) shown in the description of the first embodiment, the DC motor drive stop time Δt and the extended drive stop time ΔtEX are expressed by D per unit time.
Even if the C motor current amount τ and the extended DC motor current amount τEX are not calculated, the DC motor current total amount Itotal and the driving time Tt
otal, the total amount of extension current IEX, and the value of the extension drive time TEX. Therefore, the first of the present invention
The carriage drive stop time calculation unit 100 in the DC motor control device according to the second embodiment is different from the carriage drive stop time calculation unit 100 in the eleventh embodiment in the unit time current amount calculation unit 105 and the extended unit time current amount calculation. The configuration is such that the part 116 is removed.

【0198】本発明の第12の実施の形態に係るDCモ
ータ制御装置におけるキャリッジ駆動停止時間算出ユニ
ット100は、タイマ6kからのタイマ割り込みタイミ
ング、エンコーダ11からのエンコーダ割り込みタイミ
ング、並びに、タイマ割り込みタイミング及びエンコー
ダ割り込みタイミングにおけるDAC出力値を記憶保持
し、それらを所定の駆動停止判断条件に応じて出力する
バッファメモリ101と、タイマ割り込みタイミング又
はエンコーダ割り込みタイミングの間隔とDAC出力値
とから、各割込みタイミングの間の各期間におけるDC
モータ電流量を算出する電流量算出部102と、各期間
におけるDCモータ電流量から、一回の一連の駆動動作
におけるDCモータ電流総量を算出する電流総量算出部
103と、タイマ割り込みタイミング又はエンコーダ割
り込みタイミングの間隔から、一回の一連の駆動動作に
おける駆動時間を算出するDCモータ駆動時間算出部1
04と、一回の一連の駆動動作におけるDCモータ電流
総量と駆動時間とから、一の駆動動作とこれに後続する
駆動動作との間においてDCモータ駆動を停止すべきD
Cモータ駆動停止時間を算出するDCモータ駆動停止時
間算出部106と、DCモータ駆動停止時間の算出回数
を計数するカウンタ107と、所定の複数回(K回)分
のDCモータ駆動停止時間を記憶保持し、DCモータ駆
動停止時間の算出回数がK回となったときにK回分のD
Cモータ駆動停止時間を出力するバッファメモリ108
と、K回分のDCモータ駆動停止時間から、K回の一連
の駆動動作におけるDCモータ駆動停止時間積算値を算
出するDCモータ駆動停止時間積算値算出部109と、
後続する未実行の所定回数(p回)の一連の駆動動作の
駆動制御データに基づき、上記DCモータ駆動停止時間
積算値が正の値である場合に、後続する未実行のp回の
一連の駆動動作におけるDCモータ電流波形を予測形成
する駆動電流波形予測形成部111と、予測形成したD
Cモータ電流波形に基づき、後続する未実行のp回の一
連の駆動動作における後続DCモータ電流総量を算出す
る後続電流総量算出部112と、予測形成したDCモー
タ電流波形に基づき、後続する未実行のp回の一連の駆
動動作における後続駆動時間を算出する後続駆動時間算
出部113と、K回分のDCモータ電流総量を保持し、
K回分のDCモータ電流総量と後続DCモータ電流総量
とを加算して拡張DCモータ電流総量を算出する拡張電
流総量算出部114と、K回分の駆動時間を保持し、K
回分の駆動時間と後続駆動時間とを加算して拡張駆動時
間を算出する拡張駆動時間算出部115と、拡張DCモ
ータ電流総量と拡張駆動時間とから、実行済みのK回の
一連の駆動動作と後続する未実行のp回の一連の駆動動
作との間においてDCモータ駆動を停止すべき拡張駆動
停止時間を算出する拡張駆動停止時間算出部117とか
ら構成されている。
The carriage drive stop time calculation unit 100 in the DC motor control device according to the twelfth embodiment of the present invention includes a timer interrupt timing from the timer 6k, an encoder interrupt timing from the encoder 11, and a timer interrupt timing. The buffer memory 101 that stores and holds the DAC output values at the encoder interrupt timing and outputs them in accordance with predetermined drive stop determination conditions, and determines the timing of each interrupt timing based on the timer interrupt timing or the interval of the encoder interrupt timing and the DAC output value. DC in each period between
A current amount calculator 102 for calculating a motor current amount; a current total amount calculator 103 for calculating a DC motor current amount in one series of driving operations from a DC motor current amount in each period; a timer interrupt timing or an encoder interrupt DC motor drive time calculation unit 1 that calculates a drive time in one series of drive operations from timing intervals
04 and the DC motor current total amount and the drive time in one series of drive operations, the DC motor drive should be stopped between one drive operation and the subsequent drive operation.
A DC motor drive stop time calculation unit 106 that calculates the C motor drive stop time, a counter 107 that counts the number of times the DC motor drive stop time is calculated, and stores a predetermined plurality (K) of DC motor drive stop times. When the number of times the DC motor drive stop time is calculated reaches K times, K times D
Buffer memory 108 for outputting C motor drive stop time
A DC motor drive stop time integrated value calculation unit 109 that calculates a DC motor drive stop time integrated value in a series of K drive operations from the K times of DC motor drive stop time;
If the DC motor drive stop time integrated value is a positive value based on the drive control data of a series of subsequent unexecuted predetermined times (p times) of drive operation, the subsequent unexecuted p series of unexecuted times A driving current waveform prediction forming unit 111 for predicting and forming a DC motor current waveform in a driving operation;
A subsequent current total amount calculation unit 112 that calculates the total amount of the subsequent DC motor current in the subsequent series of unexecuted p driving operations based on the C motor current waveform, and the subsequent unexecuted based on the predicted formed DC motor current waveform A subsequent driving time calculation unit 113 for calculating a subsequent driving time in a series of p driving operations, and holding a total DC motor current amount for K times,
An extended current total amount calculation unit 114 for calculating the extended DC motor current amount by adding the total DC motor current amount for the K times and the subsequent DC motor current amount;
An extended drive time calculation unit 115 that calculates an extended drive time by adding the current drive time and the subsequent drive time, and performs a series of K drive operations that have been performed from the extended DC motor current total amount and the extended drive time. An extended drive stop time calculation unit 117 for calculating an extended drive stop time for stopping the DC motor drive between the subsequent unexecuted series of p drive operations.

【0199】図23は、本発明の第12の実施の形態に
係るDCモータ制御装置の動作、即ち、本発明の第12
の実施の形態に係るDCモータ制御方法の手順を示した
フローチャートである。
FIG. 23 shows the operation of the DC motor control apparatus according to the twelfth embodiment of the present invention, that is, the twelfth embodiment of the present invention.
4 is a flowchart showing a procedure of a DC motor control method according to the embodiment.

【0200】本発明の第12の実施の形態に係るDCモ
ータ制御装置の動作、即ち、本発明の第12の実施の形
態に係るDCモータ制御方法の手順は、DCモータ電流
総量Itotal及び駆動時間Ttotalを算出した後、単位時
間当たりのDCモータ電流量τを算出せずに、DCモー
タ電流総量Itotal及び駆動時間Ttotalの値からDCモ
ータ駆動停止時間Δtを算出している(ステップS22
2,S223)点、拡張電流総量IEX及び拡張駆動時間
TEXを算出した後(ステップS231)、単位時間当た
りの拡張DCモータ電流量τEXを算出せずに、拡張電流
総量IEX及び拡張駆動時間TEXの値から拡張駆動停止時
間ΔtEXを算出している(ステップS232)点を除く
と、総て第11の実施の形態と同様である。DCモータ
電流総量Itotal及び駆動時間Ttotalの値から直接、D
Cモータ駆動停止時間Δtを算出できること、拡張電流
総量IEX及び拡張駆動時間TEXの値から直接、拡張駆動
停止時間ΔtEXを算出できることは、上述のように、第
1の実施の形態についての説明中の式(1)に示した通
りである。
The operation of the DC motor control apparatus according to the twelfth embodiment of the present invention, that is, the procedure of the DC motor control method according to the twelfth embodiment of the present invention is based on the total DC motor current Itotal and the driving time. After calculating Ttotal, the DC motor drive stop time Δt is calculated from the DC motor current total Itotal and the drive time Ttotal without calculating the DC motor current amount τ per unit time (step S22).
(2, S223), after calculating the total extended current amount IEX and the extended drive time TEX (step S231), without calculating the extended DC motor current amount τEX per unit time, calculate the total extended current amount IEX and the extended drive time TEX. Except for the point that the extended drive stop time ΔtEX is calculated from the value (step S232), the configuration is the same as that of the eleventh embodiment. From the values of the total DC motor current Itotal and the drive time Ttotal, D
The fact that the C motor drive stop time Δt can be calculated and that the extended drive stop time ΔtEX can be calculated directly from the values of the total extended current amount IEX and the extended drive time TEX are as described above in the description of the first embodiment. This is as shown in equation (1).

【0201】以上の各実施の形態においては、本発明に
係るモータ制御装置及び制御方法の制御対象となるモー
タをDCモータとし、本発明に係るモータ制御装置及び
制御方法をDCモータ制御装置及び制御方法として説明
した。
In each of the above embodiments, the motor to be controlled by the motor control device and the control method according to the present invention is a DC motor, and the motor control device and the control method according to the present invention are the DC motor control device and the control method. Described as a method.

【0202】しかし、実行済みの駆動動作内容のみなら
ず、後続する未実行の駆動動作内容にも応じて、駆動停
止時間を設定するか否かを決定するという本発明に係る
モータ制御装置及び制御方法の基本構成は、制御対象と
なるモータがDCモータである場合に限らず、ステッピ
ングモータ等、他の種類のモータが制御対象である場合
にも適用することができる。
However, according to the present invention, it is determined whether or not to set the drive stop time in accordance with not only the executed driving operation contents but also the following unexecuted driving operation contents. The basic configuration of the method is not limited to the case where the motor to be controlled is a DC motor, and can be applied to the case where another type of motor such as a stepping motor is to be controlled.

【0203】図24は、本発明に係るプリンタ制御方法
を実行するコンピュータプログラムが記録された記録媒
体及びその記録媒体が使用されるコンピュータシステム
の外観構成を示した説明図、図25は、図24に示した
コンピュータシステムの構成を示すブロック図である。
FIG. 24 is an explanatory diagram showing a recording medium on which a computer program for executing the printer control method according to the present invention is recorded, and an external configuration of a computer system using the recording medium. 3 is a block diagram illustrating a configuration of the computer system illustrated in FIG.

【0204】図24に示したコンピュータシステム70
は、ミニタワー型等の筐体に収納されたコンピュータ本
体71と、DCモータT(Cathode Ray Tube:陰極線
管)、プラズマディスプレイ、液晶表示装置等の表示装
置72と、記録出力装置としてのプリンタ73と、入力
装置としてのキーボード74a及びマウス74bと、フ
レキシブルディスクドライブ装置76と、CD−ROM
ドライブ装置77とから構成されている。図25は、こ
のコンピュータシステム70の構成をブロック図として
表示したものであり、コンピュータ本体71が収納され
た筐体内には、RAM(Random Access Memory)等の内
部メモリ75と、ハードディスクドライブユニット78
等の外部メモリがさらに設けられている。本発明に係る
プリンタ制御方法を実行するコンピュータプログラムが
記録された記録媒体は、このコンピュータシステム70
で使用される。記録媒体としては、例えば、フレキシブ
ルディスク81,CD−ROM(Read Only Memory)8
2が用いられるが、その他、MO(Magneto Optical)
ディスク、DVD(Digital Versatile Disk)、その他
の光学的記録ディスク、カードメモリ、磁気テープ等を
用いてもよい。
The computer system 70 shown in FIG.
Are a computer main body 71 housed in a mini-tower type housing or the like, a display device 72 such as a DC motor T (Cathode Ray Tube: cathode ray tube), a plasma display, a liquid crystal display device, and a printer 73 as a recording output device. A keyboard 74a and a mouse 74b as input devices, a flexible disk drive device 76, and a CD-ROM
And a drive device 77. FIG. 25 is a block diagram showing the configuration of the computer system 70. An internal memory 75 such as a random access memory (RAM) and a hard disk drive unit 78
And the like. The recording medium on which the computer program for executing the printer control method according to the present invention is recorded is the computer system 70
Used in. As a recording medium, for example, a flexible disk 81, a CD-ROM (Read Only Memory) 8
2, MO (Magneto Optical)
A disk, a DVD (Digital Versatile Disk), another optical recording disk, a card memory, a magnetic tape, or the like may be used.

【0205】[0205]

【発明の効果】本発明に係るモータ制御装置及び制御方
法によれば、実行済みの駆動動作における駆動時間及び
単位時間当たりのモータ電流量、又は、モータ電流総量
及び駆動時間のみならず、後続する未実行の駆動動作に
おける駆動時間及び単位時間当たりのモータ電流量、又
は、モータ電流総量及び駆動時間にも応じて、駆動停止
時間を設定するか否かを決定することとしたので、不要
な駆動停止時間を設けることや本来必要な駆動停止時間
を設け損なうことを回避し、かつ、全体としての駆動時
間の増加をより小さく抑制しながら、連続動作によるモ
ータの発熱に起因するモータへの電流入り込み不足を防
止することができる。
According to the motor control device and the control method according to the present invention, not only the driving time and the motor current amount per unit time in the already executed driving operation, or the total motor current amount and the driving time, but also the following. Since it is determined whether to set the drive stop time according to the drive time and the motor current amount per unit time in the unexecuted drive operation, or the total motor current amount and the drive time, unnecessary drive is determined. Avoiding the provision of a stop time or the failure to provide the originally required drive stop time, and suppressing the increase in the overall drive time to a smaller amount, while allowing the current to flow into the motor due to the heat generated by the motor due to continuous operation. Shortage can be prevented.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態に係るDCモータ制
御装置の構成を示したブロック図。
FIG. 1 is a block diagram showing a configuration of a DC motor control device according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態に係るDCモータ制
御装置の動作を示したフローチャート。
FIG. 2 is a flowchart showing the operation of the DC motor control device according to the first embodiment of the present invention.

【図3】タイマ割込み動作期間におけるDCモータ電流
量算出方法を示したグラフ。
FIG. 3 is a graph showing a method of calculating a DC motor current amount during a timer interrupt operation period.

【図4】エンコーダ割込み動作期間におけるDCモータ
電流量算出方法を示したグラフ。
FIG. 4 is a graph showing a method of calculating a DC motor current amount during an encoder interrupt operation period.

【図5】単位時間当たりのDCモータ電流量からのDC
モータ駆動停止時間算出方法を示したグラフ。
FIG. 5 shows the DC from the DC motor current per unit time.
7 is a graph showing a method for calculating a motor drive stop time.

【図6】本発明の第2の実施の形態に係るDCモータ制
御装置の構成を示したブロック図。
FIG. 6 is a block diagram showing a configuration of a DC motor control device according to a second embodiment of the present invention.

【図7】本発明の第2の実施の形態に係るDCモータ制
御装置の動作を示したフローチャート。
FIG. 7 is a flowchart showing an operation of the DC motor control device according to the second embodiment of the present invention.

【図8】本発明の第3の実施の形態に係るDCモータ制
御装置の構成を示したブロック図。
FIG. 8 is a block diagram showing a configuration of a DC motor control device according to a third embodiment of the present invention.

【図9】本発明の第3の実施の形態に係るDCモータ制
御装置の動作を示したフローチャート。
FIG. 9 is a flowchart showing the operation of the DC motor control device according to the third embodiment of the present invention.

【図10】本発明の第4の実施の形態に係るDCモータ
制御装置の構成を示したブロック図。
FIG. 10 is a block diagram showing a configuration of a DC motor control device according to a fourth embodiment of the present invention.

【図11】本発明の第4の実施の形態に係るDCモータ
制御装置の動作を示したフローチャート。
FIG. 11 is a flowchart showing an operation of the DC motor control device according to the fourth embodiment of the present invention.

【図12】本発明の第5の実施の形態に係るDCモータ
制御装置の構成を示したブロック図。
FIG. 12 is a block diagram showing a configuration of a DC motor control device according to a fifth embodiment of the present invention.

【図13】本発明の第6の実施の形態に係るDCモータ
制御装置の構成を示したブロック図。
FIG. 13 is a block diagram showing a configuration of a DC motor control device according to a sixth embodiment of the present invention.

【図14】本発明の第7の実施の形態に係るDCモータ
制御装置の構成を示したブロック図。
FIG. 14 is a block diagram showing a configuration of a DC motor control device according to a seventh embodiment of the present invention.

【図15】本発明の第8の実施の形態に係るDCモータ
制御装置の構成を示したブロック図。
FIG. 15 is a block diagram showing a configuration of a DC motor control device according to an eighth embodiment of the present invention.

【図16】本発明の第9の実施の形態に係るDCモータ
制御装置の構成を示したブロック図。
FIG. 16 is a block diagram showing a configuration of a DC motor control device according to a ninth embodiment of the present invention.

【図17】本発明の第9の実施の形態に係るDCモータ
制御装置の動作を示したフローチャート。
FIG. 17 is a flowchart showing the operation of the DC motor control device according to the ninth embodiment of the present invention.

【図18】本発明の第10の実施の形態に係るDCモー
タ制御装置の構成を示したブロック図。
FIG. 18 is a block diagram showing a configuration of a DC motor control device according to a tenth embodiment of the present invention.

【図19】本発明の第10の実施の形態に係るDCモー
タ制御装置の動作を示したフローチャート。
FIG. 19 is a flowchart showing the operation of the DC motor control device according to the tenth embodiment of the present invention.

【図20】本発明の第11の実施の形態に係るDCモー
タ制御装置の構成を示したブロック図。
FIG. 20 is a block diagram showing a configuration of a DC motor control device according to an eleventh embodiment of the present invention.

【図21】本発明の第11の実施の形態に係るDCモー
タ制御装置の動作を示したフローチャート。
FIG. 21 is a flowchart showing the operation of the DC motor control device according to the eleventh embodiment of the present invention.

【図22】本発明の第12の実施の形態に係るDCモー
タ制御装置の構成を示したブロック図。
FIG. 22 is a block diagram showing a configuration of a DC motor control device according to a twelfth embodiment of the present invention.

【図23】本発明の第12の実施の形態に係るDCモー
タ制御装置の動作を示したフローチャート。
FIG. 23 is a flowchart showing the operation of the DC motor control device according to the twelfth embodiment of the present invention.

【図24】本発明に係るプリンタ制御方法を実行するプ
ログラムが記録された記録媒体及びその記録媒体が使用
されるコンピュータシステムの外観構成を示した説明
図。
FIG. 24 is an explanatory diagram showing an external configuration of a recording medium on which a program for executing the printer control method according to the present invention is recorded and a computer system using the recording medium.

【図25】図24に示したコンピュータシステムの構成
を示すブロック図。
FIG. 25 is an exemplary block diagram showing the configuration of the computer system shown in FIG. 24.

【図26】インクジェットプリンタの概略構成を示した
ブロック図。
FIG. 26 is a block diagram illustrating a schematic configuration of an inkjet printer.

【図27】インクジェットプリンタのキャリッジ3周辺
の構成を示した斜視図。
FIG. 27 is a perspective view showing a configuration around a carriage 3 of the inkjet printer.

【図28】キャリッジ3に取付けられたリニア式エンコ
ーダ11の構成を模式的に示した説明図。
FIG. 28 is an explanatory diagram schematically showing a configuration of the linear encoder 11 attached to the carriage 3.

【図29】DCモータモータ正転時及び逆転時における
エンコーダ11の2つの出力信号の波形を示したタイミ
ングチャート。
FIG. 29 is a timing chart showing waveforms of two output signals of the encoder 11 at the time of forward rotation and reverse rotation of the DC motor.

【図30】給紙及び紙検出に関連する部分を示した透視
図。
FIG. 30 is a perspective view showing a portion related to paper feeding and paper detection.

【図31】プリンタの紙送りに関連する部分を詳細に示
した透視図。
FIG. 31 is a perspective view showing a portion related to paper feeding of the printer in detail.

【図32】DCモータ制御装置であるDCユニット6の
構成を示したブロック図。
FIG. 32 is a block diagram showing a configuration of a DC unit 6 which is a DC motor control device.

【図33】DCユニット6により制御されるDCモータ
モータ4のモータ電流及びモータ速度を示したグラフ。
FIG. 33 is a graph showing motor current and motor speed of the DC motor 4 controlled by the DC unit 6;

【符号の説明】[Explanation of symbols]

1 紙送りモータ(PFモータ) 2 紙送りドライバ 3 キャリッジ 4 キャリッジモータ(DCモータモータ) 5 キャリッジモータドライバ(DCモータモータドラ
イバ) 6 DCユニット 6a 位置演算部 6b 減算器 6c 目標速度演算部 6d 速度演算部 6e 減算器 6f 比例要素 6g 積分要素 6h 微分要素 6j D/Aコンバータ 7 ポンプモータ 8 ポンプモータドライバ 9 記録ヘッド 10 ヘッドドライバ 11 リニア式エンコーダ 12 符号板 13 エンコーダ(ロータリ式エンコーダ) 14 ロータリ式エンコーダ用符号板 15 紙検出センサ 16 CPU 17 タイマIC 18 ホストコンピュータ 19 インタフェース部 20 ASIC 21 PROM 22 RAM 23 EEPROM 25 プラテン 30 プーリ 31 タイミングベルト 32 キャリッジモータのガイド部材 34 インクカートリッジ 35 キャッピング装置 36 ポンプユニット 37 キャップ 50 記録紙 60 プリンタ 61 給紙挿入口 62 排紙口 64 給紙ローラ 65 紙送りローラ 66 従動ローラ 67a 大歯車 67b 中間歯車 67c 排紙歯車 68 排紙ローラ 69 従動ローラ(ギザローラ) 83 スマップ軸 84 プラテン 87 小歯車 88 小歯車 89 ホルダ 100 キャリッジ駆動停止時間算出ユニット 101 バッファメモリ 102 電流量算出部 103 電流総量算出部 104 DCモータ駆動時間算出部 105 単位時間電流量算出部 106 DCモータ駆動停止時間算出部 107 カウンタ 108 バッファメモリ 109 DCモータ駆動停止時間積算値算出部 111 駆動電流波形予測形成部 112 後続電流総量算出部 113 後続駆動時間算出部 114 拡張電流総量算出部 115 拡張駆動時間算出部 116 拡張単位時間電流量算出部 117 拡張駆動停止時間算出部
1 Paper feed motor (PF motor) 2 Paper feed driver 3 Carriage 4 Carriage motor (DC motor motor) 5 Carriage motor driver (DC motor motor driver) 6 DC unit 6a Position calculation unit 6b Subtractor 6c Target speed calculation unit 6d Speed calculation Unit 6e Subtractor 6f Proportional element 6g Integral element 6h Differential element 6j D / A converter 7 Pump motor 8 Pump motor driver 9 Recording head 10 Head driver 11 Linear encoder 12 Code plate 13 Encoder (rotary encoder) 14 For rotary encoder Code plate 15 Paper detection sensor 16 CPU 17 Timer IC 18 Host computer 19 Interface unit 20 ASIC 21 PROM 22 RAM 23 EEPROM 25 Platen 30 Pulley 31 Timing Guide 32 Carriage motor guide member 34 Ink cartridge 35 Capping device 36 Pump unit 37 Cap 50 Recording paper 60 Printer 61 Feed insertion slot 62 Discharge port 64 Feed roller 65 Paper feed roller 66 Follower roller 67a Large gear 67b Intermediate gear 67c Discharge gear 68 Discharge roller 69 Follower roller (jagged roller) 83 Smap shaft 84 Platen 87 Small gear 88 Small gear 89 Holder 100 Carriage drive stop time calculation unit 101 Buffer memory 102 Current amount calculation unit 103 Current total amount calculation unit 104 DC motor drive Time calculation unit 105 Unit time current amount calculation unit 106 DC motor drive stop time calculation unit 107 Counter 108 Buffer memory 109 DC motor drive stop time integrated value calculation unit 111 Drive current waveform prediction Generating unit 112 subsequent current amount calculating unit 113 subsequent driving time calculator 114 extended current amount calculating section 115 extended drive time calculating section 116 extended unit time current amount calculation section 117 extended drive stop time calculator

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C480 CA45 CB02 CB34 EA10 EA27 EB03 5H571 AA06 BB09 EE01 EE02 FF01 FF02 FF06 GG01 GG02 JJ03 JJ04 JJ16 JJ17 JJ18 JJ22 JJ23 JJ24 KK06 LL07 LL22 LL33 LL50 PP04  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2C480 CA45 CB02 CB34 EA10 EA27 EB03 5H571 AA06 BB09 EE01 EE02 FF01 FF02 FF06 GG01 GG02 JJ03 JJ04 JJ16 JJ17 JJ18 JJ22 JJ23 JJ24 KK06 LL07 LL22 LL22 LL07

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】モータの一回の一連の駆動動作ごとに、一
回の一連の駆動動作のモータ電流総量を算出する電流総
量算出部と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出部と、 モータの一回の一連の駆動動作ごとに、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の駆動制
御データに基づき、未実行の一連の駆動動作におけるモ
ータ電流波形を予測形成する電流波形予測形成部と、 モータの一回の一連の駆動動作ごとに、予測形成された
前記モータ電流波形に基づき、実行済みの一連の駆動動
作に後続する未実行の一連の駆動動作の後続電流総量を
算出する後続電流総量算出部と、 モータの一回の一連の駆動動作ごとに、予測形成された
前記モータ電流波形に基づき、実行済みの一連の駆動動
作に後続する未実行の一連の駆動動作の後続駆動時間を
算出する後続駆動時間算出部と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出部と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出部と、 前記拡張電流総量及び前記拡張駆動時間から、実行済み
の一回の一連の駆動動作及び後続する未実行の一回の一
連の駆動動作における単位時間当たりの拡張モータ電流
量を算出する拡張単位時間電流量算出部と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張駆動時間及び前記単位時間当たりの拡張モ
ータ電流量に応じた時間だけモータ駆動を停止させる拡
張駆動停止時間を算出する拡張駆動停止時間算出部と、
を備えたことを特徴とするモータ制御装置。
1. A total current calculating section for calculating a total amount of motor current in one series of driving operations for each series of driving operations of the motor; A drive time calculating unit for calculating a motor drive time of a series of drive operations; and a drive of an unexecuted series of drive operations subsequent to the executed series of drive operations for each series of drive operations of the motor. A current waveform prediction forming unit that predicts and forms a motor current waveform in a series of unexecuted driving operations based on the control data; and for each one series of driving operations of the motor, based on the predicted and formed motor current waveform, A subsequent current total amount calculation unit for calculating a total subsequent current amount of a series of unexecuted driving operations subsequent to a series of executed driving operations; and a motor current predicted and formed for each series of driving operations of the motor. Based on the waveform A subsequent driving time calculation unit that calculates a subsequent driving time of a series of unexecuted driving operations subsequent to the executed series of driving operations; and An extended current total amount calculating unit that calculates the extended driving time calculating unit that adds the motor driving time and the subsequent driving time to calculate an extended driving time; An extended unit time current amount calculation unit that calculates an extended motor current amount per unit time in one series of driving operations and a subsequent series of unexecuted driving operations, and for each series of driving operations Before starting the subsequent driving operation, the extended driving stop calculating the extended driving stop time for stopping the motor driving for a time corresponding to the extended driving time and the extended motor current amount per unit time A time calculation unit,
A motor control device comprising:
【請求項2】モータの一回の一連の駆動動作ごとに、一
回の一連の駆動動作のモータ電流総量を算出する電流総
量算出部と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出部と、 モータの一回の一連の駆動動作ごとに、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の駆動制
御データに基づき、未実行の一連の駆動動作におけるモ
ータ電流波形を予測形成する電流波形予測形成部と、 モータの一回の一連の駆動動作ごとに、予測形成された
前記モータ電流波形に基づき、実行済みの一連の駆動動
作に後続する未実行の一連の駆動動作の後続電流総量を
算出する後続電流総量算出部と、 モータの一回の一連の駆動動作ごとに、予測形成された
前記モータ電流波形に基づき、実行済みの一連の駆動動
作に後続する未実行の一連の駆動動作の後続駆動時間を
算出する後続駆動時間算出部と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出部と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出部と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張電流総量及び前記拡張駆動時間に応じた時
間だけモータ駆動を停止させる拡張駆動停止時間を算出
する拡張駆動停止時間算出部と、を備えたことを特徴と
するモータ制御装置。
2. A total current calculating unit for calculating a total amount of motor current in one series of driving operations for each series of driving operations of the motor; and one unit for each series of driving operations of the motor. A drive time calculating unit for calculating a motor drive time of a series of drive operations; and a drive of an unexecuted series of drive operations subsequent to the executed series of drive operations for each series of drive operations of the motor. A current waveform prediction forming unit that predicts and forms a motor current waveform in a series of unexecuted driving operations based on the control data; and for each one series of driving operations of the motor, based on the predicted and formed motor current waveform, A subsequent current total amount calculation unit for calculating a total subsequent current amount of a series of unexecuted driving operations subsequent to a series of executed driving operations; and a motor current predicted and formed for each series of driving operations of the motor. Based on the waveform A subsequent driving time calculation unit that calculates a subsequent driving time of a series of unexecuted driving operations subsequent to the executed series of driving operations; and An extended current total amount calculating unit for calculating the following, an extended driving time calculating unit for adding the motor driving time and the subsequent driving time to calculate an extended driving time, and a subsequent driving operation for each of a series of driving operations An extended drive stop time calculation unit that calculates an extended drive stop time for stopping the motor drive for a time corresponding to the total amount of the extended current and the extended drive time before starting.
【請求項3】モータの一回の一連の駆動動作ごとに、一
回の一連の駆動動作のモータ電流総量を算出する電流総
量算出部と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出部と、 前記モータ駆動時間及び前記モータ電流総量から、一回
の一連の駆動動作における単位時間当たりのモータ電流
量を算出する単位時間電流量算出部と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記モータ駆動時間及び前記単位時間当たりのモー
タ電流量に応じた駆動停止時間を算出する駆動停止時間
算出部と、 前記駆動停止時間が正の値である場合に、実行済みの一
連の駆動動作に後続する未実行の一連の駆動動作の駆動
制御データに基づき、未実行の一連の駆動動作における
モータ電流波形を予測形成する電流波形予測形成部と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続電流総量を算出する後続電流総量算出部と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続駆動時間を算出する後続駆動時間算出部と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出部と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出部と、 前記拡張電流総量及び前記拡張駆動時間から、実行済み
の一回の一連の駆動動作及び後続する未実行の一回の一
連の駆動動作における単位時間当たりの拡張モータ電流
量を算出する拡張単位時間電流量算出部と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張駆動時間及び前記単位時間当たりの拡張モ
ータ電流量に応じた時間だけモータ駆動を停止させる拡
張駆動停止時間を算出する拡張駆動停止時間算出部と、
を備えたことを特徴とするモータ制御装置。
3. A total current calculating section for calculating a total amount of motor current in one series of driving operations for each series of driving operations of the motor; A drive time calculation unit that calculates a motor drive time of a series of drive operations; and a unit time that calculates a motor current amount per unit time in a series of drive operations from the motor drive time and the total amount of the motor current. A current amount calculation unit, and a drive stop time calculation unit that calculates a drive stop time according to the motor drive time and the motor current amount per unit time before starting a subsequent drive operation for each of a series of drive operations. And when the drive stop time is a positive value, the motor power in the unexecuted series of drive operations is determined based on the drive control data of the unexecuted series of drive operations following the executed series of drive operations. A current waveform prediction forming unit that predicts and forms a flow waveform; and a subsequent current that calculates a total amount of subsequent current of a series of unexecuted driving operations subsequent to a series of executed driving operations based on the predicted motor current waveform. A total amount calculating unit, a subsequent driving time calculating unit that calculates a subsequent driving time of a series of unexecuted driving operations following the executed series of driving operations based on the predicted motor current waveform, and the motor current An extended current total amount calculation unit that calculates an extended current total amount by adding the total amount and the subsequent current total amount; and an extended drive time calculation unit that calculates an extended drive time by adding the motor drive time and the subsequent drive time. From the total amount of the extension current and the extension drive time, the extension motor power per unit time in one executed series of drive operations and one subsequent unexecuted series of drive operations An extension unit time current amount calculation unit for calculating an amount, and a motor corresponding to the extension drive time and the extension motor current amount per unit time before starting a subsequent drive operation for each series of drive operations. An extended drive stop time calculation unit that calculates an extended drive stop time for stopping driving,
A motor control device comprising:
【請求項4】モータの一回の一連の駆動動作ごとに、一
回の一連の駆動動作のモータ電流総量を算出する電流総
量算出部と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出部と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記モータ駆動時間及び前記モータ電流総量に応じ
た駆動停止時間を算出する駆動停止時間算出部と、 前記駆動停止時間が正の値である場合に、実行済みの一
連の駆動動作に後続する未実行の一連の駆動動作の駆動
制御データに基づき、未実行の一連の駆動動作における
モータ電流波形を予測形成する電流波形予測形成部と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続電流総量を算出する後続電流総量算出部と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続駆動時間を算出する後続駆動時間算出部と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出部と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出部と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張電流総量及び前記拡張駆動時間に応じた時
間だけモータ駆動を停止させる拡張駆動停止時間を算出
する拡張駆動停止時間算出部と、を備えたことを特徴と
するモータ制御装置。
4. A total current calculating unit for calculating a total amount of motor current in one series of driving operations for each series of driving operations of the motor; A drive time calculating unit for calculating a motor drive time of a series of drive operations; and a drive stop according to the motor drive time and the total amount of the motor current before starting a subsequent drive operation for each series of drive operations. A drive stop time calculating unit for calculating a time, when the drive stop time is a positive value, based on the drive control data of a series of unexecuted drive operations subsequent to the executed series of drive operations, A current waveform prediction forming unit for predicting and forming a motor current waveform in a series of driving operations of the following, based on the predicted and formed motor current waveform, following a series of unexecuted driving operations following a series of executed driving operations Current A subsequent current total amount calculating unit for calculating a total amount; and a subsequent drive time calculation for calculating a subsequent drive time of a series of unexecuted drive operations following the executed series of drive operations based on the predicted and formed motor current waveform. An extended current total amount calculating unit that calculates the total extended current amount by adding the total motor current amount and the subsequent current amount; and calculates an extended drive time by adding the motor drive time and the subsequent drive time. An extended drive time calculating unit, which calculates an extended drive stop time for stopping motor driving for a time corresponding to the total amount of the extended current and the extended drive time before starting a subsequent drive operation for each series of drive operations. A motor control device comprising: an extended drive stop time calculation unit.
【請求項5】モータの一回の一連の駆動動作ごとに、一
回の一連の駆動動作のモータ電流総量を算出する電流総
量算出部と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出部と、 モータの所定の複数回の一連の駆動動作ごとに、実行済
みの一連の駆動動作に後続する未実行の一連の駆動動作
の駆動制御データに基づき、未実行の一連の駆動動作に
おけるモータ電流波形を予測形成する電流波形予測形成
部と、 モータの所定の複数回の一連の駆動動作ごとに、予測形
成された前記モータ電流波形に基づき、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の後続電
流総量を算出する後続電流総量算出部と、 モータの所定の複数回の一連の駆動動作ごとに、予測形
成された前記モータ電流波形に基づき、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の後続駆
動時間を算出する後続駆動時間算出部と、 所定の複数回分の前記モータ電流総量と前記後続電流総
量とを加算して拡張電流総量を算出する拡張電流総量算
出部と、 所定の複数回分の前記モータ駆動時間と前記後続駆動時
間とを加算して拡張駆動時間を算出する拡張駆動時間算
出部と、 前記拡張電流総量及び前記拡張駆動時間から、実行済み
の一回の一連の駆動動作及び後続する未実行の一回の一
連の駆動動作における単位時間当たりの拡張モータ電流
量を算出する拡張単位時間電流量算出部と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張駆動時間及び前記単位時間当たりの拡張モ
ータ電流量に応じた時間だけモータ駆動を停止させる拡
張駆動停止時間を算出する拡張駆動停止時間算出部と、
を備えたことを特徴とするモータ制御装置。
5. A total current calculating section for calculating a total amount of motor current in one series of driving operations for each series of driving operations of the motor; A drive time calculating unit for calculating a motor drive time of a series of drive operations; and a series of unexecuted drive operations following the executed series of drive operations for each of a plurality of predetermined series of drive operations of the motor. A current waveform prediction forming unit for predicting and forming a motor current waveform in a series of unexecuted driving operations based on the driving control data of the motor; and a motor current predicted and formed for each of a plurality of predetermined series of driving operations of the motor. A subsequent current total amount calculation unit that calculates a total amount of subsequent current of a series of unexecuted driving operations following a series of executed driving operations based on the waveform; and a prediction for each of a plurality of predetermined series of driving operations of the motor. Been formed A subsequent driving time calculation unit that calculates a subsequent driving time of a series of unexecuted driving operations following the executed series of driving operations based on the motor current waveform; and a predetermined plurality of times of the motor current total amount and the subsequent An extended current total amount calculating unit that calculates an extended current amount by adding the total current amount; and an extended driving time calculating unit that calculates an extended driving time by adding the motor driving time and the subsequent driving time for a plurality of predetermined times. And an extension unit for calculating an extension motor current amount per unit time in one executed series of driving operations and one subsequent unexecuted series of driving operations from the total amount of extension current and the extension drive time. A time current amount calculation unit, and a motor corresponding to the extended drive time and the extended motor current amount per unit time before starting the subsequent drive operation for each series of drive operations. An extended drive stop time calculation unit that calculates an extended drive stop time for stopping the motor drive,
A motor control device comprising:
【請求項6】モータの一回の一連の駆動動作ごとに、一
回の一連の駆動動作のモータ電流総量を算出する電流総
量算出部と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出部と、 モータの所定の複数回の一連の駆動動作ごとに、実行済
みの一連の駆動動作に後続する未実行の一連の駆動動作
の駆動制御データに基づき、未実行の一連の駆動動作に
おけるモータ電流波形を予測形成する電流波形予測形成
部と、 モータの所定の複数回の一連の駆動動作ごとに、予測形
成された前記モータ電流波形に基づき、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の後続電
流総量を算出する後続電流総量算出部と、 モータの所定の複数回の一連の駆動動作ごとに、予測形
成された前記モータ電流波形に基づき、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の後続駆
動時間を算出する後続駆動時間算出部と、 所定の複数回分の前記モータ電流総量と前記後続電流総
量とを加算して拡張電流総量を算出する拡張電流総量算
出部と、 所定の複数回分の前記モータ駆動時間と前記後続駆動時
間とを加算して拡張駆動時間を算出する拡張駆動時間算
出部と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張電流総量及び前記拡張駆動時間に応じた時
間だけモータ駆動を停止させる拡張駆動停止時間を算出
する拡張駆動停止時間算出部と、を備えたことを特徴と
するモータ制御装置。
6. A total current calculating section for calculating a total amount of motor current in one series of driving operations for each series of driving operations of the motor; A drive time calculating unit for calculating a motor drive time of a series of drive operations; and a series of unexecuted drive operations following the executed series of drive operations for each of a plurality of predetermined series of drive operations of the motor. A current waveform prediction forming unit for predicting and forming a motor current waveform in a series of unexecuted driving operations based on the driving control data of the motor; and a motor current predicted and formed for each of a plurality of predetermined series of driving operations of the motor. A subsequent current total amount calculation unit that calculates a total amount of subsequent current of a series of unexecuted driving operations following a series of executed driving operations based on the waveform; and a prediction for each of a plurality of predetermined series of driving operations of the motor. Been formed A subsequent driving time calculation unit that calculates a subsequent driving time of a series of unexecuted driving operations following the executed series of driving operations based on the motor current waveform; and a predetermined plurality of times of the motor current total amount and the subsequent An extended current total amount calculating unit that calculates an extended current amount by adding the total current amount; and an extended driving time calculating unit that calculates an extended driving time by adding the motor driving time and the subsequent driving time for a plurality of predetermined times. An extended drive stop time calculation for calculating an extended drive stop time for stopping the motor drive for a time corresponding to the total amount of the extended current and the extended drive time before starting a subsequent drive operation for each series of drive operations. And a motor control device.
【請求項7】モータの一回の一連の駆動動作ごとに、一
回の一連の駆動動作のモータ電流総量を算出する電流総
量算出部と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出部と、 前記モータ駆動時間及び前記モータ電流総量から、一回
の一連の駆動動作における単位時間当たりのモータ電流
量を算出する単位時間電流量算出部と、 モータの一回の一連の駆動動作ごとに、前記モータ駆動
時間及び前記単位時間当たりのモータ電流量に応じた駆
動停止時間を算出する駆動停止時間算出部と、 所定の複数回の一連の駆動動作ごとの後続する駆動動作
開始前に、所定の複数回の一連の駆動動作の前記駆動停
止時間の積算値に応じた駆動停止時間積算値を算出する
駆動停止時間積算値算出部と、 前記駆動停止時間積算値が正の値である場合に、実行済
みの一連の駆動動作に後続する未実行の一連の駆動動作
の駆動制御データに基づき、未実行の一連の駆動動作に
おけるモータ電流波形を予測形成する電流波形予測形成
部と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続電流総量を算出する後続電流総量算出部と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続駆動時間を算出する後続駆動時間算出部と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出部と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出部と、 前記拡張電流総量及び前記拡張駆動時間から、実行済み
の一回の一連の駆動動作及び後続する未実行の一回の一
連の駆動動作における単位時間当たりの拡張モータ電流
量を算出する拡張単位時間電流量算出部と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張駆動時間及び前記単位時間当たりの拡張モ
ータ電流量に応じた時間だけモータ駆動を停止させる拡
張駆動停止時間を算出する拡張駆動停止時間算出部と、
を備えたことを特徴とするモータ制御装置。
7. A motor according to claim 1, wherein each time a series of driving operations of the motor is performed,
Total current to calculate the total motor current for a series of drive operations
Quantity calculation unit, and a series of driving operations for each series of driving operations of the motor.
A drive time calculation unit that calculates a motor drive time of a dynamic operation; and, from the motor drive time and the total amount of motor current, once
Motor current per unit time in a series of drive operations
A unit time current amount calculation unit for calculating the amount;
Drive according to time and the amount of motor current per unit time.
A drive stop time calculation unit for calculating a drive stop time, and a subsequent drive operation for each of a plurality of predetermined series of drive operations
Before the start, the drive stop of a series of predetermined multiple drive operations is performed.
Calculate the integrated value of drive stop time according to the integrated value of stop time
A drive stop time integrated value calculation unit, and when the drive stop time integrated value is a positive value,
Series of unexecuted drive operations that follow the previous series of drive operations
A series of unexecuted drive operations based on the drive control data
Waveform Prediction to Predict and Form Motor Current Waveform
Based on the motor current waveform formed and predicted
Of a series of unexecuted drive operations following the series of drive operations
Based on the following current total amount calculating unit that calculates the total subsequent current amount, and based on the predicted motor current waveform,
Of a series of unexecuted drive operations following the series of drive operations
A subsequent drive time calculation unit for calculating a subsequent drive time; and adding and expanding the total motor current and the total subsequent current.
An extension current total amount calculation unit for calculating the total extension current amount;
An extended drive time calculation unit for calculating the extension drive time; and
One series of drive operations and one subsequent unexecuted one
Extended motor current per unit time in continuous drive operation
An extension unit time current amount calculation unit for calculating the amount, and before the start of the subsequent drive operation for each series of drive operations
The extended drive time and the extended mode per unit time
Motor drive is stopped for a time corresponding to the
An extended drive stop time calculation unit that calculates the tension drive stop time,
A motor control device comprising:
【請求項8】モータの一回の一連の駆動動作ごとに、一
回の一連の駆動動作のモータ電流総量を算出する電流総
量算出部と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出部と、 モータの一回の一連の駆動動作ごとに、前記モータ駆動
時間及び前記モータ電流総量に応じた駆動停止時間を算
出する駆動停止時間算出部と、 所定の複数回の一連の駆動動作ごとの後続する駆動動作
開始前に、所定の複数回の一連の駆動動作の前記駆動停
止時間の積算値に応じた駆動停止時間積算値を算出する
駆動停止時間積算値算出部と、 前記駆動停止時間積算値が正の値である場合に、実行済
みの一連の駆動動作に後続する未実行の一連の駆動動作
の駆動制御データに基づき、未実行の一連の駆動動作に
おけるモータ電流波形を予測形成する電流波形予測形成
部と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続電流総量を算出する後続電流総量算出部と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続駆動時間を算出する後続駆動時間算出部と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出部と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出部と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張電流総量及び前記拡張駆動時間に応じた時
間だけモータ駆動を停止させる拡張駆動停止時間を算出
する拡張駆動停止時間算出部と、を備えたことを特徴と
するモータ制御装置。
8. A total current calculating unit for calculating a total amount of motor current in one series of driving operations for each series of driving operations of the motor, and one unit for each series of driving operations of the motor. A drive time calculating unit for calculating a motor drive time of a series of drive operations; and a drive for calculating a drive stop time according to the motor drive time and the total amount of the motor current for each series of drive operations of the motor. A stop time calculating unit, before starting a subsequent drive operation for each of a plurality of predetermined series of drive operations, a drive stop time integrated value corresponding to an integrated value of the drive stop time of the predetermined plurality of series of drive operations. A drive stop time integrated value calculation unit that calculates a drive stop time integrated value based on drive control data of a series of unexecuted drive operations subsequent to a series of executed drive operations when the drive stop time integrated value is a positive value. , A series of unexecuted drive motions A current waveform prediction forming unit for predicting and forming a motor current waveform in the operation, and calculating a subsequent current total amount of a series of unexecuted driving operations subsequent to a series of executed driving operations based on the predicted motor current waveform. A subsequent drive total amount calculation unit, based on the predicted motor current waveform, a subsequent drive time calculation unit that calculates a subsequent drive time of a series of unexecuted drive operations following the executed series of drive operations, An extended current total amount calculation unit that calculates an extended current amount by adding the total motor current amount and the subsequent current amount; and an extended drive time that calculates an extended drive time by adding the motor drive time and the subsequent drive time A calculating unit for stopping motor driving for a time corresponding to the total amount of the extended current and the extended driving time before starting a subsequent driving operation for each of a series of driving operations; Motor control apparatus characterized by comprising a, and extended drive stop time calculating unit for calculating a moving stop time.
【請求項9】モータ電流値を記憶保持する割込みタイミ
ングを所定の時間間隔ごとに発生する割込みタイミング
発生部と、 前記割込みタイミング、及び、前記割込みタイミングの
モータ電流値を記憶保持する記憶部と、 前記割込みタイミング、及び、前記割込みタイミングの
モータ電流値から、前記各割込みタイミング間のモータ
電流量を算出する電流量算出部とをさらに備え、 前記電流総量算出部は、前記モータ電流量から前記モー
タ電流総量を算出するものであり、 前記駆動時間算出部は、前記割込みタイミングから前記
モータ駆動時間を算出するものであり、 前記記憶部は、所定の駆動停止判断条件に応じて、前記
割込みタイミング、及び、前記割込みタイミングのモー
タ電流値を前記電流量算出部に、前記割込みタイミング
を前記駆動時間算出部に、それぞれ出力するものである
ことを特徴とする請求項1乃至8のいずれかに記載のモ
ータ制御装置。
9. An interrupt timing generator for generating an interrupt timing for storing and holding a motor current value at predetermined time intervals; a storage unit for storing and holding the interrupt timing and the motor current value of the interrupt timing; The interrupt timing, and a current amount calculating unit that calculates a motor current amount between the respective interrupt timings from the motor current value of the interrupt timing, the current total amount calculating unit calculates the motor current amount from Calculating the total amount of current, the drive time calculation unit calculates the motor drive time from the interrupt timing, the storage unit, according to a predetermined drive stop determination conditions, the interrupt timing, And outputting the motor current value of the interrupt timing to the current amount calculation unit, The drive time calculating section, a motor control device according to any one of claims 1 to 8, characterized in that the outputs.
【請求項10】モータ電流値を取り込む割込みタイミン
グを所定の時間間隔ごとに発生する割込みタイミング発
生部と、 前記割込みタイミング、及び、前記割込みタイミングに
おけるモータ電流値から、前記各割込みタイミング間の
モータ電流量を算出するモータ電流量算出部と、 前記モータ電流総量及び前記モータ駆動時間を記憶保持
する記憶部とをさらに備え、 前記電流総量算出部は、前記モータ電流量から前記モー
タ電流総量を算出するものであり、 前記駆動時間算出部は、前記割込みタイミングから前記
モータ駆動時間を算出するものであり、 前記記憶部は、所定の駆動停止判断条件に応じて、前記
モータ電流総量及び前記モータ駆動時間を前記単位時間
電流量算出部に、前記モータ駆動時間を前記駆動停止時
間算出部に出力するものであることを特徴とする請求項
1又は3に記載のモータ制御装置。
10. An interrupt timing generator for generating an interrupt timing for taking in a motor current value at predetermined time intervals, a motor current between the interrupt timings based on the interrupt timing and the motor current value at the interrupt timing. A motor current amount calculating unit that calculates an amount; and a storage unit that stores and holds the total motor current amount and the motor driving time. The total current amount calculating unit calculates the total motor current amount from the motor current amount Wherein the drive time calculation unit calculates the motor drive time from the interrupt timing. The storage unit stores the motor current total amount and the motor drive time according to a predetermined drive stop determination condition. To the unit time current amount calculation unit and the motor drive time to the drive stop time calculation unit. The motor control device according to claim 1 or 3, characterized in that.
【請求項11】モータ電流値を取り込む割込みタイミン
グを所定の時間間隔ごとに発生する割込みタイミング発
生部と、 前記割込みタイミング、及び、前記割込みタイミングに
おけるモータ電流値から、前記各割込みタイミング間の
モータ電流量を算出するモータ電流量算出部と、 前記モータ電流総量及び前記モータ駆動時間を記憶保持
する記憶部とをさらに備え、 前記電流総量算出部は、前記モータ電流量から前記モー
タ電流総量を算出するものであり、 前記駆動時間算出部は、前記割込みタイミングから前記
モータ駆動時間を算出するものであり、 前記記憶部は、所定の駆動停止判断条件に応じて、前記
モータ電流総量及び前記モータ駆動時間を前記駆動停止
時間算出部に出力するものであることを特徴とする請求
項2又は4に記載のモータ制御装置。
11. An interrupt timing generator for generating an interrupt timing for taking in a motor current value at predetermined time intervals; and a motor current between the interrupt timings based on the interrupt timing and the motor current value at the interrupt timing. A motor current amount calculating unit that calculates an amount; and a storage unit that stores and holds the total motor current amount and the motor driving time. The total current amount calculating unit calculates the total motor current amount from the motor current amount Wherein the drive time calculation unit calculates the motor drive time from the interrupt timing, and the storage unit stores the motor current total amount and the motor drive time according to a predetermined drive stop determination condition. 5 is output to the drive stop time calculation unit. Motor controller.
【請求項12】前記モータは、プリンタのキャリッジモ
ータであることを特徴とする請求項1乃至11に記載の
モータ制御装置。
12. The motor control device according to claim 1, wherein the motor is a carriage motor of a printer.
【請求項13】前記モータは、プリンタの紙送りモータ
であることを特徴とする請求項1乃至11に記載のモー
タ制御装置。
13. The motor control device according to claim 1, wherein said motor is a paper feed motor of a printer.
【請求項14】モータの一回の一連の駆動動作ごとに、
一回の一連の駆動動作のモータ電流総量を算出する電流
総量算出過程と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出過程
と、 モータの一回の一連の駆動動作ごとに、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の駆動制
御データに基づき、未実行の一連の駆動動作におけるモ
ータ電流波形を予測形成する電流波形予測形成過程と、 モータの一回の一連の駆動動作ごとに、予測形成された
前記モータ電流波形に基づき、実行済みの一連の駆動動
作に後続する未実行の一連の駆動動作の後続電流総量を
算出する後続電流総量算出過程と、 モータの一回の一連の駆動動作ごとに、予測形成された
前記モータ電流波形に基づき、実行済みの一連の駆動動
作に後続する未実行の一連の駆動動作の後続駆動時間を
算出する後続駆動時間算出過程と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出過程と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出過程と、 前記拡張電流総量及び前記拡張駆動時間から、実行済み
の一回の一連の駆動動作及び後続する未実行の一回の一
連の駆動動作における単位時間当たりの拡張モータ電流
量を算出する拡張単位時間電流量算出過程と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張駆動時間及び前記単位時間当たりの拡張モ
ータ電流量に応じた時間だけモータ駆動を停止させる拡
張駆動停止時間を算出する拡張駆動停止時間算出過程
と、を備えたことを特徴とするモータ制御方法。
14. A single series of driving operations of the motor,
A total current amount calculating process of calculating a total motor current amount of one series of driving operations, and a driving time calculating process of calculating a motor driving time of one series of driving operations for each one series of driving operations of the motor For each one series of driving operations of the motor, based on the driving control data of the series of unexecuted driving operations following the series of executed driving operations, the motor current waveform in the series of unexecuted driving operations is calculated. A current waveform prediction forming step of predicting and forming, and for each of a series of driving operations of the motor, a series of unexecuted driving operations following a series of executed driving operations based on the predicted motor current waveform. A subsequent current total amount calculating step of calculating a total current amount of the following, and for each of a series of driving operations of the motor, based on the motor current waveform predicted and formed, a series of subsequent driving operations that have been executed A subsequent driving time calculating step of calculating a subsequent driving time of a series of driving operations to be executed; an extended current total amount calculating step of calculating an extended current total amount by adding the total motor current and the subsequent current amount; and An extended driving time calculating step of calculating an extended driving time by adding a time and the subsequent driving time; and, based on the total amount of the extended current and the extended driving time, a series of executed driving operations and a subsequent unexecuted operation An extended unit time current amount calculating step of calculating an extended motor current amount per unit time in one series of driving operations, and the extended driving time before starting a subsequent driving operation in each series of driving operations. And an extended drive stop time calculating step of calculating an extended drive stop time for stopping the motor drive for a time corresponding to the extended motor current amount per unit time. Motor control method.
【請求項15】モータの一回の一連の駆動動作ごとに、
一回の一連の駆動動作のモータ電流総量を算出する電流
総量算出過程と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出過程
と、 モータの一回の一連の駆動動作ごとに、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の駆動制
御データに基づき、未実行の一連の駆動動作におけるモ
ータ電流波形を予測形成する電流波形予測形成過程と、 モータの一回の一連の駆動動作ごとに、予測形成された
前記モータ電流波形に基づき、実行済みの一連の駆動動
作に後続する未実行の一連の駆動動作の後続電流総量を
算出する後続電流総量算出過程と、 モータの一回の一連の駆動動作ごとに、予測形成された
前記モータ電流波形に基づき、実行済みの一連の駆動動
作に後続する未実行の一連の駆動動作の後続駆動時間を
算出する後続駆動時間算出過程と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出過程と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出過程と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張電流総量及び前記拡張駆動時間に応じた時
間だけモータ駆動を停止させる拡張駆動停止時間を算出
する拡張駆動停止時間算出過程と、を備えたことを特徴
とするモータ制御方法。
15. Each time a series of drive operations of the motor is performed,
A total current amount calculating process of calculating a total motor current amount of one series of driving operations, and a driving time calculating process of calculating a motor driving time of one series of driving operations for each one series of driving operations of the motor For each one series of driving operations of the motor, based on the driving control data of the series of unexecuted driving operations following the series of executed driving operations, the motor current waveform in the series of unexecuted driving operations is calculated. A current waveform prediction forming step of predicting and forming, and for each of a series of driving operations of the motor, a series of unexecuted driving operations following a series of executed driving operations based on the predicted motor current waveform. A subsequent current total amount calculating step of calculating a total current amount of the following, and for each of a series of driving operations of the motor, based on the motor current waveform predicted and formed, a series of subsequent driving operations that have been executed A subsequent drive time calculating step of calculating a subsequent drive time of a series of drive operations to be executed; an extended current total amount calculating step of adding the total motor current and the subsequent current total to calculate an extended current total amount; An extended driving time calculating step of calculating an extended driving time by adding a time and the subsequent driving time; and before starting a subsequent driving operation for each of a series of driving operations, the extended current total amount and the extended driving time An extended drive stop time calculating step of calculating an extended drive stop time for stopping the motor drive for a time according to the following.
【請求項16】モータの一回の一連の駆動動作ごとに、
一回の一連の駆動動作のモータ電流総量を算出する電流
総量算出過程と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出過程
と、 前記モータ駆動時間及び前記モータ電流総量から、一回
の一連の駆動動作における単位時間当たりのモータ電流
量を算出する単位時間電流量算出過程と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記モータ駆動時間及び前記単位時間当たりのモー
タ電流量に応じた駆動停止時間を算出する駆動停止時間
算出過程と、 前記駆動停止時間が正の値である場合に、実行済みの一
連の駆動動作に後続する未実行の一連の駆動動作の駆動
制御データに基づき、未実行の一連の駆動動作における
モータ電流波形を予測形成する電流波形予測形成過程
と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続電流総量を算出する後続電流総量算出過程と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続駆動時間を算出する後続駆動時間算出過程と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出過程と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出過程と、 前記拡張電流総量及び前記拡張駆動時間から、実行済み
の一回の一連の駆動動作及び後続する未実行の一回の一
連の駆動動作における単位時間当たりの拡張モータ電流
量を算出する拡張単位時間電流量算出過程と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張駆動時間及び前記単位時間当たりの拡張モ
ータ電流量に応じた時間だけモータ駆動を停止させる拡
張駆動停止時間を算出する拡張駆動停止時間算出過程
と、を備えたことを特徴とするモータ制御方法。
16. In each of a series of driving operations of the motor,
A total current amount calculating process of calculating a total motor current amount of one series of driving operations, and a driving time calculating process of calculating a motor driving time of one series of driving operations for each one series of driving operations of the motor A unit time current amount calculating step of calculating a motor current amount per unit time in one series of driving operation from the motor driving time and the total amount of motor current; and Before the start of the drive operation, a drive stop time calculation step of calculating a drive stop time according to the motor drive time and the motor current amount per unit time, and if the drive stop time is a positive value, execution has been completed. Current waveform prediction forming step of predicting and forming a motor current waveform in a series of unexecuted driving operations based on drive control data of a series of unexecuted driving operations subsequent to the series of driving operations A step of calculating a total amount of subsequent current of a series of unexecuted driving operations subsequent to a series of executed driving operations based on the predicted and formed motor current waveform; and Based on the current waveform, a subsequent drive time calculating step of calculating a subsequent drive time of a series of unexecuted drive operations following the executed series of drive operations, and adding the motor current total amount and the subsequent current total amount An extended current total amount calculating step of calculating an extended current total amount; an extended driving time calculating step of adding the motor driving time and the subsequent driving time to calculate an extended driving time; and from the extended current total amount and the extended driving time. An extended unit time current for calculating an extended motor current amount per unit time in one executed series of driving operations and one subsequent unexecuted series of driving operations Before the start of the subsequent driving operation for each of a series of driving operations, the calculation process and the extended driving stop time for stopping the motor driving for a time corresponding to the extended motor current amount per unit time are set as the extended driving stop time. And a step of calculating an extended drive stop time to be calculated.
【請求項17】モータの一回の一連の駆動動作ごとに、
一回の一連の駆動動作のモータ電流総量を算出する電流
総量算出過程と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出過程
と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記モータ駆動時間及び前記モータ電流総量に応じ
た駆動停止時間を算出する駆動停止時間算出過程と、 前記駆動停止時間が正の値である場合に、実行済みの一
連の駆動動作に後続する未実行の一連の駆動動作の駆動
制御データに基づき、未実行の一連の駆動動作における
モータ電流波形を予測形成する電流波形予測形成過程
と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続電流総量を算出する後続電流総量算出過程と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続駆動時間を算出する後続駆動時間算出過程と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出過程と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出過程と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張電流総量及び前記拡張駆動時間に応じた時
間だけモータ駆動を停止させる拡張駆動停止時間を算出
する拡張駆動停止時間算出過程と、を備えたことを特徴
とするモータ制御方法。
17. For each one series of driving operation of the motor,
A total current calculating process for calculating a total amount of motor current for one series of driving operations, and a driving time calculating process for calculating a motor driving time for one series of driving operations for each series of driving operations of the motor A drive stop time calculating step of calculating a drive stop time according to the motor drive time and the total amount of the motor current before starting a subsequent drive operation in each of a series of drive operations; A current waveform prediction formation for predicting and forming a motor current waveform in a series of unexecuted driving operations based on drive control data of a series of unexecuted driving operations subsequent to a series of executed driving operations when Based on the motor current waveform predicted and formed, a subsequent current total amount calculating step of calculating a subsequent current total amount of a series of unexecuted driving operations subsequent to the executed series of driving operations, A subsequent driving time calculating step of calculating a subsequent driving time of a series of unexecuted driving operations following the executed series of driving operations based on the measured and formed motor current waveform; and A total extended current amount calculating step of adding the total amount to calculate an extended current total amount; an extended driving time calculating step of adding the motor driving time and the subsequent driving time to calculate an extended driving time; An extended drive stop time calculating step of calculating an extended drive stop time for stopping the motor drive for a time corresponding to the extended current total amount and the extended drive time before starting the subsequent drive operation for each drive operation. A motor control method comprising:
【請求項18】モータの一回の一連の駆動動作ごとに、
一回の一連の駆動動作のモータ電流総量を算出する電流
総量算出過程と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出過程
と、 モータの所定の複数回の一連の駆動動作ごとに、実行済
みの一連の駆動動作に後続する未実行の一連の駆動動作
の駆動制御データに基づき、未実行の一連の駆動動作に
おけるモータ電流波形を予測形成する電流波形予測形成
過程と、 モータの所定の複数回の一連の駆動動作ごとに、予測形
成された前記モータ電流波形に基づき、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の後続電
流総量を算出する後続電流総量算出過程と、 モータの所定の複数回の一連の駆動動作ごとに、予測形
成された前記モータ電流波形に基づき、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の後続駆
動時間を算出する後続駆動時間算出過程と、 所定の複数回分の前記モータ電流総量と前記後続電流総
量とを加算して拡張電流総量を算出する拡張電流総量算
出過程と、 所定の複数回分の前記モータ駆動時間と前記後続駆動時
間とを加算して拡張駆動時間を算出する拡張駆動時間算
出過程と、 前記拡張電流総量及び前記拡張駆動時間から、実行済み
の一回の一連の駆動動作及び後続する未実行の一回の一
連の駆動動作における単位時間当たりの拡張モータ電流
量を算出する拡張単位時間電流量算出過程と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張駆動時間及び前記単位時間当たりの拡張モ
ータ電流量に応じた時間だけモータ駆動を停止させる拡
張駆動停止時間を算出する拡張駆動停止時間算出過程
と、を備えたことを特徴とするモータ制御方法。
18. A single series of driving operations of the motor,
A total current calculating process for calculating a total amount of motor current for one series of driving operations, and a driving time calculating process for calculating a motor driving time for one series of driving operations for each series of driving operations of the motor And for each of a plurality of predetermined series of driving operations of the motor, the motor current in the series of unexecuted driving operations based on the driving control data of the series of unexecuted driving operations following the executed series of driving operations. A current waveform prediction forming step of predicting and forming a waveform, and for each of a plurality of predetermined series of drive operations of the motor, an unexecuted series of drive steps following an executed series of drive operations based on the predicted and formed motor current waveform. Calculating a total amount of subsequent currents for a series of driving operations; and calculating a total amount of subsequent currents for each of a plurality of predetermined series of driving operations of the motor based on the motor current waveform predicted and formed. A subsequent drive time calculating step of calculating a subsequent drive time of a series of unexecuted drive operations subsequent to the continuous drive operation; and adding a total of the motor current and a total of the subsequent current for a plurality of predetermined times to obtain an extended current Calculating the total amount of the extended current, calculating the total amount of the extended current, and calculating the extended drive time by adding the motor drive time and the subsequent drive time for a plurality of predetermined times to calculate the extended drive time. An extended unit time current amount calculating step of calculating an extended motor current amount per unit time in one executed series of driving operations and one subsequent unexecuted series of driving operations from the time; At the time of an extended drive stop in which the motor drive is stopped for a time corresponding to the extended drive time and the extended motor current amount per unit time before the start of the subsequent drive operation for each series of drive operations. An extended drive stop time calculating step of calculating an interval.
【請求項19】モータの一回の一連の駆動動作ごとに、
一回の一連の駆動動作のモータ電流総量を算出する電流
総量算出過程と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出過程
と、 モータの所定の複数回の一連の駆動動作ごとに、実行済
みの一連の駆動動作に後続する未実行の一連の駆動動作
の駆動制御データに基づき、未実行の一連の駆動動作に
おけるモータ電流波形を予測形成する電流波形予測形成
過程と、 モータの所定の複数回の一連の駆動動作ごとに、予測形
成された前記モータ電流波形に基づき、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の後続電
流総量を算出する後続電流総量算出過程と、 モータの所定の複数回の一連の駆動動作ごとに、予測形
成された前記モータ電流波形に基づき、実行済みの一連
の駆動動作に後続する未実行の一連の駆動動作の後続駆
動時間を算出する後続駆動時間算出過程と、 所定の複数回分の前記モータ電流総量と前記後続電流総
量とを加算して拡張電流総量を算出する拡張電流総量算
出過程と、 所定の複数回分の前記モータ駆動時間と前記後続駆動時
間とを加算して拡張駆動時間を算出する拡張駆動時間算
出過程と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張電流総量及び前記拡張駆動時間に応じた時
間だけモータ駆動を停止させる拡張駆動停止時間を算出
する拡張駆動停止時間算出過程と、を備えたことを特徴
とするモータ制御方法。
19. Each time a series of driving operations of the motor are performed,
A total current calculating process for calculating a total amount of motor current for one series of driving operations, and a driving time calculating process for calculating a motor driving time for one series of driving operations for each series of driving operations of the motor And for each of a plurality of predetermined series of driving operations of the motor, the motor current in the series of unexecuted driving operations based on the driving control data of the series of unexecuted driving operations following the executed series of driving operations. A current waveform prediction forming step of predicting and forming a waveform, and for each of a plurality of predetermined series of drive operations of the motor, an unexecuted series of drive steps following an executed series of drive operations based on the predicted and formed motor current waveform. Calculating a total amount of subsequent currents for a series of driving operations; and calculating a total amount of subsequent currents for each of a plurality of predetermined series of driving operations of the motor based on the motor current waveform predicted and formed. A subsequent drive time calculating step of calculating a subsequent drive time of a series of unexecuted drive operations subsequent to the continuous drive operation; and adding a total of the motor current and a total of the subsequent current for a plurality of predetermined times to obtain an extended current An extended drive time calculating step of calculating the extended drive time by adding the motor drive time and the subsequent drive time for a plurality of predetermined times to calculate an extended drive time. Before the start of the subsequent drive operation, an extended drive stop time calculating step of calculating an extended drive stop time for stopping the motor drive for a time corresponding to the extended current total amount and the extended drive time. Motor control method.
【請求項20】モータの一回の一連の駆動動作ごとに、
一回の一連の駆動動作のモータ電流総量を算出する電流
総量算出過程と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出過程
と、 前記モータ駆動時間及び前記モータ電流総量から、一回
の一連の駆動動作における単位時間当たりのモータ電流
量を算出する単位時間電流量算出過程と、 モータの一回の一連の駆動動作ごとに、前記モータ駆動
時間及び前記単位時間当たりのモータ電流量に応じた駆
動停止時間を算出する駆動停止時間算出過程と、 所定の複数回の一連の駆動動作ごとの後続する駆動動作
開始前に、所定の複数回の一連の駆動動作の前記駆動停
止時間の積算値に応じた駆動停止時間積算値を算出する
駆動停止時間積算値算出過程と、 前記駆動停止時間積算値が正の値である場合に、実行済
みの一連の駆動動作に後続する未実行の一連の駆動動作
の駆動制御データに基づき、未実行の一連の駆動動作に
おけるモータ電流波形を予測形成する電流波形予測形成
過程と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続電流総量を算出する後続電流総量算出過程と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続駆動時間を算出する後続駆動時間算出過程と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出過程と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出過程と、 前記拡張電流総量及び前記拡張駆動時間から、実行済み
の一回の一連の駆動動作及び後続する未実行の一回の一
連の駆動動作における単位時間当たりの拡張モータ電流
量を算出する拡張単位時間電流量算出過程と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張駆動時間及び前記単位時間当たりの拡張モ
ータ電流量に応じた時間だけモータ駆動を停止させる拡
張駆動停止時間を算出する拡張駆動停止時間算出過程
と、を備えたことを特徴とするモータ制御方法。
20. Each time a series of driving operations of the motor are performed,
A total current calculating process for calculating a total amount of motor current for one series of driving operations, and a driving time calculating process for calculating a motor driving time for one series of driving operations for each series of driving operations of the motor A unit time current amount calculating step of calculating a motor current amount per unit time in one series of drive operations from the motor drive time and the total amount of motor current; and for each one series of drive operations of the motor. A drive stop time calculating step of calculating a drive stop time according to the motor drive time and the motor current amount per unit time; and a predetermined drive start time for each of a plurality of predetermined successive drive operations. A drive stop time integrated value calculating step of calculating a drive stop time integrated value according to the integrated value of the drive stop time of a series of drive operations of a plurality of times, wherein the drive stop time integrated value is a positive value A current waveform prediction forming step of predicting and forming a motor current waveform in a series of unexecuted drive operations based on drive control data of a series of unexecuted drive operations subsequent to the series of executed drive operations; A subsequent current total amount calculating step of calculating a total subsequent current amount of a series of unexecuted driving operations subsequent to a series of executed driving operations based on the predicted formed motor current waveform; and the predicted formed motor current waveform. A subsequent driving time calculating step of calculating a subsequent driving time of an unexecuted series of driving operations subsequent to the executed series of driving operations, and adding the total motor current and the total subsequent current to the extended current. An extended current total amount calculating step of calculating a total amount; an extended driving time calculating step of adding the motor driving time and the subsequent driving time to calculate an extended driving time; An extended unit time current amount calculation for calculating an extended motor current amount per unit time in one executed series of driving operations and one subsequent unexecuted series of driving operations from the flow total amount and the extended driving time. Calculating the extended drive stop time for stopping the motor drive for a time corresponding to the extended drive time and the extended motor current amount per unit time before starting the subsequent drive operation for each series of drive operations. A motor control method, comprising:
【請求項21】モータの一回の一連の駆動動作ごとに、
一回の一連の駆動動作のモータ電流総量を算出する電流
総量算出過程と、 モータの一回の一連の駆動動作ごとに、一回の一連の駆
動動作のモータ駆動時間を算出する駆動時間算出過程
と、 モータの一回の一連の駆動動作ごとに、前記モータ駆動
時間及び前記モータ電流総量に応じた駆動停止時間を算
出する駆動停止時間算出過程と、 所定の複数回の一連の駆動動作ごとの後続する駆動動作
開始前に、所定の複数回の一連の駆動動作の前記駆動停
止時間の積算値に応じた駆動停止時間積算値を算出する
駆動停止時間積算値算出過程と、 前記駆動停止時間積算値が正の値である場合に、実行済
みの一連の駆動動作に後続する未実行の一連の駆動動作
の駆動制御データに基づき、未実行の一連の駆動動作に
おけるモータ電流波形を予測形成する電流波形予測形成
過程と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続電流総量を算出する後続電流総量算出過程と、 予測形成された前記モータ電流波形に基づき、実行済み
の一連の駆動動作に後続する未実行の一連の駆動動作の
後続駆動時間を算出する後続駆動時間算出過程と、 前記モータ電流総量と前記後続電流総量とを加算して拡
張電流総量を算出する拡張電流総量算出過程と、 前記モータ駆動時間と前記後続駆動時間とを加算して拡
張駆動時間を算出する拡張駆動時間算出過程と、 一回の一連の駆動動作ごとの後続する駆動動作開始前
に、前記拡張電流総量及び前記拡張駆動時間に応じた時
間だけモータ駆動を停止させる拡張駆動停止時間を算出
する拡張駆動停止時間算出過程と、を備えたことを特徴
とするモータ制御方法。
21. In each of a series of driving operations of the motor,
A total current calculating process for calculating a total amount of motor current for one series of driving operations, and a driving time calculating process for calculating a motor driving time for one series of driving operations for each series of driving operations of the motor A drive stop time calculating step of calculating a drive stop time according to the motor drive time and the motor current total amount for each of a series of drive operations of the motor; and A drive stop time integrated value calculating step of calculating a drive stop time integrated value corresponding to an integrated value of the drive stop time of a predetermined plurality of series of drive operations before starting the subsequent drive operation; When the value is a positive value, an electric current for predicting and forming a motor current waveform in a series of unexecuted driving operations based on drive control data of a series of unexecuted driving operations subsequent to a series of executed driving operations. A flow waveform prediction forming step, a subsequent current total amount calculating step of calculating a subsequent current total amount of a series of unexecuted driving operations subsequent to the executed series of driving operations based on the predicted motor current waveform, A subsequent driving time calculating step of calculating a subsequent driving time of a series of unexecuted driving operations subsequent to a series of executed driving operations based on the formed motor current waveform; and a total motor current amount and a total subsequent current amount. A total extended current amount calculating step of calculating the total extended current amount by adding the following, an extended drive time calculating step of adding the motor drive time and the subsequent drive time to calculate an extended drive time, Extended driving for calculating an extended driving stop time for stopping motor driving for a time corresponding to the total amount of the extended current and the extended driving time before starting the subsequent driving operation for each driving operation. The motor control method characterized by comprising: the stop time calculation process, the.
【請求項22】請求項14乃至21のいずれかに記載の
プリンタ制御方法をコンピュータシステムにおいて実行
するコンピュータプログラムが記録されたことを特徴と
するコンピュータプログラムの記録媒体。
22. A recording medium for a computer program, wherein a computer program for executing the printer control method according to claim 14 in a computer system is recorded.
JP2001101093A 2001-03-30 2001-03-30 Motor control device and control method Pending JP2002305888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001101093A JP2002305888A (en) 2001-03-30 2001-03-30 Motor control device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001101093A JP2002305888A (en) 2001-03-30 2001-03-30 Motor control device and control method

Publications (1)

Publication Number Publication Date
JP2002305888A true JP2002305888A (en) 2002-10-18

Family

ID=18954463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001101093A Pending JP2002305888A (en) 2001-03-30 2001-03-30 Motor control device and control method

Country Status (1)

Country Link
JP (1) JP2002305888A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006158131A (en) * 2004-11-30 2006-06-15 Brother Ind Ltd Motor controlling method and device
JP2012139366A (en) * 2010-12-28 2012-07-26 Sammy Corp Game machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006158131A (en) * 2004-11-30 2006-06-15 Brother Ind Ltd Motor controlling method and device
JP4609052B2 (en) * 2004-11-30 2011-01-12 ブラザー工業株式会社 Motor control method and apparatus
JP2012139366A (en) * 2010-12-28 2012-07-26 Sammy Corp Game machine

Similar Documents

Publication Publication Date Title
US7712857B2 (en) Printing apparatus, printing method, program, storage medium, and computer system
JP3812823B2 (en) Printer control apparatus and printer control method
JP4457456B2 (en) Printing device
JP2001103778A (en) Control device and method of printer motor and recording medium recording control programs
JP2001169584A (en) Control device and method for printer motor, and recording medium storing control program
JP3832174B2 (en) Motor control device and control method
JP3570617B2 (en) DC motor control device and control method
JP3780804B2 (en) Motor control device and control method
US20050195226A1 (en) Printer-control apparatus, printer-control method and printer
JP2002305888A (en) Motor control device and control method
JP3757834B2 (en) Motor control device and printer
JP4026330B2 (en) Motor control method, motor control apparatus, printer, computer program, and computer system
US7194339B2 (en) Method of controlling motor, motor control device, and printing method
JP2005153258A (en) Printer control device/method and printer
JP2003023784A (en) Motor control method, motor control device, printer, computer program, and computer system
JP3777936B2 (en) Motor control method and control apparatus
JP3818496B2 (en) Printer control apparatus and printer control method
JP4026331B2 (en) Motor driving method, motor driving apparatus, printer, computer program, and computer system
JP2002186285A (en) Apparatus and method for controlling motor
JP2002254780A (en) Printer control device and printer control method
JP4432055B2 (en) Printer motor control apparatus and control method
JP2001142537A (en) Controller and control method for printer motor and recording medium recording control program
JP2005144936A (en) Apparatus and method for controlling printer and printer
JP2001186785A (en) Device and method for controlling motor and/or storage medium with recorded control program of motor
JP2005178142A (en) Printer control device, printer control method and printer