JP6627476B2 - Liquid ejection device, liquid ejection method, and program - Google Patents

Liquid ejection device, liquid ejection method, and program Download PDF

Info

Publication number
JP6627476B2
JP6627476B2 JP2015242358A JP2015242358A JP6627476B2 JP 6627476 B2 JP6627476 B2 JP 6627476B2 JP 2015242358 A JP2015242358 A JP 2015242358A JP 2015242358 A JP2015242358 A JP 2015242358A JP 6627476 B2 JP6627476 B2 JP 6627476B2
Authority
JP
Japan
Prior art keywords
recording medium
hhp
detecting
liquid ejection
moving direction
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
JP2015242358A
Other languages
Japanese (ja)
Other versions
JP2017105122A (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 JP2015242358A priority Critical patent/JP6627476B2/en
Publication of JP2017105122A publication Critical patent/JP2017105122A/en
Application granted granted Critical
Publication of JP6627476B2 publication Critical patent/JP6627476B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、液体吐出装置、液体吐出方法及びプログラムに関する。   The present invention relates to a liquid ejection device, a liquid ejection method, and a program.

用紙を搬送させて用紙が画像の形成位置に到達したタイミングでインクなどを吐出して画像を形成するプリンタ装置が知られている。これに対し、プリンタ装置から紙搬送システムを削除することで小型化されたプリンタ装置(以下、HHP:ハンドヘルドプリンタという)が実用化されつつある。   2. Description of the Related Art There is known a printer device that forms an image by discharging ink or the like at the timing when the sheet is conveyed and reaches the image forming position. On the other hand, printers (hereinafter, referred to as HHPs: handheld printers) that have been downsized by removing the paper transport system from the printers are being put to practical use.

図1は、HHP20による画像形成を模式的に示す図の一例である。HHP20には、例えばスマートフォンやPC(Personal Computer)等の画像データ出力器から画像データが送信される。ユーザは記録媒体12(例えば定形用紙やノートなど)に載せられたHHP20を把持して、記録媒体12の表面をフリーハンドで走査させる。HHP20は位置検出機構を有しているため、HHP20が目標吐出位置に移動すると、目標吐出位置で吐出すべき色のインクを吐出する。図1では、おおむね点線101に沿うようにユーザがHHP20を移動させると、図示する画像102が形成される。すでにインクを吐出した場所はマスクされるので(インクの吐出の対象とならないので)、ユーザは記録媒体12上で任意の方向にHHP20を走査させることで画像を形成できる。   FIG. 1 is an example of a diagram schematically illustrating image formation by the HHP 20. Image data is transmitted to the HHP 20 from an image data output device such as a smartphone or a PC (Personal Computer). The user grips the HHP 20 placed on the recording medium 12 (for example, a fixed form paper or a notebook) and scans the surface of the recording medium 12 freehand. Since the HHP 20 has a position detecting mechanism, when the HHP 20 moves to the target ejection position, the HHP 20 ejects ink of the color to be ejected at the target ejection position. In FIG. 1, when the user moves the HHP 20 substantially along the dotted line 101, an image 102 is formed as shown. Since the place where ink has already been ejected is masked (since it is not a target of ink ejection), the user can form an image by scanning the HHP 20 on the recording medium 12 in an arbitrary direction.

HHP20には、本体に備えられている記録ヘッドの各ノズル61と最初に印字する画像(詳細に言えば画像102における画素)の対応が予め設定されている。また、HHP20の向きと画像の向きも予め設定されている。図1は、記録ヘッドの先頭ノズルと画像の左上コーナーが対応づけられることで、HHP20に対する画像データの相対位置が設定されている。   In the HHP 20, correspondence between each nozzle 61 of the recording head provided in the main body and an image to be printed first (specifically, pixels in the image 102) is set in advance. The direction of the HHP 20 and the direction of the image are also set in advance. In FIG. 1, the relative position of the image data with respect to the HHP 20 is set by associating the top nozzle of the recording head with the upper left corner of the image.

したがって、ユーザは記録媒体12の左上にノズル61が縦に並ぶようにHHP20を配置して画像形成を開始する必要があり、従来のHHP20では、記録媒体12に対するHHP20の向きをユーザが自由に変更できないという制約がある。   Therefore, it is necessary for the user to arrange the HHP 20 so that the nozzles 61 are arranged vertically at the upper left of the recording medium 12 and start image formation. In the conventional HHP 20, the user can freely change the orientation of the HHP 20 with respect to the recording medium 12. There is a restriction that you can not.

図2は記録媒体12に対する本体の向きの制約を説明する図の一例である。HHP20に示した矢印Aはノズル61の先頭方向を示す。ノズル61の配列方向が画像の縦方向と平行に対応づけられて、HHP20と画像データの相対位置が設定されている場合、図2(a)のようにユーザが記録媒体12に対しHHP20を配置することで、HHP20は記録媒体12上に画像102を形成できる。   FIG. 2 is an example of a diagram for explaining the restriction on the orientation of the main body with respect to the recording medium 12. The arrow A shown on the HHP 20 indicates the head direction of the nozzle 61. When the relative position between the HHP 20 and the image data is set by associating the arrangement direction of the nozzles 61 with the vertical direction of the image, the user places the HHP 20 on the recording medium 12 as shown in FIG. By doing so, the HHP 20 can form the image 102 on the recording medium 12.

しかし、図2(b)に示すように、HHP20のノズルの配列方向が記録媒体12の横方向に平行になるようにHHP20をユーザが配置した場合、画像102が記録媒体12からはみ出てしまう。   However, as shown in FIG. 2B, when the user arranges the HHP 20 so that the arrangement direction of the nozzles of the HHP 20 is parallel to the horizontal direction of the recording medium 12, the image 102 protrudes from the recording medium 12.

このような制約については、記録媒体12に対するHHP20の絶対位置を用いることで対応が可能になる可能性がある。従来から、記録媒体12に対するHHP20の絶対位置を検出する技術が考案されている(例えば、特許文献1参照。)。特許文献1には、記絶対位置情報が埋め込まれたタグ付けパターンを印刷媒体に形成し、センサでパターンを読み取ることでHHP20の絶対位置を検出するHHP20の位置の校正方法が開示されている。   There is a possibility that such restrictions can be dealt with by using the absolute position of the HHP 20 with respect to the recording medium 12. Conventionally, a technology for detecting the absolute position of the HHP 20 with respect to the recording medium 12 has been devised (for example, see Patent Document 1). Patent Document 1 discloses a method of calibrating the position of the HHP 20 in which a tagging pattern in which absolute position information is embedded is formed on a print medium, and the pattern is read by a sensor to detect the absolute position of the HHP 20.

しかしながら、特許文献1に開示された方法でHHP20の絶対位置を検出するにはタグ付けパターンのための機能や画像センサが必要であるため、本体の大型化や高コスト化をもたらすという問題がある。   However, detecting the absolute position of the HHP 20 by the method disclosed in Patent Literature 1 requires a function for a tagging pattern and an image sensor, so that there is a problem that the size and cost of the main body are increased. .

本発明は、上記課題に鑑み、記録媒体に対する向きの制約が低減された液体吐出装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and has as its object to provide a liquid ejection apparatus in which restrictions on the orientation with respect to a recording medium are reduced.

上記課題に鑑み、本発明は、記録媒体上を移動しながら画像を形成する液体吐出装置であって、前記記録媒体上の位置を検出する位置検出手段と、前記液体吐出装置の移動方向を検出する移動方向検出手段と、前記移動方向検出手段が検出した前記移動方向に応じて、前記記録媒体に対する前記液体吐出装置の向きを推定する向き推定手段と、前記液体吐出装置の前記位置を用いて前記移動方向への移動距離が一定距離より大きくなったか否かを判定する判定手段と、前記判定手段が前記移動方向への移動距離が一定距離より大きくなったと判定した場合、前記向き推定手段が推定した前記記録媒体に対する前記液体吐出装置の向きに応じて前記記録媒体上の吐出位置を設定する位置設定手段と、前記位置設定手段によって設定された吐出位置に対応する画像を前記記録媒体に形成する画像形成手段と、を有する。 In view of the above problems, the present invention is a liquid ejecting apparatus that forms an image while moving on a recording medium, and a position detecting unit that detects a position on the recording medium, and detects a moving direction of the liquid ejecting apparatus. Moving direction detecting means, direction estimating means for estimating the direction of the liquid ejecting apparatus with respect to the recording medium in accordance with the moving direction detected by the moving direction detecting means, and the position of the liquid ejecting apparatus. Determining means for determining whether or not the moving distance in the moving direction is greater than a certain distance; and the direction estimating means when the determining means determines that the moving distance in the moving direction is larger than a certain distance. and position setting means for setting the discharge position on the recording medium depending on the orientation of the liquid ejection device for estimated the recording medium, the discharge position set by said position setting means Having an image forming means for forming on said recording medium an image corresponding to.

記録媒体に対する向きの制約が低減された液体吐出装置を提供することができる。   It is possible to provide a liquid ejection apparatus in which the restriction on the orientation with respect to the recording medium is reduced.

HHPによる画像形成を模式的に示す図の一例である。FIG. 2 is an example of a diagram schematically showing image formation by HHP. 記録媒体に対する本体の向きの制約を説明する図の一例である。FIG. 4 is an example of a diagram for explaining a restriction on an orientation of a main body with respect to a recording medium. 記録媒体に対するハンドヘルドプリンタの向きを検出する方法の概略を説明する図の一例である。FIG. 3 is an example of a diagram for explaining an outline of a method for detecting an orientation of a handheld printer with respect to a recording medium. HHPのハードウェア構成図の一例である。FIG. 2 is an example of a hardware configuration diagram of the HHP. 制御部の機能ブロック図の一例を示す図である。FIG. 3 is a diagram illustrating an example of a functional block diagram of a control unit. HHPのノズルの位置等を説明する図の一例である。It is an example of a figure explaining the position etc. of the nozzle of HHP. HHPの位置の算出について説明する図の一例である。It is an example of a figure explaining calculation of the position of HHP. HHPの移動方向を説明する図の一例である。It is an example of a figure explaining the moving direction of HHP. ノズルと画像データの対応付けについて説明する図の一例である。FIG. 4 is an example of a diagram for explaining association between nozzles and image data. 記録媒体に対するHHPの向きを検出し、ノズルに対する画像データの相対位置を設定する手順を示すフローチャート図の一例である。FIG. 7 is an example of a flowchart illustrating a procedure for detecting the orientation of the HHP with respect to a recording medium and setting a relative position of image data with respect to a nozzle. 制御部の機能ブロック図の一例を示す図である(実施例2)。FIG. 8 is a diagram illustrating an example of a functional block diagram of a control unit (second embodiment). 記録媒体に対するHHPの向きを検出し、ノズルに対する画像データの相対位置を設定する手順を示すフローチャート図の一例である(実施例2)。FIG. 14 is an example of a flowchart illustrating a procedure for detecting the orientation of the HHP with respect to the recording medium and setting the relative position of the image data with respect to the nozzles (second embodiment). 制御部の機能ブロック図の一例を示す図である(実施例3)。FIG. 13 is a diagram illustrating an example of a functional block diagram of a control unit (third embodiment). 記録媒体に対するHHPの向きを検出し、ノズルに対する画像データの相対位置を設定する手順を示すフローチャート図の一例である(実施例3)。FIG. 14 is an example of a flowchart illustrating a procedure for detecting the orientation of the HHP with respect to the recording medium and setting the relative position of the image data with respect to the nozzles (third embodiment). HHPに配置された人感センサを説明するための図の一例である。It is an example of a figure for explaining a human sensor arranged in HHP. HHPのハードウェア構成図の一例である(実施例4)。FIG. 14 is an example of a hardware configuration diagram of an HHP (fourth embodiment). 制御部の機能ブロック図の一例を示す図である(実施例4)。FIG. 14 is a diagram illustrating an example of a functional block diagram of a control unit (Example 4). 記録媒体に対するHHPの向きを検出し、ノズルに対する画像データの相対位置を設定する手順を示すフローチャート図の一例である(実施例4)。FIG. 14 is an example of a flowchart illustrating a procedure for detecting the orientation of the HHP with respect to the recording medium and setting the relative position of the image data with respect to the nozzles (Embodiment 4). ノズルと画像データの対応付けについて説明する図の一例である。FIG. 4 is an example of a diagram for explaining association between nozzles and image data. 制御部の機能ブロック図の一例を示す図である(実施例5)。FIG. 14 is a diagram illustrating an example of a functional block diagram of a control unit (Embodiment 5). HHPを記録媒体に対し配置した場合の配置例を示す図である。FIG. 4 is a diagram illustrating an example of an arrangement when HHP is arranged on a recording medium. 記録媒体に対するHHPの向きを検出し、ノズルに対する画像データの相対位置を設定する手順を示すフローチャート図の一例である(実施例5)。FIG. 13 is an example of a flowchart illustrating a procedure for detecting the orientation of the HHP with respect to the recording medium and setting the relative position of the image data with respect to the nozzles (Embodiment 5).

以下、本発明を実施するための形態について図面を参照しながら説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

<ハンドヘルドプリンタの動作の概略>
図3は、記録媒体に対するハンドヘルドプリンタの向きを検出する方法の概略を説明する図の一例である。図3(a)に示すように、ハンドヘルドプリンタ(以下、HHPという)は移動方向を検出する機能を備える。以下、移動方向を検出する機能を移動方向検出手段103という。矢印Aはノズル61の先頭方向を示す。この移動方向検出手段103は、
・左側に移動すること(先頭ノズルの方向を垂直上向きとみなし、ノズル61の配列方向に垂直な方向のうち左側)
・右側に移動すること(先頭ノズルの方向を垂直上向きとみなし、ノズル61の配列方向に垂直な方向のうち右側)
を検出する。
<Outline of operation of handheld printer>
FIG. 3 is an example of a diagram illustrating an outline of a method for detecting the orientation of the handheld printer with respect to the recording medium. As shown in FIG. 3A, a handheld printer (hereinafter, referred to as HHP) has a function of detecting a moving direction. Hereinafter, the function of detecting the moving direction is referred to as moving direction detecting means 103. Arrow A indicates the head direction of nozzle 61. This moving direction detecting means 103
Moving to the left side (assuming the direction of the first nozzle to be vertically upward and the left side of the direction perpendicular to the arrangement direction of the nozzles 61)
Moving to the right (assuming the direction of the first nozzle to be vertically upward, and the right side of the direction perpendicular to the arrangement direction of the nozzles 61)
Is detected.

図3(b)では、HHP20のノズル61の配列方向が記録媒体12の縦方向に平行になるように配置されている。この場合、画像形成の開始時、ユーザはHHP20を右側に移動させて画像の形成を開始する。移動方向検出手段103は右側への移動を検出するので、HHP20は記録媒体12の縦方向に平行に配置されていると推定できる。   In FIG. 3B, the HHPs 20 are arranged such that the arrangement direction of the nozzles 61 is parallel to the longitudinal direction of the recording medium 12. In this case, at the start of image formation, the user moves the HHP 20 to the right to start image formation. Since the moving direction detecting means 103 detects the rightward movement, it can be estimated that the HHP 20 is arranged parallel to the longitudinal direction of the recording medium 12.

図3(c)では、HHP20のノズル61の配列方向が記録媒体12の横方向に平行になるようにHHP20が配置されている。この場合、画像形成の開始時、ユーザはHHP20を左側に移動させて画像の形成を開始する。移動方向検出手段103は左側への移動を検出するので、HHP20は記録媒体12の横方向に平行に配置されていると推定できる。   In FIG. 3C, the HHPs 20 are arranged such that the arrangement direction of the nozzles 61 of the HHPs 20 is parallel to the horizontal direction of the recording medium 12. In this case, at the start of image formation, the user moves the HHP 20 to the left to start image formation. Since the movement direction detecting means 103 detects the movement to the left, it can be estimated that the HHP 20 is arranged parallel to the recording medium 12 in the horizontal direction.

そして、HHP20は、検出した記録媒体12に対するHHP20の向きにあわせてノズル61に最初に形成すべき画像を対応付ける。例えば、図3(b)のHHP20の配置が標準状態であるとする。したがって、図3(b)のような場合、HHP20はノズルと画像の対応を標準のままとする。一方、HHP20が記録媒体12の横方向に平行に配置されていると推定された場合、HHP20は自機であるHHP20に対する画像データの相対位置を標準状態から変更する。具体的には、ノズル61の先頭と画像データの左上コーナーを対応づけ、先頭ノズル以降のノズルを画像データの上辺の画像と対応付けることで記録媒体上の吐出位置を設定する。   Then, the HHP 20 associates an image to be formed first with the nozzle 61 in accordance with the detected orientation of the HHP 20 with respect to the recording medium 12. For example, it is assumed that the arrangement of the HHP 20 in FIG. Therefore, in the case of FIG. 3B, the HHP 20 keeps the correspondence between the nozzle and the image as the standard. On the other hand, when it is estimated that the HHP 20 is arranged parallel to the horizontal direction of the recording medium 12, the HHP 20 changes the relative position of the image data with respect to the HHP 20, which is its own device, from the standard state. Specifically, the ejection position on the recording medium is set by associating the head of the nozzle 61 with the upper left corner of the image data, and associating the nozzles after the head nozzle with the image on the upper side of the image data.

以上のような処理により、記録媒体12に対するHHP20の向きの制約を低減することができる。   With the above-described processing, the restriction on the orientation of the HHP 20 with respect to the recording medium 12 can be reduced.

なお、図3(a)のような配置を、「HHP20が記録媒体12に対し縦向きである」と称し、図3(b)のような配置を、「HHP20が記録媒体12に対し横向きである」と称する。また、記録媒体12上の吐出位置を設定するとは、各ノズル61と画像データとを対応付けることをいう。   The arrangement shown in FIG. 3A is referred to as “the HHP 20 is vertically oriented with respect to the recording medium 12”, and the arrangement shown in FIG. There is ". Setting an ejection position on the recording medium 12 means associating each nozzle 61 with image data.

<構成例>
図4は、HHP20のハードウェア構成図の一例を示す。HHP20は、記録媒体12に画像を形成する液体吐出装置又は画像形成装置の一例である。液体吐出装置とは液滴の吐出位置に到達したタイミングでインクなどの液滴を吐出する装置であり、インクが画像を形成すると画像形成装置と呼ばれる。
<Configuration example>
FIG. 4 shows an example of a hardware configuration diagram of the HHP 20. The HHP 20 is an example of a liquid ejection apparatus or an image forming apparatus that forms an image on the recording medium 12. A liquid discharge device is a device that discharges droplets of ink or the like at the timing when the liquid reaches a droplet discharge position. When the ink forms an image, it is called an image forming device.

HHP20は、制御部25によって全体の動作が制御され、制御部25には通信I/F27、IJ記録ヘッド駆動回路23、OPU26、ROM28、DRAM29、及び、ナビゲーションセンサ30が電気的に接続されている。また、HHP20は電力により駆動されるため、電源22と電源回路21を有している。電源回路21が生成する電力は、点線22aで示す配線などにより、通信I/F27、IJ記録ヘッド駆動回路23、OPU26、ROM28、DRAM29、IJ記録ヘッド24、制御部25、及び、ナビゲーションセンサ30に供給されている。   The entire operation of the HHP 20 is controlled by a control unit 25, and a communication I / F 27, an IJ recording head drive circuit 23, an OPU 26, a ROM 28, a DRAM 29, and a navigation sensor 30 are electrically connected to the control unit 25. . Further, since the HHP 20 is driven by electric power, it has a power supply 22 and a power supply circuit 21. The power generated by the power supply circuit 21 is transmitted to the communication I / F 27, the IJ recording head drive circuit 23, the OPU 26, the ROM 28, the DRAM 29, the IJ recording head 24, the control unit 25, and the navigation sensor 30 by wiring indicated by a dotted line 22a. Supplied.

電源22は主に電池(バッテリー)が利用される。太陽電池や商用電源(交流電源)、燃料電池等が用いられてもよい。電源回路21は、電源22が供給する電力をHHP20の各部に分配する。また、電源22の電圧を各部に適した電圧に降圧や昇圧する。また、電源22が電池で充電可能である場合、電源回路21は交流電源の接続を検出して電池の充電回路に接続し、電源22の充電を可能にする。   As the power supply 22, a battery (battery) is mainly used. A solar cell, a commercial power supply (AC power supply), a fuel cell, or the like may be used. The power supply circuit 21 distributes the power supplied by the power supply 22 to each unit of the HHP 20. In addition, the voltage of the power supply 22 is stepped down or stepped up to a voltage suitable for each unit. When the power supply 22 can be charged by a battery, the power supply circuit 21 detects the connection of the AC power supply and connects the AC power supply to a battery charging circuit to enable the power supply 22 to be charged.

通信I/F27は、スマートフォンやPC(Personal Computer)等の画像データ出力器から画像データの受信等を行う。通信I/F27は例えば無線LAN、Bluetooth(登録商標)、NFC(Near Field Communication)、赤外線、3G(携帯電話)、又は、LTE(Long Term Evolution)等の通信規格に対応した通信装置である。また、このような無線通信の他、有線LAN、USBケーブルなどを用いた有線通信に対応した通信装置であってもよい。   The communication I / F 27 receives image data from an image data output device such as a smartphone or a PC (Personal Computer). The communication I / F 27 is a communication device that supports communication standards such as wireless LAN, Bluetooth (registered trademark), NFC (Near Field Communication), infrared, 3G (mobile phone), and LTE (Long Term Evolution). In addition, other than such wireless communication, a communication device that supports wired communication using a wired LAN, a USB cable, or the like may be used.

ROM28は、HHP20のハードウェア制御を行うファームウェアや、IJ記録ヘッド24の駆動波形データ(液滴を吐出するための電圧変化を規定するデータ)や、HHP20の初期設定データ等を格納している。   The ROM 28 stores firmware for controlling hardware of the HHP 20, driving waveform data of the IJ recording head 24 (data defining a voltage change for ejecting liquid droplets), initial setting data of the HHP 20, and the like.

DRAM29は通信I/F27が受信した画像データを記憶したり、ROM28から展開されたファームウェアの格納のために使用される。したがって、制御部25のCPUがファームウェアを実行する際のワークメモリとして使用される。   The DRAM 29 is used for storing image data received by the communication I / F 27 and for storing firmware developed from the ROM 28. Therefore, it is used as a work memory when the CPU of the control unit 25 executes the firmware.

ナビゲーションセンサ30は、HHP20の位置を検出するセンサである。ナビゲーションセンサ30は、例えば、発光ダイオード(LED)やレーザ等の光源と、記録媒体12を撮像する撮像センサを有している。HHP20が記録媒体12上を走査されると、記録媒体12の微小なエッジが次々に検出され(撮像され)エッジ間の距離を解析することで移動量が得られる。ナビゲーションセンサ30は、HHP20の少なくとも2箇所に搭載されている。両者を区別する場合、ナビゲーションセンサS,Sという。なお、ナビゲーションセンサ30として、さらに多軸の加速度センサやジャイロセンサ等を用いてもよく、加速度センサやジャイロセンサのみでHHP20の位置を検出してもよい。 The navigation sensor 30 is a sensor that detects the position of the HHP 20. The navigation sensor 30 includes, for example, a light source such as a light emitting diode (LED) or a laser, and an image sensor that images the recording medium 12. When the HHP 20 is scanned over the recording medium 12, minute edges of the recording medium 12 are successively detected (imaged), and the movement amount is obtained by analyzing the distance between the edges. The navigation sensors 30 are mounted at at least two places on the HHP 20. When distinguishing them, they are called navigation sensors S 0 and S 1 . Note that a multi-axis acceleration sensor, a gyro sensor, or the like may be further used as the navigation sensor 30, and the position of the HHP 20 may be detected only by the acceleration sensor or the gyro sensor.

OPU(Operation panel Unit)26は、HHP20の状態を表示するLED、ユーザがHHP20に画像形成を指示するためのスイッチ等を有している。ただし、これに限定するものではなく、液晶ディスプレイを有していてよく、さらにタッチパネルを有していてもよい。また、音声入力機能を有していてもよい。   The OPU (Operation panel Unit) 26 has LEDs for displaying the state of the HHP 20, switches for the user to instruct the HHP 20 to perform image formation, and the like. However, the invention is not limited to this, and may have a liquid crystal display and may further have a touch panel. Further, it may have a voice input function.

IJ記録ヘッド駆動回路23は上記の駆動波形データを用いて、IJ記録ヘッド24を駆動するための駆動波形(電圧)を生成する。インクの液滴のサイズなどに応じた駆動波形を生成できる。   The IJ print head drive circuit 23 generates a drive waveform (voltage) for driving the IJ print head 24 using the above-described drive waveform data. A drive waveform according to the size of the ink droplet can be generated.

IJ記録ヘッド24は、インクを吐出するためのヘッドである。図ではCMYKの4色のインクを吐出可能になっているが、単色でもよく5色以上の吐出が可能でもよい。各色ごとに一列(二列以上でもよい)に並んだ複数のインク吐出用のノズル61が配置されている。また、インクの吐出方式はピエゾ方式でもサーマル方式でもよく、この他の方式でもよい。   The IJ recording head 24 is a head for discharging ink. In the figure, four colors of CMYK can be ejected, but a single color or five or more colors may be ejected. A plurality of ink discharge nozzles 61 are arranged in one line (or two or more lines) for each color. The ink ejection method may be a piezo method, a thermal method, or another method.

制御部25は、ナビゲーションセンサ30が検出する移動量を元に、IJ記録ヘッド24の各ノズルの位置、該位置に応じて形成する画像の決定、インクの吐出制御等を行う。制御部25は、制御部25の全体を制御するCPU、画像データをバッファリングするためのイメージRAM、DMAC(Direct Memory Access Controller)、割り込みコントローラ、図4に示した各周辺回路とのインタフェース等を有する情報処理装置である。制御部25について詳細は次述する。   The control unit 25 determines the position of each nozzle of the IJ recording head 24, determines an image to be formed according to the position, controls ink ejection, and the like, based on the movement amount detected by the navigation sensor 30. The control unit 25 includes a CPU that controls the entire control unit 25, an image RAM for buffering image data, a DMAC (Direct Memory Access Controller), an interrupt controller, and an interface with each peripheral circuit shown in FIG. It is an information processing device having. Details of the control unit 25 will be described below.

<<制御部の機能>>
続いて、図5を用いて制御部25が有する機能について説明する。図5は、制御部25の機能ブロック図の一例を示す図である。制御部25は、位置算出部31、向き検出部32、画像処理部33、画像位置対応部34、及び、記録ヘッド制御部35を有している。これら各機能部は、ROM28に格納されているプログラムを制御部25のCPUが実行して制御部25がそなえる各構成要素のいずれかを制御することで実現される機能又は手段である。なお、これら各機能部の一部又は全体がハードウェア(IC回路等)により実現されてもよい。
<< Control unit functions >>
Next, the functions of the control unit 25 will be described with reference to FIG. FIG. 5 is a diagram illustrating an example of a functional block diagram of the control unit 25. The control unit 25 includes a position calculation unit 31, an orientation detection unit 32, an image processing unit 33, an image position correspondence unit 34, and a recording head control unit 35. Each of these functional units is a function or means realized by executing a program stored in the ROM 28 by the CPU of the control unit 25 and controlling any of the components included in the control unit 25. Note that part or all of these functional units may be realized by hardware (such as an IC circuit).

位置算出部31は、ナビゲーションセンサ30が検出するサンプリング周期ごとの移動量に基づいてHHP20の記録媒体上の位置を算出する。HHP20の位置とは、厳密にはノズル61の位置であるが、ナビゲーションセンサ30のある位置が分かればノズル61の位置を算出できる。   The position calculator 31 calculates the position of the HHP 20 on the recording medium based on the amount of movement for each sampling period detected by the navigation sensor 30. Although the position of the HHP 20 is strictly the position of the nozzle 61, if the position of the navigation sensor 30 is known, the position of the nozzle 61 can be calculated.

ナビゲーションセンサ30の位置は、後述するように所定の原点(例えば、画像形成が開始される時のHHP20の初期位置)を基準に算出されている。   The position of the navigation sensor 30 is calculated based on a predetermined origin (for example, the initial position of the HHP 20 when image formation is started) as described later.

また、位置算出部31は移動方向検出部31aを有している。移動方向検出部31aは、過去の位置と最も新しい位置の差に基づいて移動速度や移動方向を推定し、例えば次回の算出タイミングにおける位置を予測する。こうすることで、ユーザの走査に対する遅れを抑制してインクを吐出できる。   Further, the position calculation unit 31 includes a movement direction detection unit 31a. The moving direction detecting unit 31a estimates the moving speed and the moving direction based on the difference between the past position and the newest position, and predicts the position at the next calculation timing, for example. By doing so, it is possible to discharge ink while suppressing a delay with respect to scanning by the user.

したがって、本実施例では移動方向検出部31aが上記の移動方向検出手段103に相当する。位置算出部31は、ユーザが画像形成の開始操作をOPU26に入力したことをOPU26から取得する。この直後、ユーザがHHP20を移動させた方向を移動方向検出部31aが検出する。   Therefore, in the present embodiment, the moving direction detecting section 31a corresponds to the moving direction detecting means 103. The position calculation unit 31 acquires from the OPU 26 that the user has input an image forming start operation to the OPU 26. Immediately after this, the movement direction detection unit 31a detects the direction in which the user has moved the HHP 20.

向き検出部32は、移動方向検出部31aが検出した移動方向に基づき記録媒体12に対するHHP20の向きを検出する。詳細は後述される。   The direction detection unit 32 detects the direction of the HHP 20 with respect to the recording medium 12 based on the movement direction detected by the movement direction detection unit 31a. Details will be described later.

画像位置対応部34は、記録媒体12に対しHHP20が横向きであると向き検出部32により検出されると、IJ記録ヘッド24のノズル61(HHP20)に対する画像データの相対位置を設定する。詳細は後述される。   The image position corresponding unit 34 sets the relative position of the image data with respect to the nozzle 61 (HHP 20) of the IJ recording head 24 when the orientation detection unit 32 detects that the HHP 20 is in the horizontal direction with respect to the recording medium 12. Details will be described later.

画像処理部33は、DRAM29に記憶されている画像データを、インクを吐出するIJ記録ヘッド24、ヘッド内のノズル位置、及び、取り付け誤差などによるIJ記録ヘッド24の傾きに応じて回転させる。さらに、画像処理部33は、位置算出部31が位置を算出する際に算出したHHP20の記録媒体12に水平な方向の回転角θを取得し、その回転角θを用いて周辺画像を回転させることができる。   The image processing unit 33 rotates the image data stored in the DRAM 29 in accordance with the IJ recording head 24 for ejecting ink, the nozzle position in the head, and the inclination of the IJ recording head 24 due to a mounting error or the like. Further, the image processing unit 33 acquires the rotation angle θ of the HHP 20 in the horizontal direction on the recording medium 12 calculated when the position calculation unit 31 calculates the position, and rotates the peripheral image using the rotation angle θ. be able to.

記録ヘッド制御部35は、画像データ(ビットマップデータ)にディザ処理などを施して大きさと密度で画像を表す点の集合に画像データを変換する。これにより、画像データは吐出位置と点のサイズのデータとなる。記録ヘッド制御部35は点のサイズに応じた制御信号をIJ記録ヘッド駆動回路23に出力する。IJ記録ヘッド駆動回路23は上記のように制御信号に対応した駆動波形データを用いて、駆動波形(電圧)を生成する。   The recording head control unit 35 performs dither processing or the like on the image data (bitmap data) and converts the image data into a set of points representing the image in size and density. As a result, the image data becomes data of the ejection position and the dot size. The printhead control unit 35 outputs a control signal corresponding to the dot size to the IJ printhead drive circuit 23. The IJ recording head drive circuit 23 generates a drive waveform (voltage) using the drive waveform data corresponding to the control signal as described above.

<記録媒体におけるHHPの位置について>
次に、図6を用いて、IJ記録ヘッド24におけるノズル位置等について説明する。図6(a)は、HHP20の平面図の一例である。図6(b)はIJ記録ヘッド24のみを説明する図の一例である。図示されている面が記録媒体12に対向する面である。
<About the position of the HHP on the recording medium>
Next, nozzle positions and the like in the IJ recording head 24 will be described with reference to FIG. FIG. 6A is an example of a plan view of the HHP 20. FIG. 6B is an example of a diagram illustrating only the IJ recording head 24. The illustrated surface is the surface facing the recording medium 12.

本実施形態のHHP20は、2つ以上のナビゲーションセンサ30を有している。ナビゲーションセンサ30が2つ以上あることで、ナビゲーションセンサ30が画像形成中に記録媒体12に対し回転しても回転角θを検出できる。図6(a)ではノズル61の配列方向に離間して2つのナビゲーションセンサS,Sが配置されている。2つのナビゲーションセンサS,Sの間の長さは距離Lである。距離Lは長いほどよい。これは、距離Lが長いほど検出可能な最小の回転角θが小さくなり、HHP20の位置の誤差が少なくなるからである。 The HHP 20 according to the present embodiment has two or more navigation sensors 30. Since there are two or more navigation sensors 30, even if the navigation sensor 30 rotates with respect to the recording medium 12 during image formation, the rotation angle θ can be detected. In FIG. 6A, two navigation sensors S 0 and S 1 are arranged apart from each other in the arrangement direction of the nozzles 61. The length between the two navigation sensors S 0 and S 1 is a distance L. The longer the distance L, the better. This is because the longer the distance L is, the smaller the minimum detectable rotation angle θ is, and the error in the position of the HHP 20 is reduced.

ナビゲーションセンサ30からIJ記録ヘッド24までの距離はそれぞれ距離a、bである。距離aと、距離bは等しくてもよい。また、図6(b)に示すように、IJ記録ヘッド24の端から最初のノズル61までの距離は距離d、隣接するノズル間の距離は距離eである。a〜eの値はROM28などに予め記憶されている。   The distances from the navigation sensor 30 to the IJ recording head 24 are distances a and b, respectively. The distance a and the distance b may be equal. As shown in FIG. 6B, the distance from the end of the IJ recording head 24 to the first nozzle 61 is a distance d, and the distance between adjacent nozzles is a distance e. The values of a to e are stored in advance in the ROM 28 or the like.

したがって、位置算出部31などがナビゲーションセンサ30の位置を算出すれば、距離a、距離b、距離d、距離eを用いて、位置算出部31はノズル61の位置を算出できる。   Therefore, if the position calculation unit 31 or the like calculates the position of the navigation sensor 30, the position calculation unit 31 can calculate the position of the nozzle 61 using the distance a, the distance b, the distance d, and the distance e.

本実施形態では、記録媒体12に水平な方向をX軸、垂直な方向をY軸に設定する。この座標を記録媒体座標と称することにする。これに対し、ナビゲーションセンサ30は次のような座標軸(X´軸、Y´軸)で位置を出力する。すなわち、ノズル61の配列方向(2つのナビゲーションセンサS、Sを結ぶ方向)をY´軸、Y´軸に直交する方向をX´軸とする。 In the present embodiment, the direction parallel to the recording medium 12 is set to the X axis, and the direction perpendicular to the recording medium 12 is set to the Y axis. These coordinates will be referred to as recording medium coordinates. On the other hand, the navigation sensor 30 outputs a position on the following coordinate axes (X ′ axis, Y ′ axis). That is, the arrangement direction of the nozzles 61 (the direction connecting the two navigation sensors S 0 and S 1 ) is defined as the Y ′ axis, and the direction orthogonal to the Y ′ axis is defined as the X ′ axis.

次に、図7を用いて、HHP20の位置について説明する。図7(a)では、記録媒体12に対しHHP20が時計回りにθ回転している。全く回転していなければ、X=X´、Y=Y´である。しかし、HHP20が記録媒体12に対し回転角θ、回転した場合、ナビゲーションセンサS、Sの出力とHHP20の記録媒体12における実際の位置が一致しなくなる。 Next, the position of the HHP 20 will be described with reference to FIG. In FIG. 7A, the HHP 20 rotates clockwise θ with respect to the recording medium 12. If there is no rotation, X = X 'and Y = Y'. However, when the HHP 20 rotates by the rotation angle θ with respect to the recording medium 12, the outputs of the navigation sensors S 0 and S 1 do not match the actual position of the HHP 20 on the recording medium 12.

このため、図7(a)に示すように、ナビゲーションセンサS,Sが出力するΔX´、ΔY´は、記録媒体座標のX、Yと以下のように対応する。図7(a)では回転角θのHHP20がX方向にのみ同じ回転角θのまま移動した場合のナビゲーションセンサS,S(平行移動なので出力は等しい)が検出する移動量ΔX´、ΔY´とX,Yの対応を示している。ナビゲーションセンサS,Sが出力するΔX´はX1に反映され、ΔY´はX2に反映される。 Therefore, as shown in FIG. 7A, ΔX ′ and ΔY ′ output from the navigation sensors S 0 and S 1 correspond to X and Y of the recording medium coordinates as follows. In FIG. 7A, the movement amounts ΔX ′, ΔY detected by the navigation sensors S 0 , S 1 (the outputs are equal because they are parallel movements) when the HHP 20 having the rotation angle θ moves at the same rotation angle θ only in the X direction. 'And the correspondence between X and Y. ΔX ′ output from the navigation sensors S 0 and S 1 is reflected on X1, and ΔY ′ is reflected on X2.

図7(b)では回転角θのHHP20がY方向にのみ同じ回転角θのまま移動した場合のナビゲーションセンサS,S(平行移動なので出力は等しい)が検出する移動量ΔX´、ΔY´とX,Yの対応を示している。ナビゲーションセンサS,Sが出力するΔY´はY1に反映され、−ΔX´はY2に反映される。 In FIG. 7B, the movement amounts ΔX ′ and ΔY detected by the navigation sensors S 0 and S 1 (the outputs are equal because they are parallel movements) when the HHP 20 having the rotation angle θ moves in the Y direction with the same rotation angle θ. 'And the correspondence between X and Y. ΔY ′ output from the navigation sensors S 0 and S 1 is reflected on Y1, and −ΔX ′ is reflected on Y2.

したがって、HHP20がX方向及びY方向に回転角θのまま移動した場合、ナビゲーションセンサS,Sが出力するΔX´、ΔY´は記録媒体座標のX,Yに以下のように変換できる。
X=ΔX´cosθ+ΔY´sinθ …(1)
Y=−ΔX´sinθ+ΔY´cosθ …(2)
このように、画像形成の開始位置を基点にして、回転角θが分かれば式(1)(2)からナビゲーションセンサS,Sの記録媒体座標の位置を求めることができる。画像形成の開始位置は、ユーザがHHP20のボタンなどを押下して画像形成を開始する位置又はインクの吐出が開始される位置である。一般に、画像形成の開始位置は、記録媒体12の左上コーナーのやや内側などである。
Therefore, when the HHP 20 moves with the rotation angle θ in the X direction and the Y direction, ΔX ′ and ΔY ′ output by the navigation sensors S 0 and S 1 can be converted into X and Y of the recording medium coordinates as follows.
X = ΔX′cosθ + ΔY′sinθ (1)
Y = −ΔX′sinθ + ΔY′cosθ (2)
In this way, if the rotation angle θ is known from the start position of the image formation, the positions of the coordinates of the recording medium of the navigation sensors S 0 and S 1 can be obtained from the equations (1) and (2). The image formation start position is a position where the user presses a button or the like of the HHP 20 to start image formation or a position where ink ejection is started. Generally, the start position of image formation is slightly inside the upper left corner of the recording medium 12.

なお、ΔX´、ΔY´のサンプリング時間における回転角dθは2つのナビゲーションセンサS,Sの出力(ΔX´0、ΔX´1)の差から以下のようにして求めることができる。
dθ=arcsin{(ΔX´0−ΔX´1)/L} …(3)
位置算出部31は式(1)によりX方向の位置を算出するが、図7(a)の座標系では、Xが正なら右側に移動したこと、及び、Xが負なら左側に移動したことを移動方向検出部31aが検出できる。したがって、ユーザがOPU26に画像形成の開始操作を入力した直後のXの値が正か負かにより、HHP20の移動方向を検出できる。
The rotation angle dθ during the sampling times ΔX ′ and ΔY ′ can be obtained as follows from the difference between the outputs (ΔX ′ 0 and ΔX ′ 1 ) of the two navigation sensors S 0 and S 1 .
dθ = arcsin {(ΔX ′ 0 −ΔX ′ 1 ) / L} (3)
The position calculation unit 31 calculates the position in the X direction by Expression (1). In the coordinate system of FIG. 7A, if X is positive, it has moved to the right, and if X is negative, it has moved to the left. Can be detected by the moving direction detection unit 31a. Therefore, the moving direction of the HHP 20 can be detected based on whether the value of X immediately after the user inputs the image forming start operation to the OPU 26 is positive or negative.

<HHPの移動方向>
図8(a)は、HHP20の移動方向を説明する図の一例である。上記したように、HHP20の上面図(先頭ノズル61sの方向が垂直上向き)において左側をHHP20の左側と定義し、HHP20の上面図において右側をHHP20の右側と定義する。方向をユーザが把握できるように右と左を明記するためのマーク104が貼付されたり形成されたりしてもよい。あるいは、触覚で右又は左が分かるような形状がHHP20の左側面と右側面の少なくとも一方に形成されていてもよい。
<Moving direction of HHP>
FIG. 8A is an example of a diagram for explaining a moving direction of the HHP 20. As described above, the left side is defined as the left side of the HHP 20 in the top view of the HHP 20 (the direction of the leading nozzle 61s is vertically upward), and the right side is defined as the right side of the HHP 20 in the top view of the HHP 20. Marks 104 for specifying right and left may be attached or formed so that the user can grasp the direction. Alternatively, a shape such that the right or left can be recognized by touch may be formed on at least one of the left side surface and the right side surface of the HHP 20.

図8(b)に示すようにHHP20が記録媒体12に対し縦向きに配置されている場合、画像形成の開始操作の直後、ユーザはHHP20を右側に走査させ、その後、左右方向への往復を繰り返して記録媒体12への画像を形成する。したがって、本実施例では、画像形成の開始操作の直後、HHP20が右側に移動する場合、HHP20が記録媒体12に対し縦向きであると向き検出部32が推定する。   When the HHP 20 is disposed vertically with respect to the recording medium 12 as shown in FIG. 8B, immediately after the image forming start operation, the user causes the HHP 20 to scan rightward, and then performs reciprocation in the left-right direction. The image is repeatedly formed on the recording medium 12. Therefore, in the present embodiment, when the HHP 20 moves rightward immediately after the start operation of the image formation, the direction detection unit 32 estimates that the HHP 20 is vertically oriented with respect to the recording medium 12.

同様に、図8(c)に示すようにHHP20が記録媒体12に対し縦向きに配置されている場合、画像形成の開始操作の直後、ユーザはHHP20を左側に走査させ、その後、左右方向への往復(図では上下方向)を繰り返して記録媒体12への画像を形成する。したがって、本実施例では、画像形成の開始操作の直後、HHP20が左側に移動する場合、HHP20が記録媒体12に対し横向きであると向き検出部32が推定する。   Similarly, when the HHP 20 is disposed vertically with respect to the recording medium 12 as shown in FIG. 8C, immediately after the image forming start operation, the user scans the HHP 20 to the left, and then moves in the left and right direction. (The vertical direction in the figure) is repeated to form an image on the recording medium 12. Therefore, in this embodiment, when the HHP 20 moves to the left immediately after the image forming start operation, the direction detection unit 32 estimates that the HHP 20 is in the horizontal direction with respect to the recording medium 12.

なお、HHP20の移動方向と、記録媒体12に対するHHP20の向きの推定は逆でもよい。画像形成の開始時、HHP20が記録媒体12の例えば右上コーナーに縦向きに配置されている場合、ユーザは左側に走査させる。したがって、この場合、記録媒体12に対するHHP20の向きは縦向きである。また、画像形成の開始時、HHP20が記録媒体12の例えば左下コーナーに横向きに配置されている場合、ユーザは右側に走査させる。したがって、この場合、記録媒体12に対するHHP20の向きは横向きである。   Note that the estimation of the moving direction of the HHP 20 and the direction of the HHP 20 with respect to the recording medium 12 may be reversed. At the start of image formation, if the HHP 20 is vertically arranged, for example, at the upper right corner of the recording medium 12, the user scans to the left. Therefore, in this case, the direction of the HHP 20 with respect to the recording medium 12 is the vertical direction. In addition, at the start of image formation, if the HHP 20 is arranged horizontally, for example, at the lower left corner of the recording medium 12, the user scans to the right. Therefore, in this case, the direction of the HHP 20 with respect to the recording medium 12 is horizontal.

また、HHP20の移動方向と向きは1対1に対応するため、記録媒体12に対するHHP20の向きを決定しなくてもよい。本実施例では、説明のため向き検出部32が明記されているが、移動方向に基づいてそのままHHP20に対する画像データの相対位置を設定してよい。   Further, since the moving direction and the direction of the HHP 20 correspond one-to-one, the direction of the HHP 20 with respect to the recording medium 12 does not need to be determined. In the present embodiment, the direction detection unit 32 is specified for the sake of explanation, but the relative position of the image data with respect to the HHP 20 may be set based on the moving direction.

<HHP20に対する画像データの相対位置の設定>
図9を用いて、ノズル61と画像データの対応付けについて説明する。図9(a)は、HHP20が記録媒体12に対し縦向きである場合のノズル61と画像データ105の対応を説明する図である。HHP20は画像形成の開始前に、HHP20に対する画像データ105の相対位置を設定する。本実施例では、HHP20が記録媒体12に対し縦向きである状態が標準状態であるとして、HHP20に対する画像データ105の相対位置が予め設定されている。図9(a)は標準状態なので、画像位置対応部34はHHP20に対する画像データの相対位置を変更しない。したがって、先頭ノズル61sを画像データの左上の原点と対応づけたままとし、先頭以降のノズル61を該ノズルの位置に応じた画像データの左辺の画像と対応づけたままとする。
<Setting of relative position of image data with respect to HHP 20>
The correspondence between the nozzle 61 and the image data will be described with reference to FIG. FIG. 9A illustrates the correspondence between the nozzles 61 and the image data 105 when the HHP 20 is oriented vertically with respect to the recording medium 12. The HHP 20 sets the relative position of the image data 105 with respect to the HHP 20 before starting the image formation. In the present embodiment, the relative position of the image data 105 with respect to the HHP 20 is set in advance assuming that the state in which the HHP 20 is vertically oriented with respect to the recording medium 12 is the standard state. Since FIG. 9A is in the standard state, the image position corresponding unit 34 does not change the relative position of the image data with respect to the HHP 20. Therefore, the leading nozzle 61s is kept associated with the origin at the upper left of the image data, and the leading nozzles 61 are kept associated with the image on the left side of the image data corresponding to the position of the nozzle.

図9(b)は、HHP20が記録媒体12に対し横向きである場合のノズル61と画像データ105の対応を説明する図である。先頭ノズル61sが画像データ105の左上の原点と対応づけられ、先頭以降のノズル61が画像データ105の左辺の画像と対応づけられている。これに対し、HHP20は記録媒体12に対し横向きである。したがって、標準状態におけるHHP20に対する画像データ105の相対位置では、画像データ105が記録媒体12からはみ出してしまう。   FIG. 9B is a diagram for explaining the correspondence between the nozzles 61 and the image data 105 when the HHP 20 is oriented sideways with respect to the recording medium 12. The first nozzle 61s is associated with the origin at the upper left of the image data 105, and the nozzles 61 after the first are associated with the image on the left side of the image data 105. On the other hand, the HHP 20 is lateral to the recording medium 12. Therefore, the image data 105 protrudes from the recording medium 12 at the relative position of the image data 105 with respect to the HHP 20 in the standard state.

そこで、図9(c)に示すように、画像位置対応部34はHHP20に対する画像データの相対位置を変更する。具体的には、先頭ノズル61sを画像データ105の左上の原点と対応づけ、先頭以降のノズル61を該ノズル61の位置に応じた画像データ105の上辺の画像と対応づける。こうすることで、記録媒体12上におけるHHP20の吐出位置を設定することができる。より具体的には、HHP20が走査する範囲に画像データ105が配置されるようにHHP20と画像データの相対位置が得られる。HHP20は、相対位置が設定された画像データ105のうちノズル61の位置が対応する画像(画素)を記録媒体12に形成する(吐出する)。よって、HHP20は記録媒体12に画像データを形成することができる。   Therefore, as shown in FIG. 9C, the image position corresponding unit 34 changes the relative position of the image data with respect to the HHP 20. Specifically, the head nozzle 61s is associated with the origin at the upper left of the image data 105, and the nozzles 61 after the head are associated with the upper image of the image data 105 corresponding to the position of the nozzle 61. By doing so, the ejection position of the HHP 20 on the recording medium 12 can be set. More specifically, the relative position between the HHP 20 and the image data is obtained so that the image data 105 is arranged in the range scanned by the HHP 20. The HHP 20 forms (discharges) an image (pixel) corresponding to the position of the nozzle 61 in the image data 105 for which the relative position is set, on the recording medium 12. Therefore, the HHP 20 can form image data on the recording medium 12.

(記録媒体12における座標の変更)
HHP20は図7に示したようにノズル61の配列方向を基準にしてX、Yを算出するのに対し、画像データ105の座標は元のままである(記録媒体の横方向がX軸、縦方向がY軸)。このため、HHP20が横向きの場合、位置算出部31はXとYの算出方法を変更する。
HHP20の記録媒体12に対する右方向の移動量=−Y
HHP20の記録媒体12に対する左方向の移動量=Y
HHP20の記録媒体12に対する下方向の移動量=−X
HHP20の記録媒体12に対する上方向の移動量=X
これにより、ノズル61と画像データの対応付けを変更した後も画像データ105の座標と整合性を取ることができる。
(Change of coordinates on recording medium 12)
Although the HHP 20 calculates X and Y based on the arrangement direction of the nozzles 61 as shown in FIG. 7, the coordinates of the image data 105 remain unchanged (the horizontal direction of the recording medium is the X axis, The direction is Y axis). For this reason, when the HHP 20 is in the horizontal direction, the position calculator 31 changes the method of calculating X and Y.
Movement amount of HHP 20 with respect to recording medium 12 in the right direction = −Y
Movement amount of HHP 20 to recording medium 12 in the left direction = Y
The amount of downward movement of the HHP 20 with respect to the recording medium 12 = -X
The amount of upward movement of the HHP 20 with respect to the recording medium 12 = X
Thus, even after the association between the nozzle 61 and the image data is changed, consistency with the coordinates of the image data 105 can be obtained.

<動作手順>
図10(a)は、記録媒体12に対するHHP20の向きを検出し、ノズル61に対する画像データの相対位置を設定する手順を示すフローチャート図の一例である。図10(a)の手順は、例えば画像データなどの情報を受け取り画像形成の準備が完了するとスタートする。
<Operation procedure>
FIG. 10A is an example of a flowchart illustrating a procedure for detecting the orientation of the HHP 20 with respect to the recording medium 12 and setting the relative position of the image data with respect to the nozzle 61. The procedure in FIG. 10A starts when information such as image data is received and preparation for image formation is completed.

位置算出部31は、画像形成開始の契機(トリガ)が検出されたか否かを判定する(S10)。画像形成開始の契機はOPU26からの入力(ユーザの操作)であるが、これには限定されない。例えば、移動方向検出部31aがHHP20の移動を検出したこと、又は、スマートフォンやPC(Personal Computer)等の画像データ出力器から画像データ105を受け取ってから一定時間が経過したら画像形成開始の契機が検出されたと判定してもよい。   The position calculation unit 31 determines whether a trigger for starting image formation has been detected (S10). The trigger for starting the image formation is input from the OPU 26 (user operation), but is not limited to this. For example, when the movement direction detection unit 31a detects the movement of the HHP 20, or when a certain time has elapsed after receiving the image data 105 from an image data output device such as a smartphone or a PC (Personal Computer), the trigger of the start of image formation is triggered. You may judge that it was detected.

ステップS10でYesと判定されると、HHP20が移動したことを位置算出部31が検出したか否かを判定する(S20)。この移動は、右側又は左側以外の方向を含む。   If Yes is determined in step S10, it is determined whether the position calculation unit 31 has detected that the HHP 20 has moved (S20). This movement includes a direction other than the right side or the left side.

ステップS20でYesと判定されると、向き検出部32は右側への移動か左側への移動かを判定する(S30)。移動方向検出部31aがHHP20の移動を検出した場合であっても、右側又は左側でない方向への移動は無視される。例えば、記録媒体12に対し上下方向(ノズル61の配列方向)にだけ移動した場合、移動していないと判定される。記録媒体12に対し斜めに移動した場合、左側成分又は右側成分のどちらかがあるため、ステップS30の判定はYesとなる。左右どちらへの移動も検出されない場合(真下、真上、持ち上げが発生した等の場合)、処理はステップS20に戻り、再度、移動の有無が判定される。   If the determination is Yes in step S20, the direction detection unit 32 determines whether the movement is to the right or to the left (S30). Even when the movement direction detecting unit 31a detects the movement of the HHP 20, the movement in a direction other than the right side or the left side is ignored. For example, when the recording medium 12 is moved only in the vertical direction (the arrangement direction of the nozzles 61), it is determined that the recording medium 12 has not been moved. When the recording medium 12 is moved obliquely with respect to the recording medium 12, since there is either the left component or the right component, the determination in step S30 is Yes. If the movement to either the left or right is not detected (directly below, directly above, when lifting has occurred, etc.), the process returns to step S20, and the presence or absence of the movement is determined again.

そして、ステップS30で左側への移動であると判定されると、向き検出部32は横向きであると推定し、画像位置対応部34はノズル61と画像データの対応を変更する(S40)。   If it is determined in step S30 that the movement is to the left, the orientation detection unit 32 estimates that the orientation is horizontal, and the image position correspondence unit 34 changes the correspondence between the nozzle 61 and the image data (S40).

ステップS30で右側への移動であると判定されると、向き検出部32は縦向きであると推定する(S50)。右側への移動では対応付けを変更しなくてよいので、処理が終了する。   If it is determined in step S30 that the movement is to the right, the direction detection unit 32 estimates that the direction is vertical (S50). Since the association does not need to be changed when moving to the right side, the process ends.

ステップS40とステップS50の後、HHP20は実際にインクを吐出する画像形成を開始する。OPU26などに推定したHHP20の向きを表示し、ユーザからの入力を待って画像形成を開始してもよい。   After step S40 and step S50, the HHP 20 starts image formation for actually ejecting ink. The estimated orientation of the HHP 20 may be displayed on the OPU 26 or the like, and image formation may be started after input from the user.

以上、説明したように本実施例のHHP20によれば、移動方向に基づいてHHP20の向きを検出し、HHP20に対する画像データの相対位置を変更することで、画像形成の開始時において記録媒体12に対するHHP20の向きの制約を低減することができる。ユーザが動かした瞬間からHHP20が移動を検出するまでの情報処理時間でHHP20の記録媒体12に対する向きを検出可能である。この情報処理時間はナビゲーションセンサ30や制御部25の性能に依存して決定されるが、非常に短い時間なのでユーザが違和感を感じない程度で吐出を開始できる。   As described above, according to the HHP 20 of the present embodiment, the direction of the HHP 20 is detected based on the moving direction, and the relative position of the image data with respect to the HHP 20 is changed. The restriction on the orientation of the HHP 20 can be reduced. The direction of the HHP 20 with respect to the recording medium 12 can be detected by the information processing time from the moment when the user moves to the time when the HHP 20 detects the movement. This information processing time is determined depending on the performance of the navigation sensor 30 and the control unit 25, but since it is a very short time, the discharge can be started to the extent that the user does not feel uncomfortable.

<変形例>
図10(a)の処理では、図10(a)のステップS10で画像形成開始の契機が検出された位置と実際に吐出開始される位置がずれるため(画像形成開始の契機が検出されてから向きを検出するまでタイムラグがある)、ステップS20で画像形成開始の契機が検出された時点でHHP20の位置演算を開始してもよい。この場合のフローチャート図は図10(b)に示すようになる。
<Modification>
In the process of FIG. 10A, the position where the trigger of the image formation is detected in step S10 of FIG. 10A is different from the position where the ejection is actually started (after the detection of the trigger of the image formation is started). There is a time lag until the orientation is detected), and the position calculation of the HHP 20 may be started at the time when the trigger of the image formation start is detected in step S20. A flowchart in this case is as shown in FIG.

すなわち、ステップS10でYesと判定されると、位置算出部31は位置演算を開始する(S12)。したがって、画像形成開始の契機が検出された位置を画像データ105の原点(例えば左上コーナー)に設定することができる。これにより、ユーザが意図した画像形成の開始位置がずれることなどを抑制できる。   That is, when it is determined as Yes in step S10, the position calculation unit 31 starts the position calculation (S12). Therefore, the position where the trigger for starting the image formation is detected can be set as the origin of the image data 105 (for example, the upper left corner). Accordingly, it is possible to suppress a shift in the start position of the image formation intended by the user.

実施例1ではユーザが意図的にHHP20を移動させた場合、記録媒体12に対するHHP20の向きを検出できる。しかし、わずかな振動や揺れ、ユーザの誤動作等で意図した方向と逆にHHP20が移動した場合、ユーザが意図しない向きで画像形成されるおそれがある。そこで、本実施例では、ユーザが意図しないわずかな移動でHHP20の向きが推定されないよう、一定距離の移動が検出された場合に向きを推定するHHP20について説明する。   In the first embodiment, when the user intentionally moves the HHP 20, the orientation of the HHP 20 with respect to the recording medium 12 can be detected. However, if the HHP 20 moves in a direction opposite to the intended direction due to slight vibration or shaking or a malfunction of the user, an image may be formed in a direction not intended by the user. Therefore, in the present embodiment, a description will be given of the HHP 20 that estimates the direction when a movement of a certain distance is detected so that the direction of the HHP 20 is not estimated by a slight movement not intended by the user.

図11は、制御部25の機能ブロック図の一例を示す図である。図11では、図5において同一の符号を付した構成要素は同様の機能を果たすので、主に本実施例の主要な構成要素についてのみ説明する場合がある。図11の制御部25は、判定部36を有している。判定部36は、移動方向検出部31aが検出するX方向の移動量が一定距離より大きくなったか否かを判定する。一定距離はROM28に記憶されている。あるいは、OPU26からユーザが設定しDRAM29に記憶させておいてもよい。   FIG. 11 is a diagram illustrating an example of a functional block diagram of the control unit 25. In FIG. 11, components denoted by the same reference numerals in FIG. 5 perform the same function, and thus only the main components of the present embodiment will be described in some cases. The control unit 25 in FIG. 11 includes a determination unit 36. The determination unit 36 determines whether or not the amount of movement in the X direction detected by the movement direction detection unit 31a has exceeded a certain distance. The fixed distance is stored in the ROM 28. Alternatively, it may be set by the user from the OPU 26 and stored in the DRAM 29.

図12は、記録媒体12に対するHHP20の向きを検出しノズル61に対する画像データの相対位置を設定する手順を示すフローチャート図の一例である。図12の説明では主に図10(a)との相違を説明する。   FIG. 12 is an example of a flowchart illustrating a procedure for detecting the orientation of the HHP 20 with respect to the recording medium 12 and setting the relative position of the image data with respect to the nozzle 61. In the description of FIG. 12, differences from FIG. 10A will be mainly described.

ステップS30で左側に移動したと判定されると、判定部36が左側に一定距離より大きく移動したか否かを判定する(S32)。式(1)で得られるXが右側を正とすると、負値であるXの絶対値が一定距離より大きくなったか否かを判定する。   If it is determined in step S30 that the user has moved to the left, the determination unit 36 determines whether the user has moved to the left more than a certain distance (S32). Assuming that the right side of X obtained by Expression (1) is positive, it is determined whether or not the absolute value of X, which is a negative value, has become larger than a certain distance.

なお、一定距離より大きく移動したか否かは、総移動距離で判定する。すわなち、ステップS20で移動が検出された時点をゼロとして判定部36が移動距離を測定する。したがって、途中で動作を止めてもよい。例えば、一定距離を20〔cm〕とした場合、ユーザが左側に10〔cm〕移動させ、右側に15〔cm〕動かした場合、総移動距離は右側に5〔cm〕となる。   Note that whether or not the user has moved beyond a certain distance is determined based on the total moving distance. That is, the determination unit 36 measures the movement distance by setting the time point at which the movement is detected in step S20 to zero. Therefore, the operation may be stopped halfway. For example, if the fixed distance is 20 cm, the user moves 10 cm to the left and 15 cm to the right, and the total moving distance is 5 cm to the right.

ステップS32の判定がYesとなるまでは処理はステップS20に戻り、移動の検出から再度行われる。   Until the determination in step S32 becomes Yes, the process returns to step S20, and is performed again from the detection of the movement.

ステップS32の判定がYesになると、実施例1と同様に向き検出部32はHHP20が縦向きであると推定し、ノズル61と画像データの対応付けを変更する(S40)。   If the determination in step S32 is Yes, the direction detection unit 32 estimates that the HHP 20 is in the vertical direction, as in the first embodiment, and changes the association between the nozzle 61 and the image data (S40).

ステップS30で右側に移動したと判定されると、判定部36が右側に一定距離より大きく移動したか否かを判定する(S34)。式(1)で得られるXが右側を正とすると、正値であるXが一定距離より大きくなったか否かを判定する。ステップS32とS34の一定距離は同じでもよいし異なっていてもよい。記録媒体12の形状や移動方向によって、ユーザにとって適切な一定距離が異なると考えられるため、ステップS32とS34の一定距離が異なっていることで、最適な一定距離を設定できる。   If it is determined in step S30 that it has moved to the right, the determination unit 36 determines whether it has moved to the right more than a certain distance (S34). Assuming that the value of X obtained by Expression (1) is positive on the right side, it is determined whether or not the positive value X has become larger than a certain distance. The fixed distances in steps S32 and S34 may be the same or different. Since the constant distance appropriate for the user is considered to be different depending on the shape and the moving direction of the recording medium 12, the optimal constant distance can be set by the difference between the constant distances in steps S32 and S34.

ステップS34の判定がYesとなるまで処理はステップS20に戻り、移動の検出から再度行われる。   The process returns to step S20 until the determination in step S34 becomes Yes, and the processing is performed again from the detection of the movement.

ステップS34の判定がYesになると、向き検出部32はHHP20が縦向きであると推定する(S50)。右側への移動では対応付けを変更しなくてよいので、処理が終了する。   If the determination in step S34 is Yes, the orientation detection unit 32 estimates that the HHP 20 is in the portrait orientation (S50). Since the association does not need to be changed when moving to the right side, the process ends.

本実施例においても、位置算出部31は、位置演算をステップS32又はS34の後に開始してもよいし、ステップS10の直後に行ってもよい。位置演算をステップS32又はS34の後に開始する場合、向きの推定に必要な一定距離は余白として扱われる。   Also in the present embodiment, the position calculation unit 31 may start the position calculation after step S32 or S34, or may perform the position calculation immediately after step S10. When the position calculation is started after step S32 or S34, a certain distance required for estimating the direction is treated as a margin.

以上のように本実施例のHHP20は、ユーザが意図しないわずかな移動でHHP20の向きが推定されることを抑制できる。   As described above, the HHP 20 of the present embodiment can prevent the direction of the HHP 20 from being estimated by a slight movement not intended by the user.

本実施例では、距離ではなく時間でHHP20の向きを推定することで、ユーザが意図しないわずかな移動でHHP20の向きが推定されることを抑制するHHP20について説明する。   In the present embodiment, a description will be given of an HHP 20 that estimates the direction of the HHP 20 based on time instead of distance, and thereby suppresses estimation of the direction of the HHP 20 by a slight movement that the user does not intend.

図13は、制御部25の機能ブロック図の一例を示す図である。図13では、図11において同一の符号を付した構成要素は同様の機能を果たすので、主に本実施例の主要な構成要素についてのみ説明する場合がある。図13の制御部25は、時間測定部37を有している。時間測定部37は、移動方向検出部31aが右側又は左側への移動を検出すると経過時間の測定を開始する。移動方向が変わるとゼロから経過時間の測定を再開する。また、移動を開始してから一定時間が経過するとその旨を画像位置対応部34に通知する。   FIG. 13 is a diagram illustrating an example of a functional block diagram of the control unit 25. In FIG. 13, components denoted by the same reference numerals in FIG. 11 perform similar functions, and thus only the main components of the present embodiment will be described in some cases. The control unit 25 in FIG. 13 includes a time measuring unit 37. The time measuring unit 37 starts measuring the elapsed time when the moving direction detecting unit 31a detects the rightward or leftward movement. When the moving direction changes, the measurement of the elapsed time is restarted from zero. Further, when a certain time has elapsed since the start of the movement, the image position corresponding unit 34 is notified of the fact.

一定時間はROM28に記憶されている。あるいは、OPU26からユーザが設定しDRAM29に記憶させておいてもよい。   The fixed time is stored in the ROM 28. Alternatively, it may be set by the user from the OPU 26 and stored in the DRAM 29.

図14は、記録媒体12に対するHHP20の向きを検出しノズル61に対する画像データの相対位置を設定する手順を示すフローチャート図の一例である。図14の説明では主に図12との相違を説明する。   FIG. 14 is an example of a flowchart illustrating a procedure for detecting the orientation of the HHP 20 with respect to the recording medium 12 and setting the relative position of the image data with respect to the nozzle 61. In the description of FIG. 14, differences from FIG. 12 will be mainly described.

ステップS30で左側に移動したと判定されると、時間測定部37が経過時間の測定を開始し、左側への移動が継続して一定時間より長いか否かを判定する(S36)。一定時間に満たない左及び右への移動が検出された場合、処理はステップS20に戻り画像形成の開始位置(初期位置)の設定が行われる。これは、画像形成の開始位置が記録媒体12の領域外になる可能性があるためである。また、一定時間が経過する前にHHP20が一定距離以上移動した場合も、同様の理由で処理はステップS20に戻る。   If it is determined in step S30 that the movement to the left has been made, the time measuring unit 37 starts measuring the elapsed time, and determines whether the movement to the left has been continued for longer than a predetermined time (S36). If the movement to the left and right for less than the predetermined time is detected, the process returns to step S20, and the start position (initial position) of image formation is set. This is because there is a possibility that the start position of image formation is outside the area of the recording medium 12. Also, if the HHP 20 has moved a predetermined distance or more before the predetermined time has elapsed, the process returns to step S20 for the same reason.

また、一定時間が経過する前にHHP20が停止した場合、時間測定部37が測定する時間はゼロになる。これは、ユーザが意図しない移動を行った可能性が高いためである。   If the HHP 20 stops before the fixed time has elapsed, the time measured by the time measuring unit 37 becomes zero. This is because there is a high possibility that the user has performed an unintended movement.

ステップS36の判定がYesとなるまでは処理はステップS20に戻り、移動の検出から再度行われる。   Until the determination in step S36 becomes Yes, the process returns to step S20, and is performed again from the detection of the movement.

ステップS36の判定がYesになると、実施例1と同様に向き検出部32はHHP20が横向きであると推定し、画像位置対応部34はノズル61と画像データの対応付けを変更する(S40)。   If the determination in step S36 is Yes, as in the first embodiment, the direction detection unit 32 estimates that the HHP 20 is in the horizontal direction, and the image position corresponding unit 34 changes the association between the nozzle 61 and the image data (S40).

ステップS30で右側に移動したと判定されると、時間測定部37が時間の測定を開始し、右側への移動が継続して一定時間より長いか否かを判定する(S38)。判定方法はステップS36と同様である。ステップS36とS38の一定時間は同じでもよいし異なっていてもよい。記録媒体12の形状や移動方向によって、ユーザにとって適切な一定時間が異なると考えられるため、ステップS36とS38の一定時間が異なっていることで、最適な一定時間を設定できる。   If it is determined in step S30 that the movement has been made to the right, the time measurement unit 37 starts measuring time, and determines whether or not the movement to the right has been continued for longer than a predetermined time (S38). The determination method is the same as in step S36. The fixed time in steps S36 and S38 may be the same or different. Since the fixed time appropriate for the user is considered to be different depending on the shape and the moving direction of the recording medium 12, the optimum fixed time can be set by the different fixed times in steps S36 and S38.

ステップS38の判定がYesとなるまでは処理はステップS20に戻り、移動の検出から再度行われる。   Until the determination in step S38 becomes Yes, the process returns to step S20, and is performed again from the detection of the movement.

ステップS38の判定がYesになると、向き検出部32はHHP20が縦向きであると推定する(S50)。右側への移動では対応付けを変更しなくてよいので、処理が終了する。   If the determination in step S38 is Yes, the orientation detection unit 32 estimates that the HHP 20 is in the portrait orientation (S50). Since the association does not need to be changed when moving to the right side, the process ends.

本実施例においても、位置算出部31は、位置演算をステップS36又はS38の後に開始してもよいし、ステップS10の直後に行ってもよい。この場合、向きの推定に必要な一定距離は余白として扱われる。   Also in the present embodiment, the position calculation unit 31 may start the position calculation after step S36 or S38, or may perform the position calculation immediately after step S10. In this case, a certain distance required for estimating the direction is treated as a margin.

以上のように本実施例のHHP20は、ユーザが意図しないわずかな移動でHHP20の向きが推定されることを抑制できる。ユーザがゆっくりと移動させれば実施例2よりも余白を小さくすることができる。   As described above, the HHP 20 of the present embodiment can prevent the direction of the HHP 20 from being estimated by a slight movement not intended by the user. If the user moves slowly, the margin can be made smaller than in the second embodiment.

また、実施例2と3を組み合わせ、一定距離より大きく移動したこと、又は、一定時間より長く移動したことのいずれか一方が満たされた場合、HHP20の向きを推定してもよい。   Further, the combination of the second and third embodiments may be used to estimate the direction of the HHP 20 when either one of a movement longer than a certain distance or a movement longer than a certain time is satisfied.

実施例1〜3では移動方向検出部31aにより移動方向を検出することで、向き検出部32がHHP20の向きを推定していた。本実施例では、人感センサによってHHP20の向きを検出するHHP20について説明する。   In the first to third embodiments, the direction detecting unit 32 estimates the direction of the HHP 20 by detecting the moving direction by the moving direction detecting unit 31a. In the present embodiment, an HHP 20 that detects the direction of the HHP 20 using a human sensor will be described.

図15は、HHP20に配置された人感センサ41a〜41dを説明するための図の一例である。図15(a)は斜視図を示し、図15(b)は上面図を示す。図15ではHHP20を立方体と見なし、HHP20の4つの側面にそれぞれ人感センサ41a〜41dが配置される。   FIG. 15 is an example of a diagram for explaining the motion sensors 41a to 41d arranged on the HHP 20. FIG. 15A shows a perspective view, and FIG. 15B shows a top view. In FIG. 15, the HHP 20 is regarded as a cube, and human sensors 41 a to 41 d are arranged on four sides of the HHP 20.

人感センサ41a〜41dは、HHP20から所定距離内の人間を検出するセンサである。人感センサ41a〜41dとしては、例えば赤外線の変化を検出する焦電センサーが用いられる。すなわち、周囲の温度変化を感知すると人が所在していることを検知する。赤外線の他、超音波や可視光(カメラ)を使用してよい。   The human sensors 41a to 41d are sensors that detect a person within a predetermined distance from the HHP 20. As the human sensors 41a to 41d, for example, pyroelectric sensors that detect changes in infrared rays are used. That is, when a change in the surrounding temperature is sensed, the presence of a person is detected. In addition to infrared light, ultrasonic waves or visible light (camera) may be used.

したがって、人感センサ41a〜41dは、HHP20の4つの側面から所定距離内に人が存在することを検出する。図15(c)に示すようにHHP20が記録媒体12に対し縦向きである場合、下側の人感センサ41dが人を検出する。図15(d)に示すようにHHP20が記録媒体12に対し横向きである場合、左側の人感センサ41aがユーザを検出する。図15(c)(d)から明らかなように所定距離は最低でも記録媒体12の長さより長い必要がある。一方、各側面の人感センサ41a〜41dの感度は同じでなくてもよい。   Therefore, the human sensors 41a to 41d detect that a person exists within a predetermined distance from the four side surfaces of the HHP 20. As shown in FIG. 15C, when the HHP 20 is oriented vertically with respect to the recording medium 12, the lower human sensor 41d detects a person. As shown in FIG. 15D, when the HHP 20 is oriented sideways with respect to the recording medium 12, the human sensor 41a on the left side detects the user. As is clear from FIGS. 15C and 15D, the predetermined distance needs to be at least longer than the length of the recording medium 12. On the other hand, the sensitivities of the human sensors 41a to 41d on each side need not be the same.

図16は、HHP20のハードウェア構成図の一例を示す。図16では、図4において同一の符号を付した構成要素は同様の機能を果たすので、主に本実施例の主要な構成要素についてのみ説明する場合がある。本実施例のHHP20は4つの人感センサ41a〜41dを有しそれぞれが制御部25と接続されている。   FIG. 16 shows an example of a hardware configuration diagram of the HHP 20. In FIG. 16, components denoted by the same reference numerals in FIG. 4 perform similar functions, and thus only the main components of the present embodiment will be described in some cases. The HHP 20 of this embodiment has four motion sensors 41 a to 41 d, each of which is connected to the control unit 25.

図17は、本実施例における制御部25の機能ブロック図の一例を示す図である。図17では、図5において同一の符号を付した構成要素は同様の機能を果たすので、主に本実施例の主要な構成要素についてのみ説明する場合がある。図17の制御部25は、人検出部38を有している。人検出部38は、人感センサ41a〜41dからの信号を解析して、各人感センサ41a〜41dが人を検知したか否かを判定する。   FIG. 17 is a diagram illustrating an example of a functional block diagram of the control unit 25 in the present embodiment. In FIG. 17, components denoted by the same reference numerals in FIG. 5 perform the same function, and thus only the main components of the present embodiment will be described in some cases. The control unit 25 in FIG. 17 includes a person detection unit 38. The human detection unit 38 analyzes signals from the human presence sensors 41a to 41d and determines whether each of the human presence sensors 41a to 41d has detected a human.

向き検出部32は、人検出部38の検出結果に応じてHHP20の向きを以下のように推定する。
・下側の人感センサが人を検出した…縦向き(上方向に先頭ノズル)
・左側の人感センサが人を検出した…横向き(左方向に先頭ノズル)
・右側の人感センサが人を検出した…横向き(右方向に先頭ノズル)
・上側の人感センサが人を検出した…縦向き(下方向に先頭ノズル)
したがって、HHP20が縦向きか横向きかだけでなくノズル61の向きも検出できるため、実施例1〜3よりもHHP20の向きを細かく推定できる。
The direction detection unit 32 estimates the direction of the HHP 20 according to the detection result of the person detection unit 38 as follows.
・ The lower human sensor detects a person ... Vertical (top nozzle upward)
・ The human sensor on the left side detects a person ... Landscape (Lead nozzle at left)
・ The human sensor on the right side detects a person ... Landscape (first nozzle to the right)
・ The upper human sensor detects a person ... Vertical (first nozzle downward)
Therefore, since the direction of the nozzle 61 can be detected as well as whether the HHP 20 is portrait or landscape, the orientation of the HHP 20 can be estimated more finely than in the first to third embodiments.

図18は、記録媒体12に対するHHP20の向きを検出しノズル61に対する画像データの相対位置を設定する手順を示すフローチャート図の一例である。図18の処理は、HHP20の電源がONの間、繰り返し実行される。   FIG. 18 is an example of a flowchart illustrating a procedure for detecting the orientation of the HHP 20 with respect to the recording medium 12 and setting the relative position of the image data with respect to the nozzle 61. The process of FIG. 18 is repeatedly executed while the power of the HHP 20 is ON.

まず、人検出部38は、左側の人感センサ41aが人を検出したか否かを判定する(S110)。   First, the person detection unit 38 determines whether or not the human sensor 41a on the left side has detected a person (S110).

ステップS110の判定がNoの場合、人検出部38は、右側の人感センサ41bが人を検出したか否かを判定する(S120)。   If the determination in step S110 is No, the human detection unit 38 determines whether the right human sensor 41b has detected a human (S120).

ステップS120の判定がNoの場合、人検出部38は、上側の人感センサ41cが人を検出したか否かを判定する(S130)。   If the determination in step S120 is No, the human detection unit 38 determines whether or not the upper human sensor 41c has detected a human (S130).

ステップS130の判定がNoの場合、人検出部38は、下側の人感センサ41dが人を検出したか否かを判定する(S140)。   If the determination in step S130 is No, the human detection unit 38 determines whether the lower human sensor 41d has detected a human (S140).

ステップS140の判定がNoの場合、処理はステップS110に戻り、ステップS140の判定がYesの場合、画像形成開始の契機が検出されることで処理が終了し、画像形成が開始される(S150のYes)。すなわち、インクの吐出が開始される。画像形成開始の契機が検出されるまでは(S150のNo)、ユーザがHHP20の配置を変更する可能性があるので処理はステップS110に戻る。   If the determination in step S140 is No, the process returns to step S110. If the determination in step S140 is Yes, the process ends when an opportunity to start image formation is detected, and image formation starts (step S150). Yes). That is, the ejection of the ink is started. Until a trigger to start the image formation is detected (No in S150), the process returns to step S110 because the user may change the arrangement of the HHPs 20.

ステップS110〜S130の判定がYesの場合、人検出部38は他の人感センサが人を検出したか否かを判定する(S160)。2つ以上の人感センサが反応した場合は向きを特定できないため、ステップS110から人の検出をやり直す。   If the determination in steps S110 to S130 is Yes, the human detection unit 38 determines whether or not another human sensor has detected a human (S160). If two or more human sensors have reacted, the direction cannot be specified, so the detection of the human is repeated from step S110.

ステップS160の判定がNoの場合、向き検出部32がHHP20の向きを推定し、画像位置対応部34はノズル61と画像データの対応づけを変更する(S170)。   If the determination in step S160 is No, the orientation detection unit 32 estimates the orientation of the HHP 20, and the image position correspondence unit 34 changes the association between the nozzle 61 and the image data (S170).

例えば、左側の人感センサ41aが人を検出した場合の対応付けは、図9(b)(c)と同じでよい。右側の人感センサ41bが人を検出した場合の対応付けについて図19(a)(b)を用いて説明する。図19(a)は、HHP20が記録媒体12に対し横向き(右方向に先頭ノズル)である場合のノズル61と画像データの対応を説明する図である。標準状態では、先頭ノズル61sが画像データ105の左上の原点と対応づけられ、先頭以降のノズル61が画像データの左辺の画像と対応づけられている。これに対し、HHP20は記録媒体12に対し横向きであるため、このまま画像形成すると画像が記録媒体12からはみ出してしまう。   For example, the correspondence when the human sensor 41a on the left side detects a person may be the same as in FIGS. 9B and 9C. The association when the human sensor 41b on the right side detects a person will be described with reference to FIGS. FIG. 19A is a diagram illustrating the correspondence between the nozzles 61 and the image data when the HHP 20 is oriented sideways with respect to the recording medium 12 (the first nozzle in the right direction). In the standard state, the head nozzle 61s is associated with the origin at the upper left of the image data 105, and the nozzles 61 after the head are associated with the image on the left side of the image data. On the other hand, since the HHP 20 is oriented sideways with respect to the recording medium 12, if the image is formed as it is, the image protrudes from the recording medium 12.

そこで、図19(b)に示すように、画像位置対応部34はHHP20に対する画像データの相対位置を変更する。すなわち、最後尾ノズル61eを画像データの左上の原点と対応づけ、最後尾以外のノズル61を該ノズルの位置に応じた画像データの上辺の画像と対応づける。こうすることで、記録媒体12に画像データを形成することができる。   Therefore, as shown in FIG. 19B, the image position corresponding unit 34 changes the relative position of the image data with respect to the HHP 20. That is, the last nozzle 61e is associated with the origin at the upper left of the image data, and the nozzles 61 other than the last are associated with the upper image of the image data corresponding to the position of the nozzle. By doing so, image data can be formed on the recording medium 12.

次に、上側の人感センサ41cが人を検出した場合の対応付けについて図19(c)(d)を用いて説明する。図19(c)は、HHP20が記録媒体12に対し縦向き(下方向に先頭ノズル)である場合のノズル61と画像データの対応を説明する図である。この場合も、このまま画像形成すると画像が記録媒体12からはみ出してしまう。   Next, the association when the upper human sensor 41c detects a person will be described with reference to FIGS. FIG. 19C is a diagram illustrating the correspondence between the nozzles 61 and image data when the HHP 20 is oriented vertically (the first nozzle downward) with respect to the recording medium 12. Also in this case, if the image is formed as it is, the image protrudes from the recording medium 12.

そこで、図19(d)に示すように、画像位置対応部34はHHP20に対する画像データの相対位置を変更する。すなわち、最後尾ノズル61eを画像データの左上の原点と対応づけ、最後尾以外のノズル61を該ノズル61の位置に応じた画像データの左辺の画像と対応づける。こうすることで、記録媒体12に画像データを形成することができる。   Therefore, as shown in FIG. 19D, the image position corresponding unit 34 changes the relative position of the image data with respect to the HHP 20. That is, the last nozzle 61e is associated with the origin at the upper left of the image data, and the nozzles 61 other than the last are associated with the image on the left side of the image data corresponding to the position of the nozzle 61. By doing so, image data can be formed on the recording medium 12.

ノズル61と画像データの対応付けが変更されると、ステップS150に示すように、画像形成開始の契機が検出されることで、画像形成が開始される。   When the association between the nozzle 61 and the image data is changed, as shown in step S150, an image forming start is detected by detecting a trigger to start the image forming.

以上のように、本実施例のHHP20は人感センサを用いることで、HHP20が縦向きか横向きかだけでなく、先頭ノズル61sがどちらの向きかを検出できるため、HHP20の向きの制約をさらに低減できる。   As described above, the HHP 20 of the present embodiment uses the human sensor to detect not only whether the HHP 20 is in the vertical direction or the horizontal direction but also the direction of the leading nozzle 61 s, and further restricts the direction of the HHP 20. Can be reduced.

本実施例では、HHP20の向きではなく記録媒体12に対する初期位置を推定するHHP20について説明する。これにより、ユーザは記録媒体12の右上からも画像形成を開始することができる。   In this embodiment, the HHP 20 that estimates the initial position with respect to the recording medium 12 instead of the orientation of the HHP 20 will be described. Thus, the user can start image formation from the upper right of the recording medium 12 as well.

図20は、本実施例における制御部25の機能ブロック図の一例を示す。図20では、図5において同一の符号を付した構成要素は同様の機能を果たすので、主に本実施例の主要な構成要素についてのみ説明する場合がある。図20の制御部25は、初期位置検出部39を有している。初期位置検出部39は、移動方向検出部31aが算出する移動方向に応じてHHP20の記録媒体12に対する画像形成の開始位置(初期位置)を検出する。詳細は図21を用いて説明する。   FIG. 20 illustrates an example of a functional block diagram of the control unit 25 in the present embodiment. In FIG. 20, components denoted by the same reference numerals in FIG. 5 perform the same function, and thus, only the main components of the present embodiment will be mainly described in some cases. The control unit 25 in FIG. 20 includes an initial position detection unit 39. The initial position detection unit 39 detects the start position (initial position) of image formation of the HHP 20 on the recording medium 12 according to the movement direction calculated by the movement direction detection unit 31a. Details will be described with reference to FIG.

図21は、本実施例においてHHP20を記録媒体12に対し配置した場合の配置例を示す。図21(a)ではHHP20が記録媒体12に対し縦向きである。一方、図21(b)でもHHP20が記録媒体12に対し縦向きであるが、画像形成の開始位置が記録媒体12の右上になっている。したがって、図21(b)の場合、HHP20はHHP20に対する画像データの相対位置を変更する必要がある。   FIG. 21 shows an arrangement example when the HHP 20 is arranged on the recording medium 12 in this embodiment. In FIG. 21A, the HHP 20 is oriented vertically with respect to the recording medium 12. On the other hand, in FIG. 21B, the HHP 20 is vertically oriented with respect to the recording medium 12, but the start position of image formation is at the upper right of the recording medium 12. Therefore, in the case of FIG. 21B, the HHP 20 needs to change the relative position of the image data with respect to the HHP 20.

図21(b)のように配置された場合、ユーザはHHP20を左側に移動させるはずである。したがって、HHP20の左側への移動を検出した場合、初期位置検出部39は記録媒体12に対するHHP20の位置(画像形成の開始位置)が記録媒体12の右上であると検出する。すなわち、実施例1〜3では移動方向によってHHP20の記録媒体12に対する向きが検出されたが、本実施例では画像形成の開始位置が検出される。   When arranged as shown in FIG. 21B, the user should move the HHP 20 to the left. Therefore, when the movement of the HHP 20 to the left is detected, the initial position detection unit 39 detects that the position of the HHP 20 with respect to the recording medium 12 (the start position of image formation) is at the upper right of the recording medium 12. That is, in the first to third embodiments, the direction of the HHP 20 with respect to the recording medium 12 is detected based on the moving direction. In the present embodiment, the start position of image formation is detected.

画像形成の開始位置が検出されると、画像位置対応部34は、HHP20に対する画像データの相対位置を設定する。図22(c)に示すように、先頭ノズル61sを画像データの右上のコーナーと対応づけ、先頭以降のノズル61を該ノズル61の位置に応じた画像データの右辺の画像と対応づける。   When the start position of the image formation is detected, the image position corresponding unit 34 sets the relative position of the image data with respect to the HHP 20. As shown in FIG. 22 (c), the leading nozzle 61s is associated with the upper right corner of the image data, and the leading nozzle 61 is associated with the image on the right side of the image data corresponding to the position of the nozzle 61.

図22は、記録媒体12に対するHHP20の向きを検出しノズル61に対する画像データの相対位置を設定する手順を示すフローチャート図の一例である。図22では、図10(a)との違いを主に説明する。   FIG. 22 is an example of a flowchart illustrating a procedure for detecting the orientation of the HHP 20 with respect to the recording medium 12 and setting the relative position of the image data with respect to the nozzle 61. FIG. 22 mainly describes differences from FIG. 10A.

ステップS30で左側に移動したと判定されると、初期位置検出部39は画像形成の開始位置が右上であると検出する(S39)。   If it is determined in step S30 that the image has moved to the left, the initial position detection unit 39 detects that the start position of image formation is at the upper right (S39).

この場合、画像位置対応部34は、ノズルと画像データの対応付けを変更することで、HHP20に対する画像データの相対位置を設定する(S41)。   In this case, the image position corresponding unit 34 sets the relative position of the image data with respect to the HHP 20 by changing the association between the nozzle and the image data (S41).

一方、ステップS30で右側に移動したと判定されると、画像形成の開始位置が左上であると推定できるので、処理が終了する。   On the other hand, if it is determined in step S30 that the image has been moved to the right, the start position of image formation can be estimated to be at the upper left, and the process ends.

したがって、本実施例によれば、移動方向を検出することでHHP20の画像形成の開始位置を検出し、HHP20に対する画像データの相対位置を設定することができる。   Therefore, according to the present embodiment, by detecting the moving direction, the start position of image formation of the HHP 20 can be detected, and the relative position of the image data with respect to the HHP 20 can be set.

なお、HHP20としては、実施例1のように判定すべきか本実施例のように判定すべきか不明であるので、例えばユーザがOPU26などから指定することが好ましい。   It is unknown whether the HHP 20 should be determined as in the first embodiment or the present embodiment. Therefore, it is preferable that the user designates the HHP 20 from the OPU 26 or the like.

<その他の適用例>
以上、本発明を実施するための最良の形態について実施例を用いて説明したが、本発明はこうした実施例に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。
<Other application examples>
As described above, the best mode for carrying out the present invention has been described using the embodiment. However, the present invention is not limited to the embodiment, and various modifications may be made without departing from the gist of the present invention. And substitutions can be made.

例えば、上記の実施例では、右又は左への移動方向を検出したが、HHP20の本体の横方向に並行にノズル61が配列されている場合、下向きや上向きへの移動を検出する場合があり得る。   For example, in the above embodiment, the direction of movement to the right or left is detected. However, when the nozzles 61 are arranged in parallel with the horizontal direction of the main body of the HHP 20, the movement in the downward or upward direction may be detected. obtain.

また、図4のハードウェア構成図や図5等の機能ブロック図は、HHP20による処理の理解を容易にするために、主な機能に応じて分割したものである。処理単位の分割の仕方や名称によって本願発明が制限されることはない。HHP20の処理は、処理内容に応じてさらに多くの処理単位に分割することもできる。また、1つの処理単位がさらに多くの処理を含むように分割することもできる。   In addition, the hardware configuration diagram in FIG. 4 and the functional block diagrams in FIG. 5 and the like are divided according to main functions in order to facilitate understanding of processing by the HHP 20. The present invention is not limited by the way of dividing the processing unit or the name. The processing of the HHP 20 can be divided into more processing units according to the processing content. Further, it is also possible to divide the processing unit so that one processing unit includes more processing.

また、本実施形態ではインクを吐出して画像を形成すると説明したが、可視光、紫外線、赤外線、レーザなどを照射して画像を形成してもよい。この場合、記録媒体12として例えば熱や光に反応するものが用いられる。また、透明な液体を吐出してもよい。この場合、特定の波長域の光が照射されると可視情報が得られる。さらに、導電性金属、樹脂、ペーストなどを吐出してもよい。   In the present embodiment, an image is formed by discharging ink, but an image may be formed by irradiating visible light, ultraviolet light, infrared light, laser, or the like. In this case, for example, a recording medium 12 that responds to heat or light is used. Further, a transparent liquid may be discharged. In this case, visible light is obtained when light in a specific wavelength range is irradiated. Further, a conductive metal, resin, paste, or the like may be discharged.

また、HHP20はユーザによって移動される他、モータなどで自走することで記録媒体12の表面を移動してよい。   The HHP 20 may be moved by the user, or may move on the surface of the recording medium 12 by self-propelled by a motor or the like.

なお、画像位置対応部34は相対位置設定手段の一例であり、記録ヘッド制御部35は画像形成手段である。向き検出部32は向き推定手段の一例であり、判定部36は判定手段の一例であり、時間測定部37は時間測定手段の一例であり、初期位置検出部39は初期位置検出手段の一例である。人感センサ41a〜41dは人検出センサの一例である。実施例1〜5で説明した処理の方法は液体吐出方法の一例である。HHP20が行う画像形成の方法は画像形成方法の一例である。   Note that the image position corresponding unit 34 is an example of a relative position setting unit, and the recording head control unit 35 is an image forming unit. The direction detecting unit 32 is an example of a direction estimating unit, the determining unit 36 is an example of a determining unit, the time measuring unit 37 is an example of a time measuring unit, and the initial position detecting unit 39 is an example of an initial position detecting unit. is there. The human sensors 41a to 41d are examples of a human detection sensor. The processing method described in the first to fifth embodiments is an example of the liquid discharging method. The image forming method performed by the HHP 20 is an example of the image forming method.

30 :ナビゲーションセンサ
31 :位置算出部
31a :移動方向検出部
32 :向き検出部
33 :画像処理部
34 :画像位置対応部
35 :記録ヘッド制御部
36 :判定部
37 :時間測定部
38 :人検出部
39 :初期位置検出部
41a〜41d :人感センサ
61 :ノズル
Reference Signs List 30: navigation sensor 31: position calculating unit 31a: moving direction detecting unit 32: direction detecting unit 33: image processing unit 34: image position corresponding unit 35: recording head control unit 36: determining unit 37: time measuring unit 38: human detection Unit 39: Initial position detection unit 41a to 41d: Human sensor 61: Nozzle

特許第5033247号公報Japanese Patent No. 5033247

Claims (10)

記録媒体上を移動しながら画像を形成する液体吐出装置であって、
前記記録媒体上の位置を検出する位置検出手段と、
前記液体吐出装置の移動方向を検出する移動方向検出手段と、
前記移動方向検出手段が検出した前記移動方向に応じて、前記記録媒体に対する前記液体吐出装置の向きを推定する向き推定手段と、
前記液体吐出装置の前記位置を用いて前記移動方向への移動距離が一定距離より大きくなったか否かを判定する判定手段と、
前記判定手段が前記移動方向への移動距離が一定距離より大きくなったと判定した場合、 前記向き推定手段が推定した前記記録媒体に対する前記液体吐出装置の向きに応じて前記記録媒体上の吐出位置を設定する位置設定手段と、
前記位置設定手段によって設定された吐出位置に対応する画像を前記記録媒体に形成する画像形成手段と、
を有する液体吐出装置。
A liquid ejecting apparatus that forms an image while moving on a recording medium,
Position detecting means for detecting a position on the recording medium,
Moving direction detecting means for detecting a moving direction of the liquid ejection device,
Direction estimating means for estimating the direction of the liquid ejecting apparatus with respect to the recording medium according to the moving direction detected by the moving direction detecting means;
Determining means for determining whether or not the movement distance in the movement direction using the position of the liquid ejection device is greater than a certain distance;
When the determining unit determines that the moving distance in the moving direction is larger than a certain distance , the discharging position on the recording medium is changed according to the direction of the liquid discharging device with respect to the recording medium estimated by the direction estimating unit. Position setting means to be set;
Image forming means for forming an image corresponding to the ejection position set by the position setting means on the recording medium,
A liquid ejection device having:
前記移動方向へ継続して移動する経過時間を測定する時間測定手段を有し、
前記経過時間が一定時間より長くなった場合、前記位置設定手段は前記移動方向に応じて前記記録媒体上の吐出位置を設定する請求項1に記載の液体吐出装置。
It has a time measuring means for measuring an elapsed time of continuously moving in the moving direction,
2. The liquid ejection apparatus according to claim 1 , wherein when the elapsed time is longer than a predetermined time, the position setting unit sets an ejection position on the recording medium according to the moving direction.
前記移動方向への移動距離が前記一定距離より大きくなった場合、又は、前記経過時間が前記一定時間より長くなった場合の少なくとも一方を満たす場合、前記位置設定手段は前記移動方向に応じて前記記録媒体上の吐出位置を設定する請求項2に記載の液体吐出装置。 If the moving distance in the moving direction is longer than the certain distance, or if at least one of the case where the elapsed time is longer than the certain time is satisfied, the position setting means sets the position according to the moving direction. 3. The liquid ejection device according to claim 2 , wherein the ejection position on the recording medium is set. 前記一定距離は前記移動方向によって異なり、前記一定時間は前記移動方向によって異なる請求項3に記載の液体吐出装置。 4. The liquid ejecting apparatus according to claim 3 , wherein the fixed distance differs depending on the moving direction, and the fixed time differs depending on the moving direction. 複数の側面にそれぞれ配置された人の存在を検出する複数の人検出センサを有し、記録媒体上を移動しながら画像を形成する液体吐出装置であって、
前記記録媒体上の位置を検出する位置検出手段と、
人の存在を検出した前記人検出センサが配置されている前記側面に応じて前記記録媒体に対する前記液体吐出装置の向きを検出する向き推定手段と、
前記向き推定手段が推定した前記記録媒体に対する前記液体吐出装置の向きに応じて前記記録媒体上の吐出位置を設定する位置設定手段と、
前記位置設定手段によって設定された吐出位置に対応する画像を前記記録媒体に形成する画像形成手段と、
を有する液体吐出装置。
A liquid ejection device that has a plurality of human detection sensors that detect the presence of a person arranged on each of a plurality of side surfaces and forms an image while moving on a recording medium,
Position detecting means for detecting a position on the recording medium,
Orientation estimation means for detecting the orientation of the liquid ejection device with respect to the recording medium according to the side surface on which the human detection sensor that has detected the presence of a human is arranged;
Position setting means for setting an ejection position on the recording medium according to the orientation of the liquid ejection device with respect to the recording medium estimated by the orientation estimation means;
Image forming means for forming an image corresponding to the ejection position set by the position setting means on the recording medium,
A liquid ejection device having:
前記液体吐出装置の移動方向を検出する移動方向検出手段と、
前記移動方向に応じて前記記録媒体に対する前記液体吐出装置の初期位置を検出する初期位置検出手段と、を有し、
前記位置設定手段は、前記初期位置検出手段が検出した初期位置に応じて、前記記録媒体上の吐出位置を設定する請求項1又は5に記載の液体吐出装置。
Moving direction detecting means for detecting a moving direction of the liquid ejection device,
Anda initial position detecting means for detecting the initial position of the liquid ejection device for said recording medium in accordance with the moving direction,
Said position setting means, in response to the initial position where the initial position detecting unit detects a liquid discharge apparatus according to claim 1 or 5 for setting the discharge position on the recording medium.
記録媒体上を移動しながら画像を形成する液体吐出装置によって行われる液体吐出方法であって、
位置検出手段が、前記記録媒体上の位置を検出するステップと、
移動方向検出手段が、前記液体吐出装置の移動方向を検出するステップと、
向き推定手段が、前記移動方向検出手段が検出した前記移動方向に応じて、前記記録媒体に対する前記液体吐出装置の向きを推定するステップと、
判定手段が、前記液体吐出装置の前記位置を用いて前記移動方向への移動距離が一定距離より大きくなったか否かを判定するステップと、
前記判定手段が前記移動方向への移動距離が一定距離より大きくなったと判定した場合、 位置設定手段が、前記向き推定手段が推定した前記記録媒体に対する前記液体吐出装置の向きに応じて前記記録媒体上の吐出位置を設定するステップと、
画像形成手段が、前記位置設定手段によって設定された吐出位置に対応する画像を前記記録媒体に形成するステップと、
を有する液体吐出方法。
A liquid ejection method performed by a liquid ejection apparatus that forms an image while moving on a recording medium,
Position detecting means for detecting a position on the recording medium,
Moving direction detecting means for detecting a moving direction of the liquid ejection device;
A direction estimating means for estimating a direction of the liquid ejection device with respect to the recording medium in accordance with the moving direction detected by the moving direction detecting means;
Determining means for determining whether or not the movement distance in the movement direction is greater than a certain distance using the position of the liquid ejection device;
When the determining unit determines that the moving distance in the moving direction is larger than a certain distance, the position setting unit sets the recording medium in accordance with the orientation of the liquid ejection device with respect to the recording medium estimated by the orientation estimating unit. Setting the upper ejection position;
Image forming means for forming an image corresponding to the ejection position set by the position setting means on the recording medium;
A liquid ejection method comprising:
複数の側面にそれぞれ配置された人の存在を検出する複数の人検出センサを有し、記録媒体上を移動しながら画像を形成する液体吐出装置によって行われる液体吐出方法であって、
位置検出手段が、前記記録媒体上の位置を検出するステップと、
向き推定手段が、人の存在を検出した前記人検出センサが配置されている前記側面に応じて前記記録媒体に対する前記液体吐出装置の向きを検出するステップと、
位置設定手段が、前記向き推定手段が推定した前記記録媒体に対する前記液体吐出装置の向きに応じて前記記録媒体上の吐出位置を設定するステップと、
画像形成手段が、前記位置設定手段によって設定された吐出位置に対応する画像を前記記録媒体に形成するステップと、
を有する液体吐出方法。
A liquid discharge method performed by a liquid discharge device that has a plurality of human detection sensors that detect the presence of a person arranged on each of a plurality of side surfaces and forms an image while moving on a recording medium,
Position detecting means for detecting a position on the recording medium,
A direction estimating means for detecting a direction of the liquid ejection device with respect to the recording medium according to the side surface on which the human detection sensor that has detected the presence of a person is arranged;
Position setting means for setting an ejection position on the recording medium according to the orientation of the liquid ejection device with respect to the recording medium estimated by the orientation estimation means;
Image forming means for forming an image corresponding to the ejection position set by the position setting means on the recording medium;
A liquid ejection method comprising:
記録媒体上を移動しながら画像を形成する液体吐出装置を、
前記記録媒体上の位置を検出する位置検出手段と、
前記液体吐出装置の移動方向を検出する移動方向検出手段と、
前記移動方向検出手段が検出した前記移動方向に応じて、前記記録媒体に対する前記液体吐出装置の向きを推定する向き推定手段と、
前記液体吐出装置の前記位置を用いて前記移動方向への移動距離が一定距離より大きくなったか否かを判定する判定手段と、
前記判定手段が前記移動方向への移動距離が一定距離より大きくなったと判定した場合、 前記向き推定手段が推定した前記記録媒体に対する前記液体吐出装置の向きに応じて前記記録媒体上の吐出位置を設定する位置設定手段と、
前記位置設定手段によって設定された吐出位置に対応する画像を前記記録媒体に形成する画像形成手段、として機能させるプログラム。
A liquid ejection device that forms an image while moving on a recording medium,
Position detecting means for detecting a position on the recording medium,
Moving direction detecting means for detecting a moving direction of the liquid ejection device,
Direction estimating means for estimating the direction of the liquid ejecting apparatus with respect to the recording medium according to the moving direction detected by the moving direction detecting means;
Determining means for determining whether or not the movement distance in the movement direction using the position of the liquid ejection device is greater than a certain distance;
When the determining unit determines that the moving distance in the moving direction is larger than a certain distance , the discharging position on the recording medium is changed according to the direction of the liquid discharging device with respect to the recording medium estimated by the direction estimating unit. Position setting means to be set;
A program functioning as image forming means for forming an image corresponding to the ejection position set by the position setting means on the recording medium.
複数の側面にそれぞれ配置された人の存在を検出する複数の人検出センサを有し、記録媒体上を移動しながら画像を形成する液体吐出装置を、
前記記録媒体上の位置を検出する位置検出手段と、
人の存在を検出した前記人検出センサが配置されている前記側面に応じて前記記録媒体に対する前記液体吐出装置の向きを検出する向き推定手段と、
前記向き推定手段が推定した前記記録媒体に対する前記液体吐出装置の向きに応じて前記記録媒体上の吐出位置を設定する位置設定手段と、
前記位置設定手段によって設定された吐出位置に対応する画像を前記記録媒体に形成する画像形成手段、として機能させるプログラム。
A liquid ejection device that has a plurality of human detection sensors that detect the presence of a person arranged on each of a plurality of side surfaces and forms an image while moving on a recording medium,
Position detecting means for detecting a position on the recording medium,
Orientation estimation means for detecting the orientation of the liquid ejection device with respect to the recording medium according to the side surface on which the human detection sensor that has detected the presence of a human is arranged;
Position setting means for setting an ejection position on the recording medium according to the orientation of the liquid ejection device with respect to the recording medium estimated by the orientation estimation means;
A program functioning as image forming means for forming an image corresponding to the ejection position set by the position setting means on the recording medium.
JP2015242358A 2015-12-11 2015-12-11 Liquid ejection device, liquid ejection method, and program Active JP6627476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015242358A JP6627476B2 (en) 2015-12-11 2015-12-11 Liquid ejection device, liquid ejection method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015242358A JP6627476B2 (en) 2015-12-11 2015-12-11 Liquid ejection device, liquid ejection method, and program

Publications (2)

Publication Number Publication Date
JP2017105122A JP2017105122A (en) 2017-06-15
JP6627476B2 true JP6627476B2 (en) 2020-01-08

Family

ID=59058773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015242358A Active JP6627476B2 (en) 2015-12-11 2015-12-11 Liquid ejection device, liquid ejection method, and program

Country Status (1)

Country Link
JP (1) JP6627476B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7047359B2 (en) * 2017-12-07 2022-04-05 カシオ計算機株式会社 Printing equipment, printing methods and programs for printing equipment
JP7298344B2 (en) * 2018-09-05 2023-06-27 株式会社リコー IMAGE FORMING APPARATUS, INFORMATION PROCESSING APPARATUS, IMAGE FORMING METHOD, AND PROGRAM
JP7415598B2 (en) 2020-01-29 2024-01-17 セイコーエプソン株式会社 Printing devices and methods of controlling them

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003136786A (en) * 2001-11-01 2003-05-14 Fuji Photo Film Co Ltd Scanning printer
US8083422B1 (en) * 2007-03-02 2011-12-27 Marvell International Ltd. Handheld tattoo printer

Also Published As

Publication number Publication date
JP2017105122A (en) 2017-06-15

Similar Documents

Publication Publication Date Title
JP6897167B2 (en) Droplet ejection device, droplet ejection method, program
US10308014B2 (en) Non-transitory recording medium, image forming device, and image forming system
JP6409435B2 (en) Printing apparatus, printing system, and printing method
JP6384262B2 (en) Printing apparatus, method and program
US9944089B2 (en) Image forming apparatus and image forming method
JP7120348B2 (en) image forming device
JP6627476B2 (en) Liquid ejection device, liquid ejection method, and program
JP2020040382A (en) Image forming device, control method and control program
JP7183642B2 (en) Data generation system, communication terminal, image forming apparatus and program
JP2016137621A (en) Handheld recorder
US11006016B2 (en) Image forming apparatus, image forming method, and storage medium
JP6717042B2 (en) Position detection device, droplet discharge device
JP6844145B2 (en) Position detection device, droplet ejection device, program, position detection method
JP2016179660A (en) Printing device, printing system and printing method
JP7206997B2 (en) IMAGE FORMING APPARATUS, STATE CONTROL METHOD, AND PROGRAM
JP6776521B2 (en) Image forming equipment, programs and methods
JP2019010778A (en) Printer and printing method
JP2019133562A (en) Information communication terminal, image forming system, and program
US11827038B2 (en) Nail printing apparatus and control method
JP7127564B2 (en) POSITION INFORMATION ADJUSTMENT DEVICE, HANDY TYPE DROP EJECTING DEVICE INCLUDING THE POSITION INFORMATION ADJUSTMENT DEVICE, POSITION INFORMATION ADJUSTMENT METHOD IN A HANDY DEVICE, AND POSITION INFORMATION ADJUSTMENT PROGRAM IN A HANDY DEVICE
JP7135800B2 (en) Coating device, coating system, coating method and program
JP2022007004A (en) Image formation device, image formation system and program
JP2020100151A (en) Printer, printing system, and printing method
JP2022056896A (en) Hand-held printer and print guide output program
JP2023005120A (en) Program and image formation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190813

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190820

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191021

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191118

R151 Written notification of patent or utility model registration

Ref document number: 6627476

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151