JP5326431B2 - Printing apparatus and lid opening / closing detection method in printing apparatus - Google Patents

Printing apparatus and lid opening / closing detection method in printing apparatus Download PDF

Info

Publication number
JP5326431B2
JP5326431B2 JP2008218188A JP2008218188A JP5326431B2 JP 5326431 B2 JP5326431 B2 JP 5326431B2 JP 2008218188 A JP2008218188 A JP 2008218188A JP 2008218188 A JP2008218188 A JP 2008218188A JP 5326431 B2 JP5326431 B2 JP 5326431B2
Authority
JP
Japan
Prior art keywords
printing apparatus
lid
movable body
carriage
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008218188A
Other languages
Japanese (ja)
Other versions
JP2010052216A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2008218188A priority Critical patent/JP5326431B2/en
Publication of JP2010052216A publication Critical patent/JP2010052216A/en
Application granted granted Critical
Publication of JP5326431B2 publication Critical patent/JP5326431B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To accurately detect that an openable/closeable member is present at a position where it covers at least a part of a printing apparatus. <P>SOLUTION: The printing apparatus 10 includes a sensor 60 which includes first and second sensors 62 and 63 equipped in the lid body 30, a body magnet piece 71 set in a body 20, and a carriage magnet piece 70 set on a carriage 51. A control circuit 40 determines whether or not the lid body 30 is actually at a closing position on the basis of a detection signal from the first sensor 62 and a position condition of the carriage when it is detected by the second sensor 62 that the lid body 30 is present at the closing position. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

本発明は、印刷装置および印刷装置における蓋体の開閉検出方法に関する。   The present invention relates to a printing apparatus and a lid opening / closing detection method in the printing apparatus.

蓋体、扉といった開閉可能な部材が閉位置にあるか否かを検出するための技術が知られている。例えば、インクカートリッジを交換するために蓋体が開閉操作されるインクジェットプリンタにおいては、印刷時、すなわち、キャリッジの作動時におけるキャリッジへの干渉を防止するために蓋体が閉位置にない場合(開いている場合)には印刷処理が実行されない。したがって、蓋体が閉位置にあるか否かを検出することが望まれており、インクジェットプリンタにおけるカバーの開状態を検出する技術が提案されている(例えば、特許文献1)。   A technique for detecting whether or not an openable / closable member such as a lid or a door is in a closed position is known. For example, in an inkjet printer in which the lid is opened and closed to replace the ink cartridge, the lid is not in the closed position to prevent interference with the carriage during printing, that is, when the carriage is activated (opened). Print processing is not executed. Therefore, it is desired to detect whether or not the lid is in the closed position, and a technique for detecting the open state of the cover in the ink jet printer has been proposed (for example, Patent Document 1).

特開2006−264160号公報JP 2006-264160 A

しかしながら、従来の技術では、蓋体が閉位置にあるか否かを正確に検出できない場合があった。すなわち、蓋体の開閉を1つのセンサのみを用いて検出していたため、センサの誤検出が発生した場合には、蓋体が開いているにもかかわらず、例えば、キャリッジといった可動体が作動してしまう問題があった。上述のように、可動体は蓋体が閉じている場合に作動させたいという要求がある。   However, in the conventional technique, it may be impossible to accurately detect whether or not the lid is in the closed position. That is, since the opening / closing of the lid is detected by using only one sensor, when a sensor misdetection occurs, for example, a movable body such as a carriage operates even though the lid is open. There was a problem. As described above, there is a demand for the movable body to be operated when the lid body is closed.

なお、これらの問題は、インクジェットプリンタ等の印刷装置に限らず、例えば、装置内部でキャリッジが作動するスキャナ、装置内部で作動する可動部を備える装置に共通する問題である。   These problems are not limited to printing apparatuses such as inkjet printers, but are common to apparatuses including a scanner that operates a carriage inside the apparatus and a movable unit that operates inside the apparatus.

本発明は、上記課題の少なくとも一部を解決するためになされたものであり、開閉可能な部材が印刷装置の少なくとも一部を覆っている位置にあることを精度良く検出することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it is possible to accurately detect that an openable / closable member is at a position covering at least a part of a printing apparatus. .

上記課題の少なくとも一部を解決するために、本発明は以下の種々の態様を採る。   In order to solve at least a part of the above problems, the present invention adopts the following various aspects.

第1の態様は、印刷装置を提供する。第1の態様に係る印刷装置は、前記印刷装置の少なくとも一部を覆うことが可能な蓋体と、前記印刷装置内において移動可能な可動体と、前記蓋体と連動し、前記蓋体の前記印刷装置に対する位置を検出する蓋体位置検出部と、前記蓋体の位置と、前記可動体の位置とに基づいて、前記蓋体が前記印刷装置の少なくとも一部を覆っているか否かを判断する判断部とを備える。   A first aspect provides a printing apparatus. A printing apparatus according to a first aspect includes a lid that can cover at least a part of the printing apparatus, a movable body that can move within the printing apparatus, and a lid that interlocks with the lid. Whether or not the lid covers at least a part of the printing apparatus based on the lid position detection unit that detects the position with respect to the printing apparatus, the position of the lid, and the position of the movable body. A determination unit for determining.

第1の態様によれば、蓋体の位置と、可動体の位置とに基づいて、蓋体が印刷装置の少なくとも一部を覆っているか否かを判断するので、蓋体が印刷装置の少なくとも一部を覆っている位置にあることを精度良く検出することができる。   According to the first aspect, based on the position of the lid and the position of the movable body, it is determined whether or not the lid covers at least a part of the printing apparatus. It is possible to accurately detect that the vehicle is in a position covering a part.

第1の態様に係る印刷装置はさらに、前記可動体の位置を検出する可動体位置検出部を備え、前記判断部は、前記蓋体位置検出部から前記蓋体が前記印刷装置の少なくとも一部を覆う位置にあるとの検出結果を受けて、前記可動体位置検出部が検出した前記可動体の位置に基づいて前記蓋体が前記印刷装置の少なくとも一部を覆う位置にあるか否かを判断しても良い。この場合には、可動体位置検出部が検出した前記可動体の位置に基づいて蓋体が印刷装置の少なくとも一部を覆う位置にあるか否かを判断するので、蓋体が印刷装置の少なくとも一部を覆っている位置にあることをさらに精度良く検出することができる。   The printing apparatus according to the first aspect further includes a movable body position detection unit that detects the position of the movable body, and the determination unit includes at least a part of the printing apparatus from the lid body position detection unit. Whether the lid is in a position covering at least a part of the printing apparatus based on the position of the movable body detected by the movable body position detection unit in response to the detection result that the cover body is in a position covering the printing apparatus. You may judge. In this case, since it is determined whether or not the lid body is at a position that covers at least a part of the printing apparatus based on the position of the movable body detected by the movable body position detection unit, the lid body is at least a part of the printing apparatus. It can be detected more accurately that it is in a position covering a part.

第1の態様に係る印刷装置において、前記蓋体位置検出部と対向する位置には、蓋体位置被検出部が備えられ、前記可動体位置検出部と対向する位置には、可動体被検出部が備えられていても良い。この場合には、可動体被検出部と可動体位置検出部との相対距離とに基づいて、可動体の位置を検出することができる。   In the printing apparatus according to the first aspect, a lid body position detection unit is provided at a position facing the lid body position detection unit, and a movable body detection unit is provided at a position facing the movable body position detection unit. May be provided. In this case, the position of the movable body can be detected based on the relative distance between the movable body detected portion and the movable body position detection portion.

第1の態様に係る印刷装置において、前記可動体位置検出部による、前記可動体の位置の検出は、前記可動体が予め定められた判定位置にあるか否かの検出であり、前記判断部は、前記可動体が前記判定位置にある条件において検出された移動位置に基づいて、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にあるか否かを判断しても良い。この場合には、蓋体が実際に印刷装置の少なくとも一部を覆う位置にある場合に検出され得る可動体の位置と、蓋体が実際に印刷装置の少なくとも一部を覆う位置にある場合の可動体が判定位置にある条件を考慮するので、蓋体が印刷装置の少なくとも一部を覆う位置にあるか否かを精度良く判断することができる。   In the printing apparatus according to the first aspect, the detection of the position of the movable body by the movable body position detection unit is detection of whether or not the movable body is at a predetermined determination position, and the determination unit May determine whether or not the lid is in a position covering at least a part of the printing apparatus based on the movement position detected under the condition that the movable body is at the determination position. In this case, the position of the movable body that can be detected when the lid is in a position that actually covers at least a part of the printing apparatus, and the case where the lid is in a position that actually covers at least a part of the printing apparatus. Since the condition that the movable body is at the determination position is taken into consideration, it can be accurately determined whether or not the lid is at a position that covers at least a part of the printing apparatus.

第1の態様に係る印刷装置において、前記判定位置は、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にある場合に前記可動体が移動する、前記可動体の機械的な移動限界位置であり、前記判断部は、前記判定位置に前記可動体が検出されない場合には、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にないことを判断しても良い。この場合には、蓋体が実際に実際に印刷装置の少なくとも一部を覆う位置にある場合に検出され得る可動体の機械的な移動限界位置と、可動体が機械的な移動限界位置にある条件を考慮するので、蓋体が実際に印刷装置の少なくとも一部を覆う位置にあるか否かを精度良く判断することができる。   In the printing apparatus according to the first aspect, the determination position is a mechanical movement limit position of the movable body where the movable body moves when the lid body is at a position covering at least a part of the printing apparatus. In the case where the movable body is not detected at the determination position, the determination unit may determine that the lid body is not in a position covering at least a part of the printing apparatus. In this case, the mechanical movement limit position of the movable body that can be detected when the lid is actually in a position that covers at least a part of the printing apparatus, and the movable body is in the mechanical movement limit position. Since the conditions are taken into consideration, it can be accurately determined whether or not the lid is actually in a position covering at least a part of the printing apparatus.

第1の態様に係る印刷装置において、前記可動体位置検出部は、前記移動限界位置に前記可動体がある場合には肯定信号を出力し、前記判断部は、前記可動体位置検出部から肯定信号を受信しない場合に、前記移動限界位置に前記可動体が検出されないと判定しても良い。この場合には、可動体位置検出部からの信号に基づいて、蓋体が印刷装置の少なくとも一部を覆う位置にあるか否かを判断することができる。   In the printing apparatus according to the first aspect, the movable body position detection unit outputs an affirmative signal when the movable body is at the movement limit position, and the determination unit is positive from the movable body position detection unit. When the signal is not received, it may be determined that the movable body is not detected at the movement limit position. In this case, based on the signal from the movable body position detection unit, it can be determined whether or not the lid is in a position covering at least a part of the printing apparatus.

第1の態様に係る印刷装置において、前記判定位置は、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にある場合に前記可動体が変動する、前記可動体の変動の基準となる基準位置であり、前記判断部は、前記判定位置に前記可動体が検出されない場合には、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にないことを判断しても良い。この場合には、蓋体が実際に印刷装置の少なくとも一部を覆う位置にある場合に検出され得る可動体の移動の基準となる基準位置と、可動体が基準位置にある条件を考慮するので、蓋体が印刷装置の少なくとも一部を覆う位置にあるか否かを精度良く判断することができる。   In the printing apparatus according to the first aspect, the determination position is a reference that serves as a reference for fluctuation of the movable body, where the movable body fluctuates when the lid is in a position that covers at least a part of the printing apparatus. If the movable body is not detected at the determination position, the determination unit may determine that the lid is not in a position that covers at least a part of the printing apparatus. In this case, since the reference position that is a reference for the movement of the movable body that can be detected when the lid is in a position that actually covers at least a part of the printing apparatus, and the condition that the movable body is at the reference position are considered. It is possible to accurately determine whether or not the lid is in a position covering at least a part of the printing apparatus.

第1の態様に係る印刷装置において、前記可動体位置検出部は、前記基準位置に前記可動体がある場合には否定信号を出力し、前記判断部は、前記可動体位置検出部から否定信号を受信しない場合に、前記基準位置に前記可動体が検出されないと判定しても良い。この場合には、可動体位置検出部からの信号に基づいて、蓋体が印刷装置の少なくとも一部を覆う位置にあるか否かを判断することができる。   In the printing apparatus according to the first aspect, the movable body position detection unit outputs a negative signal when the movable body is at the reference position, and the determination unit receives a negative signal from the movable body position detection unit. May be determined that the movable body is not detected at the reference position. In this case, based on the signal from the movable body position detection unit, it can be determined whether or not the lid is in a position covering at least a part of the printing apparatus.

第1の態様に係る印刷装置において、前記判断部は、前記判定位置に前記可動体が検出される場合には、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にあると判断しても良い。この場合には、可動体の位置に基づいて、蓋体が印刷装置の少なくとも一部を覆う位置にあるか否かを判断することができる。   In the printing apparatus according to the first aspect, when the movable body is detected at the determination position, the determination unit determines that the lid body is at a position covering at least a part of the printing apparatus. Also good. In this case, based on the position of the movable body, it can be determined whether or not the lid body is in a position that covers at least a part of the printing apparatus.

第1の態様に係る印刷装置において、前記可動体は印刷の実行に伴い作動する印刷機構であっても良い。この場合には、印刷装置に備えられている印刷機構を利用することができる。   In the printing apparatus according to the first aspect, the movable body may be a printing mechanism that operates in accordance with execution of printing. In this case, a printing mechanism provided in the printing apparatus can be used.

第1の態様に係る印刷装置において、前記印刷機構はキャリッジであっても良い。この場合には、印刷機構の中でも動作量の大きなキャリッジを利用することができるので、判定精度を向上させることができる。   In the printing apparatus according to the first aspect, the printing mechanism may be a carriage. In this case, since a carriage having a large operation amount can be used in the printing mechanism, the determination accuracy can be improved.

第1の態様に係る印刷装置はさらに、開口部を有する本体を備え、前記蓋体は前記印刷装置の少なくとも一部を覆う位置にあるときに前記開口部を覆うと共に、前記本体に対して回動可能に軸支持されていても良い。この場合には、蓋体が印刷装置の少なくとも一部を覆う位置に実際にあるか否かの判定制度を向上させることができる。   The printing apparatus according to the first aspect further includes a main body having an opening, and the lid covers the opening when the cover is at a position covering at least a part of the printing apparatus and rotates with respect to the main body. The shaft may be movably supported. In this case, it is possible to improve the determination system for determining whether or not the lid is actually at a position covering at least a part of the printing apparatus.

第1の態様に係る印刷装置において、前記可動体位置検出部は磁気抵抗素子センサであっても良い。   In the printing apparatus according to the first aspect, the movable body position detection unit may be a magnetoresistive element sensor.

第1の態様に係る印刷装置において、前記可動体位置検出部および前記蓋体位置検出部は同一基板上に配置された磁気抵抗素子センサであり、前記蓋体位置被検出部および前記可動体被検出部は磁性体であっても良い。この場合には、磁気抵抗素子センサの感度を判定しきい値とすることによって判定精度を向上させることができる。   In the printing apparatus according to the first aspect, the movable body position detector and the lid body position detector are magnetoresistive element sensors arranged on the same substrate, and the lid body position detector and the movable body cover. The detection unit may be a magnetic material. In this case, the determination accuracy can be improved by using the sensitivity of the magnetoresistive element sensor as the determination threshold value.

第2の態様は、印刷装置における蓋体の開閉を検出する開閉検出方法を提供する。第2の態様に係る開閉検出方法は、前記蓋体の前記印刷装置に対する位置を検出し、前記印刷装置に備えられていると共に前記印刷装置の作動に伴い位置が移動する可動体の位置を検出し、前記蓋体の位置と、前記可動体の位置とに基づいて、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にあるか否かを判断することを備える。   A second aspect provides an open / close detection method for detecting the open / close of a lid in a printing apparatus. An open / close detection method according to a second aspect detects a position of the lid with respect to the printing apparatus, and detects a position of a movable body that is provided in the printing apparatus and moves in accordance with the operation of the printing apparatus. And determining whether or not the lid is in a position covering at least a part of the printing apparatus based on the position of the lid and the position of the movable body.

本発明の第2の態様に係る開閉検出方法によれば、第1の態様に係る印刷装置と同様にして、蓋体が印刷装置の少なくとも一部を覆う位置にあることを精度良く判断することができる。   According to the open / close detection method according to the second aspect of the present invention, as with the printing apparatus according to the first aspect, it is accurately determined that the lid is in a position covering at least a part of the printing apparatus. Can do.

以下、本発明に係る印刷装置置について、図面を参照しつつ、実施例に基づいて説明する。   Hereinafter, a printing apparatus according to the present invention will be described based on examples with reference to the drawings.

A.印刷装置の構成:
図1〜3を参照して本実施例に係る開閉検出装置を備える印刷装置の概略構成について説明する。図1は、本実施例に係る開閉検出装置を備える印刷装置の外観を示す説明図である。図2は本実施例に係る開閉検出装置を備える印刷装置の概略構成図である。図3は本実施例に係る開閉検出装置を備える印刷装置の制御回路の内部構成を示す機能ブロック図である。
A. Configuration of printing device:
With reference to FIGS. 1-3, schematic structure of a printing apparatus provided with the opening / closing detection apparatus which concerns on a present Example is demonstrated. FIG. 1 is an explanatory diagram illustrating an appearance of a printing apparatus including an open / close detection device according to the present embodiment. FIG. 2 is a schematic configuration diagram of a printing apparatus including an open / close detection device according to the present embodiment. FIG. 3 is a functional block diagram illustrating the internal configuration of the control circuit of the printing apparatus including the open / close detection device according to the present embodiment.

印刷装置10は、第1の構成部材としての本体20、第2の構成部材としての蓋体30、制御回路40および印刷機構50を備えている。蓋体30は、本体20に対して軸31を中心にして、蓋体30の一部(軸31と対向する開放辺)が、本体20から離間する開位置と、本体20を覆う閉位置との間で開閉自在に装着されている。印刷装置10は、印刷媒体である印刷用紙Pをセットするためのトレーを形成する用紙支持板12および印刷後の印刷用紙Pを受ける(支持する)ための用紙受け14を備えている。なお、印刷装置10としては、例えば、印刷機能のみを備えるインクジェットプリンタであっても良く、あるいは、文書を読み取る文書読み取り装置(文書読み取り機能)を備える複合型のインクジェットプリンタであっても良い。   The printing apparatus 10 includes a main body 20 as a first constituent member, a lid 30 as a second constituent member, a control circuit 40, and a printing mechanism 50. The lid body 30 is centered on the shaft 31 with respect to the main body 20, and an open position where a part of the lid body 30 (open side facing the shaft 31) is separated from the main body 20, and a closed position covering the main body 20. It can be opened and closed between. The printing apparatus 10 includes a paper support plate 12 that forms a tray for setting a print paper P that is a print medium, and a paper receiver 14 that receives (supports) the print paper P after printing. The printing apparatus 10 may be, for example, an ink jet printer having only a printing function, or may be a composite ink jet printer having a document reading apparatus (document reading function) for reading a document.

本体20内には制御回路40および印刷機構50が備えられている。印刷機構50としては、主走査送り機構と、副走査送り機構と、印刷ヘッド駆動機構が備えられている。制御回路40は、これら各機構を駆動制御すると共に蓋体30が閉じられているか否かを判断するための各種プログラム機能を実行する。   A control circuit 40 and a printing mechanism 50 are provided in the main body 20. The printing mechanism 50 includes a main scanning feed mechanism, a sub-scan feed mechanism, and a print head drive mechanism. The control circuit 40 controls each of these mechanisms and executes various program functions for determining whether or not the lid 30 is closed.

図2を参照して、印刷機構50について説明する。主走査送り機構は、可動体であるキャリッジ51を駆動するキャリッジモータ52と、プラテン53の軸と並行に架設されキャリッジ51を摺動可能に保持する摺動軸54と、キャリッジモータ52との間に無端の駆動ベルト55を張設するプーリ56と、キャリッジ51の原点位置を検出する位置センサ(図示しない)とを備えている。主走査送り機構は、キャリッジモータ52によってキャリッジ51をプラテン53の軸方向(主走査方向)に往復動させる。キャリッジ51の移動量は、他の印刷機構における可動体と比較して多く、変動位置が大きく変化するため、変動位置変化を正確に検出しやすく可動体として好適である。   The printing mechanism 50 will be described with reference to FIG. The main scanning feed mechanism includes a carriage motor 52 that drives a carriage 51 that is a movable body, a slide shaft 54 that is laid in parallel with the axis of the platen 53 and slidably holds the carriage 51, and the carriage motor 52. A pulley 56 for extending an endless drive belt 55 and a position sensor (not shown) for detecting the origin position of the carriage 51 are provided. The main scanning feed mechanism reciprocates the carriage 51 in the axial direction (main scanning direction) of the platen 53 by the carriage motor 52. The movement amount of the carriage 51 is larger than that of the movable body in the other printing mechanism, and the fluctuation position changes greatly. Therefore, the change of the fluctuation position is easily detected accurately, which is suitable as the movable body.

キャリッジ51は、図示しない1または2以上の印刷ヘッドを印刷用紙Pとの対向面に備えている可動体である。印刷ヘッドは、インク種毎に備えられており、各印刷ヘッドには複数のインク吐出用のノズルが備えられている。本実施例におけるキャリッジ51には、後述するセンサの被検出片として機能するキャリッジ磁石片70が備えられている。キャリッジ51は、例えば初期化処理時に、キャリッジ51の移動基準位置であるホームポジションを特定する際、ギヤのバックラッシ等による誤差を解消するために、度当たり板に当てられる(衝突させられる)。キャリッジ51は、非印刷実行時には、ホームポジションに移動する。キャリッジ51は、ホームポジションでは、ホームポジションロック23によって固定される。なお、初期化処理は、蓋体30が閉位置にある状態、すなわち、蓋体30が閉じられていることが後述する第2のセンサ62によって検出されたことを条件に実行される。   The carriage 51 is a movable body provided with one or more print heads (not shown) on the surface facing the printing paper P. A print head is provided for each ink type, and each print head is provided with a plurality of ink ejection nozzles. The carriage 51 in the present embodiment is provided with a carriage magnet piece 70 that functions as a detected piece of a sensor to be described later. For example, when the home position that is the movement reference position of the carriage 51 is specified at the time of initialization processing, the carriage 51 is applied to (or made to collide with) the contact plate in order to eliminate an error due to a gear backlash or the like. The carriage 51 moves to the home position when non-printing is performed. The carriage 51 is fixed by the home position lock 23 at the home position. The initialization process is executed on the condition that the lid 30 is in the closed position, that is, the second sensor 62 described later detects that the lid 30 is closed.

本実施例において用いられる印刷装置10は、インクの供給源であるインクカートリッジがキャリッジ51上に搭載されていない、いわゆるオフキャリッジ型の印刷装置である。したがって、インクカートリッジは、キャリッジ51とは別に、本体20に用意されているホルダ21に装着されている。図2に示す例では、ホルダ21には、4つのインクカートリッジ、例えば、ブラック、イエロ、マゼンタ、シアンの4色のインクを収容したインクカートリッジCA1〜CA4が1つずつ装着されている。印刷ヘッドIH1〜IH4とインクカートリッジCA1〜CA4とは、4本のインク供給チューブ22によって連通され、インクカートリッジCA1〜CA4内のインクは、供給チューブ22を介して印刷ヘッドに供給される。なお、本実施例における印刷装置10では、インクカートリッジをホルダ21に装着またはホルダ21から取り外す場合には、蓋体30を開けなければならない。   The printing apparatus 10 used in this embodiment is a so-called off-carriage printing apparatus in which an ink cartridge as an ink supply source is not mounted on the carriage 51. Therefore, the ink cartridge is mounted on the holder 21 prepared in the main body 20 separately from the carriage 51. In the example shown in FIG. 2, four ink cartridges, for example, ink cartridges CA <b> 1 to CA <b> 4 that contain four color inks of black, yellow, magenta, and cyan are mounted on the holder 21 one by one. The print heads IH <b> 1 to IH <b> 4 and the ink cartridges CA <b> 1 to CA <b> 4 are communicated by four ink supply tubes 22, and the ink in the ink cartridges CA <b> 1 to CA <b> 4 is supplied to the print head via the supply tube 22. In the printing apparatus 10 according to the present embodiment, when the ink cartridge is attached to or removed from the holder 21, the lid 30 must be opened.

副走査送り機構は、紙送りモータ57と、第1の紙送りローラ58aと、第2の紙送りローラ58bを備えている。副走査送り機構は、紙送りモータ57の回転をギヤトレインを介して各紙送りローラ58a、58bに伝達することで、印刷用紙Pを副走査方向に搬送する。   The sub-scan feed mechanism includes a paper feed motor 57, a first paper feed roller 58a, and a second paper feed roller 58b. The sub-scan feed mechanism conveys the printing paper P in the sub-scanning direction by transmitting the rotation of the paper feed motor 57 to each of the paper feed rollers 58a and 58b via the gear train.

ヘッド駆動機構は、キャリッジ51に搭載された印刷ヘッドを駆動し、インクの吐出量、タイミングを制御して、印刷用紙P上に所望のドットパターンを形成する。インク駆動機構としては、例えば、電圧の印加により歪みを生じるピエゾ素子の変形を利用する駆動機構、電圧の印加により発熱するヒータを利用してインク内に発生する気泡を利用する駆動機構が用いられる。   The head drive mechanism drives the print head mounted on the carriage 51 to control the ink discharge amount and timing to form a desired dot pattern on the print paper P. As the ink drive mechanism, for example, a drive mechanism that uses deformation of a piezo element that generates distortion by applying a voltage, or a drive mechanism that uses bubbles generated in ink using a heater that generates heat by applying a voltage is used. .

蓋体30の開閉を検出するためのセンサ系について説明する。本実施例では、蓋体30にセンサ部60が備えられている。センサ部60は、2つのセンサ62、63を備えており、これら第1のセンサ62および第2のセンサ63は、例えば、巨大磁気抵抗素子センサ(GMRセンサ)である。既述の通り、キャリッジ51には第1のセンサ62の検出対象である被検出片としてキャリッジ磁石片70が備えられている。本体20には、蓋体30が閉じられた際に第2のセンサ63と対向する位置に第2のセンサ63の検出対象である被検出片として本体磁石片71が備えられている。第1のセンサ62は可動体としてのキャリッジ51の位置を検出する位置検出センサ(可動体位置検出部)、第2のセンサ63は蓋体30が本体20を覆う閉位置にあるか否かを検出する開閉検出センサ(蓋体位置検出部)としてそれぞれ機能する。なお、開閉検出センサは、印刷装置10(本体20)に対する蓋体30の位置を検出しても良い。すなわち、蓋体30が印刷装置10の少なくとも一部を覆っている位置にあるか否かを検出しても良い。蓋体30の形状は、印刷装置10の形状に応じて、あるいは、デザイン上、種々の形状を取る可能性があり、単に、蓋体30が印刷装置10の少なくとも一部を覆う位置にある場合に、蓋体30が閉位置にあるということができる場合がある。   A sensor system for detecting opening and closing of the lid 30 will be described. In the present embodiment, the lid 30 is provided with a sensor unit 60. The sensor unit 60 includes two sensors 62 and 63, and the first sensor 62 and the second sensor 63 are, for example, giant magnetoresistive element sensors (GMR sensors). As described above, the carriage 51 is provided with the carriage magnet piece 70 as a detected piece that is a detection target of the first sensor 62. The main body 20 is provided with a main body magnet piece 71 as a detected piece to be detected by the second sensor 63 at a position facing the second sensor 63 when the lid 30 is closed. The first sensor 62 is a position detection sensor (movable body position detector) that detects the position of the carriage 51 as a movable body, and the second sensor 63 is whether or not the lid body 30 is in a closed position that covers the main body 20. It functions as an open / close detection sensor (lid body position detection unit) for detection. The open / close detection sensor may detect the position of the lid 30 with respect to the printing apparatus 10 (main body 20). That is, it may be detected whether or not the lid 30 is in a position covering at least a part of the printing apparatus 10. The shape of the lid 30 may take various shapes depending on the shape of the printing apparatus 10 or in design, and the lid 30 is simply in a position covering at least a part of the printing apparatus 10. In addition, it can be said that the lid 30 is in the closed position.

制御回路40は、キャリッジモータ52、紙送りモータ57および第1および第2のセンサ62、63と信号線を介して接続されている。制御回路40は、接続されているパーソナルコンピュータ、図示しない操作パネルからの指示に従い、あるいは、制御回路40に格納されている各種プログラムに従って、キャリッジモータ52、紙送りモータ57、印刷ヘッドを駆動する。制御回路40はまた、外部入出力端子を備え、外部入出力端子を介して、外部装置、例えば、コンピュータまたはディジタルスチルカメラと接続されても良く、あるいは、メモリカードスロットを備えて外部の記憶装置と接続されても良い。   The control circuit 40 is connected to the carriage motor 52, the paper feed motor 57, and the first and second sensors 62, 63 via signal lines. The control circuit 40 drives the carriage motor 52, the paper feed motor 57, and the print head according to instructions from a connected personal computer, an operation panel (not shown), or according to various programs stored in the control circuit 40. The control circuit 40 also includes an external input / output terminal, and may be connected to an external device such as a computer or a digital still camera via the external input / output terminal, or an external storage device including a memory card slot. May be connected.

制御回路40は図3に示すように、中央処理装置(CPU)41、メモリ42、入出力インターフェース43、内部バス信号線44を備えている。CPU41、メモリ42および入出力インターフェース43は、内部バス信号線44によって双方向通信可能に接続されている。   As shown in FIG. 3, the control circuit 40 includes a central processing unit (CPU) 41, a memory 42, an input / output interface 43, and an internal bus signal line 44. The CPU 41, the memory 42, and the input / output interface 43 are connected to each other via an internal bus signal line 44 so that bidirectional communication is possible.

CPU41は、メモリ42に格納されている各種プログラムを実行して印刷装置の動作を制御する。例えば、キャリッジモータ52に対して制御信号を送信してキャリッジ51の往復動動作を制御し、印刷ヘッドを制御して印刷用紙P上へのインクドット形成を制御して印刷処理を実行する。CPU41は、この他にも、キャリッジモータ52他の駆動源を介して、印刷装置10の起動時におけるキャリッジ51の度当て処理、キャリッジ51をホームポジションにて固定するホームポジションロック処理等を実行する。   The CPU 41 executes various programs stored in the memory 42 and controls the operation of the printing apparatus. For example, a control signal is transmitted to the carriage motor 52 to control the reciprocating operation of the carriage 51, and the print head is controlled to control the formation of ink dots on the printing paper P to execute the printing process. In addition to this, the CPU 41 performs an application process of the carriage 51 when the printing apparatus 10 is started up, a home position lock process for fixing the carriage 51 at the home position, and the like via a carriage motor 52 and other driving sources. .

メモリ42は、キャリッジ位置条件421および蓋体開閉判断モジュール422を格納している。メモリ42はRAMおよびROMを含む半導体記憶素子であっても良く、ハードディスク装置であっても良い。なお、本実施例では、メモリ42は、上記各種プログラムを格納する不揮発性記憶装置と各種プログラムを実行するための揮発性記憶装置の総称として用いる。   The memory 42 stores a carriage position condition 421 and a lid opening / closing determination module 422. The memory 42 may be a semiconductor storage element including a RAM and a ROM, or may be a hard disk device. In this embodiment, the memory 42 is used as a general term for a nonvolatile storage device for storing the various programs and a volatile storage device for executing the various programs.

キャリッジ位置条件421は、キャリッジ51が所定位置に存在する条件であり、印刷装置10の各動作タイミングにおける移動位置(存在位置)と言うこともできる。あるいは、蓋体30が閉位置にあるか否かを判定するために蓋体開閉判断モジュール422によって実行される処理を開始するタイミングを規定する条件と言うこともできる。所定位置には、キャリッジ51の度当て位置、ホームポジションが含まれる。すなわち、キャリッジ位置条件421は、キャリッジ51が度当て位置に在るタイミング、キャリッジ51がホームポジションにあるタイミングに関する条件である。   The carriage position condition 421 is a condition that the carriage 51 exists at a predetermined position, and can also be referred to as a movement position (existing position) at each operation timing of the printing apparatus 10. Alternatively, it can also be said to be a condition that defines the timing for starting the process executed by the lid opening / closing determination module 422 in order to determine whether or not the lid 30 is in the closed position. The predetermined position includes a contact position of the carriage 51 and a home position. That is, the carriage position condition 421 is a condition relating to the timing at which the carriage 51 is at the contact position and the timing at which the carriage 51 is at the home position.

蓋体開閉判断モジュール422は、蓋体30が閉位置にあることを最終的に判断するためにCPU41によって実行されるプログラムであり、CPU41が蓋体開閉判断モジュール422を実行することによって制御部が実現される。すなわち、第2のセンサ63によって蓋体30が閉位置にあることが検出された際に、第1のセンサ62からの検出信号に基づいて、第2のセンサ63の検出結果を確定(正しいか否かを重ねて判断)するためのプログラムである。CPU41は、キャリッジ位置条件421と、第1のセンサ62からの検出信号とに基づいて、キャリッジ51が在るべき所定位置に存在するか否かを判定することによって、蓋体30が閉位置にあるか否かを最終的に判断する。なお、キャリッジ51が所定位置に在るタイミングにて蓋体開閉判断モジュール422が実行される場合には、キャリッジ位置条件421は無くても良い。例えば、蓋体30が閉位置にあることを条件に実行されるキャリッジ51の度当て処理時、キャリッジ51をホームポジションロックから解除するタイミングにて、蓋体開閉判断モジュール422が実行される場合には、キャリッジ51の存在位置がこれら処理の実行タイミングと関連付けられているので、キャリッジ位置条件421としてメモリ42に格納しなくても良い。すなわち、この場合には、キャリッジ51の検出位置に基づいて蓋体30が閉位置にあるか否かを最終的に判断することができる。   The lid opening / closing determination module 422 is a program executed by the CPU 41 to finally determine that the lid 30 is in the closed position. When the CPU 41 executes the lid opening / closing determination module 422, the control unit Realized. That is, when the second sensor 63 detects that the lid body 30 is in the closed position, the detection result of the second sensor 63 is determined based on the detection signal from the first sensor 62 (whether it is correct). This is a program for repeatedly determining whether or not. Based on the carriage position condition 421 and the detection signal from the first sensor 62, the CPU 41 determines whether or not the carriage 51 is present at a predetermined position, so that the lid 30 is brought into the closed position. It is finally determined whether or not there is. When the lid opening / closing determination module 422 is executed at the timing when the carriage 51 is at a predetermined position, the carriage position condition 421 may not be provided. For example, when the lid body opening / closing determination module 422 is executed at the timing when the carriage 51 is released from the home position lock during the carriage 51 application process executed on the condition that the lid body 30 is in the closed position. Since the position where the carriage 51 exists is associated with the execution timing of these processes, the carriage position condition 421 may not be stored in the memory 42. That is, in this case, it can be finally determined whether or not the lid 30 is in the closed position based on the detection position of the carriage 51.

入出力インターフェース43は、キャリッジモータ52、紙送りモータ57、第1のセンサ62および第2のセンサ63等とCPU41とを接続する。   The input / output interface 43 connects the CPU 41 to the carriage motor 52, the paper feed motor 57, the first sensor 62, the second sensor 63, and the like.

センサの構成:
図4は本実施例における第1および第2のセンサを印刷装置の正面からみた模式図である。図5は本実施例における第1および第2のセンサを印刷装置の右側面からみた模式図である。図6はGMRセンサの検知磁束密度と距離との関係を模式的に示す説明図である。
Sensor configuration:
FIG. 4 is a schematic view of the first and second sensors in this embodiment as viewed from the front of the printing apparatus. FIG. 5 is a schematic view of the first and second sensors in this embodiment as viewed from the right side of the printing apparatus. FIG. 6 is an explanatory diagram schematically showing the relationship between the detected magnetic flux density of the GMR sensor and the distance.

第1のセンサ62および第2のセンサ63は、同一の基板61上に配置されている。基板61は、蓋体30を構成する部材によって周囲が覆われており、本実施例では蓋体30を構成する部材によって周囲が覆われた基板61をセンサ部60と呼ぶ。蓋体30が閉位置にある場合には、キャリッジ51に搭載されているキャリッジ磁石片70と第1のセンサ62との間隔は図4に示す間隔であり、本体20に備えられている本体磁石片71と第2のセンサ63との間隔は図5に示す間隔である。本実施例に用いられるGMRセンサは、検知する磁束密度と被検出片である磁石片との距離との間に図6に示す関係を有しており、GMRセンサの感度をしきい値とすることによって、GMRセンサと被検出片との間隔(距離)を正確に検知することができる。すなわち、GMRセンサと被検出片との間隔が決定した感度に対応する距離以下の場合には検出信号(ロー信号(アクティブロー))がGMRセンサから出力され、GMRセンサと被検出片との間隔が決定した感度に対応する距離よりも大きい場合には非検出信号(ハイ信号)がGMRセンサから出力されるので、検出信号のオン・オフに基づいてGMRセンサと被検出片との間隔を判断することができる。すなわち、第2のセンサ63の感度を、蓋体30が閉じている場合の第2のセンサ63と本体磁石片71との距離に設定することによって、蓋体30が閉位置にあるか否かを検出することができる。同様にして、第1のセンサ62の感度を、キャリッジ51が度当たり位置にある場合の第1のセンサ62とキャリッジ磁石片70との距離に設定することによって、キャリッジ51が度当たり位置にあるか否かを検出することができる。なお、検出信号がハイ信号、非検出信号がロー信号であってもよい。   The first sensor 62 and the second sensor 63 are disposed on the same substrate 61. The substrate 61 is covered with a member constituting the lid 30, and in this embodiment, the substrate 61 whose periphery is covered with a member constituting the lid 30 is referred to as a sensor unit 60. When the lid 30 is in the closed position, the distance between the carriage magnet piece 70 mounted on the carriage 51 and the first sensor 62 is the distance shown in FIG. 4, and the main body magnet provided in the main body 20. The interval between the piece 71 and the second sensor 63 is the interval shown in FIG. The GMR sensor used in this embodiment has the relationship shown in FIG. 6 between the magnetic flux density to be detected and the distance from the magnet piece that is the detected piece, and the sensitivity of the GMR sensor is used as a threshold value. Thus, the distance (distance) between the GMR sensor and the detected piece can be accurately detected. In other words, when the distance between the GMR sensor and the detected piece is equal to or less than the distance corresponding to the determined sensitivity, a detection signal (low signal (active low)) is output from the GMR sensor, and the distance between the GMR sensor and the detected piece. If the distance is larger than the distance corresponding to the determined sensitivity, a non-detection signal (high signal) is output from the GMR sensor, and therefore the interval between the GMR sensor and the detected piece is determined based on the ON / OFF of the detection signal. can do. That is, whether the lid 30 is in the closed position by setting the sensitivity of the second sensor 63 to the distance between the second sensor 63 and the main body magnet piece 71 when the lid 30 is closed. Can be detected. Similarly, by setting the sensitivity of the first sensor 62 to the distance between the first sensor 62 and the carriage magnet piece 70 when the carriage 51 is in the contact position, the carriage 51 is in the contact position. It is possible to detect whether or not. The detection signal may be a high signal and the non-detection signal may be a low signal.

センサとキャリッジとの位置関係:
図7は印刷装置の内部を上方から見た、キャリッジが所定位置以外の移動位置にある例を示す説明図である。図8は印刷装置の内部を上方から見た、キャリッジが度当て位置にある例を示す説明図である。図9は印刷装置の内部を上方から見た、キャリッジがホームポジションにある例を示す説明図である。
Positional relationship between sensor and carriage:
FIG. 7 is an explanatory diagram illustrating an example in which the carriage is in a movement position other than a predetermined position, as viewed from above the inside of the printing apparatus. FIG. 8 is an explanatory diagram showing an example in which the carriage is in the contact position when the inside of the printing apparatus is viewed from above. FIG. 9 is an explanatory diagram showing an example in which the carriage is at the home position when the inside of the printing apparatus is viewed from above.

図7において、キャリッジ51は摺動軸54に沿って主走査方向に移動する。キャリッジ51はホームポジションにおいてホームポジションロック23によって固定される。キャリッジ51は、ギヤのバックラッシ等に起因する位置誤差を排除するために度当て板501に物理的に衝突することによって物理的な位置を確定する。本体20には蓋体30のセンサ部60を受け入れるためのセンサ部収容部25が形成されており、センサ部収容部25における第2のセンサ63との対向面には本体磁石片71が配置されている。   In FIG. 7, the carriage 51 moves along the sliding shaft 54 in the main scanning direction. The carriage 51 is fixed at the home position by the home position lock 23. The carriage 51 determines a physical position by physically colliding with the contact plate 501 in order to eliminate a position error due to a gear backlash or the like. The main body 20 is formed with a sensor portion accommodating portion 25 for receiving the sensor portion 60 of the lid 30, and a main body magnet piece 71 is disposed on a surface of the sensor portion accommodating portion 25 facing the second sensor 63. ing.

キャリッジ51に対する度当て処理は、蓋体30が閉位置にあることを条件として、例えば初期処理動作の1つとして実行される。度当て処理時には、キャリッジ51は度当て板501に衝突するので、あるタイミングでは図8に示すように度当て板501と当接する。キャリッジ51が図8に示す位置に移動すると、第1のセンサ62とキャリッジ磁石片70との距離が第1のセンサ62から検出信号(ロー信号)が出力される距離以下となり、CPU41は、検出信号を介してキャリッジ51が所定位置である度当て位置に在ることを検出することができる。   The contact processing for the carriage 51 is executed as one of initial processing operations, for example, on condition that the lid 30 is in the closed position. Since the carriage 51 collides with the contact plate 501 during the contact process, the contact with the contact plate 501 is made at a certain timing as shown in FIG. When the carriage 51 moves to the position shown in FIG. 8, the distance between the first sensor 62 and the carriage magnet piece 70 becomes equal to or shorter than the distance at which the detection signal (low signal) is output from the first sensor 62. It is possible to detect that the carriage 51 is in the contact position every time it is a predetermined position via the signal.

キャリッジ51は、印刷処理、その他のメンテナンス実行時以外のタイミングでは、図9に示すホームポジションにおいてホームポジションロックによって固定されている。すなわち、キャリッジ51の原点位置を保証するために、待機時には必ずホームポジションにてロックされている。キャリッジ51が図9に示すホームポジションにある場合には、第1のセンサ62とキャリッジ磁石片70との距離が第1のセンサ62から検出信号(ロー信号)が出力される距離より長くなり、CPU41は、非検出信号(ハイ信号)が入力されることを介してキャリッジ51が所定位置であるホームポジションに位置していることを検出することができる。   The carriage 51 is fixed by a home position lock at the home position shown in FIG. 9 at a timing other than when printing processing or other maintenance is performed. That is, in order to guarantee the origin position of the carriage 51, it is always locked at the home position during standby. When the carriage 51 is at the home position shown in FIG. 9, the distance between the first sensor 62 and the carriage magnet piece 70 is longer than the distance at which the detection signal (low signal) is output from the first sensor 62. The CPU 41 can detect that the carriage 51 is located at the home position which is a predetermined position through the input of a non-detection signal (high signal).

センサと蓋体との位置関係:
図10は蓋体が開位置にある例を示す説明図である。図11は蓋体が閉位置にある例を示す説明図である。図12は蓋体が閉位置にあると誤検出される可能性がある例を示す説明図である。図13は図11に示す蓋体が閉位置にある場合におけるセンサ部とキャリッジ磁石片と本体磁石片との関係を示す説明図である。図14は蓋体が図12に示す閉位置と誤検出される位置にある場合におけるセンサ部とキャリッジ磁石片と本体磁石片との関係を示す説明図である。
Positional relationship between sensor and lid:
FIG. 10 is an explanatory diagram showing an example in which the lid is in the open position. FIG. 11 is an explanatory diagram showing an example in which the lid is in the closed position. FIG. 12 is an explanatory diagram illustrating an example in which the lid body may be erroneously detected as being in the closed position. FIG. 13 is an explanatory diagram showing the relationship among the sensor unit, the carriage magnet piece, and the main body magnet piece when the lid shown in FIG. 11 is in the closed position. FIG. 14 is an explanatory diagram showing the relationship among the sensor unit, the carriage magnet piece, and the main body magnet piece when the lid is in a position erroneously detected as the closed position shown in FIG.

図10に示すように、蓋体30が開位置にある場合には、センサ部60と本体磁石片71との距離はセンサ部60の第2のセンサ63が本体磁石片71を検出できない距離である。一方、図11示すように、蓋体30が閉位置にある場合には、センサ部60と本体磁石片71との距離はセンサ部60の第2のセンサ63が本体磁石片71を検出できる距離である。すなわち、図13に示すように、第2のセンサ63を本体磁石片71が覆っている状態にあり、第2のセンサ63には十分な磁束が供給される。また、キャリッジ51が度当て位置にある場合には、キャリッジ磁石片70と第1のセンサ62との距離も第1のセンサ62がキャリッジ磁石片70を検出可能な距離となる。   As shown in FIG. 10, when the lid 30 is in the open position, the distance between the sensor unit 60 and the main body magnet piece 71 is a distance at which the second sensor 63 of the sensor unit 60 cannot detect the main body magnet piece 71. is there. On the other hand, as shown in FIG. 11, when the lid 30 is in the closed position, the distance between the sensor unit 60 and the main body magnet piece 71 is the distance that the second sensor 63 of the sensor unit 60 can detect the main body magnet piece 71. It is. That is, as shown in FIG. 13, the main magnet piece 71 covers the second sensor 63, and sufficient magnetic flux is supplied to the second sensor 63. When the carriage 51 is in the contact position, the distance between the carriage magnet piece 70 and the first sensor 62 is also a distance at which the first sensor 62 can detect the carriage magnet piece 70.

これに対して、図12に示す蓋体30が閉位置にあると誤検出される例では、センサ部60の一部は本体磁石片71と重なっている。すなわち、図14に詳細に示すように、第2のセンサ63と本体磁石片71とは依然として重なっており、第2のセンサ63には十分な磁束が供給される。一方、第1のセンサ62は、キャリッジ51が度当て位置にあったとしても、キャリッジ磁石片70と第1のセンサ62との距離が第1のセンサ62がキャリッジ磁石片70を検出可能な距離よりも長いため、キャリッジ51が度当て位置に在ることを検出できない。なお、センサ部60の配置位置は、できる限り回転軸から離れた位置、すなわち、蓋体30の開口辺に近い位置であることが望ましい。蓋体30の開口辺に近いほど、閉位置からの僅かな浮き上がりに対応して、蓋体30の閉位置に関する誤検出を防止・低減することができる。   On the other hand, in the example in which the lid 30 shown in FIG. 12 is erroneously detected as being in the closed position, a part of the sensor unit 60 overlaps with the main body magnet piece 71. That is, as shown in detail in FIG. 14, the second sensor 63 and the main body magnet piece 71 still overlap, and a sufficient magnetic flux is supplied to the second sensor 63. On the other hand, the first sensor 62 has a distance between the carriage magnet piece 70 and the first sensor 62 that can detect the carriage magnet piece 70 even if the carriage 51 is in the contact position. Therefore, it cannot be detected that the carriage 51 is in the contact position. The arrangement position of the sensor unit 60 is desirably a position as far as possible from the rotation axis, that is, a position close to the opening side of the lid 30. The closer to the opening side of the lid body 30, the more the false detection regarding the closed position of the lid body 30 can be prevented / reduced corresponding to the slight lift from the closed position.

以上のように、蓋体30の開閉を検出する第2のセンサ63のみでは誤検出されるような場合であっても、キャリッジ51が度当て位置にある条件(タイミング)およびキャリッジ51の位置を検出する第1のセンサ62からの検出信号を用いることによって、蓋体30が閉位置にあることを確定するので、蓋体30の閉位置に関する誤検出を抑制または防止することができる。   As described above, even if only the second sensor 63 that detects the opening / closing of the lid 30 is erroneously detected, the condition (timing) that the carriage 51 is in the contact position and the position of the carriage 51 are determined. By using the detection signal from the first sensor 62 to be detected, it is determined that the lid 30 is in the closed position, so that erroneous detection relating to the closed position of the lid 30 can be suppressed or prevented.

なお、キャリッジ51がホームポジションに位置するタイミング(条件)では、図11〜図14に示すいずれの場合にも、第1のセンサ62からは非検出信号が出力されるはずである。すなわち、この条件では、第2のセンサ63による蓋体30が閉位置にあることの検出、キャリッジ51がホームポジションにある条件(タイミング)およびキャリッジ51の位置を検出する第1のセンサ62からの非検出信号によって、蓋体30が閉位置にあることが確定される。したがって、度当て板501とセンサ部収容部25との間に金属片等が挟まってしまい、キャリッジ磁石片70の磁束が第1のセンサ62におよぶ場合には、第1のセンサ62からの検出信号が出力されることとなり、異常を検出することができる。この結果、金属片が印刷機構50に混入することに起因する印刷機構50の損傷等を未然に抑制または防止することができる。   Note that at the timing (condition) at which the carriage 51 is positioned at the home position, a non-detection signal should be output from the first sensor 62 in any of the cases shown in FIGS. That is, under this condition, the second sensor 63 detects that the lid 30 is in the closed position, the condition (timing) that the carriage 51 is in the home position, and the first sensor 62 that detects the position of the carriage 51. The non-detection signal determines that the lid 30 is in the closed position. Therefore, when a metal piece or the like is sandwiched between the contact plate 501 and the sensor unit accommodating portion 25 and the magnetic flux of the carriage magnet piece 70 reaches the first sensor 62, the detection from the first sensor 62 is performed. A signal is output, and an abnormality can be detected. As a result, damage or the like of the printing mechanism 50 caused by the metal piece mixed into the printing mechanism 50 can be suppressed or prevented in advance.

蓋体開閉判定処理:
図15はキャリッジが度当たり位置にある場合に実行される蓋体開閉判定処理の処理ルーチンを示すフローチャートである。図16はキャリッジがホームポジションにある場合に実行される蓋体開閉判定処理の処理ルーチンを示すフローチャートである。図17はキャリッジ位置条件と第1および第2のセンサの検出結果に基づいて実行される蓋体開閉判定処理の処理ルーチンを示すフローチャートである。
Lid opening / closing judgment process:
FIG. 15 is a flowchart showing a processing routine of lid opening / closing determination processing that is executed when the carriage is in the contact position. FIG. 16 is a flowchart showing a processing routine of lid opening / closing determination processing executed when the carriage is at the home position. FIG. 17 is a flowchart showing a processing routine of lid opening / closing determination processing executed based on the carriage position condition and the detection results of the first and second sensors.

蓋体開閉判定処理は、CPU41が蓋体開閉判断モジュール422を実行することによって実現される処理である。先ず、図15を参照して、キャリッジが度当たり位置にある場合に実行される蓋体開閉判定処理について説明する。キャリッジが度当たり位置にある条件(タイミング)であるか否かは、度当て処理実行時であるか否かによって判定することができる。CPU41は、度当て処理が開始されると、第2のセンサ63を介して蓋体30が閉位置にあるか否かを判定する(ステップS100)。具体的には、CPU41は第2のセンサ63の出力信号が蓋体30が閉位置にあることを示すか否か、本実施例ではオンか否かを判定する。CPU41は第2のセンサ63の出力信号がオンでない(オフである)判定した場合には(ステップS100:No)、本処理ルーチンを終了する。CPU41は第2のセンサ63の出力信号がオンであると判定した場合には(ステップS100:Yes)、第1のセンサ62の出力を取得し(ステップS102)、キャリッジ51が度当て位置にあるか否かを判定する(ステップS104)。具体的には、CPU41は第1のセンサ62の出力信号がキャリッジ51が度当て位置にあることを示すか否か、本実施例ではオンか否かを判定する。キャリッジ51が図8に示す位置にあれば出力信号はオン信号であり、キャリッジ51が他の位置にある場合には出力信号はオフ信号となる。CPU41は、第1のセンサ62の出力信号がオンであると判定した場合には(ステップS104:Yes)、蓋体30が閉位置にあると判断し(ステップS106)、本処理ルーチンを終了する。一方、CPU41は第1のセンサ62の出力信号がオフであると判定した場合には(ステップS104:No)、蓋体30が閉位置にない(開位置にある)と判断し(ステップS108)、本処理ルーチンを終了する。蓋体30が閉位置にある場合には、以降の要求された処理、例えば、印刷処理を開始、続行すれば良く、蓋体30が閉位置に無い場合には、印刷装置上の表示パネル、パーソナルコンピュータ上の表示ウィンドウを介してユーザに対して報知し、以降の要求された処理を保留すれば良い。この対応によって、蓋体30が閉位置にない状態でキャリッジ51等が作動することによる不具合を回避することができる。   The lid opening / closing determination process is a process realized by the CPU 41 executing the lid opening / closing determination module 422. First, the lid opening / closing determination process executed when the carriage is in the contact position will be described with reference to FIG. Whether or not the carriage is in the condition (timing) in the position of contact can be determined by whether or not the application process is being executed. When the application process is started, the CPU 41 determines whether or not the lid body 30 is in the closed position via the second sensor 63 (step S100). Specifically, the CPU 41 determines whether or not the output signal of the second sensor 63 indicates that the lid 30 is in the closed position, or whether or not it is on in the present embodiment. When the CPU 41 determines that the output signal of the second sensor 63 is not on (is off) (step S100: No), this processing routine is terminated. When the CPU 41 determines that the output signal of the second sensor 63 is on (step S100: Yes), the CPU 41 acquires the output of the first sensor 62 (step S102), and the carriage 51 is at the contact position. It is determined whether or not (step S104). Specifically, the CPU 41 determines whether or not the output signal of the first sensor 62 indicates that the carriage 51 is in the contact position, and in this embodiment, whether or not it is on. When the carriage 51 is at the position shown in FIG. 8, the output signal is an on signal, and when the carriage 51 is at another position, the output signal is an off signal. If the CPU 41 determines that the output signal of the first sensor 62 is on (step S104: Yes), the CPU 41 determines that the lid 30 is in the closed position (step S106), and ends this processing routine. . On the other hand, when the CPU 41 determines that the output signal of the first sensor 62 is OFF (step S104: No), it determines that the lid 30 is not in the closed position (is in the open position) (step S108). This processing routine ends. If the lid 30 is in the closed position, the subsequent requested processing, for example, the printing process may be started and continued. If the lid 30 is not in the closed position, the display panel on the printing apparatus, What is necessary is just to alert | report to a user via the display window on a personal computer, and to suspend the subsequent requested | required process. With this correspondence, it is possible to avoid problems caused by the carriage 51 and the like operating in a state where the lid 30 is not in the closed position.

すなわち、図15に示す蓋体開閉判定処理は、キャリッジ51を度当て位置に検出できる条件(タイミング)、すなわち、少なくとも、キャリッジ51が度当て位置を通過する条件において実行されるので、第2のセンサ63からオン信号が出力されると共に、実際に蓋体30が閉位置にある場合には、図13に示すように第1のセンサ62によって検出することができる。一方、第2のセンサ63からオン信号が出力された場合であっても、実際には蓋体30が図14に示すように閉位置と誤検出される位置にある場合には、第1のセンサ62によって検出することができない。   That is, the lid opening / closing determination process shown in FIG. 15 is executed under the condition (timing) in which the carriage 51 can be detected at the contact position, that is, at least the condition where the carriage 51 passes the contact position. When the ON signal is output from the sensor 63 and the lid 30 is actually in the closed position, it can be detected by the first sensor 62 as shown in FIG. On the other hand, even when the ON signal is output from the second sensor 63, when the lid 30 is actually in a position erroneously detected as the closed position as shown in FIG. It cannot be detected by the sensor 62.

したがって、蓋体30が閉位置から浮き上がっているにもかかわらず(完全に閉位置にないにもかかわらず)、閉位置にあると誤検出される事態を抑制または防止することができる。この結果、蓋体30が開いた状態での印刷の実行を抑制または防止することが可能となり、蓋体30が開いた状態にてキャリッジ51が作動することによる不具合、例えば、外部からの混入異物によるキャリッジ51の動作不具合、作動中のキャリッジ51に対するユーザの接触を防止することができる。   Accordingly, it is possible to suppress or prevent a situation in which the lid body 30 is erroneously detected as being in the closed position even though the lid body 30 is lifted from the closed position (although not completely in the closed position). As a result, it is possible to suppress or prevent the execution of printing with the lid 30 open, and troubles caused by the carriage 51 operating with the lid 30 open, for example, foreign matter mixed in from the outside. It is possible to prevent the malfunction of the carriage 51 due to the above and the user's contact with the carriage 51 in operation.

なお、度当て処理は、第2のセンサ63がオンであることをトリガとして実行される処理であるが、上記の例では、蓋体30が閉位置にある確度を高めるために、再度、第2のセンサ63がオンされているか否かを判定する。しかしながら、例えば、実行時に蓋体30が開位置へ開操作された場合に度当て処理を中断する場合には、第2のセンサ63がオンされているか否かの判定を省略しても良い。   The probing process is a process that is executed with the second sensor 63 being on as a trigger. In the above example, in order to increase the accuracy with which the lid 30 is in the closed position, the second process 63 is performed again. It is determined whether the second sensor 63 is turned on. However, for example, when the application process is interrupted when the lid 30 is opened to the open position at the time of execution, the determination as to whether or not the second sensor 63 is on may be omitted.

図16を参照して、キャリッジがホームポジションにある場合に実行される蓋体開閉判定処理について説明する。キャリッジがホームポジションにある条件(タイミング)であるか否かは、ホームポジションロック23がオンか(ロック位置にあるか)否かによって判定することができる。CPU41は、印刷処理の実行前に、ホームポジションロック23を解除する。したがって、CPU41は、キャリッジ51をホームポジションから移動させるために、ホームポジションロック23を解除する前に、本処理ルーチンを実行する。CPU41は第2のセンサ63を介して蓋体30が閉位置にあるか否かを判定する(ステップS200)。CPU41は第2のセンサ63の出力信号がオンでない(オフである)判定した場合には(ステップS200:No)、本処理ルーチンを終了する。CPU41は第2のセンサ63の出力信号がオンであると判定した場合には(ステップS200:Yes)、第1のセンサ62の出力を取得し(ステップS202)、キャリッジ51がホームポジションにあるか否かを判定する(ステップS204)。具体的には、CPU41は第1のセンサ62の出力信号がキャリッジ51がホームポジションにあることを示すか否か、本実施例ではオフか否かを判定する。すなわち、第1のセンサ62は、キャリッジ51が図8に示す位置よりもセンサ部60寄りに存在する場合にオン信号を出力し、キャリッジ51がホームポジションにある場合には出力信号はオフ信号となる。CPU41は、第1のセンサ62の出力信号がオフであると判定した場合には(ステップS204:Yes)、蓋体30が閉位置にあることを確定し(ステップS206)、本処理ルーチンを終了する。蓋体30が閉位置にある場合には、以降の要求された処理、例えば、印刷処理を開始、続行すれば良い。一方、CPU41は第1のセンサ62の出力信号がオンであると判定した場合には(ステップS204:No)、蓋体30の位置に異常が発生していると判断し(ステップS208)、本処理ルーチンを終了する。蓋体30が閉位置に無い場合には、印刷装置上の表示パネル、パーソナルコンピュータ上の表示ウィンドウを介してユーザに対して報知し、以降の要求された処理を保留すれば良い。この対応によって、蓋体30が閉位置にない状態でキャリッジ51等が作動することによる不具合を回避することができる。   With reference to FIG. 16, the lid opening / closing determination process executed when the carriage is at the home position will be described. Whether or not the carriage is at the home position (timing) can be determined by whether or not the home position lock 23 is on (at the lock position). The CPU 41 releases the home position lock 23 before executing the printing process. Therefore, the CPU 41 executes this processing routine before releasing the home position lock 23 in order to move the carriage 51 from the home position. CPU41 determines whether the cover body 30 exists in a closed position via the 2nd sensor 63 (step S200). If the CPU 41 determines that the output signal of the second sensor 63 is not on (is off) (step S200: No), this processing routine is terminated. If the CPU 41 determines that the output signal of the second sensor 63 is on (step S200: Yes), the CPU 41 acquires the output of the first sensor 62 (step S202), and whether the carriage 51 is at the home position. It is determined whether or not (step S204). Specifically, the CPU 41 determines whether or not the output signal of the first sensor 62 indicates that the carriage 51 is at the home position, or whether or not it is OFF in this embodiment. That is, the first sensor 62 outputs an on signal when the carriage 51 is closer to the sensor unit 60 than the position shown in FIG. 8, and the output signal is an off signal when the carriage 51 is at the home position. Become. If the CPU 41 determines that the output signal of the first sensor 62 is off (step S204: Yes), it determines that the lid 30 is in the closed position (step S206), and ends this processing routine. To do. When the lid 30 is in the closed position, the subsequent requested process, for example, the printing process may be started and continued. On the other hand, if the CPU 41 determines that the output signal of the first sensor 62 is on (step S204: No), it determines that an abnormality has occurred in the position of the lid 30 (step S208). The processing routine ends. If the lid 30 is not in the closed position, the user may be notified through the display panel on the printing apparatus and the display window on the personal computer, and the subsequent requested processing may be suspended. With this correspondence, it is possible to avoid problems caused by the carriage 51 and the like operating in a state where the lid 30 is not in the closed position.

すなわち、キャリッジ51がホームポジションにある場合には、第1のセンサ62からオン信号が出力されることはない。したがって、例えば、キャリッジ51または度当て板501とセンサ部収容部25との間に金属片等が挟まってしまい、キャリッジ磁石片70の磁束が第1のセンサ62におよぶ等の異常の発生が疑われる。したがって、CPU41は異常発生を判断した場合には以降の印刷処理を停止し、キャリッジ51が往復動に起因する印刷機構50の損傷等といった不具合の発生を防止することができる。   That is, when the carriage 51 is at the home position, an ON signal is not output from the first sensor 62. Therefore, for example, a metal piece or the like is sandwiched between the carriage 51 or the contact plate 501 and the sensor unit accommodating portion 25, and an abnormality such as the magnetic flux of the carriage magnet piece 70 reaching the first sensor 62 is suspected. Is called. Therefore, if the CPU 41 determines that an abnormality has occurred, it can stop subsequent printing processing and prevent the occurrence of problems such as damage to the printing mechanism 50 due to the carriage 51 reciprocating.

図17を参照して、キャリッジ51の位置条件、第1および第2のセンサ62、63の出力結果を用いた蓋体開閉判定処理について説明する。この例では、度当て処理、ホームポジションロックの解除処理をトリガとすることなく、蓋体開閉判定処理が実行される。すなわち、度当て処理、ホームポジションロックの解除処理のタイミングにて蓋体開閉判定処理が実行される。CPU41は、第2のセンサ63を介して蓋体30が閉位置にあるか否かを判定する(ステップS300)。CPU41は第2のセンサ63の出力信号がオフでない(オンである)判定した場合には(ステップS300:No)、本処理ルーチンを終了する。CPU41は第2のセンサ63の出力信号がオンであると判定した場合には(ステップS300:Yes)、キャリッジ位置条件が度当て位置であるか否かを判定する(ステップS302)。具体的には、度当て処理が実行されるタイミングであるか否かを判定する。   With reference to FIG. 17, the lid opening / closing determination process using the position condition of the carriage 51 and the output results of the first and second sensors 62 and 63 will be described. In this example, the lid opening / closing determination process is executed without using the application process and the home position lock release process as a trigger. That is, the lid opening / closing determination process is executed at the timing of the application process and the home position lock release process. CPU41 determines whether the cover body 30 exists in a closed position via the 2nd sensor 63 (step S300). If the CPU 41 determines that the output signal of the second sensor 63 is not OFF (ON) (step S300: No), this processing routine is terminated. If the CPU 41 determines that the output signal of the second sensor 63 is on (step S300: Yes), it determines whether or not the carriage position condition is a contact position (step S302). Specifically, it is determined whether or not it is time to execute the allocation process.

CPU41は、キャリッジ位置条件が度当て位置であると判定した場合には(ステップS302:Yes)、第1のセンサ62の出力を取得し、キャリッジ51が度当て位置にあるか否かを判定する(ステップS304)。CPU41は、第1のセンサ62の出力信号がオンであると判定した場合には(ステップS304:Yes)、蓋体30が閉位置にあることを確定し(ステップS305)、本処理ルーチンを終了する。一方、CPU41は第1のセンサ62の出力信号がオフであると判定した場合には(ステップS304:No)、蓋体30が閉位置にない(開位置にある)ことを確定し(ステップS306)、本処理ルーチンを終了する。   When the CPU 41 determines that the carriage position condition is the contact position (step S302: Yes), the CPU 41 acquires the output of the first sensor 62 and determines whether the carriage 51 is at the contact position. (Step S304). If the CPU 41 determines that the output signal of the first sensor 62 is on (step S304: Yes), it determines that the lid 30 is in the closed position (step S305), and ends this processing routine. To do. On the other hand, when the CPU 41 determines that the output signal of the first sensor 62 is OFF (step S304: No), it determines that the lid 30 is not in the closed position (is in the open position) (step S306). ), This processing routine is terminated.

CPU41は、キャリッジ位置条件が度当て位置でないと判定した場合には(ステップS302:No)、キャリッジ位置条件がホームポジションであるか否かを判定する(ステップS307)。具体的には、ホームポジションロック23が解除されるタイミングであるか否かを判定する。CPU41は、キャリッジ位置条件がホームポジションであると判定した場合には(ステップS307:Yes)、第1のセンサ62の出力を取得し、キャリッジ51がホームポジションにあるか否かを判定する(ステップS308)。CPU41は、第1のセンサ62の出力信号がオフであると判定した場合には(ステップS308:Yes)、蓋体30が閉位置にあることを確定し(ステップS305)、本処理ルーチンを終了する。一方、CPU41は第1のセンサ62の出力信号がオンであると判定した場合には(ステップS308:No)、蓋体30の位置に異常が発生していると判断し(ステップS309)、本処理ルーチンを終了する。本態様においても、上述した度当て位置、ホームポジションにキャリッジ51がある場合と同様にして、蓋体30が閉位置にある場合とない場合とで以降の処理を変更すれば良い。   When determining that the carriage position condition is not the contact position (step S302: No), the CPU 41 determines whether the carriage position condition is the home position (step S307). Specifically, it is determined whether or not it is time to release the home position lock 23. If the CPU 41 determines that the carriage position condition is the home position (step S307: Yes), it acquires the output of the first sensor 62 and determines whether the carriage 51 is at the home position (step S307). S308). If the CPU 41 determines that the output signal of the first sensor 62 is off (step S308: Yes), it determines that the lid 30 is in the closed position (step S305), and ends this processing routine. To do. On the other hand, if the CPU 41 determines that the output signal of the first sensor 62 is on (step S308: No), it determines that an abnormality has occurred in the position of the lid 30 (step S309), and The processing routine ends. Also in this aspect, the subsequent processing may be changed depending on whether the lid 30 is in the closed position or not, similarly to the case where the carriage 51 is in the contact position and home position described above.

以上説明した第1の実施例に係る開閉検出装置、すなわち、印刷装置10によれば、蓋体30が印刷装置10の少なくとも一部を覆っている位置にあるか否かの判定精度を向上させることができる。すなわち、蓋体30の開閉を検出する第2のセンサ63に加えて、蓋体30が実際に閉位置にある場合に第1のセンサ62から得ることができるキャリッジ51の位置検出信号と、キャリッジ51の移動位置とを用いるので、第2のセンサ63による誤検出を低減または防止することができる。   According to the opening / closing detection apparatus according to the first embodiment described above, that is, the printing apparatus 10, it is possible to improve the determination accuracy of whether or not the lid 30 is in a position covering at least a part of the printing apparatus 10. be able to. That is, in addition to the second sensor 63 that detects opening and closing of the lid 30, the position detection signal of the carriage 51 that can be obtained from the first sensor 62 when the lid 30 is actually in the closed position, and the carriage Thus, erroneous detection by the second sensor 63 can be reduced or prevented.

すなわち、本実施例では、蓋体30が閉位置にあるという検出結果と、蓋体30が閉位置にある場合に得ることができるキャリッジ51の位置検出結果と、キャリッジ51が存在すべき移動位置の情報を用いて、蓋体30の閉位置に関する誤検出を抑制または防止している。具体的な例として、上記実施例では、キャリッジ51が所定の位置に存在するタイミングにて、蓋体30が閉位置にあるという検出結果とキャリッジ51の位置検出結果とを用いた判定例、蓋体30が閉位置にあるという検出結果とキャリッジ51の位置検出結果にキャリッジ51が所定の位置に存在する条件(タイミング)を考慮した判定例の複数の例が説明されている。   That is, in this embodiment, the detection result that the lid 30 is in the closed position, the position detection result of the carriage 51 that can be obtained when the lid 30 is in the closed position, and the movement position where the carriage 51 should be present. This information is used to suppress or prevent erroneous detection related to the closed position of the lid 30. As a specific example, in the above embodiment, a determination example using the detection result that the lid 30 is in the closed position and the position detection result of the carriage 51 at the timing when the carriage 51 is in a predetermined position, the lid A plurality of examples of determination examples in which the detection result that the body 30 is in the closed position and the position detection result of the carriage 51 take into account the condition (timing) that the carriage 51 exists at a predetermined position are described.

また、上記実施例では、第1および第2のセンサ62、63としてGMRセンサを用いているので、機械的な接触により検出を行うメカ式センサと比較して、センサの検出のばらつきを低減させることができる。すなわち、GMRセンサでは、センサの感度を判定しきい値をとすることによって、被検出片の位置検出精度を向上させることができる。   Further, in the above embodiment, since the GMR sensor is used as the first and second sensors 62 and 63, the detection variation of the sensor is reduced as compared with a mechanical sensor that detects by mechanical contact. be able to. That is, in the GMR sensor, the position detection accuracy of the detected piece can be improved by using the sensitivity of the sensor as a determination threshold value.

なお、印刷装置10を開閉検出装置と呼んでも良く、あるいは、印刷装置に備えられている第1および第2のセンサ62、63、キャリッジ磁石片70、本体磁石片71および制御回路40を開閉検出装置と呼んでも良い。すなわち、開閉検出装置と印刷装置10とを同一視しても良く、開閉検出装置が印刷装置10に備えられている別体の装置であると解釈しても良い。   The printing apparatus 10 may be referred to as an opening / closing detection apparatus, or the first and second sensors 62 and 63, the carriage magnet piece 70, the main body magnet piece 71 and the control circuit 40 provided in the printing apparatus are detected as opening / closing. You may call it a device. That is, the opening / closing detection device and the printing device 10 may be regarded as the same, or the opening / closing detection device may be interpreted as a separate device provided in the printing device 10.

・磁石片の変形例:
図18は磁石片の第1の変形例を示す説明図である。図19は磁石片の第2の変形例を示す説明図である。上記実施例では、通常の長方形、すなわち、矩形状の磁石片を用いて説明したが、センサ部60を直線状に磁力線が通過するようにGMRセンサにおける磁束密度の検出方向に合わせて磁束が通過するように磁石片の形状を改良させても良い。図18の例では、通常の長方形状の磁石90aに対してL字状の鉄等の磁化可能な金属片92を加えている。より具体的には、磁石90aのN極およびS極にL字状の金属片92の一端を配置し、金属片92の他端がセンサ80の磁束密度検出方向に沿うように配置されている。この結果、通常形状の磁石90aを用いつつ、センサ80を通過する有効な磁力線数を増大させて磁束密度を安定させることが可能となり、センサ80の検出精度を向上させることができる。また、形状加工が容易でない磁石90aの形状を変更することなく、形状加工が容易な金属片92を用いることによって、磁石90aの配置位置の自由度を向上させることが可能となり、磁石90aが配置される本体の内部構造の設計を容易化することができる。
・ Modification examples of magnet pieces:
FIG. 18 is an explanatory view showing a first modification of the magnet piece. FIG. 19 is an explanatory view showing a second modification of the magnet piece. In the above embodiment, a normal rectangular shape, that is, a rectangular magnet piece has been described. However, the magnetic flux passes through the sensor unit 60 according to the detection direction of the magnetic flux density in the GMR sensor so that the magnetic field lines pass linearly. You may improve the shape of a magnet piece so that it may do. In the example of FIG. 18, a magnetizable metal piece 92 such as L-shaped iron is added to a normal rectangular magnet 90a. More specifically, one end of the L-shaped metal piece 92 is arranged on the N pole and the S pole of the magnet 90 a, and the other end of the metal piece 92 is arranged along the magnetic flux density detection direction of the sensor 80. . As a result, it is possible to stabilize the magnetic flux density by increasing the number of effective magnetic force lines passing through the sensor 80 while using the magnet 90a having the normal shape, and the detection accuracy of the sensor 80 can be improved. Further, by using the metal piece 92 that is easy to shape without changing the shape of the magnet 90a that is not easy to shape, the degree of freedom in the arrangement position of the magnet 90a can be improved, and the magnet 90a can be arranged. The design of the internal structure of the main body can be facilitated.

図19の例では磁石90bをC字状に形成し、磁石のN極およびS極がセンサ80を介して対向している。この場合にも、センサ80を通過する有効な磁力線数を増大させて磁束密度を安定させることが可能となり、センサ80の検出精度を向上させることができる。また、U字状の磁石90bを用いるので、部品点数を増大させることなく、磁石90bの配置位置の自由度を向上させることが可能となり、磁石90bが配置される本体の内部構造の設計を容易化することができる。   In the example of FIG. 19, the magnet 90 b is formed in a C shape, and the N pole and S pole of the magnet are opposed via the sensor 80. Also in this case, it is possible to stabilize the magnetic flux density by increasing the number of effective lines of magnetic force passing through the sensor 80, and the detection accuracy of the sensor 80 can be improved. In addition, since the U-shaped magnet 90b is used, the degree of freedom in the arrangement position of the magnet 90b can be improved without increasing the number of parts, and the internal structure of the main body on which the magnet 90b is arranged can be easily designed. Can be

その他の実施例:
(1)上記実施例では、可動体としてキャリッジ51を例に用いて説明したが、プラテンギャップの調整に関わるリンク部材に磁石片を配置しても良い。図20は他の実施例における通常時のキャリッジ位置を示す説明図である。図21は他の実施例におけるプラテンギャップ調整時のキャリッジ位置を示す説明図である。印刷装置においては、印刷対象物の厚さ、例えば、印刷用紙の厚さ、CD−R等の記憶ディスクの厚さに応じて、自動または手動選択によって、印刷ヘッドとプラテンとの距離(ギャップ)を調整し、印刷対象物から印刷ヘッドまでの距離を所定の距離に維持するためのギャップ調整機構が備えられている。図20に示すように、ギャップ調整機構は、リンク部材27cによって連結されている第1の偏心ギヤ27aと第2の偏心ギヤ27bとを備えている。第2の偏心ギヤ27bは図示しないアクチュエータ、例えば、電気モータによって駆動される。また、第1および第2の偏心ギヤ27a、27bの一部はキャリッジ51と連結されており、キャリッジ51は、図示第1および第2の偏心ギヤ27a、27bの動きに応じて高さ方向の位置が変動する。印刷装置の起動時には、ギャップ調整機構の動作を確認するために初期化処理の一環として、最小ギャップと最大ギャップとの間でギャップ調整機構が作動される。図20の例は、一般的な用紙の厚さに対応する最小ギャップ時におけるギャップ調整機構の位置を示している。なお、リンク部材27cにはセンサ部60に対応する位置に磁石片73が備えられている。初期化時には、図21に示すように、最大ギャップを実現する位置にギャップ調整機構の位置が変化する。具体的には、第1および第2の偏心ギヤ27a、27bが回転することで、リンク部材27cの高さ位置が上昇し、磁石片73がセンサ部60の検知距離に到達する。また、キャリッジ51の印刷対象面からの高さ位置が最大高さとなる。初期化処理は、既述のように、蓋体30が閉位置にある状態にて実行される処理であるから、可動体としてのリンク部材27cの動きによって蓋体30が実際に閉位置にあるか否かを確定することができる。なお、可動体としては、キャリッジ51,ギャップ調整機構の他に、用紙を排出するために上下動する排出機構を用いることができる。
Other examples:
(1) In the above embodiment, the carriage 51 is described as an example of the movable body. However, a magnet piece may be disposed on a link member related to adjustment of the platen gap. FIG. 20 is an explanatory view showing the carriage position at the normal time in another embodiment. FIG. 21 is an explanatory diagram showing the carriage position during platen gap adjustment in another embodiment. In a printing apparatus, the distance (gap) between a print head and a platen is automatically or manually selected according to the thickness of a printing object, for example, the thickness of a printing paper, the thickness of a storage disk such as a CD-R. And a gap adjusting mechanism for maintaining the distance from the print object to the print head at a predetermined distance. As shown in FIG. 20, the gap adjusting mechanism includes a first eccentric gear 27a and a second eccentric gear 27b connected by a link member 27c. The second eccentric gear 27b is driven by an actuator (not shown), for example, an electric motor. A part of the first and second eccentric gears 27a and 27b is connected to the carriage 51, and the carriage 51 moves in the height direction in accordance with the movement of the illustrated first and second eccentric gears 27a and 27b. The position fluctuates. When the printing apparatus is activated, the gap adjusting mechanism is operated between the minimum gap and the maximum gap as part of the initialization process in order to confirm the operation of the gap adjusting mechanism. The example of FIG. 20 shows the position of the gap adjusting mechanism at the time of the minimum gap corresponding to a general sheet thickness. The link member 27 c includes a magnet piece 73 at a position corresponding to the sensor unit 60. At the time of initialization, as shown in FIG. 21, the position of the gap adjusting mechanism changes to a position where the maximum gap is realized. Specifically, when the first and second eccentric gears 27 a and 27 b rotate, the height position of the link member 27 c rises, and the magnet piece 73 reaches the detection distance of the sensor unit 60. Further, the height position of the carriage 51 from the printing target surface is the maximum height. As described above, the initialization process is a process executed with the lid 30 in the closed position, and thus the lid 30 is actually in the closed position due to the movement of the link member 27c as the movable body. It can be determined whether or not. As the movable body, in addition to the carriage 51 and the gap adjusting mechanism, a discharge mechanism that moves up and down to discharge the sheet can be used.

(2)図22は変形例としての、開閉検出装置を備える印刷装置の概略構成図である。上記実施例では、キャリッジ51上にインクカートリッジが搭載されていない、いわゆるオフキャリッジ型の印刷装置を例にとって説明したが、図22に示すようにキャリッジ51上にインクカートリッジにCA1からCA4が搭載されているオンキャリッジ型の印刷装置に対しても適用可能であることは言うまでもない。 (2) FIG. 22 is a schematic configuration diagram of a printing apparatus including an open / close detection device as a modification. In the above embodiment, a so-called off-carriage type printing apparatus in which no ink cartridge is mounted on the carriage 51 has been described as an example. However, as shown in FIG. 22, CA1 to CA4 are mounted on the carriage 51 on the ink cartridge. Needless to say, the present invention is also applicable to an on-carriage type printing apparatus.

(3)上記実施例では、印刷装置10としてインクジェットプリンタを例に取って説明したが、この他にも、昇華式プリンタ、乾式電子写真方式プリンタ、熱溶融式プリンタといった種々のプリンタに対しても同様に適用することができる。これらプリンタの場合には、キャリッジに代えて、印刷処理の初期処理時に作動する可動部に対して磁石等を配置すればよい。さらに、上記実施例では印刷装置10を例にとって説明したが、本体に対して開閉可能な蓋体を備える装置であって、内部に可動部を備える装置であれば、上述した利点、すなわち、蓋体が閉じているか否かの判定精度を向上させることができる。 (3) In the above embodiment, an ink jet printer has been described as an example of the printing apparatus 10, but in addition to this, various printers such as a sublimation printer, a dry electrophotographic printer, and a hot melt printer can be used. The same can be applied. In the case of these printers, instead of the carriage, a magnet or the like may be disposed on the movable part that operates during the initial processing of the printing process. Further, in the above-described embodiment, the printing apparatus 10 has been described as an example. However, if the apparatus includes a lid body that can be opened and closed with respect to the main body and includes a movable part inside, the above-described advantage, that is, the lid The accuracy of determining whether or not the body is closed can be improved.

(4)図23および図24は変形例における、蓋体の構成を示す説明図である。上記実施例では、蓋体30は、本体20に対して軸31を中心にして、蓋体30の一部(軸31と対向する開放辺)が、本体20から離間する開位置と、本体20を覆う閉位置との間で開閉自在に装着されているが、図23および24に示すように、蓋体30全体が本体20から離間する開位置と本体20を覆う閉位置との間で移動可能な構成を備えていても良い。なお、図23は蓋体30が閉位置にある状態を、図24は蓋体30が本体20から離間した開位置にある状態を示している。さらには、蓋体30はスライド式の蓋体であっても良い。 (4) FIG. 23 and FIG. 24 are explanatory views showing the structure of the lid in the modification. In the above-described embodiment, the lid 30 has an open position in which a part of the lid 30 (open side facing the shaft 31) is separated from the main body 20 with respect to the main body 20 around the shaft 31, and the main body 20. The lid body 30 as a whole is moved between an open position where it is separated from the main body 20 and a closed position which covers the main body 20 as shown in FIGS. 23 and 24. A possible configuration may be provided. 23 shows a state in which the lid 30 is in the closed position, and FIG. 24 shows a state in which the lid 30 is in the open position separated from the main body 20. Furthermore, the lid body 30 may be a sliding lid body.

(5)上記実施例では、磁石片をキャリッジ51と本体20とにそれぞれ備える例を用いて説明したが図25に示すように磁石片を1つだけ用いる構成であっても良い。図25は変形例における、キャリッジ被検出片の構成例を示す説明図である。本変形例では、検知用鉄板70aをキャリッジ磁石片70に代えて用いている。検知用鉄板70aは、キャリッジ51において、キャリッジ磁石片70と第1のセンサ62との間の最近接距離を実現する位置に配置されており、延長片が本体磁石片71と重複するように延伸されている。この結果、キャリッジ51が度当て位置に到達すると、本体磁石片71の磁力が検知用鉄板70aを介して第1のセンサ62に作用し、キャリッジ51の位置を検出することができる。本変形例によれば、磁石片の数を減らしつつ、キャリッジ51の位置検出を検出することができる。 (5) In the above-described embodiment, an example in which the magnet pieces are provided in the carriage 51 and the main body 20 has been described. However, a configuration in which only one magnet piece is used as shown in FIG. FIG. 25 is an explanatory diagram showing a configuration example of a carriage detected piece in a modified example. In this modification, the detection iron plate 70 a is used in place of the carriage magnet piece 70. The detection iron plate 70 a is disposed at a position in the carriage 51 that realizes the closest distance between the carriage magnet piece 70 and the first sensor 62, and extends so that the extension piece overlaps the main body magnet piece 71. Has been. As a result, when the carriage 51 reaches the contact position, the magnetic force of the main body magnet piece 71 acts on the first sensor 62 via the detection iron plate 70a, and the position of the carriage 51 can be detected. According to this modification, the position detection of the carriage 51 can be detected while reducing the number of magnet pieces.

(6)上記実施例では第1および第2のセンサ62、63としてGMRセンサを用いているがMRセンサであってもよく、あるいは、光学式、機械式のセンサであっても良い。光学式、機械式のセンサを用いる場合であっても、蓋体30の開閉を検出するセンサに加えて、可動体の位置情報と可動体の位置を検出するセンサを用いることで、蓋体30が閉位置にあるという誤検出を低減または防止することができる。 (6) Although the GMR sensor is used as the first and second sensors 62 and 63 in the above embodiment, it may be an MR sensor, or may be an optical or mechanical sensor. Even when an optical or mechanical sensor is used, in addition to a sensor that detects opening and closing of the lid body 30, the lid body 30 can be obtained by using the position information of the movable body and the sensor that detects the position of the movable body. Can be reduced or prevented from being erroneously detected as being in the closed position.

(7)上記実施例では開閉検出装置として印刷装置10に適用した例を用いて説明したが、開閉自在な扉、蓋を有し、内部に可動体を備える装置であれば、同様にして本実施例に係る開閉検出装置を適用することができる。すなわち、装置内部でキャリッジが作動するスキャナ、複合プリンタといったOA機器、装置内部で作動する可動部を備える洗濯機、乾燥機といった電化製品に対しても適用することができる。 (7) Although the above embodiment has been described using an example applied to the printing apparatus 10 as an open / close detection device, any device that has an openable / closable door and lid and includes a movable body inside can be similarly used. The open / close detection device according to the embodiment can be applied. In other words, the present invention can also be applied to OA equipment such as a scanner that operates a carriage inside the apparatus and a composite printer, and electrical appliances such as a washing machine having a movable part that operates inside the apparatus and a dryer.

(8)上記実施例ではセンサ部60は蓋体30に装着されているが、蓋体30の開閉動作に連動してその位置が移動すれば良い。すなわち、蓋体30の開閉動作を反映できるように印刷装置10に備えられていればよい。例えば、リンク部材によって蓋体30の開閉動作とリンクされているセンサ部保持部材に装着されていても良い。また、キャリッジ51に備えられているキャリッジ磁石片70(被検出片)は、キャリッジ51の動作と連動して動作する被検出片保持部材に装着されていても良い。すなわち、キャリッジ51の移動に伴いその位置が連動して変化する部材に装着されていれば良い。 (8) In the above embodiment, the sensor unit 60 is mounted on the lid 30, but the position may be moved in conjunction with the opening / closing operation of the lid 30. That is, it is only necessary that the printing apparatus 10 is provided so that the opening / closing operation of the lid 30 can be reflected. For example, the sensor part holding member linked with the opening / closing operation | movement of the cover body 30 by the link member may be mounted | worn. The carriage magnet piece 70 (detected piece) provided in the carriage 51 may be mounted on a detected piece holding member that operates in conjunction with the operation of the carriage 51. That is, it is only necessary to be attached to a member whose position changes in conjunction with the movement of the carriage 51.

(9)上記実施例では液体噴射装置としてインクジェットプリンタを例にとって説明したが、インク以外の他の液体(機能材料の粒子が分散されている液状体、ジェルのような流状体を含む)や液体以外の流体(流体として噴射できる固体など)を噴射したり吐出したりする流体噴射装置としての構成も可能である。具体的には、例えば、液晶ディスプレイ、ELディスプレイ、面発光ディスプレイ、カラーフィルタの製造などに用いられる電極材や色材などの材料の液状体を噴射する液状体噴射装置、バイオチップ製造に用いられる生体有機物を噴射する液体噴射装置、精密ピペットとして用いられ試料となる液体を噴射する液体噴射装置であってもよい。さらに、時計やカメラ等の精密機械にピンポイントで潤滑油を噴射する液体噴射装置、光通信素子等に用いられる微小半球レンズ(光学レンズ)などを形成するために紫外線硬化樹脂等の透明樹脂液を基板上に噴射する液体噴射装置、基板などをエッチングするために酸又はアルカリ等のエッチング液を噴射する液体噴射装置、ジェルを噴射する流状体噴射装置、トナーなどの粉体を例とする固体を噴射する粉体噴射式記録装置であってもよい。 (9) In the above embodiment, an ink jet printer has been described as an example of the liquid ejecting apparatus. However, other liquids other than ink (including liquid materials in which particles of functional material are dispersed and fluids such as gels) A configuration as a fluid ejecting apparatus that ejects or discharges a fluid other than a liquid (such as a solid that can be ejected as a fluid) is also possible. Specifically, for example, it is used for manufacturing a liquid material injection device for injecting a liquid material of a material such as an electrode material or a color material used for manufacturing a liquid crystal display, an EL display, a surface light emitting display, a color filter, or the like, or a biochip. It may be a liquid ejecting apparatus that ejects biological organic matter, or a liquid ejecting apparatus that ejects a liquid that is used as a precision pipette and serves as a sample. In addition, transparent resin liquids such as UV curable resin to form liquid injection devices that pinpoint lubricant oil onto precision machines such as watches and cameras, and micro hemispherical lenses (optical lenses) used in optical communication elements. Examples include a liquid ejecting apparatus that ejects a liquid onto a substrate, a liquid ejecting apparatus that ejects an etching solution such as acid or alkali to etch the substrate, a fluid ejecting apparatus that ejects gel, and a powder such as toner. It may be a powder jet recording apparatus that jets a solid.

なお、本願発明は以下の態様を取ることもできる。
態様1:印刷装置であって、本体と、少なくとも一部が、前記本体を覆う閉位置と前記本体から離間する開位置との間で開閉自在となるように前記本体に装着されている蓋体と、前記本体内において移動可能な可動体と、前記蓋体と連動し、前記可動体が移動した位置である移動位置を検出する移動位置検出部と、前記蓋体が閉位置にあるとの検出結果を受けて、検出された前記可動体の移動位置に基づいて、前記蓋体が閉位置にあるか否かを判断する判断部とを備える印刷装置。
態様2:態様1に記載の印刷装置はさらに、前記蓋体と連動し、前記蓋体の部材が前記閉位置にあるか否かを検出する開閉検出部を備え、前記判断部は、前記開閉検出部から前記蓋体が前記閉位置にあるとの検出結果を取得する印刷装置。
態様3:態様1または2に記載の印刷装置において、前記本体における、前記蓋体の前記開閉検出部と対向する位置には開閉被検出部が備えられ、前記可動体における、前記可動体検出部と対向する位置には可動体被検出部が備えられている印刷装置。
態様4:態様1から3のいずれかに記載の印刷装置において、前記移動位置検出部による、前記可動体の移動位置の検出は、前記可動体が予め定められた判定位置にあるか否かの検出であり、前記判断部は、前記可動体が前記判定位置にある条件において検出された移動位置に基づいて、前記蓋体が前記閉位置にあるか否かを判断する印刷装置。
態様5:態様4に記載の印刷装置において、前記判定位置は、前記蓋体が前記閉位置にある場合に前記可動体が移動する、前記可動体の機械的な移動限界位置であり、前記判断部は、前記判定位置に前記可動体が検出されない場合には、前記蓋体が前記閉位置にないことを判断する印刷装置。
態様6:態様5に記載の印刷装置において、前記可動体検出部は、前記移動限界位置に前記可動体がある場合には肯定信号を出力し、前記判断部は、前記可動体検出部から肯定信号を受信しない場合に、前記移動限界位置に前記可動体が検出されないと判定する印刷装置。
態様7:態様4に記載の印刷装置において、前記判定位置は、前記蓋体が前記閉位置にある場合に前記可動体が変動する、前記可動体の変動の基準となる基準位置であり、
前記判断部は、前記判定位置に前記可動体が検出されない場合には、前記蓋体が前記閉位置にないことを判断する印刷装置。
態様8:態様7に記載の印刷装置において、前記可動体検出部は、前記基準位置に前記可動体がある場合には否定信号を出力し、前記判断部は、前記可動体検出部から否定信号を受信しない場合に、前記基準位置に前記可動体が検出されないと判定する印刷装置。
態様9:態様5または7に記載の印刷装置において、前記判断部は、前記判定位置に前記可動体が検出される場合には、前記蓋体が前記閉位置にあると判断する印刷装置。
態様10:態様1から態様7のいずれかに記載の印刷装置において、前記可動体は印刷の実行に伴い作動する印刷機構である印刷装置。
態様11:態様10に記載の印刷装置において、前記印刷機構はキャリッジである印刷装置。
態様12:態様1から態様11のいずれかに記載の印刷装置において、前記本体は開口部を有し、前記蓋体は前記閉位置にあるときに前記開口部を覆うと共に、前記本体に対して回動可能に軸支持されている印刷装置。
態様13:態様1から態様12のいずれかに記載の印刷装置において、前記可動体検出部は磁気抵抗素子センサである印刷装置。
態様14:態様3から態様12のいずれかに記載の印刷装置において、前記可動体検出部および前記開閉検出部は同一基板上に配置された磁気抵抗素子センサであり、前記開閉被検出部および前記可動体被検出部は磁性体である印刷装置。
態様15:本体と、少なくとも一部が本体を覆う閉位置と本体から離間する開位置との間で移動可能であるように本体に装着されている蓋体を備える印刷装置における蓋体の開閉を検出する開閉検出方法であって、前記蓋体が前記閉位置にあるとの検出結果を受け取り、前記蓋体と連動する可動体検出部によって、前記印刷装置に備えられていると共に前記印刷装置の作動に伴い位置が移動する可動体の移動位置を検出し、検出した前記可動体の移動位置に基づいて、前記蓋体が前記閉位置にあるか否かを判断する開閉検出方法。
In addition, this invention can also take the following aspects.
Aspect 1: printing apparatus, wherein the main body and at least a part of the lid are attached to the main body so as to be opened and closed between a closed position that covers the main body and an open position that is separated from the main body A movable body movable within the main body, a movement position detection unit that detects a movement position that is linked to the lid body and that is a position to which the movable body has moved, and the lid body is in a closed position. A printing apparatus comprising: a determination unit that receives a detection result and determines whether or not the lid is in a closed position based on the detected movement position of the movable body.
Aspect 2: The printing apparatus according to Aspect 1 further includes an opening / closing detection unit that detects whether or not the member of the lid is in the closed position in conjunction with the lid, and the determination unit includes the opening / closing The printing apparatus which acquires the detection result that the said cover body exists in the said closed position from a detection part.
Aspect 3: In the printing apparatus according to Aspect 1 or 2, in the main body, an opening / closing detection part is provided at a position facing the opening / closing detection part of the lid, and the movable body detection part in the movable body Printing apparatus provided with a movable body detection part at a position opposite to.
Aspect 4: In the printing apparatus according to any one of Aspects 1 to 3, the detection of the movement position of the movable body by the movement position detection unit is whether or not the movable body is at a predetermined determination position. It is detection, The said judgment part judges whether the said cover body exists in the said closed position based on the movement position detected on the conditions that the said movable body exists in the said determination position.
Aspect 5: In the printing apparatus according to aspect 4, the determination position is a mechanical movement limit position of the movable body to which the movable body moves when the lid is in the closed position, and the determination The printing apparatus determines that the lid is not in the closed position when the movable body is not detected at the determination position.
Aspect 6: In the printing apparatus according to aspect 5, the movable body detection unit outputs an affirmative signal when the movable body is present at the movement limit position, and the determination unit affirms from the movable body detection unit. A printing apparatus that determines that the movable body is not detected at the movement limit position when no signal is received.
Aspect 7: In the printing apparatus according to aspect 4, the determination position is a reference position serving as a reference for fluctuation of the movable body, where the movable body varies when the lid is in the closed position,
The determination unit is a printing apparatus that determines that the lid is not in the closed position when the movable body is not detected at the determination position.
Aspect 8: In the printing apparatus according to aspect 7, the movable body detection unit outputs a negative signal when the movable body is at the reference position, and the determination unit receives a negative signal from the movable body detection unit. The printing apparatus that determines that the movable body is not detected at the reference position when the signal is not received.
Aspect 9: The printing apparatus according to Aspect 5 or 7, wherein the determination unit determines that the lid is in the closed position when the movable body is detected at the determination position.
Aspect 10: The printing apparatus according to any one of aspects 1 to 7, wherein the movable body is a printing mechanism that operates in accordance with execution of printing.
Aspect 11: The printing apparatus according to Aspect 10, wherein the printing mechanism is a carriage.
Aspect 12: In the printing apparatus according to any one of aspects 1 to 11, the main body has an opening, and the lid covers the opening when in the closed position, and the A printing device that is pivotally supported.
Aspect 13: The printing apparatus according to any one of aspects 1 to 12, wherein the movable body detection unit is a magnetoresistive element sensor.
Aspect 14: In the printing apparatus according to any one of aspects 3 to 12, the movable body detection unit and the opening / closing detection unit are magnetoresistive element sensors disposed on the same substrate, and the opening / closing detection unit and the opening / closing detection unit The movable body detected portion is a printing apparatus that is a magnetic body.
Aspect 15: Opening and closing of the lid in a printing apparatus comprising a main body and a lid mounted on the main body so that the main body and an open position at least a part of which covers the main body are separated from the main body An open / close detection method for detecting a detection result that the lid is in the closed position, and a movable body detection unit interlocked with the lid, provided in the printing apparatus and An open / close detection method for detecting a moving position of a movable body whose position moves in accordance with an operation, and determining whether the lid body is in the closed position based on the detected moving position of the movable body.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。   As mentioned above, although this invention was demonstrated based on the Example and the modification, Embodiment mentioned above is for making an understanding of this invention easy, and does not limit this invention. The present invention can be changed and improved without departing from the spirit and scope of the claims, and equivalents thereof are included in the present invention.

本実施例に係る開閉検出装置を備える印刷装置の外観を示す説明図である。It is explanatory drawing which shows the external appearance of a printing apparatus provided with the opening / closing detection apparatus which concerns on a present Example. 本実施例に係る開閉検出装置を備える印刷装置の概略構成図である。It is a schematic block diagram of a printing apparatus provided with the opening / closing detection apparatus which concerns on a present Example. 本実施例に係る開閉検出装置を備える印刷装置の制御回路の内部構成を示す機能ブロック図である。It is a functional block diagram which shows the internal structure of the control circuit of a printing apparatus provided with the opening / closing detection apparatus which concerns on a present Example. 本実施例における第1および第2のセンサを印刷装置の正面からみた模式図である。It is the schematic diagram which looked at the 1st and 2nd sensor in a present Example from the front of the printing apparatus. 本実施例における第1および第2のセンサを印刷装置の右側面からみた模式図である。It is the schematic diagram which looked at the 1st and 2nd sensor in a present Example from the right side of a printing apparatus. GMRセンサの検知磁束密度と距離との関係を模式的に示す説明図である。It is explanatory drawing which shows typically the relationship between the detection magnetic flux density of a GMR sensor, and distance. 印刷装置の内部を上方から見た、キャリッジが所定位置以外の移動位置にある例を示す説明図である。FIG. 5 is an explanatory diagram illustrating an example in which the carriage is in a movement position other than a predetermined position when the inside of the printing apparatus is viewed from above. 印刷装置の内部を上方から見た、キャリッジが度当て位置にある例を示す説明図である。FIG. 4 is an explanatory diagram illustrating an example in which the carriage is in a contact position when the inside of the printing apparatus is viewed from above. 印刷装置の内部を上方から見た、キャリッジがホームポジションにある例を示す説明図である。FIG. 6 is an explanatory diagram illustrating an example in which the carriage is at a home position when the inside of the printing apparatus is viewed from above. 蓋体が開位置にある例を示す説明図である。It is explanatory drawing which shows the example which has a cover body in an open position. 蓋体が閉位置にある例を示す説明図である。It is explanatory drawing which shows the example which has a cover body in a closed position. 蓋体が閉位置にあると誤検出される可能性がある例を示す説明図である。It is explanatory drawing which shows the example which may be erroneously detected that a cover body exists in a closed position. 蓋体が図11に示す閉位置にある場合におけるセンサ部とキャリッジ磁石片と本体磁石片との関係を示す説明図である。It is explanatory drawing which shows the relationship between a sensor part, a carriage magnet piece, and a main body magnet piece when a cover body exists in the closed position shown in FIG. 蓋体が図12に示す閉位置と誤検出される位置にある場合におけるセンサ部とキャリッジ磁石片と本体磁石片との関係を示す説明図である。It is explanatory drawing which shows the relationship between a sensor part, a carriage magnet piece, and a main body magnet piece in the case where a cover body exists in the position erroneously detected with the closed position shown in FIG. キャリッジが度当たり位置にある場合に実行される蓋体開閉判定処理の処理ルーチンを示すフローチャートである。It is a flowchart which shows the process routine of the cover body opening / closing determination process performed when a carriage exists in a contact position. キャリッジがホームポジションにある場合に実行される蓋体開閉判定処理の処理ルーチンを示すフローチャートである。It is a flowchart which shows the process routine of the cover body opening / closing determination process performed when a carriage exists in a home position. キャリッジ位置条件と第1および第2のセンサの検出結果に基づいて実行される蓋体開閉判定処理の処理ルーチンを示すフローチャートである。It is a flowchart which shows the process routine of the cover body opening / closing determination process performed based on a carriage position condition and the detection result of a 1st and 2nd sensor. 磁石片の第1の変形例を示す説明図である。It is explanatory drawing which shows the 1st modification of a magnet piece. 磁石片の第2の変形例を示す説明図である。It is explanatory drawing which shows the 2nd modification of a magnet piece. 他の実施例における通常時のキャリッジ位置を示す説明図である。It is explanatory drawing which shows the carriage position at the normal time in another Example. 他の実施例におけるプラテンギャップ調整時のキャリッジ位置を示す説明図である。It is explanatory drawing which shows the carriage position at the time of platen gap adjustment in another Example. 変形例としての、開閉検出装置を備える印刷装置の概略構成図である。It is a schematic block diagram of a printing apparatus provided with the opening / closing detection apparatus as a modification. 変形例における、蓋体の構成を示す説明図である。It is explanatory drawing which shows the structure of the cover body in a modification. 変形例における、蓋体の構成を示す説明図である。It is explanatory drawing which shows the structure of the cover body in a modification. 変形例における、キャリッジ被検出片の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the carriage to-be-detected piece in a modification.

符号の説明Explanation of symbols

10…印刷装置
12…用紙支持板
14…用紙受け
20…本体
23…ホームポジションロック
25…センサ部収容部
27a…第1の偏心ギヤ
27b…第2の偏心ギヤ
27c…リンク部材
30…蓋体
31…軸
40…制御回路
41…CPU
42…メモリ
421…キャリッジ位置条件
422…蓋体開閉判断モジュール
43…入出力インターフェース
44…内部バス信号線
50…印刷機構
501…度当て板
51…キャリッジ
52…キャリッジモータ
53…プラテン
54…摺動軸
55…駆動ベルト
56…プーリ
57…紙送りモータ
58a…第1の紙送りローラ
58b…第2の紙送りローラ
60…センサ部
61…基板
62…第1のセンサ
63…第2のセンサ
70…キャリッジ磁石片
70a…検知用鉄板
71…本体磁石片
73…磁石片
80…センサ
90a…磁石
90b…磁石
92…金属片
CA1〜CA4…インクカートリッジ
P…印刷用紙
DESCRIPTION OF SYMBOLS 10 ... Printing apparatus 12 ... Paper support plate 14 ... Paper receiver 20 ... Main body 23 ... Home position lock 25 ... Sensor part accommodating part 27a ... 1st eccentric gear 27b ... 2nd eccentric gear 27c ... Link member 30 ... Cover 31 ... Axis 40 ... Control circuit 41 ... CPU
DESCRIPTION OF SYMBOLS 42 ... Memory 421 ... Carriage position condition 422 ... Lid opening / closing judgment module 43 ... Input / output interface 44 ... Internal bus signal line 50 ... Printing mechanism 501 ... Contact plate 51 ... Carriage 52 ... Carriage motor 53 ... Platen 54 ... Sliding shaft 55 ... Drive belt 56 ... Pulley 57 ... Paper feed motor 58a ... First paper feed roller 58b ... Second paper feed roller 60 ... Sensor unit 61 ... Substrate 62 ... First sensor 63 ... Second sensor 70 ... Carriage Magnet piece 70a ... Iron plate for detection 71 ... Main body magnet piece 73 ... Magnet piece 80 ... Sensor 90a ... Magnet 90b ... Magnet 92 ... Metal piece CA1-CA4 ... Ink cartridge P ... Printing paper

Claims (14)

印刷装置であって、
前記印刷装置の少なくとも一部を覆うことが可能な蓋体と、
前記印刷装置内において移動可能な可動体と、
前記蓋体と連動し、前記蓋体の前記印刷装置に対する位置を検出する蓋体位置検出部と、
前記可動体の位置を検出する可動体位置検出部と、
前記蓋体の位置と、前記可動体の位置とに基づいて、前記蓋体が前記印刷装置の少なくとも一部を覆っているか否かを判断する判断部であって、前記蓋体位置検出部から前記蓋体が前記印刷装置の少なくとも一部を覆う位置にあるとの検出結果を受けて、前記可動体位置検出部が検出した前記可動体の位置に基づいて前記蓋体が前記印刷装置の少なくとも一部を覆う位置にあるか否かを判断する判断部を備える印刷装置。
A printing device,
A lid capable of covering at least a part of the printing apparatus;
A movable body movable in the printing apparatus;
A lid position detection unit that detects the position of the lid relative to the printing device in conjunction with the lid;
A movable body position detector for detecting the position of the movable body;
Based on the position of the lid and the position of the movable body, the determination unit determines whether or not the lid covers at least a part of the printing apparatus, from the lid position detection unit In response to the detection result that the lid is in a position covering at least a part of the printing apparatus, the lid is at least of the printing apparatus based on the position of the movable body detected by the movable body position detection unit. printing apparatus comprising a determination unit that determines whether a part of the covering position.
請求項1に記載の印刷装置において、
前記蓋体が閉位置にある場合に前記蓋体位置検出部と対向する位置には、蓋体位置被検出部が備えられ、
前記蓋体が閉位置にある場合に前記可動体位置検出部と対向する位置には、可動体被検出部が備えられている印刷装置。
The printing apparatus according to claim 1 ,
When the lid is in the closed position , the lid body position detector is provided at a position facing the lid body position detector,
A printing apparatus provided with a movable body detection unit at a position facing the movable body position detection unit when the lid is in a closed position .
請求項またはに記載の印刷装置において、
前記可動体位置検出部による、前記可動体の位置の検出は、前記可動体が予め定められた判定位置にあるか否かの検出であり、
前記判断部は、前記可動体が前記判定位置にある条件において検出された可動体存在位置に基づいて、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にあるか否かを判断する印刷装置。
The printing apparatus according to claim 1 or 2 ,
The detection of the position of the movable body by the movable body position detection unit is detection of whether or not the movable body is at a predetermined determination position,
The determination unit determines whether the lid is in a position that covers at least a part of the printing apparatus based on a movable body presence position detected under the condition that the movable body is at the determination position. apparatus.
請求項に記載の印刷装置において、
前記判定位置は、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にある場合に前記可動体が移動する、前記可動体の機械的な移動限界位置であり、
前記判断部は、前記判定位置に前記可動体が検出されない場合には、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にないことを判断する印刷装置。
The printing apparatus according to claim 3 .
The determination position is a mechanical movement limit position of the movable body where the movable body moves when the lid body is at a position covering at least a part of the printing apparatus,
When the movable body is not detected at the determination position, the determination unit determines that the lid is not in a position that covers at least a part of the printing apparatus.
請求項に記載の印刷装置において、
前記可動体位置検出部は、前記移動限界位置に前記可動体がある場合には肯定信号を出力し、
前記判断部はさらに、前記可動体位置検出部から肯定信号を受信しない場合に、前記移動限界位置に前記可動体が検出されないと判定する印刷装置。
The printing apparatus according to claim 4 ,
The movable body position detector outputs an affirmative signal when the movable body is at the movement limit position,
The determination unit further determines that the movable body is not detected at the movement limit position when an affirmative signal is not received from the movable body position detection unit.
請求項に記載の印刷装置において、
前記判定位置は、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にある場合に前記可動体が変動する、前記可動体の変動の基準となる基準位置であり、
前記判断部は、前記判定位置に前記可動体が検出されない場合には、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にないことを判断する開閉検出装置。
The printing apparatus according to claim 3 .
The determination position is a reference position serving as a reference for fluctuation of the movable body, where the movable body fluctuates when the lid is at a position covering at least a part of the printing apparatus,
The determination unit is an open / close detection device that determines that the lid is not in a position that covers at least a part of the printing apparatus when the movable body is not detected at the determination position.
請求項に記載の印刷装置において、
前記可動体位置検出部は、前記基準位置に前記可動体がある場合には否定信号を出力し、
前記判断部はさらに、前記可動体位置検出部から否定信号を受信しない場合に、前記基準位置に前記可動体が検出されないと判定する印刷装置。
The printing apparatus according to claim 6 .
The movable body position detector outputs a negative signal when the movable body is at the reference position,
The determination apparatus further determines that the movable body is not detected at the reference position when no negative signal is received from the movable body position detection section.
請求項または請求項に記載の印刷装置において、
前記判断部は、前記判定位置に前記可動体が検出される場合には、前記蓋体が前記印刷装置の少なくとも一部を覆う位置にあると判断する印刷装置。
The printing apparatus according to claim 4 or 6 ,
When the movable body is detected at the determination position, the determination unit determines that the lid is in a position covering at least a part of the printing apparatus.
請求項2に記載の印刷装置において、The printing apparatus according to claim 2,
前記可動体位置検出部および前記蓋体位置検出部は同一基板上に配置された磁気抵抗素子センサであり、  The movable body position detection unit and the lid body position detection unit are magnetoresistive element sensors arranged on the same substrate,
前記蓋体位置被検出部および前記可動体被検出部は磁性体である印刷装置。  The lid device position detection unit and the movable body detection unit are printing apparatuses that are magnetic materials.
請求項1から請求項のいずれかに記載の印刷装置において、
前記可動体は印刷の実行に伴い作動する印刷機構である印刷装置。
The printing apparatus according to any one of claims 1 to 9 ,
The movable body is a printing apparatus that is a printing mechanism that operates in accordance with execution of printing.
請求項10に記載の印刷装置において、
前記印刷機構はキャリッジである印刷装置。
The printing apparatus according to claim 10.
A printing apparatus in which the printing mechanism is a carriage.
請求項1から請求項11のいずれかに記載の印刷装置はさらに、
開口部を有する本体を備え、
前記蓋体は前記印刷装置の少なくとも一部を覆う位置にあるときに前記開口部を覆うと共に、前記本体に対して回動可能に軸支持されている印刷装置。
The printing apparatus according to any one of claims 1 to 11, further comprising:
Comprising a body having an opening;
The printing apparatus is configured to cover the opening when the lid is in a position covering at least a part of the printing apparatus, and is pivotally supported with respect to the main body.
請求項1から請求項12のいずれかに記載の印刷装置において、
前記可動体位置検出部は磁気抵抗素子センサである印刷装置。
The printing apparatus according to any one of claims 1 to 12,
The movable body position detection unit is a printing apparatus that is a magnetoresistive sensor.
印刷装置における蓋体の開閉を検出する開閉検出方法であって、
前記蓋体の前記印刷装置に対する位置を検出し、
前記印刷装置に備えられていると共に前記印刷装置の作動に伴い位置が移動する可動体の位置を検出し、
前記蓋体の位置が前記印刷装置の少なくとも一部を覆う位置にあるとの検出結果を受けて、検出された前記可動体の位置に基づいて前記蓋体が前記印刷装置の少なくとも一部を覆う位置にあるか否かを判断する開閉検出方法。
An opening / closing detection method for detecting opening / closing of a lid in a printing apparatus,
Detecting the position of the lid relative to the printing device;
Detecting the position of a movable body that is provided in the printing apparatus and whose position moves with the operation of the printing apparatus;
In response to the detection result that the position of the lid is at a position covering at least a part of the printing apparatus, the lid covers at least a part of the printing apparatus based on the detected position of the movable body. An open / close detection method for determining whether or not the vehicle is in a position.
JP2008218188A 2008-08-27 2008-08-27 Printing apparatus and lid opening / closing detection method in printing apparatus Expired - Fee Related JP5326431B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008218188A JP5326431B2 (en) 2008-08-27 2008-08-27 Printing apparatus and lid opening / closing detection method in printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008218188A JP5326431B2 (en) 2008-08-27 2008-08-27 Printing apparatus and lid opening / closing detection method in printing apparatus

Publications (2)

Publication Number Publication Date
JP2010052216A JP2010052216A (en) 2010-03-11
JP5326431B2 true JP5326431B2 (en) 2013-10-30

Family

ID=42068662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008218188A Expired - Fee Related JP5326431B2 (en) 2008-08-27 2008-08-27 Printing apparatus and lid opening / closing detection method in printing apparatus

Country Status (1)

Country Link
JP (1) JP5326431B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991864A (en) * 2014-08-29 2016-10-05 富士施乐株式会社 Open/closed sensing device, opening and closing device using open/closed sensing device, and processing apparatus

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5884458B2 (en) * 2011-12-15 2016-03-15 沖電気工業株式会社 Printing device
US10419622B2 (en) * 2017-01-16 2019-09-17 Kyocera Document Solutions Inc. Image reading device and image forming apparatus including the same

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62222872A (en) * 1986-03-25 1987-09-30 Brother Ind Ltd Electronic typewriter
JPS62222879A (en) * 1986-03-25 1987-09-30 Brother Ind Ltd Electronic typewriter
JPS6327283A (en) * 1986-07-18 1988-02-04 Brother Ind Ltd Printing apparatus
JP3131800B2 (en) * 1992-03-25 2001-02-05 株式会社リコー Ink end and cover open / close detector
JPH06124630A (en) * 1992-10-13 1994-05-06 Fuji Photo Film Co Ltd Door sensor
JP3097707U (en) * 2003-05-09 2004-02-05 船井電機株式会社 Printing device
JP4124089B2 (en) * 2003-10-09 2008-07-23 村田機械株式会社 Cover open / close detection mechanism
JP4744353B2 (en) * 2005-09-30 2011-08-10 株式会社沖データ Image forming apparatus
JP2007118314A (en) * 2005-10-26 2007-05-17 Funai Electric Co Ltd Inkjet printer
JP2007140044A (en) * 2005-11-17 2007-06-07 Canon Inc Image forming apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991864A (en) * 2014-08-29 2016-10-05 富士施乐株式会社 Open/closed sensing device, opening and closing device using open/closed sensing device, and processing apparatus
CN105991864B (en) * 2014-08-29 2018-11-13 富士施乐株式会社 ON/OFF detection device, opening/closing device and processing unit using it

Also Published As

Publication number Publication date
JP2010052216A (en) 2010-03-11

Similar Documents

Publication Publication Date Title
US8192001B2 (en) Cartridge ejection apparatus for inkjet printing
CA2852339C (en) Ink stick identification system
US8002380B2 (en) Cartridge-information detecting device
US20080084448A1 (en) Printing device, and control of printing device
US8770739B2 (en) Image forming apparatus
US20140152745A1 (en) Image forming apparatus
EP1628835B1 (en) Image forming apparatus
JP2010228378A (en) Ink supply device
JP2008246999A (en) Ink cartridge determination device and ink cartridge determination method
JP2010228386A (en) Ink supplying device
JP2019069567A (en) Liquid discharge device
JP5326431B2 (en) Printing apparatus and lid opening / closing detection method in printing apparatus
JP2011167859A (en) Image forming device
JP6263891B2 (en) Control method for liquid ejection system and liquid ejection system
JP2010052217A (en) Apparatus and method for detecting opening/closing
JP6704892B2 (en) Inkjet recording device and ink bottle
JP2004255753A (en) Inkjet recorder
JP5211991B2 (en) Droplet ejection device and liquid cartridge
US20140085378A1 (en) Recording apparatus
JP2019177617A (en) Liquid discharge device
JP2016060097A (en) Printing apparatus
JP7067202B2 (en) Liquid consuming equipment and programs
JP5040663B2 (en) Fluid ejection device and assembly position determination method thereof
US7461915B2 (en) Inkjet recording apparatus
US20120212543A1 (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121226

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130221

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130708

R150 Certificate of patent or registration of utility model

Ref document number: 5326431

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees