JP5987659B2 - Image forming apparatus and image forming apparatus control method - Google Patents

Image forming apparatus and image forming apparatus control method Download PDF

Info

Publication number
JP5987659B2
JP5987659B2 JP2012262668A JP2012262668A JP5987659B2 JP 5987659 B2 JP5987659 B2 JP 5987659B2 JP 2012262668 A JP2012262668 A JP 2012262668A JP 2012262668 A JP2012262668 A JP 2012262668A JP 5987659 B2 JP5987659 B2 JP 5987659B2
Authority
JP
Japan
Prior art keywords
image forming
unit
value
counter
count 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 - Fee Related
Application number
JP2012262668A
Other languages
Japanese (ja)
Other versions
JP2014108537A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2012262668A priority Critical patent/JP5987659B2/en
Publication of JP2014108537A publication Critical patent/JP2014108537A/en
Application granted granted Critical
Publication of JP5987659B2 publication Critical patent/JP5987659B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像形成装置及び画像形成装置の制御方法に関し、特に、記録ヘッドの位置を制御するためのカウンタのリセットに関する。   The present invention relates to an image forming apparatus and a method for controlling the image forming apparatus, and more particularly to resetting a counter for controlling the position of a recording head.

近年、情報の電子化が推進される傾向にあり、電子化された情報の出力に用いられるプリンタやファクシミリ及び書類の電子化に用いるスキャナ等の画像処理装置は欠かせない機器となっている。このような画像処理装置は、撮像機能、画像形成機能及び通信機能等を備えることにより、プリンタ、ファクシミリ、スキャナ、複写機として利用可能な複合機として構成されることが多い。   In recent years, there has been a tendency to digitize information, and image processing apparatuses such as printers and facsimiles used for outputting digitized information and scanners used for digitizing documents have become indispensable devices. Such an image processing apparatus is often configured as a multifunction machine that can be used as a printer, a facsimile, a scanner, or a copier by providing an imaging function, an image forming function, a communication function, and the like.

このような画像処理装置のうち、電子化された情報の出力に用いられるプリンタの一態様として、インクジェット方式を採用したプリンタ(以降、インクジェットプリンタとする)がある。インクジェットプリンタには、インクを吐出するノズルを含む記録ヘッドが搭載されており、この記録ヘッドを主走査方向に動かしながら、ノズルからインクを吐出させることにより画像形成出力が実行される。   Among such image processing apparatuses, as an aspect of a printer that is used for outputting digitized information, there is a printer that employs an inkjet method (hereinafter referred to as an inkjet printer). An ink jet printer is equipped with a recording head including nozzles for ejecting ink, and image forming output is executed by ejecting ink from the nozzles while moving the recording head in the main scanning direction.

上記記録ヘッドを主走査方向に動かす際の位置決め制御においては、エンコーダシート方式が用いられる。即ち、シート上に所定間隔で描かれたマークを、記録ヘッドの移動に応じてセンサで読み取ることにより、その検知結果に基づいて記録ヘッドの位置が認識され、制御される。   An encoder sheet method is used for positioning control when moving the recording head in the main scanning direction. That is, the marks drawn on the sheet at predetermined intervals are read by a sensor according to the movement of the recording head, and the position of the recording head is recognized and controlled based on the detection result.

このような記録ヘッドの位置決め制御においては、高精度な位置決めを可能とするため、記録ヘッドを基準位置に位置させた上で上述したセンサの検知結果をリセットするホーミング動作を行う必要がある。このホーミング動作の方法として、記録ヘッドが搭載されているキャリッジを装置筐体の側板に突き当てた状態で位置決めを行う方法が提案されている(例えば、特許文献1参照)。   In such recording head positioning control, in order to enable highly accurate positioning, it is necessary to perform a homing operation to reset the detection result of the sensor described above after the recording head is positioned at the reference position. As a method of this homing operation, a method has been proposed in which positioning is performed in a state where a carriage on which a recording head is mounted is abutted against a side plate of the apparatus housing (see, for example, Patent Document 1).

上述したエンコーダシートを用いた位置決め制御の態様として、エンコーダシート自体は300LPI(Line Per Inch)に対応したマークが描画されたものであり、その検知結果を逓倍することによってそれ以上の高精細な位置決め制御を可能とする態様がある。例えば、1200LPIの場合、300LPIのエンコーダシートの検知結果を4逓倍することによって実現される。   As an aspect of the positioning control using the encoder sheet described above, the encoder sheet itself is drawn with a mark corresponding to 300 LPI (Line Per Inch), and by multiplying the detection result, higher-definition positioning is performed. There is a mode that enables control. For example, in the case of 1200 LPI, it is realized by multiplying the detection result of the 300 LPI encoder sheet by four.

上述した逓倍形式は、具体的には、300LPIに対応したカウンタと、300LPIの逓倍に対応したカウンタとの2つのカウンタで構成することが可能である。このような場合、逓倍に対応したカウンタは、装置設計上の制約によりリセットすることができない場合があるため、基準位置における逓倍カウンタのカウント値によっては、上述したようなリセット後のカウント値の誤差が発生する。   Specifically, the above-described multiplication format can be configured with two counters, a counter corresponding to 300 LPI and a counter corresponding to multiplication of 300 LPI. In such a case, the counter corresponding to the multiplication may not be reset due to restrictions on the device design. Therefore, depending on the count value of the multiplication counter at the reference position, the error in the count value after the reset as described above may occur. Will occur.

尚、このような課題は、エンコーダシートを用いる形式に限らず、パルス数によってキャリッジの位置を制御する位置決め制御方式であれば同様に課題となり得る。   Such a problem is not limited to the type using an encoder sheet, but can be similarly a problem if it is a positioning control method that controls the position of the carriage by the number of pulses.

本発明は、上記実情を考慮してなされたものであり、パルス数によってキャリッジの位置を制御する画像形成装置において、キャリッジの基準位置におけるパルスカウンタのリセット後によるカウント値の誤差を防ぐことを目的とする。   The present invention has been made in consideration of the above circumstances, and an object of the present invention is to prevent an error in a count value after resetting a pulse counter at a reference position of a carriage in an image forming apparatus that controls the position of a carriage by the number of pulses. And

上記課題を解決するために、本発明の一態様は、対象物に対して画像形成部を相対的に移動させながら画像形成出力を行う画像形成装置であって、所定間隔毎の前記画像形成部の移動に応じて出力される信号をカウントする所定間隔単位カウンタと、前記所定間隔が等分された間隔毎の前記画像形成部の移動に応じて出力される信号を、前記所定間隔毎にループする値でカウントする分割単位ループカウンタと、前記所定間隔単位カウンタ及び前記分割単位ループカウンタのカウント値に応じて、前記等分された間隔単位で前記画像形成部の位置を認識すると共に、前記画像形成出力動作に関する全体の制御を行う制御部とを含み、前記制御部は、前記画像形成部を移動範囲の一方の端部に押し付けるように移動制御し、前記画像形成部が前記端部に押し付けられた状態から、その後停止した位置までの間隔に応じた前記等分された間隔単位でのカウント値を基準位置認識処理情報として取得し、取得した前記基準位置認識処理情報が示すカウント値を前記等分された間隔毎の単位から前記所定間隔毎の単位に変換し、変換後の前記カウント値を前記所定間隔単位カウンタにセットすると共に、前記画像形成部が前記端部に押し付けられた状態における前記分割単位ループカウンタのカウント値を、前記等分された間隔単位で認識される前記画像形成部の位置を示す値から差し引き、前記画像形成部が前記端部に押し付けられた後に停止した位置における前記分割単位ループカウンタのカウント値が、前記画像形成部が前記端部に押し付けられた状態における前記分割単位ループカウンタのカウント値よりも小さい場合、前記カウント値を前記等分された間隔毎の単位から前記所定間隔毎の単位に変換する際に、変換後の前記カウント値が1カウント余分にカウントされた値となるように補正された前記基準位置認識処理情報が示すカウント値を前記所定間隔毎の単位に変換することを特徴とする。   In order to solve the above problems, an aspect of the present invention is an image forming apparatus that performs image formation output while moving an image forming unit relative to an object, and the image forming unit at predetermined intervals. A predetermined interval unit counter that counts signals output according to the movement of the image, and a signal output according to the movement of the image forming unit at intervals equal to the predetermined interval. A division unit loop counter that counts according to a value to be recognized, and the position of the image forming unit is recognized in the equally divided interval units according to the count values of the predetermined interval unit counter and the division unit loop counter, and the image A control unit that performs overall control relating to the formation output operation, and the control unit performs movement control so as to press the image forming unit against one end of a moving range, and the image forming unit A count value in the equally divided interval unit corresponding to the interval from the state pressed against the end portion to the position where it stopped thereafter is acquired as reference position recognition process information, and the acquired reference position recognition process information indicates The count value is converted from the unit of the equally divided interval to the unit of the predetermined interval, the converted count value is set in the predetermined interval unit counter, and the image forming unit is pressed against the end portion. After the count value of the division unit loop counter in the obtained state is subtracted from the value indicating the position of the image forming unit recognized by the equally divided interval unit, the image forming unit is pressed against the end The count value of the division unit loop counter at the stopped position is equal to the division unit loop counter in a state where the image forming unit is pressed against the end. When the count value is converted from the unit of the equally divided interval to the unit of the predetermined interval, the converted count value is counted as an extra one count The count value indicated by the reference position recognition processing information corrected so as to become is converted into a unit for each predetermined interval.

また、本発明の他の態様は、対象物に対して画像形成部を相対的に移動させながら画像形成出力を行う画像形成装置の制御方法であって、前記画像形成装置は、所定間隔毎の前記画像形成部の移動に応じて出力される信号をカウントする所定間隔単位カウンタと、前記所定間隔が等分された間隔毎の前記画像形成部の移動に応じて出力される信号を、前記所定間隔毎にループする値でカウントする分割単位ループカウンタとを有し、前記所定間隔単位カウンタ及び前記分割単位ループカウンタのカウント値に応じて、前記等分された間隔単位で前記画像形成部の位置を認識すると共に、前記画像形成出力動作に関する全体の制御を行い、前記画像形成部を移動範囲の一方の端部に押し付けるように移動制御し、前記画像形成部が前記端部に押し付けられた状態から、その後停止した位置までの間隔に応じた前記等分された間隔単位でのカウント値を基準位置認識処理情報として取得し、前記基準位置認識処理情報が示すカウント値を前記等分された間隔毎の単位から前記所定間隔毎の単位に変換し、変換後の前記カウント値を前記第1の所定間隔単位カウンタにセットすると共に、前記画像形成部が前記端部に押し付けられた状態における前記分割単位ループカウンタのカウント値を、前記等分された間隔単位で認識される前記画像形成部の位置を示す値から差し引き、前記画像形成部が前記端部に押し付けられた後に停止した位置における前記分割単位ループカウンタのカウント値が、前記画像形成部が前記端部に押し付けられた状態における前記分割単位ループカウンタのカウント値よりも小さい場合、前記カウント値を前記等分された間隔毎の単位から前記所定間隔毎の単位に変換する際に、変換後の前記カウント値が1カウント余分にカウントされた値となるように補正された前記基準位置認識処理情報が示すカウント値を前記所定間隔毎の単位に変換することを特徴とする。   According to another aspect of the present invention, there is provided a control method for an image forming apparatus that performs image forming output while moving an image forming unit relative to an object. A predetermined interval unit counter for counting a signal output in accordance with the movement of the image forming unit; and a signal output in accordance with the movement of the image forming unit for each interval at which the predetermined interval is equally divided. A division unit loop counter that counts at a value that loops at each interval, and the position of the image forming unit in the equally divided intervals according to the count values of the predetermined interval unit counter and the division unit loop counter And controlling the image forming unit so that the image forming unit is pressed against one end of the moving range, and the image forming unit is pressed against the end. The count value in the equally divided interval unit according to the interval from the attached state to the position where it was stopped thereafter is acquired as reference position recognition processing information, and the count value indicated by the reference position recognition processing information is The unit for each divided interval is converted to the unit for the predetermined interval, the converted count value is set in the first predetermined interval unit counter, and the image forming unit is pressed against the end portion The count value of the division unit loop counter in the state is subtracted from the value indicating the position of the image forming unit recognized by the equally divided interval unit, and stopped after the image forming unit is pressed against the end portion The count value of the division unit loop counter at the position is the count value of the division unit loop counter in a state where the image forming unit is pressed against the end. When the count value is smaller than the value, when the count value is converted from the unit of the equally divided interval to the unit of the predetermined interval, the converted count value is a value counted by one extra count. The count value indicated by the reference position recognition processing information corrected in step 1 is converted into a unit for each predetermined interval.

本発明によれば、画質を劣化させることなく、画像形成出力のエンジンの特性に応じた画像形成出力を可能とすることができる。   According to the present invention, it is possible to enable image formation output according to the engine characteristics of image formation output without degrading the image quality.

本発明の実施形態に係る画像形成装置のハードウェア構成を示す図である。1 is a diagram illustrating a hardware configuration of an image forming apparatus according to an embodiment of the present invention. 本発明の実施形態に係るエンジンの機能構成を示す図である。It is a figure which shows the function structure of the engine which concerns on embodiment of this invention. 本発明の実施形態に係るキャリッジの移動態様を示す図である。It is a figure which shows the movement aspect of the carriage which concerns on embodiment of this invention. 本発明の実施形態に係るエンコーダシートの態様を示す図である。It is a figure which shows the aspect of the encoder sheet which concerns on embodiment of this invention. 本発明の実施形態に係る主走査エンコーダセンサのセンサ素子の配置を示す図である。It is a figure which shows arrangement | positioning of the sensor element of the main scanning encoder sensor which concerns on embodiment of this invention. 本発明の実施形態に係る主走査エンコーダセンサの検知信号の態様を示す図である。It is a figure which shows the aspect of the detection signal of the main scanning encoder sensor which concerns on embodiment of this invention. 本発明の実施形態に係るホーミング動作の全体的な処理を示すシーケンス図である。It is a sequence diagram which shows the whole process of the homing operation | movement which concerns on embodiment of this invention. 本発明の実施形態に係るキャリッジの移動態様を示す図である。It is a figure which shows the movement aspect of the carriage which concerns on embodiment of this invention. 従来技術に係るホーミング動作における各カウンタの値の例を示す図である。It is a figure which shows the example of the value of each counter in the homing operation | movement which concerns on a prior art. 本発明の実施形態に係るホーミング動作における各カウンタの値の例を示す図である。It is a figure which shows the example of the value of each counter in the homing operation | movement which concerns on embodiment of this invention. 本発明の実施形態に係るエンジンCPUの動作を示すフローチャートである。It is a flowchart which shows operation | movement of engine CPU which concerns on embodiment of this invention.

以下、図面を参照して、本発明の実施形態を詳細に説明する。本実施形態においては、インクジェット方式を採用する画像形成装置において、インクを吐出するノズルが搭載された記録ヘッドを主走査方向に移動させるためのキャリッジの位置決め制御を特徴として説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the present embodiment, an image forming apparatus that employs an ink jet method will be described with a carriage positioning control for moving in the main scanning direction a recording head on which nozzles for ejecting ink are mounted.

図1は、本実施形態に係る画像形成装置1全体のハードウェア構成を示すブロック図である。図1に示すように、本実施形態に係る画像形成装置1は、一般的なサーバやPC等と同様の構成を含む。即ち、本実施形態に係る画像形成装置1は、CPU(Central Processing Unit)11、RAM(Random Access Memory)12、ROM(Read Only Memory)13、HDD(Hard Disk Drive)14及びI/F15がバス18を介して接続されている。また、I/F15にはエンジン100及び操作部17が接続されている。   FIG. 1 is a block diagram showing a hardware configuration of the entire image forming apparatus 1 according to the present embodiment. As shown in FIG. 1, the image forming apparatus 1 according to the present embodiment includes the same configuration as that of a general server or PC. That is, the image forming apparatus 1 according to the present embodiment includes a CPU (Central Processing Unit) 11, a RAM (Random Access Memory) 12, a ROM (Read Only Memory) 13, a HDD (Hard Disk Drive) 14, and an I / F 15. 18 is connected. Further, the engine 100 and the operation unit 17 are connected to the I / F 15.

CPU11は演算手段であり、画像形成装置1全体の動作を制御する。RAM12は、情報の高速な読み書きが可能な揮発性の記憶媒体であり、CPU11が情報を処理する際の作業領域として用いられる。ROM13は、読み出し専用の不揮発性記憶媒体であり、ファームウェア等のプログラムが格納されている。HDD14は、情報の読み書きが可能な不揮発性の記憶媒体であり、OS(Operating System)や各種の制御プログラム、アプリケーション・プログラム等が格納される。上述したプリンタドライバを構成するためのソフトウェア・プログラムも、HDD14に格納されている。   The CPU 11 is a calculation unit and controls the operation of the entire image forming apparatus 1. The RAM 12 is a volatile storage medium capable of reading and writing information at high speed, and is used as a work area when the CPU 11 processes information. The ROM 13 is a read-only nonvolatile storage medium, and stores programs such as firmware. The HDD 14 is a non-volatile storage medium capable of reading and writing information, and stores an OS (Operating System), various control programs, application programs, and the like. A software program for configuring the printer driver described above is also stored in the HDD 14.

I/F15は、バス18と各種のハードウェアやネットワーク等を接続し制御する。エンジン100は、画像形成装置1において実際に画像形成出力を実行する画像形成部である。操作部17は、タッチパネルやハードスイッチ等、ユーザが画像形成装置1に情報を入力するためのユーザインタフェースである。   The I / F 15 connects and controls the bus 18 and various hardware and networks. The engine 100 is an image forming unit that actually executes image forming output in the image forming apparatus 1. The operation unit 17 is a user interface such as a touch panel and a hard switch for the user to input information to the image forming apparatus 1.

このようなハードウェア構成において、ROM13やHDD14若しくは図示しない光学ディスク等の記憶媒体に格納されたプログラムがRAM12に読み出され、CPU11がそれらのプログラムに従って演算を行うことにより、ソフトウェア制御部が構成される。このようにして構成されたソフトウェア制御部と、ハードウェアとの組み合わせによって、本実施形態に係る画像形成装置1の機能が実現される。   In such a hardware configuration, a program stored in a storage medium such as the ROM 13, the HDD 14, or an optical disk (not shown) is read to the RAM 12, and the CPU 11 performs calculations according to those programs, thereby configuring a software control unit. The The function of the image forming apparatus 1 according to the present embodiment is realized by a combination of the software control unit configured as described above and hardware.

次に、本実施形態に係るエンジン100の構成について、図2を参照して説明する。図2は、本実施形態に係るエンジン100におけるキャリッジの制御構成を示す図である。図2に示すように、本実施形態に係るエンジン100は、エンジンCPU101、キャリッジ102、主走査モータドライバ103及びFPGA(Field−Programmable Gate Array)200を含む。尚、図2においてはキャリッジ102に関する制御構成のみを図示しているが、エンジン100の制御構成としては、画像形成出力の対象である用紙の搬送を制御するための構成等が含まれる。   Next, the configuration of the engine 100 according to the present embodiment will be described with reference to FIG. FIG. 2 is a diagram showing a carriage control configuration in the engine 100 according to the present embodiment. As shown in FIG. 2, the engine 100 according to the present embodiment includes an engine CPU 101, a carriage 102, a main scanning motor driver 103, and an FPGA (Field-Programmable Gate Array) 200. In FIG. 2, only the control configuration related to the carriage 102 is illustrated, but the control configuration of the engine 100 includes a configuration for controlling the conveyance of a sheet that is a target of image formation output.

エンジンCPU101は、エンジン100全体を制御する演算装置である。エンジンCPU101は、図示しないEEPROM(Electrically Erasable Programmable Read−Only Memory)等の記憶媒体に格納されたプログラムに従い、エンジン100に含まれる各部を制御する。   The engine CPU 101 is an arithmetic device that controls the entire engine 100. The engine CPU 101 controls each unit included in the engine 100 according to a program stored in a storage medium such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) (not shown).

キャリッジ102は、図2に示すように主走査エンコーダセンサ104、ヘッドドライバ105及び記録ヘッド106を含み、画像形成装置1における画像の記録媒体である用紙に対して相対的に移動することにより、用紙全体に対する画像の形成を可能とする。移行、キャリッジ102が移動する方向を主走査方向とし、用紙が搬送される方向を副走査方向とする。   As shown in FIG. 2, the carriage 102 includes a main scanning encoder sensor 104, a head driver 105, and a recording head 106, and moves relative to a sheet that is an image recording medium in the image forming apparatus 1, thereby It is possible to form an image on the whole. The direction in which the carriage 102 moves is the main scanning direction, and the direction in which the paper is conveyed is the sub-scanning direction.

主走査エンコーダセンサ104は、キャリッジ102の移動に応じて所定のマークが検知されるように設置されたエンコーダシートの読み取り結果を検知するセンサである。主走査エンコーダセンサ104及びエンコーダシートの構成については後に詳述する。   The main scanning encoder sensor 104 is a sensor that detects a reading result of an encoder sheet installed so that a predetermined mark is detected in accordance with the movement of the carriage 102. The configurations of the main scanning encoder sensor 104 and the encoder sheet will be described in detail later.

ヘッドドライバ105は、シリアルに入力される1行分の描画データに基づき、FPGA200から与えられる駆動波形を構成する駆動信号を、記録ヘッド106から液滴を吐出させるためのエネルギーを発生する駆動素子に対して選択的に印加することで記録ヘッド106を駆動する。記録ヘッド106は、CMYK(Cyan,Magenta,Yellow,blacK)各色のインクを吐出するためのノズルを備えた画像形成出力部である。   The head driver 105 applies a drive signal constituting a drive waveform supplied from the FPGA 200 to a drive element that generates energy for causing droplets to be ejected from the recording head 106, based on drawing data for one line serially input. The recording head 106 is driven by selectively applying to the recording head 106. The recording head 106 is an image forming output unit having nozzles for ejecting inks of CMYK (Cyan, Magenta, Yellow, blackK) colors.

主走査モータドライバ103は、FPGA200から入力されるパルス信号に基づき、キャリッジ102を主走査方向に移動させるために設けられるモータを駆動する。FPGA200は、300LPIカウンタ201、202、ステータスカウンタ203、1200LPIカウンタ値記憶部204、205、モータ通信バッファ206、モータ制御用CPU207、PWM(Pulse Width Modulation)モジュール208及びヘッド駆動回路209を含み、エンジンCPU101の制御に従ってキャリッジ102や主走査モータドライバ103を動作させる。300LPIカウンタ201、300LPIカウンタ202、ステータスカウンタ203は、主走査エンコーダセンサ104によるエンコーダシート表面の検知信号をカウントするカウンタである。   The main scanning motor driver 103 drives a motor provided to move the carriage 102 in the main scanning direction based on the pulse signal input from the FPGA 200. The FPGA 200 includes 300 LPI counters 201 and 202, a status counter 203, a 1200 LPI counter value storage units 204 and 205, a motor communication buffer 206, a motor control CPU 207, a PWM (Pulse Width Modulation) module 208, and a head drive circuit 209. The engine CPU 101 The carriage 102 and the main scanning motor driver 103 are operated according to the control. A 300 LPI counter 201, a 300 LPI counter 202, and a status counter 203 are counters that count detection signals on the encoder sheet surface from the main scanning encoder sensor 104.

また、1200LPIカウンタ値記憶部204は、300LPIカウンタ201及びステータスカウンタ203のカウント値に基づいて300LPIから1200LPIに逓倍されたカウント値を記憶する記憶媒体である。また、1200LPIカウンタ値記憶部205は、300LPIカウンタ202及びステータスカウンタ203のカウント値に基づいて300LPIから1200LPIに逓倍されたカウント値を記憶する記憶媒体である。   The 1200 LPI counter value storage unit 204 is a storage medium that stores a count value multiplied from 300 LPI to 1200 LPI based on the count values of the 300 LPI counter 201 and the status counter 203. The 1200 LPI counter value storage unit 205 is a storage medium that stores a count value multiplied from 300 LPI to 1200 LPI based on the count values of the 300 LPI counter 202 and the status counter 203.

これらのカウンタのカウント値のリセットに関する制御が、本実施形態に係る要旨である。これらのカウンタのカウント値の詳細については、主走査エンコーダセンサ104及びエンコーダシートの構成と共に後に詳述する。   The control related to resetting the count values of these counters is the gist of the present embodiment. Details of the count values of these counters will be described later together with the configurations of the main scanning encoder sensor 104 and the encoder sheet.

モータ通信バッファ206は、エンジンCPU101によるキャリッジ102の移動制御をモータ制御用CPU207に伝える際のバッファである。モータ制御用CPU207は、エンジンCPU101からモータ通信バッファ206を介して通知されるキャリッジ102の移動制御に応じて、キャリッジ102を移動させるために主走査モータドライバ103を駆動するための駆動信号を出力する。PWMモジュール208は、モータ制御用CPU207による制御に応じて、主走査モータドライバ103を介して主走査モータを駆動するための駆動信号を出力する。   The motor communication buffer 206 is a buffer for transmitting the movement control of the carriage 102 by the engine CPU 101 to the motor control CPU 207. The motor control CPU 207 outputs a drive signal for driving the main scanning motor driver 103 to move the carriage 102 in accordance with the movement control of the carriage 102 notified from the engine CPU 101 via the motor communication buffer 206. . The PWM module 208 outputs a drive signal for driving the main scanning motor via the main scanning motor driver 103 in accordance with the control by the motor control CPU 207.

次に、画像形成装置1におけるキャリッジ102の移動態様について、図3を参照して説明する。図3は、本実施形態に係る画像形成装置1におけるキャリッジ102の移動範囲の機械的な構成を示す図である。図3に示すように、キャリッジ102は、CMYK各色に対応した記録ヘッドである記録ヘッド106Y、106M、106C、106Kを搭載しており、各色の記録ヘッド106は、対応する色のインクが充填されたカートリッジにパイプで連結されている。   Next, how the carriage 102 moves in the image forming apparatus 1 will be described with reference to FIG. FIG. 3 is a diagram illustrating a mechanical configuration of the moving range of the carriage 102 in the image forming apparatus 1 according to the present embodiment. As shown in FIG. 3, the carriage 102 is equipped with recording heads 106Y, 106M, 106C, and 106K that are recording heads corresponding to CMYK colors, and the recording heads 106 of each color are filled with ink of corresponding colors. The cartridge is connected with a pipe.

これにより、各色の記録ヘッド106は、カートリッジから供給されるインクを記録媒体である用紙Pに吐出する。各色の記録ヘッド106は、その吐出面、即ちノズル面が鉛直下方に向く状態でキャリッジ102に搭載されており、その鉛直下方において、用紙Pが搬送される。用紙Pは、記録ヘッド106が配置された側とは反対側から、プラテン113によって支持された状態で搬送される。プラテン113によって支持された範囲において記録ヘッド116からインクが吐出されることにより、用紙の波打ちや撓み等が無い状態で正確な画像が形成される。   Thereby, the recording head 106 of each color discharges the ink supplied from the cartridge onto the paper P that is a recording medium. Each color recording head 106 is mounted on the carriage 102 with its ejection surface, that is, the nozzle surface facing vertically downward, and the paper P is conveyed vertically below the recording head 106. The paper P is conveyed in a state of being supported by the platen 113 from the side opposite to the side where the recording head 106 is disposed. By ejecting ink from the recording head 116 in the range supported by the platen 113, an accurate image is formed in a state where there is no waving or bending of the paper.

キャリッジ102は、キャリッジ102の移動方向、即ち主走査方向に沿ってかけ渡されたタイミングベルト107に連結されており、タイミングベルト107が、主走査モータ109によって回転駆動される駆動プーリ108によって主走査方向に回転させられることで、図示しないガイドロッドに沿って主走査方向に往復移動する。   The carriage 102 is connected to a timing belt 107 that runs along the moving direction of the carriage 102, that is, the main scanning direction. The timing belt 107 is main-scanned by a driving pulley 108 that is rotationally driven by a main-scanning motor 109. By being rotated in the direction, it reciprocates in the main scanning direction along a guide rod (not shown).

タイミングベルト107がかけ渡されている方向に沿って、少なくともキャリッジ102の移動範囲にわたってエンコーダシート110が配置されている。このエンコーダシート110の表面がキャリッジ102に搭載された主走査エンコーダセンサ104によって読み取られることにより、エンジン100の制御部においてキャリッジ102の主走査方向における位置が認識される。   The encoder sheet 110 is disposed along at least the moving range of the carriage 102 along the direction in which the timing belt 107 is stretched. When the surface of the encoder sheet 110 is read by the main scanning encoder sensor 104 mounted on the carriage 102, the position of the carriage 102 in the main scanning direction is recognized by the control unit of the engine 100.

キャリッジ102の移動範囲の一方の端部には、維持機構111が配置されている。維持機構111は、記録ヘッド106の吐出面の清掃、キャッピング、不要なインクの吐出等を行い、記録ヘッド106の状態を維持するための機能を提供する。その際、キャリッジ102は、タイミングベルト107の回転によって維持機構111の直上に移動される。   A maintenance mechanism 111 is disposed at one end of the movement range of the carriage 102. The maintenance mechanism 111 provides a function for maintaining the state of the recording head 106 by cleaning the discharge surface of the recording head 106, capping, discharging unnecessary ink, and the like. At that time, the carriage 102 is moved immediately above the maintenance mechanism 111 by the rotation of the timing belt 107.

この際、エンコーダシート110及び主走査エンコーダセンサ104によるキャリッジの位置決め制御の精度が低いと、キャリッジ102に搭載された各色の記録ヘッド106のノズル夫々が維持機構111に適切にキャッピングされず、ずれた状態となってしまう。このような状態を回避するため、エンコーダシート110及び主走査エンコーダセンサ104によるキャリッジの位置決め制御は高精度に行う必要があり、これが本件の要旨の1つである。   At this time, if the accuracy of the carriage positioning control by the encoder sheet 110 and the main scanning encoder sensor 104 is low, the nozzles of the recording heads 106 of the respective colors mounted on the carriage 102 are not properly capped by the maintenance mechanism 111 and are shifted. It becomes a state. In order to avoid such a state, the positioning control of the carriage by the encoder sheet 110 and the main scanning encoder sensor 104 needs to be performed with high accuracy, which is one of the gist of the present case.

キャリッジ102の移動範囲の他方の端部においては、キャリッジ102が側壁112に突き当てられるように構成されている。本実施形態に係る画像形成装置1においては、キャリッジ102を側壁112に突き当てた上で、上述した300LPIカウンタ201等のカウント値のリセットを行う。これにより、画像形成装置1への電源投入毎に、キャリッジ102の位置が正確に認識される。このような動作をホーミング動作と呼ぶ。尚、このようなホーミング動作は、上述した装置への電源投入毎に限らず、キャリッジ102の位置精度を保つために更に頻繁に行われることもあり得る。   The carriage 102 is configured to abut against the side wall 112 at the other end of the movement range of the carriage 102. In the image forming apparatus 1 according to the present embodiment, the count value of the 300 LPI counter 201 and the like described above is reset after the carriage 102 is abutted against the side wall 112. As a result, the position of the carriage 102 is accurately recognized every time the image forming apparatus 1 is powered on. Such an operation is called a homing operation. Note that such a homing operation is not limited to each time the power is turned on to the above-described apparatus, and may be performed more frequently in order to maintain the positional accuracy of the carriage 102.

次に、本実施形態に係るエンコーダシート110及び主走査エンコーダセンサ104並びに300LPIカウンタ201等のカウンタ群を用いたキャリッジ102の位置決め制御について説明する。   Next, positioning control of the carriage 102 using the encoder sheet 110, the main scanning encoder sensor 104, and a counter group such as the 300 LPI counter 201 according to the present embodiment will be described.

図4は、本実施形態に係るエンコーダシート110の表面を模式的に示す図である。図4に示すように、本実施形態に係るエンコーダシート110は、300LPIに対応する間隔で黒線が描画されたシートである。黒線の幅と余白部分の幅とは同一であるため、本実施形態に係るエンコーダシート110は、実質的に600LPIの間隔で黒線と白線が交互に描画された状態となっている。   FIG. 4 is a diagram schematically illustrating the surface of the encoder sheet 110 according to the present embodiment. As shown in FIG. 4, the encoder sheet 110 according to the present embodiment is a sheet on which black lines are drawn at intervals corresponding to 300 LPI. Since the width of the black line and the width of the blank portion are the same, the encoder sheet 110 according to the present embodiment is in a state where the black line and the white line are drawn alternately at an interval of substantially 600 LPI.

図5は、本実施形態に係る主走査エンコーダセンサ104の検知面におけるセンサ素子の配置関係を示す図である。図5に示すように、本実施形態に係る主走査エンコーダセンサ104にはセンサ素子104a、104bの2つのセンサ素子が搭載されている。そして、この2つのセンサ素子104a、104bは、図4において説明した黒線と白線が交互に描画されている方向において、図5に示すようにギャップgの間隔でずらされて配置されている。そのため、センサ素子104aとセンサ素子104b夫々によるエンコーダシート110の表面の検知信号のタイミングは、図5に示すギャップgに応じた間隔で遅れて検知される。   FIG. 5 is a diagram showing the arrangement relationship of the sensor elements on the detection surface of the main scanning encoder sensor 104 according to the present embodiment. As shown in FIG. 5, two sensor elements 104a and 104b are mounted on the main scanning encoder sensor 104 according to this embodiment. The two sensor elements 104a and 104b are arranged with a gap g as shown in FIG. 5 in the direction in which the black lines and white lines described in FIG. 4 are alternately drawn. Therefore, the timing of the detection signal on the surface of the encoder sheet 110 by the sensor element 104a and the sensor element 104b is detected at an interval corresponding to the gap g shown in FIG.

図6は、センサ素子104a、104b夫々によるエンコーダシート110の表面の検知信号のタイミングと、300LPIカウンタ201、202及びステータスカウンタ203のカウントアップタイミングを示す図である。図6においては、センサ104素子aによる検知信号をエンコーダパルスA相とし、センサ素子104bによる検知信号をエンコーダパルスB相としている。   FIG. 6 is a diagram illustrating timings of detection signals on the surface of the encoder sheet 110 by the sensor elements 104a and 104b, and count-up timings of the 300 LPI counters 201 and 202 and the status counter 203, respectively. In FIG. 6, the detection signal by the sensor element 104a is an encoder pulse A phase, and the detection signal by the sensor element 104b is an encoder pulse B phase.

図6のタイミングtに示すように、キャリッジ102が主走査方向の一方向に動きながら主走査エンコーダセンサ104に含まれるセンサ104素子aが黒線を読み取る状態になると、A相の信号が立ち上がる。このA相の信号は300LPIカウンタ201、202に入力されており、これにより、300LPIカウンタ201、202が数値をカウントする。 As shown in the timing t 1 in FIG. 6, when the sensor 104 element a carriage 102 is contained in the main scanning encoder sensor 104 while moving in one direction in the main scanning direction is in a state to read the black line, the signal of A phase rises . The A-phase signal is input to the 300 LPI counters 201 and 202, and the 300 LPI counters 201 and 202 thereby count the numerical values.

また、主走査エンコーダセンサ104は、A相の信号の立ち上がりに応じてステータスパルスを出力する。このステータスパルスはステータスカウンタ203に入力される。これにより、ステータスカウンタ203が数値をカウントする。尚、ここでは、図6において“st0”と示すように、タイミングtにおけるカウントによってステータスカウンタ203が“0”になった場合を例として説明する。尚、カウンタをカウントアップするか、カウントダウンするかの判断は、主走査モータ109の回転方向によってなされる。 The main scanning encoder sensor 104 outputs a status pulse in response to the rising edge of the A phase signal. This status pulse is input to the status counter 203. Thereby, the status counter 203 counts a numerical value. Here, as shown with the "st0" in FIG. 6, illustrating a case where the status counter 203 by counting at the timing t 1 becomes "0" as an example. Whether the counter is counted up or counted down is determined according to the rotation direction of the main scanning motor 109.

更にキャリッジ102が移動し、センサ104素子bが黒線を読み取る状態になると、図6のタイミングtに示すように、B相の信号が立ち上がる。このB相の立ち上がりタイミングにおいて、主走査エンコーダセンサ104はステータスパルスを出力する。これにより、上記と同様に、ステータスカウンタ203が数値をカウントし、カウント値が“1”となる。 Furthermore the carriage 102 is moved, the sensor 104 element b is in a state to read the black line, as shown in the timing t 2 in FIG. 6, the signal of B phase rises. At the rising timing of the B phase, the main scanning encoder sensor 104 outputs a status pulse. As a result, similarly to the above, the status counter 203 counts the numerical value, and the count value becomes “1”.

更にキャリッジ102が移動し、センサ素子104aが黒線を読み取らない状態になると、図6のタイミングtに示すように、A相の信号が立ち下がる。このA相の立ち下がりタイミングにおいて、主走査エンコーダセンサ104はステータスパルスを出力する。これにより、上記と同様に、ステータスカウンタ203が数値をカウントし、カウント値が“2”となる。 Furthermore the carriage 102 is moved, the sensor element 104a is in a state that does not read the black line, as shown in a timing t 3 of Figure 6, the signal of the A phase falls. At the fall timing of the A phase, the main scanning encoder sensor 104 outputs a status pulse. As a result, similarly to the above, the status counter 203 counts the numerical value, and the count value becomes “2”.

更にキャリッジ102が移動し、センサ素子104bが黒線を読み取らない状態になると、図6のタイミングtに示すように、B相の信号が立ち下がる。このB相の立ち下がりタイミングにおいて、主走査エンコーダセンサ104はステータスパルスを出力する。これにより、上記と同様に、ステータスカウンタ203が数値をカウントし、カウントが“3”となる。 Furthermore the carriage 102 is moved, the sensor element 104b is in a state that does not read the black line, as shown in a timing t 4 of Figure 6, the signal of the B phase falls. At the fall timing of the B phase, the main scanning encoder sensor 104 outputs a status pulse. As a result, similarly to the above, the status counter 203 counts the numerical value, and the count becomes “3”.

更にキャリッジ102が移動し、センサ素子104aが再度黒線を読み取る状態になると、図6のタイミングtに示すように、A相の信号が立ち上がる。これにより、再度300LPIカウンタ201、202が数値をカウントする。また、A相の信号の立ち上がりにより、主走査エンコーダセンサ104はステータスパルスを出力する。これにより、上記と同様に、ステータスカウンタ203が数値をカウントする。本実施形態に係るステータスカウンタ203は、2ビットのカウンタであり、タイミングtにおいてはカウント値が“0”に戻る。即ち、ステータスカウンタ203のカウント値は、300LPI毎にループする。移行、タイミングt以降と同様の処理が繰り返される。 Furthermore the carriage 102 is moved, the sensor element 104a is in a state in which re-reads the black line, as shown in the timing t 5 in FIG. 6, the signal of A phase rises. As a result, the 300 LPI counters 201 and 202 again count the numerical values. The main scanning encoder sensor 104 outputs a status pulse when the A phase signal rises. As a result, the status counter 203 counts numerical values as described above. Status counter 203 of the present embodiment is a 2-bit counter, the count value at the timing t 5 is returned to "0". That is, the count value of the status counter 203 loops every 300 LPI. Migration, the same processing as the timing t 2 later is repeated.

このように、本実施形態に係るキャリッジ102の位置決め制御においては、300LPIカウンタ201、202が300LPIのエンコーダシートの読み取り結果に応じて数値をカウントすると共に、その4逓倍のステータスパルスに応じてステータスカウンタ203が“0”〜“3”までの数値をカウントする。   As described above, in the positioning control of the carriage 102 according to the present embodiment, the 300 LPI counters 201 and 202 count the numerical value according to the reading result of the 300 LPI encoder sheet, and the status counter according to the quadruple status pulse. 203 counts numerical values from “0” to “3”.

そして、1200LPIカウンタ204は、300LPIカウンタ201とステータスカウンタ203とのカウント値に基づいて1200LPIでのカウント値を記憶し、1200LPIカウンタ205は、300LPIカウンタ202とステータスカウンタ203とのカウント値に基づいて1200LPIでのカウント値を保持する。具体的に、1200LPIカウンタ204、205は、夫々300LPIカウンタ201、202のカウント値の4倍の値にステータスカウンタ203のカウント値を足すことにより、1200LPIでのカウント値を保持する。   The 1200 LPI counter 204 stores a count value at 1200 LPI based on the count values of the 300 LPI counter 201 and the status counter 203, and the 1200 LPI counter 205 stores 1200 LPI based on the count values of the 300 LPI counter 202 and the status counter 203. Holds the count value at. Specifically, the 1200 LPI counters 204 and 205 hold the count value at 1200 LPI by adding the count value of the status counter 203 to a value four times the count value of the 300 LPI counters 201 and 202, respectively.

このような構成において、本実施形態に係る要旨は、ホーミング動作におけるカウンタのリセットにおけるリセット後のカウンタ値の精度に関する。本実施形態に係る要旨の説明として、まず画像形成装置1におけるホーミング動作について説明する。図7は、本実施形態のホーミング動作におけるエンジンCPU101及びモータ制御CPU207の動作を示すシーケンス図である。   In such a configuration, the gist of the present embodiment relates to the accuracy of the counter value after reset in the counter reset in the homing operation. As an explanation of the gist according to the present embodiment, a homing operation in the image forming apparatus 1 will be described first. FIG. 7 is a sequence diagram showing operations of the engine CPU 101 and the motor control CPU 207 in the homing operation of the present embodiment.

図7に示すように、まずはエンジンCPU101がホーミング動作の開始制御のためのコマンドを、モータ通信バッファ206を介してモータ制御用CPU207に送信する(S701)。エンジンCPU101からのコマンドを受けたモータ制御用CPU207は、PWMモジュール208を制御することにより、図8(a)に示すように、キャリッジ102を側壁112に突き当てるように移動させる(S702)。   As shown in FIG. 7, first, the engine CPU 101 transmits a command for starting control of the homing operation to the motor control CPU 207 via the motor communication buffer 206 (S701). Upon receiving the command from the engine CPU 101, the motor control CPU 207 controls the PWM module 208 to move the carriage 102 so as to abut against the side wall 112 as shown in FIG. 8A (S702).

モータ制御用CPU207は、キャリッジ102が側壁112に接触したことが検知されるまでS702の制御を継続する。尚、キャリッジ102が側壁112に接触したことは、1200LPIカウンタ値記憶部205のカウンタ値によって判断可能である。即ち、所定期間以上、カウンタ値に変化がない場合に、キャリッジ102が側壁112に接触していると判断することができる。   The motor control CPU 207 continues the control in S702 until it is detected that the carriage 102 has contacted the side wall 112. It can be determined from the counter value in the 1200 LPI counter value storage unit 205 that the carriage 102 has come into contact with the side wall 112. That is, it can be determined that the carriage 102 is in contact with the side wall 112 when the counter value has not changed for a predetermined period or longer.

キャリッジ102が側壁112に接触してモータ制御用CPU207が主走査モータドライバ103の駆動を停止した結果、キャリッジ102が側壁112からの反動で図8(b)に示すように跳ね返る可能性がある。そのため、モータ制御CPU207は、キャリッジ102が跳ね返った位置において停止するまで、待機する(S703)。このS703における待機時間は、例えば1秒である。   As a result of the carriage 102 coming into contact with the side wall 112 and the motor control CPU 207 stopping the driving of the main scanning motor driver 103, the carriage 102 may rebound as shown in FIG. Therefore, the motor control CPU 207 waits until it stops at the position where the carriage 102 has bounced back (S703). The standby time in S703 is, for example, 1 second.

モータ制御用CPU207は、S702においてキャリッジの移動を開始してからキャリッジの移動を停止し、S703においてキャリッジが停止するまで待機する間の1200LPIカウンタ値記憶部205の値を参照可能である。そして、モータ制御用CPU207は、その間のカウンタ値の極値、即ち、キャリッジ102が最も側壁112に近づいて接触した状態における1200LPIカウンタ値記憶部205のカウント値を取得すると共に、S703において待機した後の1200LPIカウンタ値記憶部205のカウント値、即ち現在地を取得する(S704)。   The motor control CPU 207 can refer to the value in the 1200 LPI counter value storage unit 205 after starting the movement of the carriage in S702 and then stopping the movement of the carriage and waiting until the carriage stops in S703. Then, the motor control CPU 207 obtains the extreme value of the counter value in the meantime, that is, the count value of the 1200 LPI counter value storage unit 205 in the state where the carriage 102 is closest to the side wall 112 and is in standby in S703. The count value of the 1200 LPI counter value storage unit 205, that is, the current location is acquired (S704).

本実施形態に係る画像形成装置1においては、キャリッジ102が最も側壁112に近づいて接触した状態の1200LPIでのエンコータ値をソフトウェア上、即ちエンジンCPU101における認識上で“0”として設定することにより、ホーミング動作を行う。そのため、モータ制御用CPU207は、S704において取得した極値と現在値との差、即ち、側壁112からのキャリッジ102の移動量に応じた1200LPIでのエンコーダ値をリセット値としてエンジンCPU101に伝えることにより、エンジンCPU101にリセットを実行させる(S705)。   In the image forming apparatus 1 according to the present embodiment, by setting the encoder value at 1200 LPI in a state in which the carriage 102 is closest to and in contact with the side wall 112 as “0” in software, that is, in recognition by the engine CPU 101, Perform homing operation. Therefore, the motor control CPU 207 notifies the engine CPU 101 of the difference between the extreme value acquired in S704 and the current value, that is, the encoder value at 1200 LPI corresponding to the amount of movement of the carriage 102 from the side wall 112, as the reset value. The engine CPU 101 is reset (S705).

モータ制御用CPU207からリセット値を受け付けたエンジンCPU101は、受け付けたリセット値に基づいて300LPIカウンタ201をリセットすると共に、1200LPIカウンタ値記憶部204の値を補正するためのソフトウェアリセットを行う(S706)。このような動作により、本実施形態に係るホーミング動作が完了する。   The engine CPU 101 that has received the reset value from the motor control CPU 207 resets the 300 LPI counter 201 based on the received reset value and performs software reset for correcting the value in the 1200 LPI counter value storage unit 204 (S706). With such an operation, the homing operation according to the present embodiment is completed.

ここで、本実施形態に係るFPGA200においては、モータ制御用CPU207に対応したカウンタである300LPIカウンタ202及び1200LPIカウンタ値記憶部205については、電源投入毎のリセットを行わずに、予め定められた数値の範囲で制御される。そのため、300LPIカウンタ202と共に1200LPIカウンタ値記憶部205のカウント値を定めるために用いられるステータスカウンタ203についてもリセットはされない。   Here, in the FPGA 200 according to the present embodiment, the 300LPI counter 202 and the 1200LPI counter value storage unit 205, which are counters corresponding to the motor control CPU 207, are set to predetermined numerical values without resetting each time the power is turned on. It is controlled in the range. Therefore, the status counter 203 used to determine the count value of the 1200 LPI counter value storage unit 205 together with the 300 LPI counter 202 is not reset.

これに対して、エンジンCPU101については電源投入毎にキャリッジ102の位置決め制御の正確性を確認する必要があるため、上記のホーミング動作において300LPIカウンタ201がリセットされる。しかしながら、リセットされる300LPIカウンタとリセットされないステータスカウンタ203によって1200LPIカウンタ値記憶部204のカウント値が決定されるため、ステータスカウンタ203のカウント値に応じて誤差が発生する。   On the other hand, the engine CPU 101 needs to check the accuracy of positioning control of the carriage 102 every time the power is turned on, so the 300 LPI counter 201 is reset in the homing operation. However, since the count value of the 1200 LPI counter value storage unit 204 is determined by the 300 LPI counter that is reset and the status counter 203 that is not reset, an error occurs according to the count value of the status counter 203.

ここで、リセット前後における1200LPIカウンタ値記憶部204のカウント値の誤差について、図9を参照して説明する。図9は、キャリッジ102が側壁112に接触した状態、即ち上述した極値でのステータスカウンタ203のカウント値が“3”である場合の、リセット前後の各値を示す表である。例えば、側壁112からの跳ね返りが全く無かった場合、即ち、上述したリセット値が“0”である場合、1200LPIでの“0”の値を300LPIに変換しても“0”であるため、エンジンCPU101は、300LPIカウンタ201を“0”でリセットする。   Here, an error in the count value of the 1200 LPI counter value storage unit 204 before and after the reset will be described with reference to FIG. FIG. 9 is a table showing values before and after resetting when the carriage 102 is in contact with the side wall 112, that is, when the count value of the status counter 203 at the above-described extreme value is “3”. For example, when there is no rebound from the side wall 112, that is, when the above-described reset value is “0”, the value of “0” in 1200 LPI is “0” even if converted to 300 LPI. The CPU 101 resets the 300 LPI counter 201 with “0”.

この場合、ステータスカウンタ203の値が“3”であるため、1200LPIカウンタ値記憶部204が示す値は“3”となり、実際に認識するべきエンコーダ値である“0”との差は“3”となる。その結果、エンジンCPU101が設定するべきソフトウェア上のリセット値は“−3”となる。   In this case, since the value of the status counter 203 is “3”, the value indicated by the 1200 LPI counter value storage unit 204 is “3”, and the difference from “0” that is the encoder value to be actually recognized is “3”. It becomes. As a result, the software reset value to be set by the engine CPU 101 is “−3”.

他方、側壁112からの跳ね返り量が1200LPIでのカウント値として“3”である場合、即ち、上述したリセット値が“3”である場合、1200LPIでの“3”の値を300LPIに変換しても“0”であるため、エンジンCPU101は、300LPIカウンタ201を“0”でリセットする。   On the other hand, when the bounce amount from the side wall 112 is “3” as the count value at 1200 LPI, that is, when the reset value is “3”, the value “3” at 1200 LPI is converted to 300 LPI. Is also “0”, the engine CPU 101 resets the 300 LPI counter 201 to “0”.

この場合、ステータスカウンタ203の値は、跳ね返り量である“3”に応じてカウントされた結果、“2”となっているため、1200LPIカウンタ値記憶部204が示す値は“2”となり、実際に認識するべきエンコーダ値である“3”との差は“−1”となる。その結果、エンジンCPU101が設定するべきソフトウェア上のリセット値は“+1”となり、上述した場合と異なる結果となってしまう。   In this case, since the value of the status counter 203 is “2” as a result of counting according to the amount of rebound “3”, the value indicated by the 1200 LPI counter value storage unit 204 is “2”. The difference from “3” which is the encoder value to be recognized is “−1”. As a result, the software reset value to be set by the engine CPU 101 is “+1”, which is different from the case described above.

また、側壁112からの跳ね返り量が1200LPIでのカウント値として“5”である場合、即ち、上述したリセット値が“5”である場合、1200LPIでの“5”の値を300LPIに変換すると、5/4=1余り1という計算結果に従って、“1”となり、エンジンCPU101は、300LPIカウンタ201を“1”でリセットする。   Further, when the amount of rebound from the side wall 112 is “5” as a count value at 1200 LPI, that is, when the above-described reset value is “5”, the value of “5” at 1200 LPI is converted to 300 LPI. According to the calculation result of 5/4 = 1 remainder 1, it becomes “1”, and the engine CPU 101 resets the 300 LPI counter 201 to “1”.

この場合、ステータスカウンタ203の値は、跳ね返り量である“3”に応じてカウントされた結果、“0”となっているため、1200LPIカウンタ値記憶部204が示す値は“4”となり、実際に認識するべきエンコーダ値である“5”との差は“−1”となる。その結果、エンジンCPU101が設定するべきソフトウェア上のリセット値は“+1”となり、この場合も、上述した“−3”の場合と異なる結果となってしまう。   In this case, since the value of the status counter 203 is “0” as a result of being counted according to the amount of rebound “3”, the value indicated by the 1200 LPI counter value storage unit 204 is “4”. The difference from “5” which is the encoder value to be recognized is “−1”. As a result, the software reset value to be set by the engine CPU 101 is “+1”, which is also different from the case of “−3” described above.

このような誤った結果は、1200LPIのリセット値を300LPIに変換して300LPIカウンタ201に設定する際に、ステータスカウンタ203のカウント値はリセットされないため、リセットの前後でステータスカウンタ203のカウント値と300LPIカウンタ201との間に不整合が生じることによる。   Such an erroneous result is that when the 1200 LPI reset value is converted to 300 LPI and set in the 300 LPI counter 201, the count value of the status counter 203 is not reset before and after the reset, This is because a mismatch occurs with the counter 201.

尚、このような課題は、300LPIカウンタ201のリセットに際してステータスカウンタ203のカウント値をリセットすることができないために生じる。本実施形態においては、エンジンCPU101とモータ制御用CPU207とでステータスカウンタ203を共用しており、モータ制御用CPU207については、リセットを行わずに予め定められた値の範囲でカウンタを使用するために、ステータスカウンタ203のカウント値をリセットすることができないが、これに限らず、ステータスカウンタ203のカウント値をリセットすることができない要因は装置設計上の制約等様々な要因があり得る。   Such a problem occurs because the count value of the status counter 203 cannot be reset when the 300 LPI counter 201 is reset. In this embodiment, the engine CPU 101 and the motor control CPU 207 share the status counter 203, and the motor control CPU 207 uses the counter within a predetermined value range without resetting. The count value of the status counter 203 cannot be reset. However, the present invention is not limited to this, and there are various factors such as restrictions on the device design that cannot reset the count value of the status counter 203.

尚、本実施形態においては、ステータスカウンタ203をエンジン制御用CPU101とモータ制御用CPU207とで共用しているが、エンジン制御用CPU101とモータ制御用CPU207夫々についてステータスカウンタを用意する態様もあり得る。このような場合においても、上述したような装置設計上の要因によりステータスカウンタ203のカウント値のリセットが困難であることに変わりはなく、上記と同様の課題が生じる。   In the present embodiment, the status counter 203 is shared by the engine control CPU 101 and the motor control CPU 207. However, there may be a mode in which a status counter is prepared for each of the engine control CPU 101 and the motor control CPU 207. Even in such a case, it is still difficult to reset the count value of the status counter 203 due to the above-mentioned factors in designing the apparatus, and the same problem as described above occurs.

また、本実施形態においては、モータ制御用CPU207がPWMモジュール208を介して主走査モータドライバ103を制御する構成を例としているが、エンジン制御用CPU101が同様の制御を行う構成も可能である。即ち、本実施形態においては、エンジン制御用CPU101とモータ制御用CPU207とが連動してエンジン全体を制御する制御部として機能しているが、エンジン制御CPU101が単体でエンジン全体を制御する制御部として機能することも可能である。   In this embodiment, the motor control CPU 207 controls the main scanning motor driver 103 via the PWM module 208, but a configuration in which the engine control CPU 101 performs similar control is also possible. That is, in this embodiment, the engine control CPU 101 and the motor control CPU 207 function as a control unit that controls the entire engine in conjunction with each other. However, the engine control CPU 101 functions as a single control unit that controls the entire engine. It is also possible to function.

その場合、300LPIカウンタ202及び1200LPIカウンタ値記憶部205が不要となるが、上述した課題は300LPIカウンタ201のリセットによって生じる問題であるため、エンジン制御用CPU101がPWMモジュール208を介して主走査モータドライバ103を制御する場合であっても、同様の問題が生じ得る。   In this case, the 300 LPI counter 202 and the 1200 LPI counter value storage unit 205 are not necessary. However, since the above-described problem is caused by resetting the 300 LPI counter 201, the engine control CPU 101 performs main scanning motor driver via the PWM module 208. Even when controlling 103, a similar problem may occur.

このような弊害に対応するため、本実施形態に係るエンジンCPU101は、上述した極値、即ち側壁112にキャリッジ102が接触した状態におけるステータスカウンタ203の値と、跳ね返り後のキャリッジ102の位置に応じたステータスカウンタ203の値との差異に応じて、300LPIカウンタ201のリセット処理に変化を与える。これが、本実施形態に係る要旨の1つである。   In order to cope with such a harmful effect, the engine CPU 101 according to the present embodiment responds to the extreme value described above, that is, the value of the status counter 203 in a state where the carriage 102 is in contact with the side wall 112 and the position of the carriage 102 after the bounce. Depending on the difference from the value of the status counter 203, the reset processing of the 300 LPI counter 201 is changed. This is one of the gist according to the present embodiment.

以下、本実施形態に係るエンジンCPU101によるリセット処理について、図9に対応する図10及び図11のフローチャートを参照して説明する。図10も、図9と同様に、極値でのステータスカウンタ203のカウント値が“3”である場合の、リセット前後の各値を示す表である。側壁112からの跳ね返りが全く無かった場合、即ち、上述したリセット値が“0”である場合は、図9と同様の処理であり、ソフトウェア上のリセット値は“−3”となる。   Hereinafter, the reset process by the engine CPU 101 according to the present embodiment will be described with reference to the flowcharts of FIGS. 10 and 11 corresponding to FIG. 9. FIG. 10 is a table showing each value before and after the reset when the count value of the status counter 203 at the extreme value is “3” as in FIG. 9. When there is no rebound from the side wall 112, that is, when the above-described reset value is “0”, the processing is the same as in FIG. 9, and the software reset value is “−3”.

他方、例えば、側壁112からの跳ね返り量が1200LPIでのカウント値として“3”である場合、即ち、上述したリセット値が“3”である場合、上述したようにステータスカウンタ203のカウント値は“2”となっている。即ち、キャリッジ102が側壁112から跳ね返って現在の位置で停止するまでの間に、ステータスカウンタ203のカウント値は一度“0”に戻っており、同時に300LPIカウンタが1プラスされていることとなる。   On the other hand, for example, when the amount of rebound from the side wall 112 is “3” as the count value at 1200 LPI, that is, when the reset value is “3”, the count value of the status counter 203 is “ 2 ”. That is, the count value of the status counter 203 returns to “0” once until the carriage 102 bounces off the side wall 112 and stops at the current position, and at the same time, the 300 LPI counter is incremented by one.

しかしながら、図9において説明したように、1200LPIでのリセット値“3”を4で割って300LPIに変換しても3/4=0余り3で“0”となってしまい、300LPIカウンタ201のリセット後の値として“0”を設定するため、300LPIカウンタ201のカウント値“0”とステータスカウンタ203のカウント値“2”とが関連性の無い不正な値となってしまう。   However, as described with reference to FIG. 9, even if the reset value “3” at 1200 LPI is divided by 4 and converted to 300 LPI, 3/4 = 0 becomes “0” when the remainder is 3, and the 300 LPI counter 201 is reset. Since “0” is set as the subsequent value, the count value “0” of the 300 LPI counter 201 and the count value “2” of the status counter 203 become irrelevant illegal values.

ここで、そのため、本実施形態に係るエンジンCPU101は、図11に示すようにリセット値を取得し(S1101)、300LPIカウンタをリセットするためにリセット値を300LPIに変換する際、ステータスカウンタ203のカウント値が、上述した極値におけるステータスカウンタ203のカウント値、即ち、キャリッジ102が側壁112に接触した状態でのステータスカウンタ203のカウント値よりも小さい場合(S1102/YES)、即ち、キャリッジ102が側壁から跳ね返ったことによって、300LPIカウンタ201が少なくともプラス1カウントされている場合には、リセット値の300LPIへの変換に際して、300LPI変換後の値を強制的にプラス1カウントするため、逓倍数に応じた値をリセット値にプラスして補正する(S1103)。   For this reason, the engine CPU 101 according to the present embodiment acquires a reset value as shown in FIG. 11 (S1101), and counts the status counter 203 when converting the reset value to 300 LPI to reset the 300 LPI counter. When the value is smaller than the count value of the status counter 203 at the extreme value described above, that is, the count value of the status counter 203 when the carriage 102 is in contact with the side wall 112 (S1102 / YES), that is, the carriage 102 is on the side wall. When the 300LPI counter 201 is counted at least plus 1 because it bounced from the time, when the reset value is converted to 300LPI, the value after 300LPI conversion is forcibly incremented by 1, so that the number of multiplications depends on the multiplication number. Reset value Plus to be corrected in the capital value (S1103).

S1102における判断は、換言すると、1200LPI単位から300LPI単位に変換することにより、上述したように余りが切り捨てられてしまい、300LPIカウンタ201のカウント値とステータスカウンタ203のカウント値とに基づいて生成される1200LPIカウンタ値記憶部204のカウント値が、300LPIカウンタの1カウント分少なくなってしまう状態を検知する判断である。   In other words, the determination in S1102 is generated based on the count value of the 300 LPI counter 201 and the count value of the status counter 203 because the remainder is discarded as described above by converting from 1200 LPI units to 300 LPI units. This is a determination to detect a state in which the count value of the 1200 LPI counter value storage unit 204 is decreased by one count of the 300 LPI counter.

実際に、図10に示す場合においては、跳ね返り後のエンコーダ値が例えば“4”、“5”、“6”の場合、跳ね返り後の移動によってステータス値は一度“0”に戻っており、300LPIカウンタは1カウントされている。しかしながら、壁でのステータス値が“3”であるため、リセット値は、夫々“1”、“2”、“3”となり、単純に300LPIに変換すると“0”となってしまう。このような状態を補正することが本実施形態に係る要旨である。   Actually, in the case shown in FIG. 10, when the encoder value after bounce is “4”, “5”, “6”, the status value once returned to “0” by the movement after bounce, and 300 LPI The counter is counted once. However, since the status value at the wall is “3”, the reset values are “1”, “2”, and “3”, respectively, and simply converted to 300 LPI will be “0”. Correcting such a state is the gist of the present embodiment.

本実施形態に係る逓倍数は“4”である。従って、1200LPIの値を300LPIに変換した際に300LPIの値が強制的にプラス1カウントされるためには、“3”若しくは“4”の値をリセット値にプラスすれば良い。図10の例においては、“4”の値をリセット値にプラスしている。その結果、補正後のリセット値は、“7”となる。   The multiplication number according to the present embodiment is “4”. Therefore, in order to force the 300 LPI value to be incremented by 1 when the 1200 LPI value is converted to 300 LPI, the value “3” or “4” may be added to the reset value. In the example of FIG. 10, the value “4” is added to the reset value. As a result, the corrected reset value is “7”.

エンジンCPU101は、この補正後の“7”という値を1200LPIから300LPIに変換する(S1104)。この場合、7/4=1余り3となり、変換後の値は“1”となるため、エンジンCPU101は、300LPIカウンタ201に“1”の値をセットする(S1105)。すると、1200LPIカウンタ値記憶部204の値は、300LPIカウンタ201のカウント値“1”と、ステータスカウンタ203のカウント値“2”を合わせて、“6”となる。   The engine CPU 101 converts the corrected value “7” from 1200 LPI to 300 LPI (S1104). In this case, since 7/4 = 1 is 3, and the converted value is “1”, the engine CPU 101 sets a value of “1” in the 300 LPI counter 201 (S1105). Then, the value of the 1200 LPI counter value storage unit 204 is “6”, which is the sum of the count value “1” of the 300 LPI counter 201 and the count value “2” of the status counter 203.

結果として、実際に認識するべきエンコーダ値である“3”との差は、上記リセット値“0”の場合と同様に、“3”となり、ソフトウェア上で必要なリセット値は“−3”となる。この値は、キャリッジ102が側壁112に接触した状態におけるステータスカウンタ203のカウント値であり、その状態での1200LPIカウンタ値記憶部204を“0”とするためには必ず差し引く必要がある値である。   As a result, the difference from “3”, which is the encoder value to be actually recognized, is “3”, as in the case of the reset value “0”, and the reset value required on the software is “−3”. Become. This value is the count value of the status counter 203 when the carriage 102 is in contact with the side wall 112, and is a value that must be subtracted to set the 1200 LPI counter value storage unit 204 to “0” in that state. .

従って、エンジンCPU101は、このように300LPIカウンタ201の値をセットした後、上述した極地におけるステータスカウンタ203の値を、1200LPIカウンタ値記憶部204の値からソフトウェア上で差し引くソフトウェア上のリセット値として記憶する(S1106)ことにより、ホーミング動作におけるリセット処理を完了する。   Therefore, after setting the value of the 300 LPI counter 201 in this manner, the engine CPU 101 stores the value of the status counter 203 in the above-mentioned polar region as a software reset value that is subtracted on the software from the value of the 1200 LPI counter value storage unit 204. This completes the reset process in the homing operation (S1106).

以上、説明したように、本実施形態に係る画像形成装置1においては、エンジンCPU101とモータ制御用CPU207とでステータスカウンタ203を共用する場合において、キャリッジ102が側壁112に接触したホームポジションにおけるステータスカウンタ203のカウント値が、キャリッジ102が側壁112から跳ね返った後の位置におけるステータスカウンタ203のカウント値よりも大きく、跳ね返りによって300PLPIカウンタ201の値がカウントアップされていることがわかる場合には、モータ制御用CPU207から通知されたリセット値を300LPIに変換する際に、変換後の値を強制的にプラス1カウントするための補正値をリセット値に加える。   As described above, in the image forming apparatus 1 according to the present embodiment, when the status counter 203 is shared by the engine CPU 101 and the motor control CPU 207, the status counter at the home position where the carriage 102 contacts the side wall 112. If the count value of 203 is larger than the count value of the status counter 203 at the position after the carriage 102 has bounced off the side wall 112, and it is found that the value of the 300PLPI counter 201 has been counted up by the bounce, the motor control When the reset value notified from the CPU 207 is converted into 300 LPI, a correction value for forcibly adding the converted value plus one is added to the reset value.

これにより、ステータスカウンタ203を共用する低コストなFPGA200においても、リセット前後におけるステータスカウンタ203のカウント値と300LPIカウンタ201のカウント値との不整合を解消し、キャリッジ102の正確な位置決め制御を行うことが可能となる。   As a result, even in a low-cost FPGA 200 sharing the status counter 203, inconsistency between the count value of the status counter 203 and the count value of the 300 LPI counter 201 before and after the reset is eliminated, and accurate positioning control of the carriage 102 is performed. Is possible.

尚、上記実施形態においては、エンジンCPU101のための1200LPIカウンタ値記憶部204及びモータ制御CPU207のための1200LPIカウンタ値記憶部205を夫々設ける場合を例として説明した。この他、300LPIカウンタ201、202のカウント値と、ステータスカウンタ203のカウント値とに基づいた1200LPI単位のエンコーダ値の認識処理を、エンジンCPU101、モータ制御CPU207夫々によるソフトウェア処理によって行い、1200LPIカウンタ値記憶部204を省略することも可能である。   In the above embodiment, the case where the 1200 LPI counter value storage unit 204 for the engine CPU 101 and the 1200 LPI counter value storage unit 205 for the motor control CPU 207 are provided is described as an example. In addition, 1200 LPI encoder value recognition processing based on the count values of the 300 LPI counters 201 and 202 and the count value of the status counter 203 is performed by software processing by the engine CPU 101 and the motor control CPU 207, respectively, and the 1200 LPI counter value is stored. The unit 204 can be omitted.

また、上記実施形態においては、エンジンCPU101において、キャリッジ102が側壁112に接触した状態におけるエンコーダ値であるステータスカウンタ203のカウント値(上記実施形態においては“3”)に相当する値を、ソフトウェアリセット値として差し引く場合を例として説明した。この他、エンジンCPU101の処理により、1200LPIカウンタ値記憶部204に対するレジスタ設定により、1200LPIカウンタ値記憶部204が保持する値を差し引いても良い。   In the above embodiment, the engine CPU 101 sets a value corresponding to the count value of the status counter 203 (“3” in the above embodiment), which is an encoder value when the carriage 102 is in contact with the side wall 112, as a software reset. The case where the value is subtracted has been described as an example. In addition, the value stored in the 1200 LPI counter value storage unit 204 may be subtracted by the processing of the engine CPU 101 by register setting for the 1200 LPI counter value storage unit 204.

1 画像形成装置
11 CPU
12 RAM
13 ROM
14 HDD
15 I/F
17 操作部
18 バス
100 エンジン
101 エンジンCPU
102 キャリッジ
103 主走査モータドライバ
104、104a、104b 主走査エンコーダセンサ
105 ヘッドドライバ
106、106Y、106M、106C、106K 記録ヘッド
200 FPGA
201、202 300LPIカウンタ
203 ステータスカウンタ
204、205 1200LPIカウンタ値記憶部
206 モータ通信バッファ
207 モータ制御用CPU
208 PWMモジュール
209 ヘッド駆動回路
1 Image forming apparatus 11 CPU
12 RAM
13 ROM
14 HDD
15 I / F
17 Operation unit 18 Bus 100 Engine 101 Engine CPU
102 Carriage 103 Main scanning motor driver 104, 104a, 104b Main scanning encoder sensor 105 Head driver 106, 106Y, 106M, 106C, 106K Recording head 200 FPGA
201, 202 300 LPI counter 203 Status counter 204, 205 1200 LPI counter value storage unit 206 Motor communication buffer 207 Motor control CPU
208 PWM module 209 head drive circuit

特開2010−215399号公報JP 2010-215399 A 特開2008−126453号公報JP 2008-126453 A

Claims (9)

対象物に対して画像形成部を相対的に移動させながら画像形成出力を行う画像形成装置であって、
所定間隔毎の前記画像形成部の移動に応じて出力される信号をカウントする所定間隔単位カウンタと、
前記所定間隔が等分された間隔毎の前記画像形成部の移動に応じて出力される信号を、前記所定間隔毎にループする値でカウントする分割単位ループカウンタと、
前記所定間隔単位カウンタ及び前記分割単位ループカウンタのカウント値に応じて、前記等分された間隔単位で前記画像形成部の位置を認識すると共に、前記画像形成出力動作に関する全体の制御を行う制御部とを含み、
前記制御部は、
前記画像形成部を移動範囲の一方の端部に押し付けるように移動制御し、前記画像形成部が前記端部に押し付けられた状態から、その後停止した位置までの間隔に応じた前記等分された間隔単位でのカウント値を基準位置認識処理情報として取得し、
取得した前記基準位置認識処理情報が示すカウント値を前記等分された間隔毎の単位から前記所定間隔毎の単位に変換し、変換後の前記カウント値を前記所定間隔単位カウンタにセットすると共に、前記画像形成部が前記端部に押し付けられた状態における前記分割単位ループカウンタのカウント値を、前記等分された間隔単位で認識される前記画像形成部の位置を示す値から差し引き、
前記画像形成部が前記端部に押し付けられた状態からその後停止するまでの間において、前記分割単位ループカウンタのカウント値が少なくとも1回初期値に戻っている場合、前記カウント値を前記等分された間隔毎の単位から前記所定間隔毎の単位に変換する際に、変換後の前記カウント値が1カウント余分にカウントされた値となるように補正された前記基準位置認識処理情報が示すカウント値を前記所定間隔毎の単位に変換することを特徴とする画像形成装置。
An image forming apparatus that outputs an image while moving an image forming unit relative to an object,
A predetermined interval unit counter that counts signals output in response to movement of the image forming unit at predetermined intervals;
A division unit loop counter that counts a signal that is output in accordance with movement of the image forming unit at intervals of which the predetermined interval is equally divided by a value that loops at the predetermined interval;
A control unit for recognizing the position of the image forming unit in units of the equally divided intervals according to the count values of the predetermined interval unit counter and the division unit loop counter, and for performing overall control relating to the image forming output operation Including
The controller is
The movement is controlled so as to press the image forming unit against one end of the moving range, and the image forming unit is divided equally according to the interval from the state where the image forming unit is pressed to the end to the position where the image forming unit stops thereafter Get the count value in intervals as reference position recognition processing information,
Converting the count value indicated by the acquired reference position recognition processing information from the unit of the equally divided interval to the unit of the predetermined interval, and setting the converted count value in the predetermined interval unit counter, The count value of the division unit loop counter in a state where the image forming unit is pressed against the end is subtracted from the value indicating the position of the image forming unit recognized by the equally divided interval unit,
If the count value of the division unit loop counter has returned to the initial value at least once during the period from when the image forming unit is pressed against the end portion to when it stops, the count value is divided into equal parts. The count value indicated by the reference position recognition processing information corrected so that the converted count value becomes a value counted by one extra when converting from the unit for each interval to the unit for the predetermined interval Is converted into a unit for each predetermined interval.
所定間隔毎の前記画像形成部の移動に応じて出力される信号を、前記画像形成部の移動制御のためにカウントする移動制御用所定間隔単位カウンタを含み、
前記制御部は、前記移動制御用所定間隔単位カウンタ及び分割単位ループカウンタのカウント値に応じて、前記等分された間隔単位で前記画像形成部の位置を認識して前記画像形成部を移動させるための動力系の制御を行う移動制御部を含み、
前記移動制御部が、前記画像形成部を移動範囲の一方の端部に押し付けるように移動制御し、前記画像形成部が前記端部に押し付けられた状態から、その後停止した位置までの間隔に応じた前記等分された間隔単位でのカウント値を基準位置認識処理情報として取得することを特徴とする請求項1に記載の画像形成装置。
A movement control predetermined interval unit counter that counts a signal output in accordance with movement of the image forming unit at predetermined intervals for movement control of the image forming unit;
The control unit recognizes the position of the image forming unit and moves the image forming unit in the equally divided intervals according to the count values of the predetermined interval unit counter for movement control and the division unit loop counter. Including a movement control unit for controlling a power system for
The movement control unit performs movement control so as to press the image forming unit against one end of the moving range, and according to an interval from a state where the image forming unit is pressed against the end to a position where the image forming unit is stopped thereafter. The image forming apparatus according to claim 1, wherein the count value in the equally divided interval unit is acquired as reference position recognition processing information.
前記制御部は、前記画像形成部が前記端部に押し付けられた後に停止した位置における前記分割単位ループカウンタのカウント値が、前記画像形成部が前記端部に押し付けられた状態における前記分割単位ループカウンタのカウント値よりも小さい場合に、前記画像形成部が前記端部に押し付けられた状態からその後停止するまでの間において、前記分割単位ループカウンタのカウント値が少なくとも1回初期値に戻っていると判断することを特徴とする請求項1または2に記載の画像形成装置。   The control unit is configured such that a count value of the division unit loop counter at a position where the image forming unit is stopped after being pressed against the end portion is equal to the division unit loop in a state where the image forming unit is pressed against the end portion. When the count value is smaller than the count value of the counter, the count value of the division unit loop counter returns to the initial value at least once during the period from when the image forming unit is pressed against the end until the stop. The image forming apparatus according to claim 1, wherein the image forming apparatus is determined as follows. 前記制御部は、前記画像形成部が前記端部に押し付けられた状態における前記分割単位ループカウンタのカウント値を取得し、その値を前記等分された間隔単位で認識される前記画像形成部の位置を示す値から差し引くことを特徴とする請求項1乃至3いずれか1項に記載の画像形成装置。   The control unit acquires a count value of the division unit loop counter in a state in which the image forming unit is pressed against the end portion, and the value of the image forming unit recognized in the equally divided interval unit. The image forming apparatus according to claim 1, wherein the image forming apparatus is subtracted from a value indicating a position. 前記制御部は、前記画像形成部が前記端部に押し付けられた状態からその後停止するまでの間において、前記等分された間隔単位で認識される前記画像形成部の位置が極値となった際の前記分割単位ループカウンタのカウント値を、前記画像形成部が前記端部に押し付けられた状態における前記分割単位ループカウンタのカウント値として取得することを特徴とする請求項4に記載の画像形成装置。   In the control unit, the position of the image forming unit that is recognized by the equally divided interval becomes an extreme value from the state in which the image forming unit is pressed against the end portion until the stop thereafter. 5. The image formation according to claim 4, wherein a count value of the division unit loop counter at the time is acquired as a count value of the division unit loop counter in a state where the image forming unit is pressed against the end portion. apparatus. 前記制御部は、前記分割単位ループカウンタがループする値の範囲に応じた値を前記基準位置認識処理情報が示すカウント値に加算することにより、変換後の前記カウント値が1カウント余分にカウントされた値となるように補正することを特徴とする請求項1乃至5いずれか1項に記載の画像形成装置。   The control unit adds the value corresponding to the range of values that the division unit loop counter loops to the count value indicated by the reference position recognition processing information, so that the converted count value is counted by one extra count. 6. The image forming apparatus according to claim 1, wherein the image forming apparatus corrects the value so as to obtain a corrected value. 前記制御部は、前記画像形成部が移動範囲の一方の端部に押し付けられたことを検知した場合に、前記画像形成部の移動制御を停止し、所定期間経過後に前記等分された間隔単位で認識される前記画像形成部の位置を、前記基準位置認識処理情報として取得することを特徴とする請求項1乃至6いずれか1項に記載の画像形成装置。   The control unit stops the movement control of the image forming unit when it is detected that the image forming unit is pressed against one end of the moving range, and the equally divided interval unit after a predetermined period has elapsed. 7. The image forming apparatus according to claim 1, wherein the position of the image forming unit recognized in step S <b> 1 is acquired as the reference position recognition processing information. 前記制御部は、前記等分された間隔単位で認識される前記画像形成部の位置が所定期間一定であった場合に、前記画像形成部が移動範囲の一方の端部に押し付けられたことを検知することを特徴とする請求項7に記載の画像形成装置。   The control unit confirms that the image forming unit is pressed against one end of the moving range when the position of the image forming unit recognized by the equally divided interval unit is constant for a predetermined period. The image forming apparatus according to claim 7, wherein the image forming apparatus is detected. 対象物に対して画像形成部を相対的に移動させながら画像形成出力を行う画像形成装置の制御方法であって、
前記画像形成装置は、
所定間隔毎の前記画像形成部の移動に応じて出力される信号をカウントする所定間隔単位カウンタと、
前記所定間隔が等分された間隔毎の前記画像形成部の移動に応じて出力される信号を、前記所定間隔毎にループする値でカウントする分割単位ループカウンタとを有し、
前記所定間隔単位カウンタ及び前記分割単位ループカウンタのカウント値に応じて、前記等分された間隔単位で前記画像形成部の位置を認識すると共に、前記画像形成出力動作に関する全体の制御を行い、
前記画像形成部を移動範囲の一方の端部に押し付けるように移動制御し、前記画像形成部が前記端部に押し付けられた状態から、その後停止した位置までの間隔に応じた前記等分された間隔単位でのカウント値を基準位置認識処理情報として取得し、
前記基準位置認識処理情報が示すカウント値を前記等分された間隔毎の単位から前記所定間隔毎の単位に変換し、変換後の前記カウント値を前記第1の所定間隔単位カウンタにセットすると共に、前記画像形成部が前記端部に押し付けられた状態における前記分割単位ループカウンタのカウント値を、前記等分された間隔単位で認識される前記画像形成部の位置を示す値から差し引き、
前記画像形成部が前記端部に押し付けられた状態からその後停止するまでの間において、前記分割単位ループカウンタのカウント値が少なくとも1回初期値に戻っている場合、前記カウント値を前記等分された間隔毎の単位から前記所定間隔毎の単位に変換する際に、変換後の前記カウント値が1カウント余分にカウントされた値となるように補正された前記基準位置認識処理情報が示すカウント値を前記所定間隔毎の単位に変換することを特徴とする画像形成装置の制御方法。
A control method of an image forming apparatus that performs image formation output while moving an image forming unit relative to an object,
The image forming apparatus includes:
A predetermined interval unit counter that counts signals output in response to movement of the image forming unit at predetermined intervals;
A division unit loop counter that counts a signal that is output in accordance with movement of the image forming unit at intervals of which the predetermined interval is equally divided by a value that loops at the predetermined interval;
In accordance with the count values of the predetermined interval unit counter and the division unit loop counter, the position of the image forming unit is recognized in the equally divided interval units, and overall control relating to the image forming output operation is performed.
The movement is controlled so as to press the image forming unit against one end of the moving range, and the image forming unit is divided equally according to the interval from the state where the image forming unit is pressed to the end to the position where the image forming unit stops thereafter Get the count value in intervals as reference position recognition processing information,
The count value indicated by the reference position recognition processing information is converted from the unit for each equally divided interval to the unit for the predetermined interval, and the converted count value is set in the first predetermined interval unit counter. The count value of the division unit loop counter in a state where the image forming unit is pressed against the end is subtracted from the value indicating the position of the image forming unit recognized in the equally divided interval unit,
If the count value of the division unit loop counter has returned to the initial value at least once during the period from when the image forming unit is pressed against the end portion to when it stops, the count value is divided into equal parts. The count value indicated by the reference position recognition processing information corrected so that the converted count value becomes a value counted by one extra when converting from the unit for each interval to the unit for the predetermined interval Is converted into a unit for each predetermined interval.
JP2012262668A 2012-11-30 2012-11-30 Image forming apparatus and image forming apparatus control method Expired - Fee Related JP5987659B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012262668A JP5987659B2 (en) 2012-11-30 2012-11-30 Image forming apparatus and image forming apparatus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012262668A JP5987659B2 (en) 2012-11-30 2012-11-30 Image forming apparatus and image forming apparatus control method

Publications (2)

Publication Number Publication Date
JP2014108537A JP2014108537A (en) 2014-06-12
JP5987659B2 true JP5987659B2 (en) 2016-09-07

Family

ID=51029466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012262668A Expired - Fee Related JP5987659B2 (en) 2012-11-30 2012-11-30 Image forming apparatus and image forming apparatus control method

Country Status (1)

Country Link
JP (1) JP5987659B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN209265184U (en) * 2018-12-02 2019-08-16 中山市迪迈打印科技有限公司 Self-resetting Delevoping cartridge

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07246747A (en) * 1994-03-10 1995-09-26 Pfu Ltd Carriage resetting system of printer
JP2004034650A (en) * 2002-07-08 2004-02-05 Sharp Corp Inkjet recorder
JP3093536U (en) * 2002-10-21 2003-05-16 船井電機株式会社 Inkjet printer
JP2004345137A (en) * 2003-05-20 2004-12-09 Seiko Epson Corp Liquid discharging device, adjustment method of position of liquid droplet trace, and liquid discharging system
JP4515734B2 (en) * 2003-09-19 2010-08-04 株式会社リコー Control device for printer device
JP4440673B2 (en) * 2004-03-03 2010-03-24 株式会社リコー Control device for printer device
JP4595682B2 (en) * 2005-05-31 2010-12-08 ブラザー工業株式会社 Linear drive
JP2007136851A (en) * 2005-11-18 2007-06-07 Canon Inc Controller for carriage motor of recording device, carriage motor control method, and carriage motor control program

Also Published As

Publication number Publication date
JP2014108537A (en) 2014-06-12

Similar Documents

Publication Publication Date Title
US8562096B2 (en) Image forming apparatus, image formation method, and computer-readable medium
JP5737968B2 (en) Image processing method and image processing apparatus
US9039127B2 (en) Driver apparatus, image forming apparatus, and method of controlling driver apparatus
US20170015112A1 (en) Image forming apparatus, image forming method, and recording medium storing an image forming program
JP5987659B2 (en) Image forming apparatus and image forming apparatus control method
US8698441B2 (en) Servo control device and recording medium
US8240799B2 (en) Inkjet printing apparatus and printhead control method of the apparatus
JP4539182B2 (en) Printing apparatus, computer program, printing system, and printing method
JP2009220346A (en) Image forming apparatus and program
JP4640519B2 (en) Recording apparatus and recording method
JP2015193085A (en) Recording system, inkjet recording device and program
US8840215B2 (en) Printing device setting biased conveying distance by increasing or decreasing prescribed distance as target conveying distance
JP5104445B2 (en) Printing apparatus and printing method
JP5720136B2 (en) Image forming apparatus and program
JP5241265B2 (en) Recording apparatus and recording control method
JP2006272770A (en) Recording device and method of controlling recording device
JP2005178334A (en) Inkjet recording device
JP2005161813A (en) Printing timing correcting method of inkjet recording device
JP5984564B2 (en) Recording device and control device
JP4640518B2 (en) Recording apparatus and recording method
JP4274136B2 (en) Printing apparatus and printing method
JP2009196209A (en) Feeder, printer, control method of feeder, control method of printer, and program
JP4670966B2 (en) Printing apparatus and printing method
JP2006159695A (en) Recording device and recording control method
JP2015150791A (en) Ink jet recorder and recording method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151015

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160713

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160725

R151 Written notification of patent or utility model registration

Ref document number: 5987659

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees