JP6177016B2 - Driving device and recording device - Google Patents

Driving device and recording device Download PDF

Info

Publication number
JP6177016B2
JP6177016B2 JP2013122965A JP2013122965A JP6177016B2 JP 6177016 B2 JP6177016 B2 JP 6177016B2 JP 2013122965 A JP2013122965 A JP 2013122965A JP 2013122965 A JP2013122965 A JP 2013122965A JP 6177016 B2 JP6177016 B2 JP 6177016B2
Authority
JP
Japan
Prior art keywords
motor
moving
driving
carriage
moving body
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.)
Active
Application number
JP2013122965A
Other languages
Japanese (ja)
Other versions
JP2014240141A5 (en
JP2014240141A (en
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2013122965A priority Critical patent/JP6177016B2/en
Publication of JP2014240141A publication Critical patent/JP2014240141A/en
Publication of JP2014240141A5 publication Critical patent/JP2014240141A5/ja
Application granted granted Critical
Publication of JP6177016B2 publication Critical patent/JP6177016B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)
  • Ink Jet (AREA)

Description

本発明は、記録ヘッドを搭載して往復移動するキャリッジを用いるシリアルスキャン方式の記録装置等、種々の移動体を備える駆動装置および記録装置に関するものである。 The present invention relates to a driving apparatus and a recording apparatus including various moving bodies, such as a serial scan type recording apparatus using a carriage that is mounted with a recording head and reciprocates.

特許文献1には、移動体として印刷シリンダを備える輪転印刷機において、その印刷シリンダの駆動系の異常診断装置が記載されている。この装置においては、予め、印刷シリンダの回転駆動部に取り付けられたエンコーダのエンコーダ信号と、印刷シリンダの駆動モータを制御するマスタ信号と、の差分信号から、駆動系部品であるベアリングと2つのギアのそれぞれの固有振動信号を算出しておく。輪転印刷機の動作時は、常に、エンコーダ信号とマスタ信号との差分信号を取得して、その差分信号と、正常なベアリングと2つのギアのそれぞれの固有振動信号と、を比較する。そして、それらの比較結果から異常が発生した駆動系部品を判別する。   Patent Document 1 describes an abnormality diagnosis device for a drive system of a printing cylinder in a rotary printing press including a printing cylinder as a moving body. In this apparatus, a bearing and two gears, which are drive system components, are obtained from a difference signal between an encoder signal of an encoder attached to a rotation driving unit of a printing cylinder and a master signal for controlling a driving motor of the printing cylinder. Each natural vibration signal is calculated in advance. During the operation of the rotary printing press, the difference signal between the encoder signal and the master signal is always acquired, and the difference signal is compared with the natural vibration signals of the normal bearing and the two gears. Then, the drive system component in which an abnormality has occurred is determined from the comparison result.

特開2003−165201号公報JP 2003165201 A

特許文献1に記載の装置は、印刷シリンダの駆動モータを制御するマスタ信号と、エンコーダのエンコーダ信号と、を比較し、駆動系部品の固有振動周波が想定範囲内か否かを判別することによって、異常が発生した駆動系部品を特定するものである。しかし、エンコーダ信号を生成するエンコーダ自体の異常の発生の有無は判別できない。また、駆動系部品の固有振動周波は周辺の関連装置の振動の影響を受けやすいため、振動の影響を受けやすい環境下においては、異常が発生した駆動系部品を特定することが難しくなる。   The apparatus described in Patent Document 1 compares a master signal that controls a drive motor of a printing cylinder with an encoder signal of an encoder, and determines whether or not the natural vibration frequency of a drive system component is within an assumed range. The drive system component in which an abnormality has occurred is specified. However, it cannot be determined whether or not an abnormality has occurred in the encoder itself that generates the encoder signal. In addition, since the natural vibration frequency of the drive system component is easily affected by the vibration of related devices in the vicinity, it is difficult to identify the drive system component in which an abnormality has occurred in an environment that is easily affected by the vibration.

本発明の目的は、移動体の駆動制御に関する種々の構成要素の中から、移動体の移動状態を検出する検出部を含めて、異常が発生した構成要素を判別することができる駆動装置および記録装置を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a drive device and a recording device that can determine a component in which an abnormality has occurred, including a detection unit that detects a moving state of a mobile body, from among various components related to drive control of the mobile body To provide an apparatus.

本発明の駆動装置は、移動体と、モータを駆動源として前記移動体を移動させる移動手段と前記移動体を基準位置から所定の移動範囲内を移動させるために第1の駆動力で第1の駆動時間の間に前記モータを駆動する駆動手段と、前記移動体の移動量を測定する測定手段と、前記第1の駆動時間の間に前記測定手段によって測定された移動量が第1の閾値を越えない場合に、前記測定手段に異常が生じたと判定する判定手段と、を備え駆動装置であって、前記駆動手段は、前記移動体を前記基準位置から前記所定の移動範囲の移動限界位置まで移動させるために、前記第1の駆動力より小さい第2の駆動力で、第2の駆動時間の間に前記モータを駆動し、前記判定手段は、前記第2の駆動時間の間に前記測定手段によって測定された移動量が第2の閾値を越えない場合に、前記測定手段に異常が生じた又は前記移動体に過大な負荷が掛かったと判定することを特徴とする。 Drive device of the present invention, a moving body, a moving means for moving the moving body by using a motor as a drive source, to move within a predetermined range of movement the movable body from the reference position, the first driving force The driving means for driving the motor during the first driving time, the measuring means for measuring the moving amount of the moving body, and the moving amount measured by the measuring means during the first driving time are If not exceeding the first threshold, the measurement means determining means that an abnormality has occurred in, a Ru drive device wherein the drive means, the predetermined movement range of the moving body from the reference position To move to the movement limit position, the motor is driven during a second driving time with a second driving force that is smaller than the first driving force, and the determination means includes the second driving time. During the period measured by the measuring means. If the amount does not exceed the second threshold value, and wherein the determining the excessive load is applied to the abnormality occurs or the moving body to said measuring means.

本発明によれば、特定の駆動条件で移動体を移動させたときの移動体の移動状態を検出することにより、移動体の駆動部のみならず、移動体の移動状態を検出する検出部の異常をも判別することができる。また、移動体としてキャリッジを備えるシリアルスキャン方式のインクジェット記録装置等、種々の振動の影響を受けやすい装置においても異常を確実に判別することができる。そのインクジェット記録装置における振動源としては、例えば、インクミストを排出するためのファン、および記録媒体をプラテンに吸着させるためのファンなどが含まれる。このようなインクジェット記録装置においては、移動体としてのキャリッジの移動状態を検出するための検出部がインクミストの影響を受けやすいため、その検出部の異常を判別することは極めて有意義である。   According to the present invention, by detecting the moving state of the moving body when the moving body is moved under a specific driving condition, not only the driving unit of the moving body but also the detecting unit that detects the moving state of the moving body. Abnormalities can also be determined. In addition, an abnormality can be reliably determined even in an apparatus that is susceptible to various vibrations, such as a serial scan type inkjet recording apparatus including a carriage as a moving body. Examples of the vibration source in the ink jet recording apparatus include a fan for discharging ink mist and a fan for adsorbing the recording medium to the platen. In such an ink jet recording apparatus, since the detection unit for detecting the moving state of the carriage as a moving body is easily affected by ink mist, it is extremely meaningful to determine the abnormality of the detection unit.

本発明の第1の実施形態における記録装置の概略構成図である。1 is a schematic configuration diagram of a recording apparatus according to a first embodiment of the present invention. 図1の記録装置の制御系のブロック構成図である。FIG. 2 is a block configuration diagram of a control system of the recording apparatus in FIG. 1. 本発明の第1の実施形態における異常判別処理を説明するためのフローチャートである。It is a flowchart for demonstrating the abnormality determination process in the 1st Embodiment of this invention. 本発明の第1の実施形態における異常判別処理を説明するためのフローチャートである。It is a flowchart for demonstrating the abnormality determination process in the 1st Embodiment of this invention. モータの駆動時間とキャリッジの移動速度との関係の説明図である。It is explanatory drawing of the relationship between the drive time of a motor, and the moving speed of a carriage. モータの駆動時間とキャリッジの移動量との関係の説明図である。It is explanatory drawing of the relationship between the drive time of a motor, and the moving amount of a carriage. 本発明の第2の実施形態における異常判別処理を説明するためのフローチャートである。It is a flowchart for demonstrating the abnormality determination process in the 2nd Embodiment of this invention. 本発明の第3の実施形態における異常判別処理を説明するためのフローチャートである。It is a flowchart for demonstrating the abnormality determination process in the 3rd Embodiment of this invention. 本発明の第4の実施形態における異常判別処理を説明するためのフローチャートである。It is a flowchart for demonstrating the abnormality determination process in the 4th Embodiment of this invention. 本発明の第4の実施形態における異常判別処理を説明するためのフローチャートである。It is a flowchart for demonstrating the abnormality determination process in the 4th Embodiment of this invention.

以下、本発明の実施形態を図面に基づいて説明する。
(第1の実施形態)
図1(a),(b)は、本発明の第1の実施形態としてのシリアルスキャン方式のインクジェット記録装置の概略構成図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
FIGS. 1A and 1B are schematic configuration diagrams of a serial scan type inkjet recording apparatus according to a first embodiment of the present invention.

この記録装置は、インクを吐出可能なインクジェット記録ヘッドHを用いて記録媒体Pに画像を記録するものであり、記録ヘッドHは、電気熱変換素子(ヒータ)やピエゾ素子などの種々の吐出エネルギー発生素子を用いてインクを吐出する構成となっている。電気熱変換素子を用いた場合には、その発熱によってインクを発泡させ、その発泡エネルギーを利用して吐出口からインクを吐出することができる。   This recording apparatus records an image on a recording medium P by using an ink jet recording head H capable of ejecting ink. The recording head H has various ejection energies such as an electrothermal conversion element (heater) and a piezo element. Ink is ejected using the generating element. When the electrothermal conversion element is used, the ink is foamed by the heat generation, and the ink can be ejected from the ejection port using the foaming energy.

記録ヘッドHは、シャフト1によって矢印Xの主走査方向に移動自在にガイドされたキャリッジ(移動体)2に着脱可能に搭載されている。キャリッジ2は、駆動機構(駆動部)3によって主走査方向に往復移動される。本例の駆動機構3は、駆動プーリ3A、従動プーリ3B、それらのプーリ間に掛け渡されかつキャリッジ2に連結されたベルト3C、および駆動プーリ3Aを回転可能な可逆転のキャリッジモータ3Dを含む構成となっている。したがって、駆動源としてのキャリッジモータ3Dの正回転および逆回転により、ベルト3Cを介してキャリッジ2は、その移動が許容される所定の移動範囲内において主走査方向に往復移動する。記録装置本体には、シャフト1と平行にエンコーダスケール4が配置されており、キャリッジ2には、エンコーダスケール4と対向するエンコーダセンサ5が備えられている。これらのエンコーダスケール4とエンコーダセンサ5によってエンコーダ(第1の検出部、別の表現をすると測定手段)が構成されている。エンコーダスケール4には、その長さ方向に等間隔に並ぶ複数の被検出部が形成されており、キャリッジ2の移動に応じて、エンコーダセンサ5がエンコーダスケール4の被検出部の検出信号を出力する。その検出信号をカウントすることにより、キャリッジ2の移動量を測定することができる。エンコーダスケール4とエンコーダセンサ5は、光学式または磁気式等の種々のエンコーダを構成するものであってもよく、光学式の場合には、例えば、エンコーダスケール4に被検出部としての複数の透光部が等間隔に形成される。   The recording head H is detachably mounted on a carriage (moving body) 2 guided by a shaft 1 so as to be movable in the main scanning direction indicated by an arrow X. The carriage 2 is reciprocated in the main scanning direction by a drive mechanism (drive unit) 3. The drive mechanism 3 of this example includes a drive pulley 3A, a driven pulley 3B, a belt 3C spanned between these pulleys and connected to the carriage 2, and a reversible carriage motor 3D capable of rotating the drive pulley 3A. It has a configuration. Therefore, the carriage 2 reciprocates in the main scanning direction via the belt 3C within a predetermined movement range in which the movement is allowed by the forward and reverse rotations of the carriage motor 3D as a drive source. An encoder scale 4 is arranged in parallel with the shaft 1 in the recording apparatus main body, and an encoder sensor 5 facing the encoder scale 4 is provided in the carriage 2. The encoder scale 4 and the encoder sensor 5 constitute an encoder (a first detection unit, which is a measuring means in other words). The encoder scale 4 is formed with a plurality of detected portions arranged at equal intervals in the length direction, and the encoder sensor 5 outputs a detection signal of the detected portion of the encoder scale 4 according to the movement of the carriage 2. To do. By counting the detection signals, the amount of movement of the carriage 2 can be measured. The encoder scale 4 and the encoder sensor 5 may constitute various types of encoders such as an optical type or a magnetic type. In the case of the optical type, for example, the encoder scale 4 includes a plurality of transparent parts serving as detected portions. The light parts are formed at equal intervals.

記録装置本体の定位置には光学センサ(原点センサ)6が配備されており、キャリッジ2には遮光板7が備えられている。キャリッジ2が図1(b)の右方に移動して、原点センサ6における発光部と透光部との間の光路が遮光板7によって遮断されることにより、キャリッジ2が基準位置に移動したことが検出される。これらの原点センサ6と遮光板7によって、キャリッジ2が基準位置に位置していることを検出する第2の検出部が構成されている。この基準位置を原点として、キャリッジ2の移動位置を検出することができる。例えば、基準位置を原点“0”としてエンコーダセンサ5の検出信号をカウントし、そのカウント値は、キャリッジ2が図1(b)中の左方に移動したときにカウントアップし、キャリッジ2が図1(b)中の右方に移動したときにカウントダウンする。この場合、その検出信号のカウント値は、基準位置を原点とするキャリッジ2の移動位置に対応することになる。また、そのカウント値の変化に基づいて、キャリッジ2の移動量および移動速度を検出することができる。エンコーダセンサ5の検出信号のカウント値は、「エンコーダ値」ともいう。   An optical sensor (origin sensor) 6 is provided at a fixed position of the recording apparatus main body, and a light shielding plate 7 is provided on the carriage 2. The carriage 2 is moved to the right in FIG. 1B, and the light path between the light emitting part and the light transmitting part in the origin sensor 6 is blocked by the light shielding plate 7, so that the carriage 2 is moved to the reference position. It is detected. The origin sensor 6 and the light shielding plate 7 constitute a second detection unit that detects that the carriage 2 is located at the reference position. The moving position of the carriage 2 can be detected using this reference position as the origin. For example, the detection signal of the encoder sensor 5 is counted with the reference position as the origin “0”, and the count value is counted up when the carriage 2 moves to the left in FIG. Count down when moving to the right in 1 (b). In this case, the count value of the detection signal corresponds to the movement position of the carriage 2 with the reference position as the origin. Further, the moving amount and moving speed of the carriage 2 can be detected based on the change in the count value. The count value of the detection signal of the encoder sensor 5 is also referred to as “encoder value”.

記録媒体Pは、搬送機構(搬送部)8によって、主走査方向と交差(本例の場合は直交)する矢印Yの副走査方向(搬送方向)に搬送される。本例の搬送機構8は、記録ヘッドHよりも搬送方向の上流側に位置する対の搬送ローラ8A,8Bと、記録ヘッドHよりも搬送方向の下流側に位置する対の搬送ローラ8C,8Dと、を含む構成となっている。   The recording medium P is conveyed by the conveyance mechanism (conveyance unit) 8 in the sub-scanning direction (conveyance direction) indicated by an arrow Y that intersects (orthogonally in this example) the main scanning direction. The transport mechanism 8 of this example includes a pair of transport rollers 8A and 8B positioned upstream of the recording head H in the transport direction, and a pair of transport rollers 8C and 8D positioned downstream of the recording head H in the transport direction. It is the composition which includes.

図2は、図1の記録装置の制御系のブロック構成図である。同図中の構成要素は、不図示の制御基板に搭載される。   FIG. 2 is a block diagram of the control system of the recording apparatus of FIG. The components in the figure are mounted on a control board (not shown).

CPU12は、本記録装置の動作の制御処理やデータ処理等を実行する。ROM13には、それらの処理手順等のプログラムが格納され、RAM14は、それらの処理を実行するためのワークエリアなどとして用いられる。CPU12は、パネル15によってユーザに対して情報を表示し、またパネル15を介してユーザからの指示を受け取る。CPU12は、I/Oインターフェース11を介して、モータドライバ16、割り込みセンサ17、および他のセンサ18に接続されている。モータドライバ16は、キャリッジ2を駆動するためのキャリッジモータ3D(図1(b)参照)の他、種々のモータを制御可能である。例えば、搬送機構8(図1(a)参照)を駆動するためのモータ、および記録ヘッドHの吐出口をキャッピングするキャップを移動させるためのモータ等が含まれる。割り込みセンサ17としては図1(b)のセンサ5が含まれ、他のセンサ18としては、図1(b)の原点センサ6、および記録装置の本体カバーの開閉を検出するセンサなどが含まれる。その本体カバーとしては、記録装置の上部を覆う開閉可能な上カバーが含まれる。   The CPU 12 executes control processing of the operation of the recording apparatus, data processing, and the like. The ROM 13 stores programs such as those processing procedures, and the RAM 14 is used as a work area for executing these processes. The CPU 12 displays information to the user via the panel 15 and receives an instruction from the user via the panel 15. The CPU 12 is connected to the motor driver 16, the interrupt sensor 17, and other sensors 18 via the I / O interface 11. The motor driver 16 can control various motors in addition to the carriage motor 3D (see FIG. 1B) for driving the carriage 2. For example, a motor for driving the transport mechanism 8 (see FIG. 1A), a motor for moving a cap for capping the ejection port of the recording head H, and the like are included. The interrupt sensor 17 includes the sensor 5 in FIG. 1B, and the other sensors 18 include the origin sensor 6 in FIG. 1B and a sensor that detects opening and closing of the main body cover of the recording apparatus. . The main body cover includes an openable and closable upper cover that covers the top of the recording apparatus.

CPU12は、センサ17,18によって制御対象の移動位置等を監視しながら、モータドライバ16を介して、制御対象に関連する種々のモータを制御する。画像を記録する場合には、記録ヘッドHをキャリッジ2と共に主走査方向に移動させつつ記録ヘッドHからインクを吐出する動作と、記録媒体Pを副走査方向に搬送する搬送動作と、を繰り返す。ユーザからの指示は、インターフェース19からCPU12に通知される場合もある。   The CPU 12 controls various motors related to the controlled object via the motor driver 16 while monitoring the movement position of the controlled object by the sensors 17 and 18. When recording an image, the operation of ejecting ink from the recording head H while moving the recording head H together with the carriage 2 in the main scanning direction and the conveying operation of conveying the recording medium P in the sub-scanning direction are repeated. An instruction from the user may be notified to the CPU 12 from the interface 19.

図3および図4は、キャリッジ2の移動制御に関する構成部品の異常判別処理(以下、「判別処理」ともいう)を説明するためのフローチャートである。図3および図4のフローチャートを制御するプログラムはROM13に格納されており、CPU12によって実行される。そのプログラムは、記録装置の起動時、あるいはパネル15およびインターフェース19から指示によって、ROM13から読み出されてRAM14に展開される。   3 and 4 are flowcharts for explaining component abnormality determination processing (hereinafter, also referred to as “determination processing”) relating to movement control of the carriage 2. A program for controlling the flowcharts of FIGS. 3 and 4 is stored in the ROM 13 and executed by the CPU 12. The program is read from the ROM 13 and expanded in the RAM 14 when the recording apparatus is activated or by an instruction from the panel 15 and the interface 19.

まず、判別処理の準備として、作業者に対してキャリッジ2の移動を指示する。CPU12は、キャリッジ2の移動が規制されているか否か(ロックされているか否か)、例えば、キャリッジ2に搭載されている記録ヘッドHが不図示のキャップによってキャッピングされているか否かを判断する。キャリッジ2の移動が規制されていると判断した場合、CPU12は、モータドライバ16、エンコーダセンサ5、および原点センサ6などを用いて、キャリッジ2を移動可能な状態(ロックの解除状態)とする(ステップS1)。例えば、キャリッジ2に搭載されている記録ヘッドHがキャップによってキャッピングされている場合には、記録ヘッドHとキャップとを相対移動させて、それらを離間させる。   First, as preparation for discrimination processing, the operator is instructed to move the carriage 2. The CPU 12 determines whether the movement of the carriage 2 is restricted (whether it is locked), for example, whether the recording head H mounted on the carriage 2 is capped by a cap (not shown). . When determining that the movement of the carriage 2 is restricted, the CPU 12 uses the motor driver 16, the encoder sensor 5, the origin sensor 6, and the like to bring the carriage 2 into a movable state (unlocked state) ( Step S1). For example, when the recording head H mounted on the carriage 2 is capped with a cap, the recording head H and the cap are moved relative to each other to separate them.

その後、CPU12は、パネル15の表示部を用いて、記録装置の上部を覆う不図示の上カバーの開操作を作業者に要求する(ステップS2)。上カバーの開操作は、後述するように作業者がキャリッジ2を移動操作するために必要な操作である。CPU12は、上カバーの開閉を検出するセンサを監視する。そして、そのセンサが上カバーの開状態を検出したときに、パネル15の表示部を用いて、キャリッジ2を図1(b)中右方(矢印X1方向)の移動限界位置(原点位置)に移動させる操作を作業者に要求する(ステップS3,S4)。その後、CPU12は原点センサ6を監視する。そして、作業者が手動によりキャリッジ2を図1(b)中右方の原点位置に移動させたときに、原点センサ6が遮光板7を検出してONとなる(ステップS5)。CPU12は、原点センサ6がONとなってから、パネル15の表示部の表示部を用いて、上カバーの閉操作を作業者に要求する(ステップS6)。CPU12は、上カバーの開閉を検出するセンサを監視し、そのセンサが上カバーの閉状態を検出してから、原点センサ6がONであるか否かを判定する(ステップS7,S8)。原点センサ6がOFFの場合には先のステップS2に戻り、それがONであるときには図4のステップS9に移行する。   Thereafter, the CPU 12 requests the operator to open an upper cover (not shown) that covers the upper part of the recording apparatus using the display unit of the panel 15 (step S2). The opening operation of the upper cover is an operation necessary for the operator to move the carriage 2 as will be described later. The CPU 12 monitors a sensor that detects opening and closing of the upper cover. When the sensor detects the open state of the upper cover, the carriage 2 is moved to the movement limit position (origin position) to the right (arrow X1 direction) in FIG. An operation to move is requested to the worker (steps S3 and S4). Thereafter, the CPU 12 monitors the origin sensor 6. When the operator manually moves the carriage 2 to the origin position on the right side in FIG. 1B, the origin sensor 6 detects the light shielding plate 7 and is turned on (step S5). After the origin sensor 6 is turned on, the CPU 12 requests the operator to close the upper cover using the display unit of the display unit of the panel 15 (step S6). The CPU 12 monitors a sensor that detects opening and closing of the upper cover, and determines whether or not the origin sensor 6 is ON after the sensor detects the closed state of the upper cover (steps S7 and S8). If the origin sensor 6 is OFF, the process returns to the previous step S2, and if it is ON, the process proceeds to step S9 in FIG.

ステップS9において、CPU12は、キャリッジモータ3Dの駆動前の現時点におけるエンコーダ値C1を取得し、それをRAM14に保存する。本例の場合、エンコーダセンサ5とエンコーダスケール4との組み合わせによるキャリッジ2の移動位置の検出精度は、記録密度1200dpi(ドット/インチ)に対応する精度であり、キャリッジ2が主走査方向に移動可能な最大距離は約1150mmである。   In step S <b> 9, the CPU 12 obtains the encoder value C <b> 1 at the current time before driving the carriage motor 3 </ b> D and stores it in the RAM 14. In the case of this example, the detection accuracy of the movement position of the carriage 2 by the combination of the encoder sensor 5 and the encoder scale 4 is an accuracy corresponding to a recording density of 1200 dpi (dot / inch), and the carriage 2 can move in the main scanning direction. The maximum distance is about 1150 mm.

その後、CPU12は、キャリッジ2を第1の駆動力によって左方(矢印X2方向)に移動させる(ステップS10)。第1の駆動力は、キャリッジ2の摺動負荷、静止摩擦係数、動摩擦係数がインクミスト等の影響によってある程度変動したとしてもキャリッジ2を確実に移動可能な比較的大きな力であり、キャリッジモータ3Dを駆動制御することによって出力される。つまり、第1の駆動力は、キャリッジ2に掛かる負荷が管理範囲を越えてときにもキャリッジ2を確実に移動可能な比較的大きな力である。つまり、第1の駆動力は、キャリッジ2に掛かる負荷が所定値(管理範囲の最大値)より大きい場合にも、キャリッジ2を確実に移動可能な比較的大きな力である。第1の駆動時間(T1)は、第1の駆動力によってキャリッジ2を左方に移動させたときに、キャリッジ2が左方の移動限界位置Pを規制する壁面(ストッパ)に衝突させない程度に、キャリッジモータ3Dを駆動する時間である。後述するように、第1の駆動時間(T1)が経過したときにキャリッジモータ3Dは駆動を停止する。キャリッジモータ3Dが停止した後はキャリッジ2が惰性によって移動するため、その惰性によってキャリッジ2が壁面(ストッパ)に衝突しない程度に、第1の駆動時間(T1)を設定する。また、第1の駆動時間(T1)は、キャリッジ2などの破損を招かなければ、キャリッジ2が惰性によって壁面(ストッパ)に衝突する程度に設定してもよい。本例の場合、第1の駆動力は、キャリッジモータ3Dの駆動デューティを100%としたときの出力であり、キャリッジ2の移動限界位置Pは、キャリッジ2が左方に約1150mmに移動したときの位置であり、第1の駆動時間(T1)は200msである。   Thereafter, the CPU 12 moves the carriage 2 to the left (in the direction of the arrow X2) with the first driving force (step S10). The first driving force is a relatively large force that can reliably move the carriage 2 even if the sliding load, static friction coefficient, and dynamic friction coefficient of the carriage 2 fluctuate to some extent due to the influence of ink mist or the like. Is output by controlling the drive. That is, the first driving force is a relatively large force that can reliably move the carriage 2 even when the load applied to the carriage 2 exceeds the management range. That is, the first driving force is a relatively large force that can reliably move the carriage 2 even when the load applied to the carriage 2 is larger than a predetermined value (maximum value in the management range). The first drive time (T1) is such that when the carriage 2 is moved to the left by the first drive force, the carriage 2 does not collide with the wall surface (stopper) that regulates the left movement limit position P. This is the time for driving the carriage motor 3D. As will be described later, the carriage motor 3D stops driving when the first driving time (T1) has elapsed. Since the carriage 2 moves by inertia after the carriage motor 3D stops, the first drive time (T1) is set to such an extent that the carriage 2 does not collide with the wall surface (stopper) due to the inertia. Further, the first driving time (T1) may be set to such an extent that the carriage 2 collides with the wall surface (stopper) due to inertia if the carriage 2 or the like is not damaged. In the case of this example, the first driving force is an output when the driving duty of the carriage motor 3D is 100%, and the movement limit position P of the carriage 2 is when the carriage 2 moves to the left about 1150 mm. The first drive time (T1) is 200 ms.

その後、CPU12は、キャリッジ2の移動停止を待つ(ステップS11)。キャリッジ2はキャリッジモータ3Dの駆動が停止した後も惰性によってある程度移動し続けるため、CPU12は、エンコーダセンサ5の検出信号のカウント値を監視し、そのカウント値が変化しなくなったときにキャリッジ2が停止したと判断する。   Thereafter, the CPU 12 waits for the carriage 2 to stop moving (step S11). Since the carriage 2 continues to move to some extent even after the drive of the carriage motor 3D is stopped, the CPU 12 monitors the count value of the detection signal of the encoder sensor 5, and when the count value no longer changes, the carriage 2 Judge that stopped.

その後、CPU12は、原点センサ6がOFFに変化したか否かを判定する(ステップS12)。原点センサ6がOFFに変化しなかった場合には、キャリッジモータ3D用の不図示の制御基板、キャリッジモータ3D、またはベルト3Cのいずれかに異常が生じて、キャリッジ2が移動しなかったと判断する。このような異常の判断結果は、パネル15の表示部を用いて作業者に報知される(ステップS13)。   Thereafter, the CPU 12 determines whether or not the origin sensor 6 has been turned off (step S12). If the origin sensor 6 does not change to OFF, it is determined that an abnormality has occurred in any of the control board (not shown) for the carriage motor 3D, the carriage motor 3D, or the belt 3C, and the carriage 2 has not moved. . Such an abnormality determination result is notified to the operator using the display unit of the panel 15 (step S13).

原点センサ6がOFFに変化した場合、CPU12は、現時点におけるエンコーダ値C2を取得して、それをRAM14に保存する(ステップS14)。その後、エンコーダ値C1,C2の差が所定の第1の閾値Th1を越えているか否かを判定する(ステップS15)。この判定は、エンコーダセンサ5が正常に検出信号を出力するか否かを判定するものであるため、第1の閾値Th1は小さい値であってもよい。本例の場合、第1の閾値Th1は“20”であり、エンコーダ値C1,C2の差が“20”を越えなかった場合に、エンコーダセンサ5に異常が生じて、それが検出信号を出力しなかったと判断する。このような異常の判断結果は、パネル15の表示部を用いて作業者に報知される(ステップS16)。エンコーダ値C1,C2の差が“20”を越えた場合には、次のステップS17に移行する。このステップS17に移行した段階において、キャリッジモータ3D用の制御基板、キャリッジモータ3D、ベルト3C、およびエンコーダセンサ5は、いずれも正常であると判断されている。   When the origin sensor 6 changes to OFF, the CPU 12 acquires the current encoder value C2 and stores it in the RAM 14 (step S14). Thereafter, it is determined whether or not the difference between the encoder values C1 and C2 exceeds a predetermined first threshold value Th1 (step S15). Since this determination is to determine whether or not the encoder sensor 5 normally outputs a detection signal, the first threshold Th1 may be a small value. In the case of this example, the first threshold Th1 is “20”, and when the difference between the encoder values C1 and C2 does not exceed “20”, an abnormality occurs in the encoder sensor 5, which outputs a detection signal. Judge that it did not. Such an abnormality determination result is notified to the operator using the display unit of the panel 15 (step S16). When the difference between the encoder values C1 and C2 exceeds “20”, the process proceeds to the next step S17. At the stage of shifting to step S17, it is determined that the control board for the carriage motor 3D, the carriage motor 3D, the belt 3C, and the encoder sensor 5 are all normal.

図5および図6中の点線Aは、第1の駆動力を出力するためのキャリッジモータ3Dの駆動デューティを示す。上述したように、キャリッジモータ3Dは、100%の駆動デューティで第1の駆動時間(T1;200ms)だけ駆動される。その結果、キャリッジ2の移動速度は図5中の点線A1のように変化し、キャリッジ2の移動量は図6中の点線A2のように変化する。キャリッジ2は、第1の駆動時間(T1;200ms)まで加速され、その後、惰性によって移動してから、停止する。キャリッジ2は、それが壁面に衝突する移動限界位置Pに達する前、つまり、キャリッジ2の移動量が約1150mmに達する前に停止する。キャリッジ2は、キャリッジ2などの破損を招かなければ、惰性によって壁面(ストッパ)に衝突してもよい。   A dotted line A in FIGS. 5 and 6 indicates a driving duty of the carriage motor 3D for outputting the first driving force. As described above, the carriage motor 3D is driven for the first drive time (T1; 200 ms) with a drive duty of 100%. As a result, the moving speed of the carriage 2 changes as indicated by a dotted line A1 in FIG. 5, and the moving amount of the carriage 2 changes as indicated by a dotted line A2 in FIG. The carriage 2 is accelerated until the first driving time (T1; 200 ms), and then moves by inertia and then stops. The carriage 2 stops before reaching the movement limit position P where it collides with the wall surface, that is, before the movement amount of the carriage 2 reaches about 1150 mm. The carriage 2 may collide with the wall surface (stopper) due to inertia as long as the carriage 2 is not damaged.

ステップS17において、CPU12は、キャリッジモータ3Dを制御して、キャリッジ2を図1(b)中の右方に移動させて原点位置に戻す。その後、CPU12は、現時点におけるエンコーダ値C3を取得し、それをRAM14に保存する(ステップS18)。   In step S17, the CPU 12 controls the carriage motor 3D to move the carriage 2 to the right in FIG. Thereafter, the CPU 12 obtains the current encoder value C3 and stores it in the RAM 14 (step S18).

その後、CPU12は、キャリッジ2を第2の駆動力によって第2の駆動時間(T2)だけ左方(矢印X2方向)に移動させる(ステップS19)。第2の駆動力は、キャリッジ2の摺動負荷および静止摩擦係数が管理されている通常範囲(管理範囲内)であるときにキャリッジ2を移動可能な力である。さらに、その第2の駆動力は、その力によってキャリッジ2を左方の移動限界位置Pを規制する壁面(ストッパ)に衝突させたとしもキャリッジ2などの破損を招くことのない力である。このような第2の駆動力は、キャリッジモータ3Dを駆動制御することによって出力される。第2の駆動時間(T2)は、第2の駆動力によってキャリッジ2を左方の移動限界位置Pまで、つまり移動限界位置Pを規制する壁面(ストッパ)にキャリッジ2が衝突するまで、キャリッジ2を最大距離移動可能なキャリッジモータ3Dの駆動時間である。第2の駆動時間(T2)の経過後に、キャリッジ2が惰性によって壁面(ストッパ)に衝突するようにしてもよい。本例の場合、第2の駆動力は、キャリッジモータ3Dの駆動デューティを20%としたときの出力であり、第2の駆動時間(T2)は2000msである。   Thereafter, the CPU 12 moves the carriage 2 to the left (arrow X2 direction) by the second driving force for the second driving time (T2) (step S19). The second driving force is a force capable of moving the carriage 2 when the sliding load and the static friction coefficient of the carriage 2 are within a normal range (within the management range). Further, the second driving force is a force that does not cause damage to the carriage 2 or the like even when the carriage 2 collides with a wall surface (stopper) that restricts the left movement limit position P by the force. Such a second driving force is output by controlling the carriage motor 3D. The second drive time (T2) is determined by the second drive force until the carriage 2 collides with the left movement limit position P, that is, until the carriage 2 collides with a wall surface (stopper) that regulates the movement limit position P. Is the drive time of the carriage motor 3D that can move the maximum distance. After the second drive time (T2) has elapsed, the carriage 2 may collide with the wall surface (stopper) due to inertia. In this example, the second driving force is an output when the driving duty of the carriage motor 3D is 20%, and the second driving time (T2) is 2000 ms.

その後、CPU12は、キャリッジ2の移動停止を待つ(ステップS20)。CPU12は、エンコーダセンサ5の検出信号のカウント値を監視し、そのカウント値が変化しなくなったときにキャリッジ2が停止したと判断する。その後、CPU12は、現時点におけるエンコーダ値C4を取得して、それをRAM14に保存する(ステップS21)。その後、エンコーダ値C3,C4の差が所定の第2の閾値Th2を越えているか否かを判定する(ステップS22)。この判定は、キャリッジ2が正常に最大距離移動したか否かを判定するものであるため、第2の閾値Th2は、キャリッジ2が最大距離移動したときのエンコーダ値に所定の誤差を加味した値とする。本例の場合、第2の閾値Th2は“48000”である。ステップS22において、エンコーダ値C3,C4の差が“48000”を越えなかった場合には、エンコーダスケール4が異常、またはキャリッジ2が移動する際の静止摩擦係数または摺動負荷が過大(オーバーロード)となったと判断する。   Thereafter, the CPU 12 waits for the carriage 2 to stop moving (step S20). The CPU 12 monitors the count value of the detection signal of the encoder sensor 5 and determines that the carriage 2 has stopped when the count value stops changing. Thereafter, the CPU 12 obtains the current encoder value C4 and stores it in the RAM 14 (step S21). Thereafter, it is determined whether or not the difference between the encoder values C3 and C4 exceeds a predetermined second threshold Th2 (step S22). Since this determination is to determine whether or not the carriage 2 has normally moved the maximum distance, the second threshold Th2 is a value obtained by adding a predetermined error to the encoder value when the carriage 2 has moved the maximum distance. And In this example, the second threshold Th2 is “48000”. If the difference between the encoder values C3 and C4 does not exceed “48000” in step S22, the encoder scale 4 is abnormal or the static friction coefficient or sliding load when the carriage 2 moves is excessive (overload). Judge that it became.

エンコーダスケール4は、キャリッジ2の移動範囲の全域に渡って延在しかつ露出していて、記録ヘッドHからのインクの吐出に伴って生じたインクミストの影響をエンコーダセンサ5よりも受けやすい。そのため、本例においては、エンコーダ値C3,C4の差が“48000”を越えなかった場合、つまりエンコーダセンサ5がエンコーダスケール4を正常に読み取れなかったときには、エンコーダスケール4に異常が生じたと判断する。エンコーダスケール4およびエンコーダセンサ5がインクミスト等の影響を受けやすい程度に応じて、エンコーダセンサ5に異常が生じたと判断してもよく、あるいはエンコーダスケール4およびエンコーダセンサ5に異常が生じたと判断してもよい。このような異常の判断結果は、パネル15の表示部を用いて作業者に報知される(ステップS23)。エンコーダ値C3,C4の差が“48000”を越えた場合には、次のステップS24に移行する。このステップS24に移行した段階においては、エンコーダスケール4およびキャリッジ2の移動時の負荷が正常である可能性がある。   The encoder scale 4 extends and is exposed over the entire movement range of the carriage 2, and is more susceptible to the influence of ink mist generated due to ink ejection from the recording head H than the encoder sensor 5. Therefore, in this example, when the difference between the encoder values C3 and C4 does not exceed “48000”, that is, when the encoder sensor 5 cannot read the encoder scale 4 normally, it is determined that an abnormality has occurred in the encoder scale 4. . Depending on the degree to which the encoder scale 4 and encoder sensor 5 are easily affected by ink mist or the like, it may be determined that an abnormality has occurred in the encoder sensor 5, or it is determined that an abnormality has occurred in the encoder scale 4 and the encoder sensor 5. May be. Such an abnormality determination result is notified to the worker using the display unit of the panel 15 (step S23). When the difference between the encoder values C3 and C4 exceeds “48000”, the process proceeds to the next step S24. There is a possibility that the load when the encoder scale 4 and the carriage 2 are moved is normal at the stage of shifting to step S24.

図5および図6中の実線Bは、第2の駆動力を出力するためのキャリッジモータ3Dの駆動デューティを示す。上述したように、キャリッジモータ3Dは、20%の駆動デューティで第2の駆動時間(T2;2000ms)だけ駆動される。その結果、キャリッジ2の移動速度は図5中の実線B1のように変化し、キャリッジ2の移動量は図6中の実線B2のように変化する。キャリッジ2は、移動限界位置Pを規制する壁面(ストッパ)に衝突して停止する。上述したように、キャリッジ2が壁面(ストッパ)に衝突してもキャリッジ2などは破損しない。   A solid line B in FIGS. 5 and 6 indicates a driving duty of the carriage motor 3D for outputting the second driving force. As described above, the carriage motor 3D is driven for the second drive time (T2; 2000 ms) with a drive duty of 20%. As a result, the movement speed of the carriage 2 changes as indicated by a solid line B1 in FIG. 5, and the movement amount of the carriage 2 changes as indicated by a solid line B2 in FIG. The carriage 2 collides with a wall surface (stopper) that regulates the movement limit position P and stops. As described above, even if the carriage 2 collides with the wall surface (stopper), the carriage 2 and the like are not damaged.

ステップS24において、CPU12は、キャリッジモータ3Dを制御して、キャリッジ2を図1(b)中の右方に移動させて原点位置に戻して、エンコーダ値を“0”にリセットする(ステップS24)。キャリッジ2が原点位置に戻ったことは、原点センサ6がONとなることにより確認できる。原点センサ6がONとならず、エンコーダ値のリセットが正常に終了できないときは、エンコーダスケール4が異常、またはキャリッジ2が移動する際の静止摩擦係数または摺動負荷が過大(オーバーロード)であると判断する(ステップS25,S26)。CPU12がエンコーダスケール4を異常対象とする理由は、上述したように、それがインクミストの影響を受けやすいからである。またインクミストの状態などによっては、エンコーダセンサ5がエンコーダスケール4を正常に読み取れる状況と読み取れない状況が生じることがあるため、本例においては、先のステップS23と同様に、再度、エンコーダスケール4を異常対象に含ませる。一方、原点センサ6は、記録動作中におけるキャリッジ2の移動範囲から外れた位置に備わるため、インクミストの影響は受けにくい。このような異常の判断結果は、パネル15の表示部を用いて作業者に報知される(ステップS26)。   In step S24, the CPU 12 controls the carriage motor 3D to move the carriage 2 to the right in FIG. 1B and return it to the origin position, thereby resetting the encoder value to “0” (step S24). . The return of the carriage 2 to the origin position can be confirmed by turning on the origin sensor 6. When the origin sensor 6 is not turned ON and the encoder value reset cannot be completed normally, the encoder scale 4 is abnormal or the static friction coefficient or the sliding load when the carriage 2 moves is excessive (overload). (Steps S25 and S26). The reason why the CPU 12 makes the encoder scale 4 an abnormality target is that it is easily affected by ink mist as described above. Further, depending on the state of the ink mist and the like, there may be a situation where the encoder sensor 5 can read the encoder scale 4 normally and a situation where the encoder scale 4 cannot be read. In this example, the encoder scale 4 again, as in the previous step S23. Is included in the abnormal target. On the other hand, since the origin sensor 6 is provided at a position outside the moving range of the carriage 2 during the recording operation, the origin sensor 6 is not easily affected by ink mist. Such an abnormality determination result is notified to the operator using the display unit of the panel 15 (step S26).

エンコーダ値のリセットが正常に終了したときは、次のステップS27に移行してキャリッジ2を所定の条件下において往復移動させる。すなわち、エンコーダ値“100”に対応するキャリッジ2の右側移動位置と、エンコーダ値“49800”に対応するキャリッジ2の左側移動位置と、の間の移動範囲において、キャリッジ2を50ips(インチ/秒)の速度で20回往復移動させる。CPU12は、不図示のタイマによる周期的な割り込みの発生時に、キャリッジ2が一定速度(50ips)となるように、エンコーダセンサ5から取得するカウンタ値に基づいてキャリッジモータ3Dを制御する。その際、CPU12がキャリッジモータ3Dの出力を最大にしても一定速度(50ips)に達しなかった場合には、キャリッジ2の往復移動が正常に終了しない。つまり、キャリッジ2が50ips(インチ/秒)の速度で20回往復移動する所定時間内において、キャリッジ2が一定速度(50ips)に達しないときは、キャリッジ2の往復移動が正常に終了しない。この場合には、エンコーダスケール4の異常、またはキャリッジ2が移動する際の静止摩擦係数または摺動負荷に過大(オーバーロード)となったと判断する。エンコーダスケール4を異常対象とする理由は、上述したとおりである。このような異常の判断結果は、パネル15の表示部を用いて作業者に報知される(ステップS28,S29)。   When the resetting of the encoder value is normally completed, the process proceeds to the next step S27, and the carriage 2 is reciprocated under a predetermined condition. That is, the carriage 2 is moved to 50 ips (inch / second) in the movement range between the rightward movement position of the carriage 2 corresponding to the encoder value “100” and the leftward movement position of the carriage 2 corresponding to the encoder value “49800”. Reciprocate 20 times at a speed of The CPU 12 controls the carriage motor 3D based on the counter value acquired from the encoder sensor 5 so that the carriage 2 has a constant speed (50 ips) when a periodic interrupt is generated by a timer (not shown). At this time, if the CPU 12 does not reach a constant speed (50 ips) even if the output of the carriage motor 3D is maximized, the reciprocation of the carriage 2 does not end normally. That is, if the carriage 2 does not reach a constant speed (50 ips) within a predetermined time in which the carriage 2 reciprocates 20 times at a speed of 50 ips (inch / second), the reciprocating movement of the carriage 2 does not end normally. In this case, it is determined that the encoder scale 4 is abnormal, or the static friction coefficient or the sliding load when the carriage 2 moves is excessive (overload). The reason for making the encoder scale 4 an abnormality is as described above. Such an abnormality determination result is notified to the operator using the display unit of the panel 15 (steps S28 and S29).

キャリッジ2の往復移動が正常に終了した場合には、キャリッジ2の移動制御に関する機能に問題はないと判断して、一連の異常判定処理を終了する。このような判断結果は、パネル15の表示部を用いて作業者に報知される。   When the reciprocating movement of the carriage 2 is normally completed, it is determined that there is no problem in the function related to the movement control of the carriage 2, and the series of abnormality determination processes is ended. Such a determination result is notified to the operator using the display unit of the panel 15.

(第2の実施形態)
本実施形態においては、キャリッジモータ3Dとして、ロータリーエンコーダを内蔵するモータ、あるいは回転位置に応じた磁界を発生するホール素子を備えたブラシレスモータを用いる。これらのロータリーエンコーダやホール素子は、キャリッジモータ3Dの動作位置に応じたパルス信号を出力する信号出力部としてキャリッジモータ3Dに備わる。不図示のカウンタによって、そのキャリッジモータ3Dが動作する際に出力されるパルス信号をカウントする。そのパルス信号のカウント値は、キャリッジモータ3Dが動作しているか否かの判別に利用するため、そのパルス信号は回転方向が判別できないものであってもよい。
(Second Embodiment)
In the present embodiment, as the carriage motor 3D, a motor incorporating a rotary encoder or a brushless motor provided with a Hall element that generates a magnetic field according to the rotational position is used. These rotary encoders and hall elements are provided in the carriage motor 3D as a signal output unit that outputs a pulse signal corresponding to the operating position of the carriage motor 3D. A pulse signal output when the carriage motor 3D operates is counted by a counter (not shown). Since the count value of the pulse signal is used to determine whether or not the carriage motor 3D is operating, the pulse signal may not be able to determine the rotation direction.

図7は、本実施形態における異常判別処理を説明するためのフローチャートである。本実施形態における異常判別処理は、前述した実施形態の異常判別処理における図4のステップS9からステップS16を図7のステップS31からステップS42に置き換えた処理である。   FIG. 7 is a flowchart for explaining the abnormality determination process in the present embodiment. The abnormality determination process in the present embodiment is a process in which steps S9 to S16 in FIG. 4 in the abnormality determination process in the above-described embodiment are replaced with steps S31 to S42 in FIG.

CPU12は、原点センサ6がONとなった時点(ステップS8)におけるエンコーダ値C1を取得して、それをRAM14に保存する(ステップS31)。さらにCPU12は、現時点におけるキャリッジモータ3Dのパルス信号のカウント値(以下、「モータパルス値」ともいう)P1を取得して、それをRAM14に保存する。その後、CPU12は、第1の実施形態におけるステップS10と同様に、キャリッジ2を第1の駆動力によって第1の駆動時間(T1)だけ左方(矢印X2方向)に移動させる(ステップS33)。CPU12は、キャリッジ2の移動停止を待つ(ステップS34)。具体的に、エンコーダセンサ5の検出信号のカウント値を監視し、そのカウント値が変化しなくなったときにキャリッジ2が停止したと判断する。CPU12は、現時点におけるエンコーダ値C2およびモータパルス値P2を取得して、それらをRAM14に保存する(ステップS35,S36)。その後、CPU12は、前述した第1の実施形態におけるステップS15と同様に、エンコーダ値C1,C2の差が所定の第1の閾値Th1を越えているか否かを判定する(ステップS37)。エンコーダ値C1,C2の差が第1の閾値Th1を越えている場合には、キャリッジモータ3D用の制御基板、キャリッジモータ3D、ベルト3C、およびエンコーダセンサ5はいずれも正常であると判断して、図4のステップS17に移行する。   The CPU 12 acquires the encoder value C1 at the time when the origin sensor 6 is turned on (step S8) and stores it in the RAM 14 (step S31). Further, the CPU 12 acquires a count value (hereinafter also referred to as “motor pulse value”) P1 of the pulse signal of the carriage motor 3D at the present time, and stores it in the RAM. Thereafter, the CPU 12 moves the carriage 2 to the left (in the direction of the arrow X2) for the first driving time (T1) by the first driving force, similarly to step S10 in the first embodiment (step S33). The CPU 12 waits for the carriage 2 to stop moving (step S34). Specifically, the count value of the detection signal of the encoder sensor 5 is monitored, and it is determined that the carriage 2 has stopped when the count value stops changing. The CPU 12 acquires the current encoder value C2 and motor pulse value P2, and stores them in the RAM 14 (steps S35 and S36). Thereafter, the CPU 12 determines whether or not the difference between the encoder values C1 and C2 exceeds a predetermined first threshold Th1 as in step S15 in the first embodiment described above (step S37). If the difference between the encoder values C1 and C2 exceeds the first threshold Th1, it is determined that the carriage motor 3D control board, the carriage motor 3D, the belt 3C, and the encoder sensor 5 are all normal. Then, the process proceeds to step S17 in FIG.

エンコーダ値C1,C2の差が第1の閾値Th1を越えていなかった場合には、モータパルス値P1,P2の差が第3の閾値Th3を越えているか否かを判定する(ステップS38)。この判定は、キャリッジモータ3Dが正常に動作したか否かを判定するものであるため、第1の閾値Th3は小さい値であってもよい。本例の場合、第3の閾値Th3は、“20”であり、CPU12は、モータパルス値P1,P2の差が“20”を越えなかった場合は、キャリッジモータ3Dまたはキャリッジモータ3D用の制御基板(モータ駆動回路)に異常があると判断する。つまり、エンコーダ値C1に対応するキャリッジモータ3Dの動作位置と、エンコーダ値C2に対応するキャリッジモータ3Dの動作位置と、の間のキャリッジモータ3Dの動作量が第3の閾値Th3を越えない場合に、このように判断する。このような異常の判断結果は、パネル15の表示部を用いて作業者に報知される(ステップS39)。   If the difference between the encoder values C1 and C2 does not exceed the first threshold value Th1, it is determined whether or not the difference between the motor pulse values P1 and P2 exceeds the third threshold value Th3 (step S38). Since this determination is to determine whether or not the carriage motor 3D operates normally, the first threshold Th3 may be a small value. In the case of this example, the third threshold Th3 is “20”, and if the difference between the motor pulse values P1 and P2 does not exceed “20”, the CPU 12 controls the carriage motor 3D or the carriage motor 3D. It is determined that there is an abnormality in the substrate (motor drive circuit). That is, when the operation amount of the carriage motor 3D between the operation position of the carriage motor 3D corresponding to the encoder value C1 and the operation position of the carriage motor 3D corresponding to the encoder value C2 does not exceed the third threshold Th3. Judgment like this. Such an abnormality determination result is notified to the operator using the display unit of the panel 15 (step S39).

CPU12は、モータパルス値P1,P2の差が“20”を越えている場合には、原点センサ6がOFFとなっているか否かを判定する(ステップS40)。原点センサ6がOFFになっていなければ、ベルト3Cに異常が生じたために、キャリッジモータ3Dが動作してもキャリッジ2が移動できないと判断する。このようなベルト3Cの異常の判断結果は、パネル15の表示部を用いて作業者に報知される(ステップS41)。一方、原点センサ6がOFFになっているときは、キャリッジ2が移動しているにも関わらず、その移動位置をエンコーダセンサ5が正常に検出できないと判断する。このようなエンコーダセンサ5の異常の判断結果は、パネル15の表示部を用いて作業者に報知される(ステップS42)。   When the difference between the motor pulse values P1 and P2 exceeds “20”, the CPU 12 determines whether or not the origin sensor 6 is OFF (step S40). If the origin sensor 6 is not OFF, it is determined that the carriage 2 cannot be moved even if the carriage motor 3D operates because an abnormality has occurred in the belt 3C. Such an abnormality determination result of the belt 3C is notified to the operator using the display unit of the panel 15 (step S41). On the other hand, when the origin sensor 6 is OFF, it is determined that the encoder sensor 5 cannot normally detect the moving position even though the carriage 2 is moving. Such an abnormality determination result of the encoder sensor 5 is notified to the operator using the display unit of the panel 15 (step S42).

(第3の実施形態)
本実施形態においては、キャリッジモータ3Dを制御する制御基板の制御回路、あるいはキャリッジモータ3Dに流れるキャリッジモータ3Dの駆動電流を検出するための電流検出部を備える。
(Third embodiment)
In the present embodiment, a control circuit for a control board that controls the carriage motor 3D, or a current detection unit for detecting the drive current of the carriage motor 3D flowing through the carriage motor 3D is provided.

図8は、本実施形態における異常判別処理を説明するためのフローチャートである。本実施形態における異常判別処理は、前述した実施形態の異常判別処理における図4のステップS9からステップS16を図8のステップS51からステップS61に置き換えた処理である。   FIG. 8 is a flowchart for explaining the abnormality determination process in the present embodiment. The abnormality determination process in the present embodiment is a process in which steps S9 to S16 in FIG. 4 in the abnormality determination process in the above-described embodiment are replaced with steps S51 to S61 in FIG.

CPU12は、原点センサ6がONとなった時点(ステップS8)におけるエンコーダ値C1を取得して、それをRAM14に保存する(ステップS51)。その後、CPU12は、第1の実施形態におけるステップS10と同様に、キャリッジ2を第1の駆動力によって第1の駆動時間(T1)だけ左方(矢印X2方向)に移動させる(ステップS52)。CPU12は、このようなキャリッジモータ3Dの駆動期間中に、前述した電流検出部によって、キャリッジモータ3Dに供給される駆動電流値(I)を測定し、それをRAM14に保存する(ステップS53)。本来の場合、CPU12は、キャリッジ2の移動期間中における電流値(I)の最大値をRAM14に保存する。その後、CPU12はキャリッジ2の移動停止を待つ(ステップS54)。具体的に、エンコーダセンサ5の検出信号のカウント値を監視し、そのカウント値が変化しなくなったときにキャリッジ2が停止したと判断する。CPU12は、現時点におけるエンコーダ値C2を取得して、それをRAM14に保存する(ステップS55)。その後、CPU12は、前述した第1の実施形態におけるステップS15と同様に、エンコーダ値C1,C2の差が所定の第1の閾値Th1を越えているか否かを判定する(ステップS56)。エンコーダ値C1,C2の差が第1の閾値Th1を越えている場合には、キャリッジモータ3D用の制御基板、キャリッジモータ3D、ベルト3C、およびエンコーダセンサ5はいずれも正常であると判断して、図4のステップS17に移行する。   The CPU 12 acquires the encoder value C1 at the time when the origin sensor 6 is turned on (step S8) and stores it in the RAM 14 (step S51). Thereafter, the CPU 12 moves the carriage 2 to the left (in the direction of the arrow X2) for the first driving time (T1) by the first driving force, similarly to step S10 in the first embodiment (step S52). During the driving period of the carriage motor 3D, the CPU 12 measures the driving current value (I) supplied to the carriage motor 3D by the above-described current detection unit, and stores it in the RAM 14 (step S53). In the original case, the CPU 12 stores the maximum value of the current value (I) during the movement period of the carriage 2 in the RAM 14. Thereafter, the CPU 12 waits for the carriage 2 to stop moving (step S54). Specifically, the count value of the detection signal of the encoder sensor 5 is monitored, and it is determined that the carriage 2 has stopped when the count value stops changing. The CPU 12 acquires the current encoder value C2 and stores it in the RAM 14 (step S55). Thereafter, the CPU 12 determines whether or not the difference between the encoder values C1 and C2 exceeds a predetermined first threshold Th1 as in step S15 in the first embodiment described above (step S56). If the difference between the encoder values C1 and C2 exceeds the first threshold Th1, it is determined that the carriage motor 3D control board, the carriage motor 3D, the belt 3C, and the encoder sensor 5 are all normal. Then, the process proceeds to step S17 in FIG.

エンコーダ値C1,C2の差が第1の閾値Th1を越えていなかった場合には、電流値(I)が正常な範囲であるか否かを判定する(ステップS57)。本例の場合は、電流値(I)の最大値が正常な範囲であるか否かを判定する。CPU12は、電流値(I)が正常でないときはキャリッジモータ3D用の制御基板に異常があると判断し、その判断結果をパネル15の表示部を用いて作業者に報知する(ステップS58)。CPU12は、電流値(I)が正常であるときは、原点センサ6がOFFとなっているか否かを判定する(ステップS59)。原点センサ6がOFFになっていなければ、ベルト3Cに異常が生じたためにキャリッジ2が移動できないと判断する。このようなベルト3Cの異常の判断結果は、パネル15の表示部を用いて作業者に報知される(ステップS60)。一方、原点センサ6がOFFになっているときは、キャリッジ2が移動しているにも関わらず、その移動位置をエンコーダセンサ5が正常に検出できないと判断する。このようなエンコーダセンサ5の異常の判断結果は、パネル15の表示部を用いて作業者に報知される(ステップS61)。   If the difference between the encoder values C1 and C2 does not exceed the first threshold Th1, it is determined whether or not the current value (I) is in a normal range (step S57). In the case of this example, it is determined whether or not the maximum value of the current value (I) is within a normal range. When the current value (I) is not normal, the CPU 12 determines that the control board for the carriage motor 3D is abnormal, and notifies the operator of the determination result using the display unit of the panel 15 (step S58). When the current value (I) is normal, the CPU 12 determines whether or not the origin sensor 6 is OFF (step S59). If the origin sensor 6 is not OFF, it is determined that the carriage 2 cannot move because an abnormality has occurred in the belt 3C. Such an abnormality determination result of the belt 3C is notified to the operator using the display unit of the panel 15 (step S60). On the other hand, when the origin sensor 6 is OFF, it is determined that the encoder sensor 5 cannot normally detect the moving position even though the carriage 2 is moving. The determination result of the abnormality of the encoder sensor 5 is notified to the operator using the display unit of the panel 15 (step S61).

(第4の実施形態)
本実施形態においては、キャリッジ2の移動範囲内の特にインクミスト等の影響が大きい考えられる端部側において、キャリッジ2が静止状態から移動する時の静摩擦係数が管理範囲内にあるかどうか判定する。
(Fourth embodiment)
In the present embodiment, it is determined whether or not the static friction coefficient when the carriage 2 moves from the stationary state is within the management range on the end side where the influence of ink mist or the like is considered to be particularly large within the movement range of the carriage 2. .

図9および図10は、本実施形態における異常判別処理を説明するためのフローチャートである。図9は、キャリッジ2の移動範囲内におけるキャリッジの移動方向の右端側(一方の端部側)の静摩擦係数が管理範囲内か否かを判定する判定処理のフローチャートである。図10は、キャリッジ2の移動範囲内におけるキャリッジの移動方向の左端側(他方の端部側)の静摩擦係数が管理範囲内か否かを判定する判定処理のフローチャートである。本実施形態における図9および図10の判定処理は、前述した第1の実施形態における図4のステップS23(エンコーダスケール/オーバーロード)の後に実施する。   9 and 10 are flowcharts for explaining the abnormality determination processing in the present embodiment. FIG. 9 is a flowchart of a determination process for determining whether or not the static friction coefficient on the right end side (one end side) in the movement direction of the carriage within the movement range of the carriage 2 is within the management range. FIG. 10 is a flowchart of determination processing for determining whether or not the static friction coefficient on the left end side (the other end side) in the carriage movement direction within the movement range of the carriage 2 is within the management range. 9 and 10 in the present embodiment is performed after step S23 (encoder scale / overload) in FIG. 4 in the first embodiment described above.

まず、図9のフローチャートについて説明する。CPU12は、RAM14上に確保されたカウント値nの格納領域に、カウント値nとして0を代入する(ステップS71)。次にCPU12は、キャリッジモータ3Dを駆動させて原点センサ6がONになるまでキャリッジ2を移動させる(ステップS72)。CPU12は、現時点におけるエンコーダ値C5を取得して、それをRAM14に保存する(ステップS73)。次に、CPU12は、キャリッジモータ3Dを駆動させて、エンコーダ値が{C5+(C0×n)}となる位置までキャリッジ2を移動させる(ステップS74)。エンコーダ値C0は、本例では10である。このエンコーダ値C0は、キャリッジ2の静摩擦係数を判定する判定範囲を細分化した刻み幅である。本例の場合、キャリッジの移動方向の左端側と右端側の判定範囲のそれぞれが10に分けられている。カウント値nは、0以上の整数である。カウント値nが0の場合には、ステップS74において計算されるエンコーダ値は、C5と等しくなる。したがってカウント値nが0の場合には、キャリッジ2をエンコーダ値C5に対応する位置から移動させる必要はない。つまり、キャリッジ2の静摩擦係数を判定する判定するために、予め複数(本例の場合は、10)の判定開始位置を定め、それぞれの判定開始位置からキャリッジの移動を開始させたときに、キャリッジが所望の距離を移動できるか否かを判定する。このように、キャリッジの移動範囲の端部近くにおける複数の位置のそれぞれにおいて、静摩擦力の大きさを判定する。   First, the flowchart of FIG. 9 will be described. The CPU 12 assigns 0 as the count value n to the storage area of the count value n secured on the RAM 14 (step S71). Next, the CPU 12 drives the carriage motor 3D to move the carriage 2 until the origin sensor 6 is turned on (step S72). The CPU 12 acquires the current encoder value C5 and stores it in the RAM 14 (step S73). Next, the CPU 12 drives the carriage motor 3D to move the carriage 2 to a position where the encoder value becomes {C5 + (C0 × n)} (step S74). The encoder value C0 is 10 in this example. The encoder value C0 is a step size obtained by subdividing the determination range for determining the static friction coefficient of the carriage 2. In this example, each of the determination ranges on the left end side and the right end side in the carriage movement direction is divided into ten. The count value n is an integer of 0 or more. When the count value n is 0, the encoder value calculated in step S74 is equal to C5. Therefore, when the count value n is 0, it is not necessary to move the carriage 2 from the position corresponding to the encoder value C5. That is, in order to determine the static friction coefficient of the carriage 2, a plurality of (10 in this example) determination start positions are determined in advance, and the carriage is moved when the carriage starts to move from each determination start position. Determines whether or not the user can move the desired distance. In this manner, the magnitude of the static friction force is determined at each of a plurality of positions near the end of the carriage movement range.

その後、CPU12は、現時点におけるエンコーダ値C6を取得して、それをRAM14に保存する(ステップS75)。   Thereafter, the CPU 12 obtains the current encoder value C6 and stores it in the RAM 14 (step S75).

CPU12は、RAM14上に確保される第3の駆動力の格納領域に値Pを設定する(ステップS76)。この値Pは、本例では、駆動デューティ15%であり、キャリッジ2の静摩擦係数が管理されている通常範囲(管理範囲内)であるときにキャリッジ2を移動可能な駆動力に相当する。   The CPU 12 sets a value P in the third driving force storage area secured on the RAM 14 (step S76). In this example, the value P is a driving duty of 15%, and corresponds to a driving force capable of moving the carriage 2 when the static friction coefficient of the carriage 2 is within a normal range (within the management range).

次に、CPU12は、キャリッジ2を第3の駆動力Pによって左方(矢印X2方向)に移動させる(ステップS77)。CPU12は待ち時間Tの経過を待つ(ステップS78)。本例では、待ち時間Tは100msである。CPU12は、現時点のエンコーダ値C7を取得して、それをRAM14に保存する(ステップS79)。その後、エンコーダ値C6、C7の差が所定の第4の閾値Th4を越えているか否かを判定する(ステップS80)。第4の閾値Th4は、キャリッジ2が第3の駆動力で静止状態から移動できたか否かを判定するための値である。本例では、第4の閾値Th4は10である。エンコーダ値C6、C7の差が第4の閾値Th4を越えなかった場合は、CPU12は第3の駆動力Pに駆動力P0を加算する(ステップS81)。駆動力P0は、第3の駆動力Pの初期値から最大値までの間を細分化した刻み幅であり、本例では3%とする。   Next, the CPU 12 moves the carriage 2 to the left (arrow X2 direction) by the third driving force P (step S77). The CPU 12 waits for the waiting time T to elapse (step S78). In this example, the waiting time T is 100 ms. The CPU 12 acquires the current encoder value C7 and stores it in the RAM 14 (step S79). Thereafter, it is determined whether or not the difference between the encoder values C6 and C7 exceeds a predetermined fourth threshold Th4 (step S80). The fourth threshold value Th4 is a value for determining whether or not the carriage 2 has been able to move from the stationary state with the third driving force. In the present example, the fourth threshold Th4 is 10. If the difference between the encoder values C6 and C7 does not exceed the fourth threshold Th4, the CPU 12 adds the driving force P0 to the third driving force P (step S81). The driving force P0 is a step size that is subdivided between the initial value and the maximum value of the third driving force P, and is 3% in this example.

ステップS80の判定結果がNOであれば、第3の駆動力PをP0だけ増加させて(ステップS81)、先のステップS77に戻って再度判定する。その再度判定を行う際には、第3の駆動力Pが第5の閾値Th5(駆動デューティ50%)を越えるか否かを判定する(ステップS82)。つまり、第3の駆動力Pが駆動デューティ50%より大きくなる場合には、静止摩擦力が管理している値より大きい(つまり摺動負荷異常)ことを示している。このステップS82の判定結果がYESであれば、右側摺動負荷異常であると判定、つまりキャリッジ2の移動方向の右端側の静摩擦係数が管理範囲を越えていると判断する(ステップS83)。このように、ステップS80の判定結果がYESとなるまで、駆動デューティが50%を超える範囲において、ステップS80の判定を行う毎に駆動デューティを18%、21%、・・・と3%ずつ増加させる。このようにして、静止摩擦力を第3の駆動力Pとの関係から判定する。   If the determination result in step S80 is NO, the third driving force P is increased by P0 (step S81), and the process returns to the previous step S77 and is determined again. When performing the determination again, it is determined whether or not the third driving force P exceeds the fifth threshold Th5 (driving duty 50%) (step S82). That is, when the third driving force P is larger than the driving duty 50%, it indicates that the static friction force is larger than the value managed (that is, the sliding load is abnormal). If the determination result in this step S82 is YES, it is determined that the right side sliding load is abnormal, that is, it is determined that the static friction coefficient on the right end side in the moving direction of the carriage 2 exceeds the management range (step S83). Thus, until the determination result of step S80 becomes YES, the drive duty is increased by 3% every 18%, 21%,... Let In this way, the static friction force is determined from the relationship with the third driving force P.

ステップS80の判定結果がYESの場合、つまりエンコーダ値C6、C7の差が第4の閾値Th4を越えた場合には、CPU12がキャリッジモータ3Dの駆動を停止させる(ステップS84)。次に、CPU12は、RAM14に保存したカウント値nに対して1を加算してから(ステップS85)、カウント値nが第6の閾値Th6を越えているか否かを判定する(ステップS86)。第6の閾値Th6は、キャリッジの移動方向の右端側および左端側の静摩擦係数を判定する最大回数であり、判定範囲を前述のエンコーダ値C0で割った値になる。本例では、判定範囲を200としており、エンコーダ値C0が10であるため第6の閾値Th6は20になる。ステップS86の判定結果がNOである場合、つまりカウント値nが第6の閾値Th6を越えない場合は、CPU12は、ステップS72に戻って上記の処理を繰り返す。一方、ステップS86の判定結果がYESの場合、つまりカウント値nが第6の閾値Th6を越えた場合は、判定範囲内の静摩擦係数が正常であると判断して、図10のフローチャートに移行する。   If the decision result in the step S80 is YES, that is, if the difference between the encoder values C6 and C7 exceeds the fourth threshold Th4, the CPU 12 stops the driving of the carriage motor 3D (step S84). Next, after adding 1 to the count value n stored in the RAM 14 (step S85), the CPU 12 determines whether or not the count value n exceeds the sixth threshold Th6 (step S86). The sixth threshold Th6 is the maximum number of times of determining the static friction coefficient on the right end side and the left end side in the carriage movement direction, and is a value obtained by dividing the determination range by the encoder value C0. In this example, the determination range is 200, and since the encoder value C0 is 10, the sixth threshold Th6 is 20. If the determination result in step S86 is NO, that is, if the count value n does not exceed the sixth threshold Th6, the CPU 12 returns to step S72 and repeats the above processing. On the other hand, if the determination result of step S86 is YES, that is, if the count value n exceeds the sixth threshold Th6, it is determined that the static friction coefficient within the determination range is normal, and the process proceeds to the flowchart of FIG. .

次に、図10のフローチャートを説明する。図10の処理手順は図9の場合と同様である。エンコーダ値C0、第3の駆動力P、待ち時間T、駆動力P0、第4の閾値Th4、第5の閾値Th5、第6の閾値Th6は、図9の処理の場合と同じとする。CPU12は、RAM14上に確保されたカウント値nの格納領域に、カウント値nとして0を代入する(ステップS88)。次にCPU12は、キャリッジモータ3Dを駆動させてキャリッジ2を左方(矢印X2方向)に移動させる(ステップS89)。CPU12は、現時点におけるエンコーダ値C8を取得して、それをRAM14に保存する(ステップS90)。   Next, the flowchart of FIG. 10 will be described. The processing procedure of FIG. 10 is the same as that of FIG. The encoder value C0, the third driving force P, the waiting time T, the driving force P0, the fourth threshold value Th4, the fifth threshold value Th5, and the sixth threshold value Th6 are the same as those in the process of FIG. The CPU 12 assigns 0 as the count value n to the storage area of the count value n secured on the RAM 14 (step S88). Next, the CPU 12 drives the carriage motor 3D to move the carriage 2 leftward (arrow X2 direction) (step S89). The CPU 12 acquires the encoder value C8 at the current time and stores it in the RAM 14 (step S90).

キャリッジ2が左端に到達したと判断する方法は、特に限定されない。例えば、エンコーダ値C5、C8の差が第2の閾値を越えるとき、あるいは、第2の閾値を越えなくてもそれに近い値のちきに、キャリッジ2が左端に到達したと判断することができる。次に、CPU12は、キャリッジモータ3Dを駆動させてエンコーダ値が{C8−(C0×n)}となる位置までキャリッジ2を移動させる(ステップS91)。カウント値nが0の場合は、ステップS91の計算結果がエンコーダ値C8になるため、キャリッジ2をエンコーダ値C8に対応する位置から移動させる必要はない。その後、CPU12は、現時点におけるエンコーダ値C9を取得して、それをRAM14に保存する(ステップS92)。   The method for determining that the carriage 2 has reached the left end is not particularly limited. For example, it can be determined that the carriage 2 has reached the left end when the difference between the encoder values C5 and C8 exceeds the second threshold, or after a value close to the second threshold even if it does not exceed the second threshold. Next, the CPU 12 drives the carriage motor 3D to move the carriage 2 to a position where the encoder value becomes {C8− (C0 × n)} (step S91). When the count value n is 0, the calculation result in step S91 is the encoder value C8, and therefore it is not necessary to move the carriage 2 from the position corresponding to the encoder value C8. Thereafter, the CPU 12 obtains the current encoder value C9 and stores it in the RAM 14 (step S92).

CPU12は、RAM14上に確保される第3の駆動力の格納領域に初期値Pを設定する(ステップS93)。次に、CPU12は、キャリッジ2を第3の駆動力Pによって右方(矢印X1方向)に移動させる(ステップS94)。CPU12は待ち時間Tの経過を待つ(ステップS95)。CPU12は、現時点のエンコーダ値C10を取得して、それをRAM14に保存する(ステップS96)。その後、エンコーダ値C9、C10の差が所定の第4の閾値Th4を越えているか否かを判定する(ステップS97)。エンコーダ値C9、C10の差が第4の閾値Th4を越えなかった場合は、CPU12は第3の駆動力Pに駆動力P0を加算する(ステップS98)。   The CPU 12 sets an initial value P in the third driving force storage area secured on the RAM 14 (step S93). Next, the CPU 12 moves the carriage 2 to the right (arrow X1 direction) with the third driving force P (step S94). The CPU 12 waits for the waiting time T to elapse (step S95). The CPU 12 acquires the current encoder value C10 and stores it in the RAM 14 (step S96). Thereafter, it is determined whether or not the difference between the encoder values C9 and C10 exceeds a predetermined fourth threshold Th4 (step S97). If the difference between the encoder values C9 and C10 does not exceed the fourth threshold Th4, the CPU 12 adds the driving force P0 to the third driving force P (step S98).

次に、CPU12は、第3の駆動力Pが所定の第5の閾値Th5を越えているか否かを判定する(ステップS99)。第3の駆動力Pが第5の閾値Th5を越えた場合は、左側摺動負荷異常と判定する(ステップS100)。一方、ステップS99において、第3の駆動力Pが第5の閾値Th5を越えていないと判定された場合、CPU12は、先のステップS94に戻って上記の処理を繰り返す。   Next, the CPU 12 determines whether or not the third driving force P exceeds a predetermined fifth threshold Th5 (step S99). When the third driving force P exceeds the fifth threshold Th5, it is determined that the left sliding load is abnormal (step S100). On the other hand, when it is determined in step S99 that the third driving force P does not exceed the fifth threshold Th5, the CPU 12 returns to the previous step S94 and repeats the above processing.

ステップS97において、エンコーダ値C9、C10の差が第4の閾値Th4を越えた場合、CPU12は、キャリッジモータ3Dの駆動を停止させる(ステップS101)。次に、CPU12は、RAM14に保存したカウント値nに対して1を加算してから(ステップS102)、カウント値nが第6の閾値Th6を越えているか否かを判定する(ステップS103)。カウント値nが第6の閾値Th6を越えていない場合、CPU12はステップS89に戻って上記の処理を繰り返す。カウント値nが第6の閾値Th6を越えた場合は、判定範囲内の静摩擦係数が正常であると判断して、処理を終了する。   If the difference between the encoder values C9 and C10 exceeds the fourth threshold Th4 in step S97, the CPU 12 stops driving the carriage motor 3D (step S101). Next, after adding 1 to the count value n stored in the RAM 14 (step S102), the CPU 12 determines whether or not the count value n exceeds the sixth threshold Th6 (step S103). When the count value n does not exceed the sixth threshold Th6, the CPU 12 returns to step S89 and repeats the above processing. When the count value n exceeds the sixth threshold Th6, it is determined that the static friction coefficient within the determination range is normal, and the process is terminated.

(他の実施形態)
本発明は、移動体としてキャリッジを備えるシリアルスキャン方式の記録装置のみに限定されず、種々の移動体を備える装置に対して広く適用することができる。例えば、移動体として読取部を搭載したキャリッジを走査させて、原稿を読取る読取装置にも適用することができる。種々の製品,検体,発光器などの機能部品などを搭載可能な移動体を直線的または曲線的に規制された移動経路に沿って移動させる種々の装置、および、その装置の異常を判別するための異常判別装置に対して、本発明を適用することができる。
(Other embodiments)
The present invention is not limited to a serial scan type recording apparatus including a carriage as a moving body, and can be widely applied to apparatuses including various moving bodies. For example, the present invention can also be applied to a reading device that scans a carriage on which a reading unit is mounted as a moving body and reads a document. To determine various devices that move a moving body that can be mounted with functional parts such as various products, specimens, light emitters, etc. along a movement path regulated linearly or curvedly, and abnormality of the devices. The present invention can be applied to any abnormality discriminating apparatus.

2 キャリッジ(移動体)
3 駆動機構(駆動部)
3C ベルト
3D キャリッジモータ
4 エンコーダスケール
5 エンコーダセンサ
6 原点センサ
7 遮光板
12 CPU
2 Carriage (moving body)
3 Drive mechanism (drive unit)
3C belt 3D carriage motor 4 encoder scale 5 encoder sensor 6 origin sensor 7 light shielding plate 12 CPU

Claims (8)

移動体と、
モータを駆動源として前記移動体を移動させる移動手段と、
前記移動体を基準位置から所定の移動範囲内を移動させるために、第1の駆動力で第1の駆動時間の間に前記モータを駆動する駆動手段と、
前記移動体の移動量を測定する測定手段と、
前記第1の駆動時間の間に前記測定手段によって測定された移動量が第1の閾値を越えない場合に、前記測定手段に異常が生じたと判定する判定手段と、
を備える駆動装置であって、
前記駆動手段は、前記移動体を前記基準位置から前記所定の移動範囲の移動限界位置まで移動させるために、前記第1の駆動力より小さい第2の駆動力で、第2の駆動時間の間に前記モータを駆動し、
前記判定手段は、前記第2の駆動時間の間に前記測定手段によって測定された移動量が第2の閾値を越えない場合に、前記測定手段に異常が生じた又は前記移動体に過大な負荷が掛かったと判定することを特徴とする駆動装置。
A moving object,
Moving means for moving the moving body using a motor as a driving source;
Driving means for driving the motor during a first driving time with a first driving force in order to move the moving body within a predetermined moving range from a reference position;
Measuring means for measuring the amount of movement of the moving body;
A determination unit that determines that an abnormality has occurred in the measurement unit when the movement amount measured by the measurement unit does not exceed a first threshold during the first drive time;
A drive device comprising:
The driving means is configured to move the movable body from the reference position to a movement limit position of the predetermined movement range with a second driving force smaller than the first driving force for a second driving time. To drive the motor,
The determination unit is configured such that when the movement amount measured by the measurement unit during the second driving time does not exceed a second threshold, an abnormality has occurred in the measurement unit or an excessive load is applied to the moving body. A drive device characterized in that it is determined that the operation has occurred.
移動体と、
モータを駆動源として前記移動体を移動させる移動手段と、
前記移動体を基準位置から所定の移動範囲内を移動させるために、所定の駆動力で所定の駆動時間の間に前記モータを駆動する駆動手段と、
前記移動体の移動量を測定する測定手段と、
前記所定の駆動時間の間に前記測定手段によって測定された移動量が所定の閾値を越えない場合に、前記測定手段に異常が生じたと判定する判定手段と、
を備える駆動装置であって、
前記駆動装置は、前記移動体が前記所定の移動範囲内の前記基準位置に位置しているか否かを検出する検出手段を備え、
前記判定手段は、前記駆動手段による前記モータの駆動した後に、前記移動体が前記基準位置に位置していることを前記検出手段が検出した場合に、前記移動手段に異常が生じたと判定することを特徴とする駆動装置。
A moving object,
Moving means for moving the moving body using a motor as a driving source;
Driving means for driving the motor for a predetermined driving time with a predetermined driving force in order to move the moving body from a reference position within a predetermined moving range;
Measuring means for measuring the amount of movement of the moving body;
A determination unit that determines that an abnormality has occurred in the measurement unit when a movement amount measured by the measurement unit does not exceed a predetermined threshold during the predetermined drive time;
A drive device comprising:
The drive device includes detection means for detecting whether or not the moving body is located at the reference position within the predetermined movement range,
The determination unit determines that an abnormality has occurred in the moving unit when the detecting unit detects that the moving body is located at the reference position after the motor is driven by the driving unit. A drive device characterized by the above.
前記測定手段は、前記移動体の移動速度を測定し、
前記駆動手段は、前記基準位置に停止している前記移動体が所定時間内において所定の移動速度に達するように、前記測定手段によって測定された移動速度に基づいて、前記モータを制御し、
前記判定手段は、前記移動体が前記所定の移動速度に達しない場合に、前記測定手段に異常が生じた又は前記移動体に過大な負荷が掛かったと判定することを特徴とする請求項2に記載の駆動装置。
The measuring means measures the moving speed of the moving body;
The driving means controls the motor based on the moving speed measured by the measuring means so that the moving body stopped at the reference position reaches a predetermined moving speed within a predetermined time;
3. The determination unit according to claim 2, wherein when the moving body does not reach the predetermined moving speed, it is determined that an abnormality has occurred in the measuring unit or an excessive load has been applied to the moving body. The drive device described.
前記モータは、前記モータの動作位置に応じた信号を出力する信号出力手段を備え、
前記判定手段は、前記駆動手段による前記モータの駆動に前記信号出力手段から出力される前記信号に対応する前記モータの動作位置と、前記駆動手段による前記モータの駆動に前記信号出力手段から出力される前記信号に対応する前記モータの動作位置と、の間の前記モータの動作量が第3の閾値を越えない場合に、前記モータまたは前記モータを駆動するモータ駆動回路に異常が生じたと判定することを特徴とする請求項1から3のいずれかに記載の駆動装置。
The motor includes signal output means for outputting a signal corresponding to the operating position of the motor,
The determination means includes an operation position of the motor corresponding to the signal output from the signal output means before driving the motor by the drive means, and from the signal output means after driving the motor by the drive means. An abnormality has occurred in the motor or a motor drive circuit that drives the motor when the operation amount of the motor between the operation position of the motor corresponding to the output signal does not exceed a third threshold value The drive device according to claim 1, wherein the drive device is determined.
移動体と、
モータを駆動源として前記移動体を移動させる移動手段と、
前記移動体を基準位置から所定の移動範囲内を移動させるために、所定の駆動力で所定の駆動時間の間に前記モータを駆動する駆動手段と、
前記移動体の移動量を測定する測定手段と、
前記所定の駆動時間の間に前記測定手段によって測定された移動量が第1の閾値を越えない場合に、前記測定手段に異常が生じたと判定する判定手段と、
を備える駆動装置であって、
前記駆動手段は、前記所定の移動範囲の端部側に複数の開始位置を定め、前記複数の開始位置のそれぞれの位置において、前記所定の移動範囲の一方から他方へ移動させるための駆動を行い、
前記判定手段は、前記複数の開始位置のそれぞれの位置において、前記移動体の移動量が第2の閾値を越えない場合に、前記移動体に過大な負荷が掛かったと判定することを特徴とする駆動装置。
A moving object,
Moving means for moving the moving body using a motor as a driving source;
Driving means for driving the motor for a predetermined driving time with a predetermined driving force in order to move the moving body from a reference position within a predetermined moving range;
Measuring means for measuring the amount of movement of the moving body;
A determination unit that determines that an abnormality has occurred in the measurement unit when a movement amount measured by the measurement unit does not exceed a first threshold during the predetermined driving time;
A drive device comprising:
The drive means determines a plurality of start positions on the end side of the predetermined movement range, and performs driving for moving from one of the predetermined movement ranges to the other at each of the plurality of start positions. ,
The determination unit determines that an excessive load is applied to the moving body when the moving amount of the moving body does not exceed a second threshold at each of the plurality of start positions. Drive device.
前記駆動装置は、更に、前記モータに供給される駆動電流を検出する電流検出手段を備え、
前記判定手段は、前記駆動手段による前記モータの駆動時に前記電流検出手段が検出する前記駆動電流が正常な範囲を越えている場合に、前記モータを駆動するモータ駆動回路に異常が生じたと判定することを特徴とする請求項1から5のいずれかに記載の駆動装置。
The drive device further includes current detection means for detecting a drive current supplied to the motor,
The determination means determines that an abnormality has occurred in a motor drive circuit for driving the motor when the drive current detected by the current detection means exceeds a normal range when the motor is driven by the drive means. The drive device according to claim 1, wherein the drive device is provided.
前記移動体の前記所定の移動範囲は、前記移動体がストッパに突き当たることにより規制されることを特徴とする請求項1から6のいずれかに記載の駆動装置。   The driving device according to claim 1, wherein the predetermined moving range of the moving body is regulated by the moving body hitting a stopper. 請求項1から7のいずれか1項に記載の駆動装置を備え、
前記移動体は記録媒体に画像を記録するための記録ヘッドを搭載するキャリッジであり、前記測定手段は前記キャリッジの移動量を測定するエンコーダであることを特徴とする記録装置。
A drive device according to any one of claims 1 to 7, comprising:
The recording apparatus according to claim 1, wherein the moving body is a carriage on which a recording head for recording an image on a recording medium is mounted, and the measuring means is an encoder for measuring a moving amount of the carriage.
JP2013122965A 2013-06-11 2013-06-11 Driving device and recording device Active JP6177016B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013122965A JP6177016B2 (en) 2013-06-11 2013-06-11 Driving device and recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013122965A JP6177016B2 (en) 2013-06-11 2013-06-11 Driving device and recording device

Publications (3)

Publication Number Publication Date
JP2014240141A JP2014240141A (en) 2014-12-25
JP2014240141A5 JP2014240141A5 (en) 2016-07-21
JP6177016B2 true JP6177016B2 (en) 2017-08-09

Family

ID=52139675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013122965A Active JP6177016B2 (en) 2013-06-11 2013-06-11 Driving device and recording device

Country Status (1)

Country Link
JP (1) JP6177016B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6719270B2 (en) * 2016-05-12 2020-07-08 ローランドディー.ジー.株式会社 Printer
JP2019096948A (en) * 2017-11-20 2019-06-20 キヤノン株式会社 Driver and image reader

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000255128A (en) * 1999-03-10 2000-09-19 Seiko Epson Corp Printer equipped with function for monitoring carriage operation abnormality, and method for detecting carriage operation abnormality and drive method for printer
JP3812288B2 (en) * 1999-09-24 2006-08-23 セイコーエプソン株式会社 Carriage home position detection device, detection method, and recording medium recording detection program
JP2002347234A (en) * 2001-05-24 2002-12-04 Canon Inc Recorder, its method for detecting abnormality and its method for preventing fixing of cap
JP2003211769A (en) * 2002-01-25 2003-07-29 Canon Inc Recorder and method of detecting error condition therein
JP2004167754A (en) * 2002-11-18 2004-06-17 Canon Inc Ink jet recorder
JP4337508B2 (en) * 2002-11-27 2009-09-30 コニカミノルタホールディングス株式会社 Inkjet printer
JP2006001170A (en) * 2004-06-18 2006-01-05 Seiko Epson Corp Recorder, control method of recorder, control program and recording medium
JP5854688B2 (en) * 2011-08-03 2016-02-09 キヤノン株式会社 Recording apparatus and recording apparatus control method

Also Published As

Publication number Publication date
JP2014240141A (en) 2014-12-25

Similar Documents

Publication Publication Date Title
US9191535B2 (en) Image forming apparatus, image forming method and storage medium
JP5321264B2 (en) Image forming apparatus and image forming program
US9427955B2 (en) To control a printer carriage
JP6177016B2 (en) Driving device and recording device
EP1408607A1 (en) Motor controller
US11590780B2 (en) Printing apparatus, printing method, and storage medium
US10427437B2 (en) Ink-jet printer
JP5029179B2 (en) Image recording device
US9277073B2 (en) Scanner with document size identification capability
JP6217077B2 (en) Driving device and image forming apparatus
US8936343B2 (en) Control device and image forming system
JP5928255B2 (en) Control device and image forming system
JP2005231155A (en) Printing apparatus
JP2008012850A (en) Conveying device and recorder equipped with said device
JP5962344B2 (en) Control device and image forming system
JP2008238685A (en) Printer, and optical scale fouling sensing method
JP5125370B2 (en) Drive control device and drive control method
CN101190561A (en) Forming device and forming system
JP2007276135A (en) Printer and printing method
CN105984212B (en) Recording apparatus and method for moving medium support unit
JP2006224559A (en) Ink jet printer
JP2013154479A (en) Recording apparatus, control apparatus, and method
JP2012076903A (en) Skew detection method, skew detection device and printer having the same
JP2017136828A (en) Movement control device, liquid droplet discharge device, movement control method and program
JP2006051795A (en) Medium-positioning sensor assembly, image formation device with the same assembly and method for using the same

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160531

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170215

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170425

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170529

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170613

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170711

R151 Written notification of patent or utility model registration

Ref document number: 6177016

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151