JP3092684U - Printer motor drive controller - Google Patents

Printer motor drive controller

Info

Publication number
JP3092684U
JP3092684U JP2002005733U JP2002005733U JP3092684U JP 3092684 U JP3092684 U JP 3092684U JP 2002005733 U JP2002005733 U JP 2002005733U JP 2002005733 U JP2002005733 U JP 2002005733U JP 3092684 U JP3092684 U JP 3092684U
Authority
JP
Japan
Prior art keywords
motor
time
output
control
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2002005733U
Other languages
Japanese (ja)
Inventor
浩司 大谷
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.)
Funai Electric Co Ltd
Original Assignee
Funai Electric Co Ltd
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 Funai Electric Co Ltd filed Critical Funai Electric Co Ltd
Priority to JP2002005733U priority Critical patent/JP3092684U/en
Application granted granted Critical
Publication of JP3092684U publication Critical patent/JP3092684U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

(57)【要約】 【課題】 大きな負荷がかかったときに出力が不安定に
なり間欠発振するといった電源ユニットの問題を解決
し、キャリッジのスムーズな動作を確保する。 【解決手段】 CPU12は、キャリッジモータ18の
制御出力値がデューティで85%を超えたときには、制
御出力値の上限を85%に制限してPWM電圧制御を継
続し、その時点から時間計測部22により30msec
を計測し、この30msecの計測後も制御出力値が8
5%のままである場合には、その時点で制御出力値の上
限をデューティで70%に制限してPWM電圧制御を継
続し、その時点から時間計測部22により第2の時間
(70msec)を計測し、この70msecの計測前
に制御出力値が70%以下になった場合にはそのままP
WM電圧制御を継続する一方、70msecの計測後も
制御出力値が70%のままである場合には、その時点で
エラーと判断してキャリッジモータ18を停止する。
(57) [Problem] To solve the problem of the power supply unit such as unstable output and intermittent oscillation when a large load is applied, and to ensure smooth operation of the carriage. When a control output value of a carriage motor exceeds a duty of 85%, a CPU limits the upper limit of the control output value to 85% and continues the PWM voltage control. 30msec by
And the control output value is still 8 after the measurement of 30 msec.
If the voltage remains at 5%, the upper limit of the control output value is limited to 70% by duty at that time, and the PWM voltage control is continued, and the second time (70 msec) is measured by the time measuring unit 22 from that time. If the control output value becomes 70% or less before this 70 msec measurement, P
If the control output value remains 70% after the measurement of 70 msec while the WM voltage control is continued, it is determined that an error has occurred at that point, and the carriage motor 18 is stopped.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【考案の属する技術分野】[Technical field to which the device belongs]

本考案は、印字ヘッドを搭載したキャリッジを駆動するDCモータに電源ユニ ットから電圧を供給しPWM電圧制御で駆動するファームウェアである制御手段 を備えたプリンタのモータ駆動制御装置に関する。   The present invention is a power supply unit for a DC motor that drives a carriage equipped with a print head. Control means that is firmware that supplies a voltage from the controller and is driven by PWM voltage control The present invention relates to a motor drive control device of a printer including the.

【0002】[0002]

【従来の技術】[Prior art]

従来のシリアルプリンタ等においては、印字ヘッドを搭載したキャリッジを駆 動する駆動源として、ステッピングモータを使用するタイプのもの(例えば、特 許文献1参照)と、DCモータを使用するタイプのもの(例えば、特許文献2参 照)とがある。   In conventional serial printers, etc., drive a carriage equipped with a print head. A type that uses a stepping motor as a moving drive source (for example, (See Patent Document 1) and a type that uses a DC motor (for example, see Patent Document 2). There is).

【0003】 また、DCモータを使用してPWM電圧制御によりキャリッジを駆動制御する ものもある(例えば、特許文献3、特許文献4参照)。[0003]   Also, the drive of the carriage is controlled by PWM voltage control using a DC motor. There are also some (see, for example, Patent Documents 3 and 4).

【0004】[0004]

【特許文献1】 特開平5−50616号公報[Patent Document 1]   JP-A-5-50616

【特許文献2】 特開平6−91977号公報[Patent Document 2]   Japanese Patent Laid-Open No. 6-91977

【特許文献3】 特開2000−102282号公報[Patent Document 3]   Japanese Patent Laid-Open No. 2000-102282

【特許文献4】 特開平6−284777号公報[Patent Document 4]   JP-A-6-284777

【0005】[0005]

【考案が解決しようとする課題】[Problems to be solved by the device]

ところで、従来のプリンタでは、収納スペースの問題から、電源ユニットもあ る程度の小型化が要求される。そのため、プリンタに搭載される電源ユニットの 性能は、プリンタに搭載されたDCモータを含むセット全体の最大負荷に対して 対応可能な必要最小限のものに制限される場合があった。従って、セット全体の 最大負荷が当初予定していたよりも若干大きくなった場合には、性能上ぎりぎり の電源ユニットを搭載しているため、電源ユニットに大きな負荷がかかって出力 が不安定になり、場合によっては間欠発振するといった問題が発生する。   By the way, in the conventional printer, due to the problem of storage space, there is also a power supply unit. Downsizing is required. Therefore, the power supply unit installed in the printer Performance is based on the maximum load of the entire set including the DC motor installed in the printer. In some cases, it was limited to the minimum required. Therefore, for the entire set If the maximum load is slightly higher than originally planned, performance will be Since the built-in power supply unit is installed, a large load is applied to the power supply unit for output Becomes unstable, and problems such as intermittent oscillation occur in some cases.

【0006】 この問題は、スペース的な制約がなければ、電源ユニットをもう1ランク上の ものを使用することで解決できるが、1ランク上のものは必然的にサイズも大型 化するため、スペース的に制約のあるプリンタでは搭載できない場合があった。 そのため、従来のプリンタでは、主にスペース的な問題から、最大負荷に対して あまり余裕のない電源ユニットを使用せざるを得ない状況が発生する。[0006]   This problem is one rank higher than the power supply unit if there is no space constraint. It can be solved by using ones, but one rank higher inevitably has a larger size In some cases, it may not be possible to install the printer in a space-constrained printer. Therefore, in conventional printers, due to space issues, A situation arises in which there is no choice but to use a power supply unit that does not have much room.

【0007】 そのため、出力に余裕のない電源ユニットを搭載しているプリンタでは、電源 ユニットに大きな負荷がかかったとき、上記した如く出力が不安定になって間欠 発振しないように何等かの対策を講じる必要があった。[0007]   Therefore, if the printer is equipped with a power supply unit that does not have enough output, When a large load is applied to the unit, the output becomes unstable as described above and intermittent It was necessary to take some measures so as not to oscillate.

【0008】 この場合、電源ユニットの間欠発振を回避するためには、DCモータのPWM 電圧制御において、駆動電圧のデューティが100%(すなわち、オン時間が1 00%でオフ時間が0%の状態)近くにならないようにリミット制限をかけるこ とで対策できる。例えば、駆動電圧のデューティを70%(すなわち、オン時間 が70%でオフ時間が30%の状態)にすることで、出力が安定し、間欠発振を 防止できる。[0008]   In this case, in order to avoid intermittent oscillation of the power supply unit, PWM of the DC motor In voltage control, the duty of the drive voltage is 100% (that is, the ON time is 1 Set a limit limit so that the off time is 0% at 0%). You can take measures with and. For example, the duty of the drive voltage is 70% (that is, the ON time Is 70% and the off time is 30%), the output becomes stable and intermittent oscillation occurs. It can be prevented.

【0009】 しかし、このように駆動電圧のデューティを70%でリミット制限をかけた場 合、例えばキャリッジをホームポジション位置から印字開始位置に移動させるた めに、DCモータを立ち上げた瞬間は、電源ユニットに大きな負荷がかかり、駆 動電圧のデューティが85%近くにまで達する場合がある。そのため、単純に7 0%でリミット制限をかけていたのでは、このようなDCモータの立ち上がりの 瞬間もリミット制限がかかってしまい、本来はキャリッジを駆動させるための通 常の立ち上げ動作であるにも係わらず、キャリッジストール等のセット異常と判 断されてしまうといった不具合が発生する。[0009]   However, if the drive voltage duty is limited to 70% in this way, For example, move the carriage from the home position to the print start position. Therefore, the moment the DC motor is started, a large load is applied to the power supply unit, The duty of the dynamic voltage may reach nearly 85%. Therefore, simply 7 If the limit was limited to 0%, it would be Limits are applied even at the moment, so the original way to drive the carriage is Despite the normal start-up operation, it was determined that there was a set error such as a carriage stall. Problems such as being cut off occur.

【0010】 本考案はかかる問題点を解決すべく創案されたもので、その目的は、プリンタ に搭載された電源ユニットの性能が、DCモータを含むセット全体の最大負荷に 対して対応可能な必要最小限のものに制限されている場合において、電源ユニッ トの至らない部分をハードウェアではなくソフトウェア的に改善することにより 、大きな負荷がかかったときに出力が不安定になり間欠発振するといった電源ユ ニットの問題を解決し、かつ、DCモータの立ち上げ時におけるキャリッジのス ムーズな動作を確保したプリンタのモータ駆動制御装置を提供することにある。[0010]   The present invention was devised to solve such problems, and its purpose is to provide a printer. The performance of the power supply unit installed in the is the maximum load of the entire set including the DC motor. If the power supply unit is limited to the minimum necessary By improving the parts that do not reach the target with software instead of hardware , The output becomes unstable when a large load is applied and intermittent oscillation occurs. The problem of knit is solved, and the carriage slides when starting up the DC motor. It is an object of the present invention to provide a motor drive control device for a printer that ensures a smooth operation.

【0011】[0011]

【課題を解決するための手段】[Means for Solving the Problems]

本考案に係わるプリンタのモータ駆動制御装置は、印字ヘッドを搭載したキャ リッジを駆動するDCモータに電源ユニットから電圧を供給しPWM電圧制御で 駆動するファームウェアである制御手段を備え、前記電源ユニットの性能が前記 DCモータを含むセット全体の最大負荷に対して対応可能な必要最小限のものに 制限されているプリンタのモータ駆動制御装置であって、前記DCモータの出力 制限時間を計測する計測手段を備えており、印字動作時、前記制御手段は、第1 の出力制限値を内部に設定し、前記DCモータの制御出力値が前記第1の出力制 限値を超えたときには、前記DCモータの制御出力値の上限を前記第1の出力制 限値に制限してPWM電圧制御を継続するとともに、その時点から前記計測手段 により前記DCモータの出力制限時間である第1の時間を計測する手段と、この 第1の時間の計測後も前記DCモータの制御出力値が前記第1の出力制限値のま まである場合には、その時点で前記DCモータの制御出力値の上限を前記第1の 制御出力値より低い第2の出力制限値に制限してPWM電圧制御を継続するとと もに、その時点から前記計測手段により前記DCモータの出力制限時間である第 2の時間を計測する手段と、この第2の時間の計測前に前記DCモータの制御出 力値が前記第2の出力制限値以下になった場合にはそのままPWM電圧制御を継 続する手段と、前記第2の時間の計測後も前記DCモータの制御出力値が前記第 2の出力制限値のままである場合には、その時点でエラーと判断して前記DCモ ータを停止する手段とを備えたことを特徴としている。   A motor drive control device of a printer according to the present invention is a printer equipped with a print head. By supplying voltage from the power supply unit to the DC motor that drives the ridge, PWM voltage control The power supply unit is equipped with a control unit that is firmware to drive, The minimum required to support the maximum load of the entire set including the DC motor A limited motor drive control device for a printer, the output of the DC motor A measuring unit for measuring the time limit is provided, and during the printing operation, the control unit Output limit value is set internally, and the control output value of the DC motor is set to the first output control value. When the limit value is exceeded, the upper limit of the control output value of the DC motor is set to the first output control value. The PWM voltage control is continued by limiting to the limit value, and the measuring means is started from that point. Means for measuring a first time which is an output time limit of the DC motor, and Even after the measurement of the first time, the control output value of the DC motor remains within the first output limit value. If there is up to, the upper limit of the control output value of the DC motor at that time When the PWM voltage control is continued by limiting to the second output limit value lower than the control output value. At the same time, from the time point, the measuring means is the output limit time of the DC motor. 2 means for measuring the time, and the control output of the DC motor before the second time measurement. When the force value becomes less than the second output limit value, the PWM voltage control is continued as it is. And a control output value of the DC motor after the measurement of the second time If the output limit value of 2 still remains, it is determined that an error has occurred at that point and the DC And a means for stopping the data.

【0012】 ここで、前記第1の出力制限値は、前記キャリッジの移動開始時に前記DCモ ータにかかる負荷との兼ね合いで前記キャリッジが通常動作可能な値に設定され 、前記第2の出力制限値は、前記DCモータとの兼ね合いで前記電源ユニットの 出力電圧が不安定になる手前の値に設定されている。具体的には、例えば第1の 出力制御値がデューティ85%に設定され、第2の出力制御値がデューティ70 %に設定されている。ただし、これらの値は、電源ユニットの性能と、これを搭 載したプリンタのDCモータを含むセット全体の最大負荷等との兼ね合いで任意 に設定すればよい。[0012]   Here, the first output limit value is set to the DC mode when the carriage starts to move. The carriage is set to a value that allows normal operation in consideration of the load applied to the motor. , The second output limit value of the power supply unit in consideration of the DC motor. It is set to a value before the output voltage becomes unstable. Specifically, for example, the first The output control value is set to duty 85%, and the second output control value is set to duty 70%. It is set to%. However, these values depend on the performance of the power supply unit and Arbitrary in consideration of the maximum load of the entire set including the DC motor of the mounted printer You can set it to.

【0013】 また、前記第1の時間は、前記キャリッジの加速に伴う前記DCモータの立ち 上がり時間を包含するように設定され、前記第2の時間は、前記DCモータとの 兼ね合いで前記電源ユニットの出力電圧が不安定になって間欠発振する前の時間 に設定されている。具体的には、例えば第1の時間が30msecに設定され、 第2の時間が70msecに設定されている。ただし、第1の時間は、DCモー タの立ち上げ時のオーバーシュートの時間等を考慮して設定すればよく、第2の 時間は、電源ユニットが間欠発振するまでの時間を考慮して設定すればよい。ま た、第1の時間と第2の時間のトータル時間である100msecは、キャリッ ジエラーが発生した場合に、このキャリッジエラーを確実に確認することのでき る時間でもある。[0013]   In addition, the first time is the time when the DC motor is started as the carriage accelerates. Rise time is set to be included, and the second time is set to the DC motor. The time before the output voltage of the power supply unit becomes unstable and intermittent oscillation occurs due to a tradeoff Is set to. Specifically, for example, the first time is set to 30 msec, The second time is set to 70 msec. However, in the first time, DC mode It may be set in consideration of the overshoot time at the start of the The time may be set in consideration of the time until the power supply unit oscillates intermittently. Well In addition, 100 msec, which is the total time of the first time and the second time, is If a carriage error occurs, this carriage error can be confirmed with certainty. It is also time to go.

【0014】 このように、本考案に係わるプリンタのモータ駆動制御装置によれば、プリン タに搭載された電源ユニットの性能が、DCモータを含むセット全体の最大負荷 に対して対応可能な必要最小限のものに制限されている場合において、電源ユニ ットの至らない部分をハードウェアではなくソフトウェアによって改善すること により、大きな負荷がかかったときに出力が不安定になり間欠発振するといった 電源ユニットの問題を解決すると同時に、DCモータの立ち上げ時におけるキャ リッジのスムーズな動作も確保することが可能となる。[0014]   As described above, according to the motor drive control device of the printer of the present invention, The performance of the power supply unit installed in the controller is the maximum load of the entire set including the DC motor. Power supply unit is limited to the minimum necessary To improve the parts that are out of reach with software rather than hardware Output becomes unstable and intermittent oscillation occurs when a large load is applied. At the same time as solving the problem of the power supply unit, the capacity at the time of starting the DC motor It is possible to ensure smooth operation of the ridge.

【0015】[0015]

【考案の実施の形態】[Embodiment of device]

以下、本考案の実施の形態について、図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0016】 図1は、本考案のモータ駆動制御装置を搭載したプリンタのシステム構成図で ある。[0016]   FIG. 1 is a system configuration diagram of a printer equipped with the motor drive control device of the present invention. is there.

【0017】 このプリンタ1は、外部装置のドライバであるパソコン(上位のホストコンピ ュータ)2から供給される各種コマンドと印字データとに基づいて、印字動作を 行う構成となっている。そのため、パソコン2と印字装置1とは、双方向通信が 可能な通信ケーブル3を介して接続されている。[0017]   This printer 1 is a personal computer (upper host computer Printing operation based on various commands and print data supplied from It is configured to do. Therefore, bidirectional communication between the personal computer 2 and the printer 1 is possible. It is connected via a possible communication cable 3.

【0018】 プリンタ1は、プリンタ専用に構成された論理回路ICであるASIC11と 、これを制御するファームウェアであるCPU12とを備えている。CPU12 には、印字動作を実行するプログラム等が格納されているROM13、及び各種 コマンドやデータを記憶するとともに印字動作時にはワークエリアとして働くR AM14がそれぞれ接続されている。[0018]   The printer 1 includes an ASIC 11, which is a logic circuit IC configured exclusively for the printer. , And a CPU 12 which is firmware for controlling this. CPU12 Includes a ROM 13 in which a program for executing a printing operation is stored, and various R that stores commands and data, and also serves as a work area during printing AM14 is connected respectively.

【0019】 ASIC11には、図示しない記録紙を印字位置まで給紙するフィードモータ 16を駆動制御するフィードモータ駆動部15、給紙された記録紙にインクを噴 射等してデータの印字を行う印字ヘッド19、この印字ヘッド19を搭載した図 示しないキャリッジを記録紙の送り方向に対して直交する方向に往復移動させる ためのDCモータであるキャリッジモータ18を駆動制御するキャリッジモータ 駆動部17、キャリッジの移動速度を検出する速度検出部20、電源をオン/オ フする電源キー(図示省略)等を有するキー入力部21、及び各種時間を計測す る時間計測部22がそれぞれ接続されている。ASIC11は、CPU12から の制御により、フィードモータ駆動部15及びキャリッジモータ駆動部17を制 御してフィードモータ16及びキャリッジモータ18をそれぞれ駆動制御すると ともに、印字ヘッド19による印字動作を制御する。[0019]   The ASIC 11 has a feed motor for feeding a recording sheet (not shown) to the printing position. A feed motor drive unit 15 for controlling the drive of 16 ejects ink onto the fed recording paper. A print head 19 that prints data by shooting, a diagram in which the print head 19 is mounted Reciprocate the carriage (not shown) in the direction perpendicular to the recording paper feed direction. Motor for driving and controlling a carriage motor 18 which is a DC motor for The drive unit 17, the speed detection unit 20 that detects the moving speed of the carriage, the power is turned on / off. A key input unit 21 having a power key (not shown) for turning off and measuring various times. The time measuring units 22 are connected to each other. ASIC 11 from CPU 12 Control the feed motor drive unit 15 and the carriage motor drive unit 17. Control the feed motor 16 and carriage motor 18 respectively. Both control the printing operation by the print head 19.

【0020】 また、キャリッジモータ駆動部17は、CPU12及びASIC11の制御に より、速度検出部20の検出結果に基づいてキャリッジモータ18をPWM電圧 制御により駆動制御するようになっている。なお、PWM電圧制御自体について は、従来周知の制御方法であるので、ここでは詳細な説明を省略する。[0020]   In addition, the carriage motor drive unit 17 controls the CPU 12 and the ASIC 11. Therefore, the carriage motor 18 is set to the PWM voltage based on the detection result of the speed detection unit 20. The drive is controlled by the control. Regarding the PWM voltage control itself Is a conventionally well-known control method, and detailed description thereof is omitted here.

【0021】 また、ASIC11、CPU12、RAM14、フィードモータ駆動部15、 キャリッジモータ駆動部17、印字ヘッド19、時間計測部22等には、電源ユ ニット25から電源が供給されている。[0021]   Further, the ASIC 11, the CPU 12, the RAM 14, the feed motor drive unit 15, The carriage motor drive unit 17, the print head 19, the time measuring unit 22, etc. Power is supplied from the unit 25.

【0022】 ここで、プリンタ1に搭載されている電源ユニット25の性能は、本実施の形 態では、DCモータであるキャリッジモータ18を含むセット全体の最大負荷に 対して対応可能な必要最小限の性能に制限されているものとする。すなわち、セ ット全体の最大負荷が当初予定していたよりも若干大きくなった場合には、性能 上ぎりぎりの電源ユニット25を搭載しているため、電源ユニット25に大きな 負荷がかかって出力が不安定になり、場合によっては間欠発振する可能性を含ん でいる。[0022]   Here, the performance of the power supply unit 25 mounted on the printer 1 is the same as that of this embodiment. In the state, the maximum load of the entire set including the carriage motor 18 which is a DC motor On the other hand, it is limited to the minimum required performance that can be supported. That is, If the maximum load for the entire Since the power supply unit 25 is installed at the very limit, the power supply unit 25 has a large Including the possibility that output becomes unstable due to load and intermittent oscillation may occur. I'm out.

【0023】 ここで、ROM13には、第1の出力制限値と第2の出力制限値とが予め記憶 されている。第1の出力制限値は、キャリッジの移動開始時にキャリッジモータ 18にかかる負荷との兼ね合いでキャリッジが通常動作可能な値に設定され、第 2の出力制限値は、キャリッジモータ18との兼ね合いで電源ユニット25の出 力電圧が不安定になる手前の値に設定されている。具体的には、例えば第1の出 力制御値がデューティ85%に設定され、第2の出力制御値がデューティ70% に設定されている。ただし、これらの値は、電源ユニット25の性能と、これを 搭載したプリンタ1のキャリッジモータ18を含むセットの最大負荷等との兼ね 合いで任意に設定すればよい。[0023]   Here, the ROM 13 stores the first output limit value and the second output limit value in advance. Has been done. The first output limit value is the carriage motor when the carriage starts moving. In consideration of the load applied to 18, the carriage is set to a value that allows normal operation. The output limit value of 2 is output from the power supply unit 25 in consideration of the carriage motor 18. It is set to a value before the output voltage becomes unstable. Specifically, for example, the first output The force control value is set to 85% duty and the second output control value is 70% duty. Is set to. However, these values depend on the performance of the power supply unit 25 and Combined with the maximum load of the set including the carriage motor 18 of the installed printer 1. It may be set arbitrarily depending on the situation.

【0024】 また、CPU12は、キャリッジモータ18の駆動時、ROM13に記憶され ている第1の出力制限値(デューティ85%)を内部に設定し、キャリッジモー タ18の制御出力値がキャリッジの加速に伴って第1の出力制限値を超えたとき には、その時点でキャリッジモータ18の制御出力値の上限を第1の出力制限値 に制限してPWM電圧制御を継続するとともに、その時点から時間計測部22に より第1の時間を計測し、第1の時間の計測後もキャリッジモータ18の制御出 力値が第1の出力制限値のままである場合には、その時点でキャリッジモータ1 8の制御出力値の上限をROM13に記憶されている第2の出力制限値(デュー ティ70%)に制限してPWM電圧制御を継続するとともに、その時点から時間 計測部22により第2の時間を計測し、第2の時間の計測前にキャリッジモータ 18の制御出力値が第2の出力制限値以下になった場合にはそのままキャリッジ モータ18のPWM電圧制御を通常通り継続する一方、第2の時間の計測後もキ ャリッジモータ18の制御出力値が第2の出力制限値のままである場合には、そ の時点でキャリッジエラーと判断してキャリッジモータ18を停止する。[0024]   Further, the CPU 12 is stored in the ROM 13 when the carriage motor 18 is driven. The first output limit value (duty 85%) is set to When the control output value of the controller 18 exceeds the first output limit value due to the acceleration of the carriage. Is the upper limit of the control output value of the carriage motor 18 at that time. The PWM voltage control is continued by limiting the The first time is measured, and the carriage motor 18 is controlled even after the first time is measured. If the force value remains at the first output limit value, then the carriage motor 1 The upper limit of the control output value of No. 8 is the second output limit value (due to 70%) and continue PWM voltage control, and from that time The second time is measured by the measuring unit 22, and the carriage motor is measured before the second time is measured. When the control output value of 18 becomes less than or equal to the second output limit value, the carriage remains as it is. While continuing the PWM voltage control of the motor 18 as usual, after the second time measurement, If the control output value of the carriage motor 18 remains the second output limit value, At the point of time, it is judged that the carriage error and the carriage motor 18 is stopped.

【0025】 ここで、第1の時間は、キャリッジの加速に伴うキャリッジモータ18の立ち 上がり時間(例えば、10msec等)を包含するように設定され、第2の時間 は、キャリッジモータ18との兼ね合いで電源ユニット25の出力電圧が不安定 になって間欠発振する前の時間に設定されている。具体的には、例えば第1の時 間が30msecに設定され、第2の時間が70msecに設定されている。た だし、第1の時間は、キャリッジモータ18の立ち上げ時のオーバーシュートの 時間等を考慮して設定すればよく、第2の時間は、電源ユニット25が間欠発振 するまでの時間を考慮して設定すればよい。また、第1の時間と第2の時間のト ータル時間である100msecは、キャリッジエラーが発生した場合に、この キャリッジエラーを確実に確認することのできる時間でもある。[0025]   Here, the first time is the time when the carriage motor 18 stands up due to the acceleration of the carriage. Second time set to include rise time (eg 10 msec) The output voltage of the power supply unit 25 is unstable due to the balance with the carriage motor 18. Is set to the time before intermittent oscillation. Specifically, for example, the first time The interval is set to 30 msec, and the second time is set to 70 msec. Was However, during the first time, there is no overshoot when the carriage motor 18 starts up. It may be set in consideration of time, etc., and the power supply unit 25 intermittently oscillates during the second time. It may be set in consideration of the time until it is performed. Also, the time between the first time and the second time The total time of 100 msec is set when the carriage error occurs. It is also the time to check the carriage error.

【0026】 次に、上記構成の印字装置による印字動作開始時のキャリッジモータ18の駆 動制御例について、図2に示すフローチャートを参照して説明する。なお、RO M13に記憶されている第1の出力制限値をデューティ85%とし、第2の出力 制限値をデューティ70%とする。また、第1の時間を30msecとし、第2 の時間を70msecとする。[0026]   Next, the drive of the carriage motor 18 at the start of the printing operation by the printing device having the above-mentioned configuration An example of dynamic control will be described with reference to the flowchart shown in FIG. In addition, RO The first output limit value stored in M13 is set to a duty of 85%, and the second output is set. The limit value is 70% duty. In addition, the first time is set to 30 msec and the second time is set to 30 msec. Is set to 70 msec.

【0027】 CPU12は、プリンタ1の図示しない電源キーが操作されてパワーオン状態 になると、印字動作の待機状態となる。この状態において、パソコン2からペー パロードコマンドが送信されてくると、このペーパロードコマンドを受信したC PU12は、フィードモータ駆動部15を制御してピック動作、スキュー調整動 作、TOF動作、ファーストフィード動作(これらの動作については従来周知で あるので説明を省略する)を順次行って、記録紙を印字開始位置にセットする。 この後、パソコン2から送信されてくるデータをASIC11の図示しないバッ ファに蓄積すると、印字動作を開始する。[0027]   The CPU 12 is in a power-on state when a power key (not shown) of the printer 1 is operated. Then, the printing operation is on standby. In this state, the page from PC 2 When the load command is sent, C which received this paper load command The PU 12 controls the feed motor drive unit 15 to perform pick operation and skew adjustment operation. Work, TOF operation, fast feed operation (these operations are well known in the art. Therefore, the description will be omitted) and the recording paper is set at the print start position. After that, the data transmitted from the personal computer 2 is transferred to the ASIC 11 not shown in the figure. When it is stored in the file, the printing operation is started.

【0028】 このような印字動作の開始時において、CPU12は、ROM13に記憶され ている第1の出力制限値であるデューティ85%を内部に設定し(ステップS1 )、キャリッジモータ18の制御出力値がこの第1の出力制限値であるデューテ ィ85%を超えるかどうかを常に監視する(ステップS2)。[0028]   At the start of such a printing operation, the CPU 12 is stored in the ROM 13. The first output limit value of duty 85% is set internally (step S1). ), The control output value of the carriage motor 18 is the first output limit value. It is constantly monitored whether it exceeds 85% (step S2).

【0029】 そして、キャリッジが例えばホームポジション位置から印字開始位置に移動を 開始するときのように、キャリッジモータ18に大きな負荷がかかった結果、キ ャリッジモータ18の制御出力値が第1の出力制限値であるデューティ85%を 超えた場合(ステップS2でYesと判断された場合)には、CPU12は、キ ャリッジモータ18の制御出力値の上限を第1の出力制限値(85%)に制限し てPWM電圧制御を継続する(ステップS3)。これと同時に、CPU12は、 時間計測部22によりキャリッジモータ18の出力制限時間である第1の時間( 30msec)の計測を開始する(ステップS4)。そして、この30msec の計測中、キャリッジモータ18の制御出力値が第1の出力制限値(85%)の ままであるかどうかを確認する(ステップS5,S6)。[0029]   Then, the carriage moves from the home position to the print start position, for example. As a result of the heavy load on the carriage motor 18, as when starting The duty ratio of the control output value of the carriage motor 18 is 85%, which is the first output limit value. When it exceeds (when it is determined as Yes in step S2), the CPU 12 determines that The upper limit of the control output value of the carriage motor 18 is limited to the first output limit value (85%). Then, the PWM voltage control is continued (step S3). At the same time, the CPU 12 The time measuring unit 22 causes the first time (the output time limit of the carriage motor 18) ( Measurement of 30 msec) is started (step S4). And this 30msec During measurement, the control output value of the carriage motor 18 is less than the first output limit value (85%). It is confirmed whether it remains as it is (steps S5 and S6).

【0030】 その結果、30msecが経過する前に、キャリッジモータ18の制御出力値 が上限の85%以下になった場合(ステップS5でNo、ステップS6でNoと 判断された場合)には、キャリッジモータ18の負荷が立ち上がり等の過渡的な 負荷であったと判断できるので、この場合には、そのまま通常通りのPWM電圧 制御を継続する(ステップS7)。[0030]   As a result, before 30 msec has elapsed, the control output value of the carriage motor 18 Is below the upper limit of 85% (No in step S5, No in step S6 (If determined), the load of the carriage motor 18 is transient such as rising. Since it can be judged that it was a load, in this case, the normal PWM voltage The control is continued (step S7).

【0031】 一方、30msecが経過してもキャリッジモータ18の制御出力値が上限の 85%のままである場合(ステップS6でYes、ステップS5でYesと判断 された場合)には、その時点でキャリッジモータ18の制御出力値の上限を、そ れまでの第1の制御出力値の85%より低い第2の出力制限値(70%)に制限 してPWM電圧制御を継続する(ステップS8)。これと同時に、CPU12は 、時間計測部22を一旦クリアし、次にキャリッジモータ18の次の出力制限時 間である第2の時間(70msec)の計測を開始する(ステップS9)。そし て、この70msecの計測中、キャリッジモータ18の制御出力値が第2の出 力制限値(70%)のままであるかどうかを確認する(ステップS10,S11 )。[0031]   On the other hand, even if 30 msec has elapsed, the control output value of the carriage motor 18 remains at the upper limit. If it remains 85% (Yes in Step S6, Yes in Step S5) If so, the upper limit of the control output value of the carriage motor 18 at that time is Limit to the second output limit value (70%) lower than 85% of the first control output value so far Then, the PWM voltage control is continued (step S8). At the same time, the CPU 12 , Once the time measuring unit 22 is cleared and then the next output of the carriage motor 18 is restricted. The measurement of the second time (70 msec) which is the interval is started (step S9). That During this 70 msec measurement, the control output value of the carriage motor 18 is the second output value. It is confirmed whether the force limit value (70%) remains (steps S10 and S11). ).

【0032】 その結果、70msecが経過する前に、キャリッジモータ18の制御出力値 が上限の70%以下になった場合(ステップS10でNo、ステップS11でN oと判断された場合)には、電源ユニット25の過負荷による間欠発振の発生の 可能性が無くなったと判断できるので、この場合には、そのまま通常通りのPW M電圧制御を継続する(ステップS7)。[0032]   As a result, before 70 msec has passed, the control output value of the carriage motor 18 Is below 70% of the upper limit (No in step S10, N in step S11) If it is determined to be o), the occurrence of intermittent oscillation due to overload of the power supply unit 25 Since it can be judged that the possibility has disappeared, in this case, the normal PW The M voltage control is continued (step S7).

【0033】 一方、70msecが経過してもキャリッジモータ18の制御出力値が上限の 70%のままである場合(ステップS11でYes、ステップS10でYesと 判断された場合)には、その時点でキャリッジの異常と判断し、キャリッジモー タ18の制御出力値を0(すなわち、デューティを0%)にしてキャリッジモー タ18を停止するとともに(ステップS12)、キャリッジストールエラー状態 とする(ステップS13)。[0033]   On the other hand, even if 70 msec has elapsed, the control output value of the carriage motor 18 remains at the upper limit. If it remains 70% (Yes in step S11, Yes in step S10) (If determined), it is determined that the carriage is abnormal at that time, and the carriage mode is The control output value of the motor 18 is set to 0 (that is, the duty is 0%), and the carriage mode is set. The printer 18 is stopped (step S12), and the carriage stall error state is reached. (Step S13).

【0034】[0034]

【考案の効果】 本考案に係わるプリンタのモータ駆動制御装置によれば、プリンタに搭載され た電源ユニットの性能が、DCモータであるキャリッジモータを含むセット全体 の最大負荷に対して対応可能な必要最小限のものに制限されている場合において 、電源ユニットの至らない部分をハードウェアではなくソフトウェアによって改 善することにより、大きな負荷がかかったときに出力が不安定になり間欠発振す るといった電源ユニットの問題を解決すると同時に、キャリッジモータの立ち上 げ時におけるキャリッジのスムーズな動作も確保することができる。また、キャ リッジに本当に異常が発生したときには、第1の時間と第2の時間の経過後にキ ャリッジを確実に停止することができる。[Effect of device]   According to the motor drive control device of the printer according to the present invention, it is installed in the printer. The performance of the power supply unit is the whole set including the carriage motor which is a DC motor. In the case of being limited to the minimum necessary amount that can handle the maximum load of , The part of the power supply unit that is not reached is modified by software instead of hardware. By doing well, the output becomes unstable and intermittent oscillation occurs when a large load is applied. The problem of the power supply unit such as It is also possible to ensure smooth movement of the carriage when it is bent. In addition, When the ridge is really abnormal, the key should be pressed after the first time and the second time. It is possible to surely stop the carriage.

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

【図1】本考案のモータ駆動制御装置を搭載したプリン
タのシステム構成図である。
FIG. 1 is a system configuration diagram of a printer equipped with a motor drive control device of the present invention.

【図2】印字装置による印字動作開始時のキャリッジモ
ータの駆動制御を説明するためのフローチャートであ
る。
FIG. 2 is a flowchart for explaining drive control of a carriage motor when a printing operation is started by the printing apparatus.

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

1 印字装置 2 外部装置(パソコン) 3 通信ケーブル 11 ASIC 12 CPU 13 ROM 14 RAM 15 フィードモータ駆動部 16 フィードモータ 17 キャリッジモータ駆動部 18 キャリッジモータ 19 印字ヘッド 20 速度検出部 21 キー入力部 22 時間計測部 25 電源ユニット 1 printer 2 External device (PC) 3 communication cable 11 ASIC 12 CPU 13 ROM 14 RAM 15 Feed motor drive 16 Feed motor 17 Carriage motor drive 18 Carriage motor 19 print head 20 Speed detector 21 Key input section 22 hours measurement section 25 power supply unit

Claims (4)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 印字ヘッドを搭載したキャリッジを駆動
するDCモータに電源ユニットから電圧を供給しPWM
電圧制御で駆動するファームウェアである制御手段を備
え、前記電源ユニットの性能が前記DCモータを含むセ
ット全体の最大負荷に対して対応可能な必要最小限のも
のに制限されているプリンタのモータ駆動制御装置であ
って、 第1の出力制限値を、前記キャリッジの移動開始時に前
記DCモータにかかる負荷との兼ね合いで前記キャリッ
ジが通常動作可能な値とし、この第1の出力制限値より
低い第2の出力制限値を、前記DCモータとの兼ね合い
で前記電源ユニットの出力電圧が不安定になって間欠発
振する手前の値とし、第1の時間を、前記キャリッジの
加速に伴う前記DCモータの立ち上がり時間を包含する
時間とし、第2の時間を、前記DCモータとの兼ね合い
で前記電源ユニットの出力電圧が不安定になって間欠発
振するまでの時間とするとき、 前記第1の時間及び前記第2の時間を計測する計測手段
を備えており、 印字動作時、前記制御手段は、 前記第1の出力制限値を内部に設定し、前記DCモータ
の制御出力値が前記第1の出力制限値を超えたときに
は、前記DCモータの制御出力値の上限を前記第1の出
力制限値に制限してPWM電圧制御を継続するととも
に、その時点から前記計測手段により前記第1の時間を
計測する手段と、 この第1の時間の計測後も前記DCモータの制御出力値
が前記第1の出力制限値のままである場合には、その時
点で前記DCモータの制御出力値の上限を前記第2の出
力制限値に制限してPWM電圧制御を継続するととも
に、その時点から前記計測手段により前記第2の時間を
計測する手段と、 この第2の時間の計測前に前記DCモータの制御出力値
が前記第2の出力制限値以下になった場合にはそのまま
PWM電圧制御を継続する手段と、 前記第2の時間の計測後も前記DCモータの制御出力値
が前記第2の出力制限値のままである場合には、その時
点でエラーと判断して前記DCモータを停止する手段と
を備えたことを特徴とするプリンタのモータ駆動制御装
置。
1. A PWM is provided by supplying a voltage from a power supply unit to a DC motor for driving a carriage having a print head.
A motor drive control of a printer, which comprises a control unit which is firmware driven by voltage control, and the performance of the power supply unit is limited to a minimum necessary amount capable of supporting the maximum load of the entire set including the DC motor. In the device, the first output limit value is set to a value at which the carriage can normally operate in consideration of a load applied to the DC motor at the start of movement of the carriage, and the second output limit value is lower than the first output limit value. Is set to a value before the output voltage of the power supply unit becomes unstable due to the balance with the DC motor and intermittent oscillation occurs, and the first time is set to rise of the DC motor as the carriage accelerates. The time including the time is taken as the second time until the output voltage of the power supply unit becomes unstable due to the balance with the DC motor and intermittent oscillation occurs. When the printing operation is performed, the control means sets the first output limit value to the inside, and the measuring means measures the first time and the second time. When the control output value of the DC motor exceeds the first output limit value, the upper limit of the control output value of the DC motor is limited to the first output limit value to continue the PWM voltage control, and at that time point. From the means for measuring the first time by the measuring means, and when the control output value of the DC motor remains the first output limit value after the measurement of the first time, And a means for limiting the upper limit of the control output value of the DC motor to the second output limit value to continue the PWM voltage control, and measuring the second time from the time point by the measuring means. 2 before measuring the time A means for continuing the PWM voltage control when the control output value of the DC motor becomes equal to or lower than the second output limit value; and a control output value of the DC motor after the second time is measured. A motor drive control device for a printer, characterized in that, when the output limit value of 2 remains, it is judged to be an error at that time and the DC motor is stopped.
【請求項2】 印字ヘッドを搭載したキャリッジを駆動
するDCモータに電源ユニットから電圧を供給しPWM
電圧制御で駆動するファームウェアである制御手段を備
え、前記電源ユニットの性能が前記DCモータを含むセ
ット全体の最大負荷に対して対応可能な必要最小限のも
のに制限されているプリンタのモータ駆動制御装置であ
って、 前記DCモータの出力制限時間を計測する計測手段を備
えており、 印字動作時、前記制御手段は、 第1の出力制限値を内部に設定し、前記DCモータの制
御出力値が前記第1の出力制限値を超えたときには、前
記DCモータの制御出力値の上限を前記第1の出力制限
値に制限してPWM電圧制御を継続するとともに、その
時点から前記計測手段により前記DCモータの出力制限
時間である第1の時間を計測する手段と、 この第1の時間の計測後も前記DCモータの制御出力値
が前記第1の出力制限値のままである場合には、その時
点で前記DCモータの制御出力値の上限を前記第1の制
御出力値より低い第2の出力制限値に制限してPWM電
圧制御を継続するとともに、その時点から前記計測手段
により前記DCモータの出力制限時間である第2の時間
を計測する手段と、 この第2の時間の計測前に前記DCモータの制御出力値
が前記第2の出力制限値以下になった場合にはそのまま
PWM電圧制御を継続する手段と、 前記第2の時間の計測後も前記DCモータの制御出力値
が前記第2の出力制限値のままである場合には、その時
点でエラーと判断して前記DCモータを停止する手段と
を備えたことを特徴とするプリンタのモータ駆動制御装
置。
2. A PWM is provided by supplying a voltage from a power supply unit to a DC motor that drives a carriage equipped with a print head.
A motor drive control of a printer, which comprises a control unit which is firmware driven by voltage control, and the performance of the power supply unit is limited to a minimum necessary amount capable of supporting the maximum load of the entire set including the DC motor. The apparatus is provided with a measuring unit for measuring the output limit time of the DC motor, and during the printing operation, the control unit internally sets a first output limit value to control output value of the DC motor. Exceeds the first output limit value, the upper limit of the control output value of the DC motor is limited to the first output limit value and the PWM voltage control is continued, and from that time point, the measuring means performs the operation. Means for measuring a first time, which is an output time limit of the DC motor, and the control output value of the DC motor remains the first output power limit value after the measurement of the first time. In that case, the upper limit of the control output value of the DC motor is limited to a second output limit value lower than the first control output value at that time to continue the PWM voltage control, and the measurement is performed from that time. Means for measuring a second time which is an output time limit of the DC motor by means, and a control output value of the DC motor becomes equal to or less than the second output power limit value before the second time is measured. Means for continuing the PWM voltage control as it is, and if the control output value of the DC motor remains the second output limit value even after the measurement of the second time, it is judged as an error at that time. And a means for stopping the DC motor, the motor drive control device for the printer.
【請求項3】 前記第1の出力制限値は、前記キャリッ
ジの移動開始時に前記DCモータにかかる負荷との兼ね
合いで前記キャリッジが通常動作可能な値に設定され、
前記第2の出力制限値は、前記DCモータとの兼ね合い
で前記電源ユニットの出力電圧が不安定になる手前の値
に設定されていることを特徴とする請求項2に記載のプ
リンタのモータ駆動制御装置。
3. The first output limit value is set to a value at which the carriage can normally operate in consideration of the load applied to the DC motor at the start of movement of the carriage,
The motor drive of the printer according to claim 2, wherein the second output limit value is set to a value before the output voltage of the power supply unit becomes unstable in consideration of the DC motor. Control device.
【請求項4】 前記第1の時間は、前記キャリッジの加
速に伴う前記DCモータの立ち上がり時間を包含するよ
うに設定され、前記第2の時間は、前記DCモータとの
兼ね合いで前記電源ユニットの出力電圧が不安定になっ
て間欠発振する前の時間に設定されていることを特徴と
する請求項2に記載のプリンタのモータ駆動制御装置。
4. The first time is set so as to include a rising time of the DC motor due to acceleration of the carriage, and the second time is set in consideration of the DC motor. 3. The motor drive control device for a printer according to claim 2, wherein the output voltage is set to a time before becoming unstable and causing intermittent oscillation.
JP2002005733U 2002-09-10 2002-09-10 Printer motor drive controller Expired - Lifetime JP3092684U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002005733U JP3092684U (en) 2002-09-10 2002-09-10 Printer motor drive controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002005733U JP3092684U (en) 2002-09-10 2002-09-10 Printer motor drive controller

Publications (1)

Publication Number Publication Date
JP3092684U true JP3092684U (en) 2003-03-20

Family

ID=43246744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002005733U Expired - Lifetime JP3092684U (en) 2002-09-10 2002-09-10 Printer motor drive controller

Country Status (1)

Country Link
JP (1) JP3092684U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006033214A1 (en) * 2004-09-24 2006-03-30 Rohm Co., Ltd Fan motor drive device and cooler

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006033214A1 (en) * 2004-09-24 2006-03-30 Rohm Co., Ltd Fan motor drive device and cooler

Similar Documents

Publication Publication Date Title
EP1258790B1 (en) Method and apparatus for controlling a motor
US20150258819A1 (en) Cutter, printer, and method of controlling cutter
US20160267367A1 (en) Printing Device and Control Method of a Printing Device
EP1258368B1 (en) Printing apparatus and printing control method
JP3652274B2 (en) Ink jet recording apparatus and recording apparatus control method
JP3092684U (en) Printer motor drive controller
JP5122379B2 (en) Portable printer
EP0712008A2 (en) Apparatus for detecting battery voltage
US6940252B2 (en) DC motor control method and apparatus
JP4708804B2 (en) Image forming apparatus
JP2007168976A (en) Recorder, control method of recorder and control program of recorder
JP2011126045A (en) Recorder corresponding to change in acceleration of carriage
JP2003326791A (en) Motor drive controller
JP2002186285A (en) Apparatus and method for controlling motor
JP3069308U (en) Peripheral equipment
JP3087183U (en) Printing device
JP2000083320A (en) Apparatus and method for controlling drive
JP2004215461A (en) Drive controller of stepping motor and printer having the same
JP5431837B2 (en) Image forming apparatus, control apparatus, and control method
JPH07106659B2 (en) Carriage drive control method for serial printer
JP2786376B2 (en) Printer
JP2003039638A (en) Control method of dot line printer
JPH079707A (en) Printer
JP2004230565A (en) Printer
JPH048550A (en) Serial impact printer control device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20071225

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081225

Year of fee payment: 6

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081225

Year of fee payment: 6