JP3731579B2 - End position detection apparatus and image forming apparatus - Google Patents

End position detection apparatus and image forming apparatus Download PDF

Info

Publication number
JP3731579B2
JP3731579B2 JP2002348270A JP2002348270A JP3731579B2 JP 3731579 B2 JP3731579 B2 JP 3731579B2 JP 2002348270 A JP2002348270 A JP 2002348270A JP 2002348270 A JP2002348270 A JP 2002348270A JP 3731579 B2 JP3731579 B2 JP 3731579B2
Authority
JP
Japan
Prior art keywords
medium
reflected light
detected
detection
light amount
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
JP2002348270A
Other languages
Japanese (ja)
Other versions
JP2004181659A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2002348270A priority Critical patent/JP3731579B2/en
Priority to US10/724,227 priority patent/US6863459B2/en
Publication of JP2004181659A publication Critical patent/JP2004181659A/en
Application granted granted Critical
Publication of JP3731579B2 publication Critical patent/JP3731579B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Controlling Sheets Or Webs (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、媒体の幅方向における両端部の位置を検出する端部位置検出装置、および端部位置検出装置を備えた画像形成装置に関する。
【0002】
【従来の技術】
従来より、媒体の両端部の位置を検出する端部位置検出装置として、発光部(発光素子)と受光部(受光素子)とを含む光学式センサを有し、この光学式センサが媒体の幅方向に往復しながら、媒体の両端部の位置を検出するものが知られている(特許文献1参照)。
【0003】
この端部位置検出装置には、媒体の幅方向に走査可能なキャリッジに光学式センサが搭載されている。媒体の端部位置の検出は、キャリッジが媒体の一方の端部から他端部まで移動する際に、光学式センサが一定間隔で媒体からの反射光量をサンプリングし、媒体がある位置と無い位置との光学式センサからの出力差を基準にして、媒体の有無を判定する閾値を設定する。次に、キャリッジが戻ってくる際に、再び光学式センサが媒体からの反射光量を検出し、光学式センサが検出した反射光量と、設定された閾値とを比較することによって、媒体の両端部を検出する。
【0004】
このようにして、上記端部位置検出装置は媒体の端部位置を検出していた。
【0005】
【特許文献1】
特2907597号公報
【0006】
【発明が解決しようとする課題】
しかしながら、上記端部位置検出装置では、光学式センサがサンプリングした反射光量に基づいて、媒体の左端部および右端部を検出するための閾値を設定し、設定された1つの閾値を左端部および右端部の検出に使用していた。このため、汚れや黄ばみ等によって、左端部と右端部とで、色合いや反射率が異なる媒体を用いる場合や、予め文字や図形が印刷された媒体を用いる場合には、左端部および右端部の検出に誤差が生じ易く、正確な端部位置を検出し難いという問題点があった。
【0007】
そこで、このような問題点を鑑み、媒体の両端部の位置をより正確に検出できる端部位置検出装置、を提供することを本発明の目的とする。
【0008】
【課題を解決するための手段および発明の効果】
かかる目的を達成するために成された、請求項1に記載の発明は、媒体からの反射光のレベルを検出する反射光量検出手段と、前記媒体の幅方向に、前記反射光量検出手段による反射光量検出位置を変化させながら、前記反射光量検出手段が検出した反射光量、および前記媒体の端部を判定する閾値、を比較することによって、前記媒体の両端部の位置を検出する端部位置検出手段と、を備えた端部位置検出装置において、前記反射光量検出手段が、前記媒体上であって左端部近傍に位置する左領域で検出した反射光量に基づいて、前記媒体の左端部の位置を判定するための左端検出用閾値を設定すると共に、前記反射光量検出手段が、前記媒体上であって右端部近傍に位置する右領域で検出した反射光量に基づいて、前記媒体の右端部の位置を判定するための右端検出用閾値を設定する閾値設定手段を備えたことを特徴としている。
【0009】
このように、請求項1に記載の発明では、反射光量検出手段が検出した反射光量に基づいて左端検出用閾値と右端検出用閾値とを別々に求め、求められた閾値と反射光量検出手段が検出した反射光量とを比較することによって、左端部および右端部を別々に検出するため、汚れや黄ばみ等によって左端部と右端部とで媒体の色合いや反射率が異なる場合であっても、正確に媒体の端部位置を検出することができる。
【0010】
ここで、閾値設定手段は、左領域および右領域のそれぞれ1点で検出した反射光量に基づいて左端検出用閾値および右端検出用閾値を設定するように構成してもよいが、より好ましくは、請求項2に記載のように、閾値設定手段は、左領域および右領域のそれぞれ複数箇所で検出した反射光量に基づいて、左端検出用閾値および右端検出用閾値を別々に設定するように構成するか、或いは、請求項3に記載のように、左領域および右領域のそれぞれ複数箇所で検出した反射光量の平均値に基づいて、左端検出用閾値および右端検出用閾値を別々に設定するように構成するとよい。
【0011】
このようにすると、反射光量の検出にばらつきが発生しても、このばらつきの影響を低減することができるので、正確に媒体の端部位置を検出することができる。
また、閾値を設定するために媒体からの反射光量を検出する左領域および右領域は、媒体の各端部から中心位置までの領域よりも広い領域であってもよいが、請求項4に記載のように、左領域は媒体の中心位置から左端部までの領域であり、右領域は媒体の中心位置から端部までの領域であることが好ましい。
【0012】
このようにすると、左端検出用閾値は媒体の左半分の領域で得られた反射光量で検出すると共に、右端検出用閾値は媒体の右半分の領域で得られた反射光量で検出することが可能となり、端部により近い位置の反射光量を検出できるので、より正確に端部を求めることができる。
【0013】
次に、請求項4に記載の端部位置検出装置は、中心位置を特定する必要があることから、中心位置を特定するために、請求項5に記載のように、媒体の中心位置は、該端部位置検出装置の予め設定された位置に来るように構成されているとよい。例えば、請求項6に記載のように、前記媒体を、所定の中心位置から左右両側に均等に変位可能なガイドによって位置決めするようにすれば、中心位置を特定できるため、左領域および右領域を特定することができる。
【0014】
また、請求項7に記載のように、反射光量検出手段は、媒体の幅方向に移動可能であって、媒体の中心位置は、前記反射光量検出手段の所定位置から予め設定された距離だけ離間した位置にあるように構成されていてもよい。
このように、媒体の中心位置を特定できれば、左端部および右端部のどちらかの概略位置を検出することで左領域および右領域が特定可能となるので、端部位置の検出を容易にすることができる。
【0015】
また、両端部を検出するための、左端検出用閾値および右端検出用閾値を正確に求めるためには、両端部の概略位置が分かる必要性があるため、請求項5〜7の何れかに記載の端部位置検出装置において、請求項8に記載のように、少なくとも媒体の概略幅を認知する認知手段を更に備え、反射光量検出手段は、認知手段が認知した媒体の概略幅と媒体の中心位置と、に基づいて反射光量を検出するとよい。
【0016】
このように、例えばコンピュータ等のホスト装置からの指令により、認知手段が媒体の幅および中心位置を認知可能な場合には、両端部の仮検知をする必要が無くなるので、端部位置の検出を簡略化することができる。
次に、請求項1〜8に記載の端部位置検出装置では、反射光量検出手段による反射光量の検出と、閾値設定手段による閾値の設定と、端部位置検出手段による左端部および右端部の検出とによって、媒体の両端部を検出するが、その検出動作を1回だけ行うようにすると、媒体の両端部を検出できないことがある。
【0017】
そこで、このように端部位置検出手段が左端部および右端部の少なくとも一方の端部位置を検出できなかった場合には、請求項9に記載のように、媒体をその幅方向と垂直な方向に搬送する搬送手段が媒体を所定量だけ搬送し、再び、反射光量検出手段による反射光量の検出と、閾値設定手段による閾値の設定と、端部位置検出手段による左端部および右端部の検出と、を行うことが望ましい。
【0018】
このようにすると、媒体の汚れ等で初めの検出位置で端部が検出できなかった場合でも、別の位置で端部を再検出することによって、正確に端部の位置を検出することができる。
また、請求項10に記載のように、予め設定された概略位置検出用閾値と、反射光検出手段が検出した反射光量と、を比較することによって媒体の概略位置を検出する概略位置検出手段を更に備え、閾値設定手段は、概略位置検出手段によって検出された概略位置を踏まえて、左端検出用閾値および右端検出用閾値を設定することが好ましい。
【0019】
このようにすると、検出した概略位置を踏まえて、閾値設定手段がより的確に各閾値を設定することができるので、より正確に端部の位置を検出することができる。
更に、請求項10に記載の端部位置検出装置では、反射光量検出手段による反射光量の検出と、概略位置検出手段による前記媒体の両端の概略位置の検出と、閾値設定手段による閾値の設定と、端部位置検出手段による左端部および右端部の検出とによって、媒体の両端部を検出するが、1回だけでは媒体の両端部を検出できないことがある。このように、端部位置検出手段が左端部および右端部の少なくとも一方の端部を検出できなかった場合には、請求項11に記載のように、搬送手段が媒体を所定量だけ搬送し、再び、反射光量検出手段による反射光量の検出と、概略位置検出手段による前記媒体の概略位置の検出と、閾値設定手段による閾値の設定と、端部位置検出手段による左端部および右端部の検出と、を行うことが望ましい。
【0020】
このようにすると、媒体の汚れ等で初めの検出位置で端部が検出できなかった場合でも、別の位置で端部を再検出することによって、正確に端部の位置を検出することができる。
また、請求項12に記載の発明は、媒体上を幅方向に移動して前記媒体上に画像を形成する画像形成手段を備えた画像形成装置であって、請求項1〜11の何れかに記載の端部位置検出装置を備えたことを特徴としている。
【0021】
この画像形成装置によれば、前述の端部位置検出装置を搭載することによって、正確な端部位置を検出可能な画像形成装置を提供することが可能となり、画像形成可能な領域に過不足無く画像形成をすることができる。
【0022】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照しながら説明する。
〔実施例1〕
本実施形態は、プリンタ機能、コピー機能、スキャナー機能、ファクシミリ機能、および電話機能等を備えた多機能装置に本発明を適用した場合の一例であり、図1に多機能装置1の斜視図を示す。
【0023】
図1に示すように、多機能装置1には、後端部に給紙装置2が設けられ、給紙装置2の下部前側にインクジェット式のプリンタ3が設けられ、プリンタ3の上側にコピー機能とファクシミリ機能の為の読み取り装置4が設けられている。プリンタ3の前側に排紙トレー5が設けられ、読み取り装置4の前端上面部に操作パネル6が設けられている。
【0024】
給紙装置2は、用紙を傾斜姿勢に保持する傾斜壁部66と、傾斜壁部66に着脱自在に装着される拡張用紙ガイド67とを備えており、複数枚の用紙を蓄積することができる。傾斜壁部66には、給紙モータ(図示省略)や給紙ローラ(図示省略)などが内蔵されており、給紙モータの駆動力により給紙ローラが回転すると、回転する給紙ローラが、用紙をプリンタ3に向けて送出する。また、拡張用紙ガイド67は、傾斜壁部66に蓄積された複数枚の用紙の中心位置を固定しながら両側に均等に開く構造を有し、用紙の横ずれを防止する役割を担っている。
【0025】
次に、プリンタ3について説明する。なお、図2に、プリンタ3の内部構造を表す平面図を示す。
図2に示すように、プリンタ3には、印字ヘッド10、印字ヘッド10を搭載したキャリッジ11、キャリッジ11を走査方向である左右方向へ移動自在にガイド支持するガイド機構12、キャリッジ11を左右方向へ移動させるキャリッジ移動機構13、給紙装置2で給紙された用紙を搬送する用紙搬送機構14、印字ヘッド10用のメンテナンス機構15などが設けられている。
【0026】
プリンタ3には、左右方向に長く上下幅が小さな直方体状のフレーム16が設けられ、このフレーム16には、ガイド機構12、キャリッジ移動機構13、用紙搬送機構14、メンテナンス機構15などが装着され、さらに、このフレーム16の内部には、印字ヘッド10とキャリッジ11が左右方向へ移動可能に収容されている。
【0027】
フレーム16の後側板16aと前側板16bに用紙導入口と用紙排出口(図示略)が形成され、給紙装置2により給紙された用紙は、用紙導入口からフレーム16の内部に導入され、用紙搬送機構14により前方へ搬送されて用紙排出口からその前方の排紙トレー5(図1参照)に排出される。フレーム16の底面部には、複数のリブを有するプラテン17が装着され、フレーム16の内部において、プラテン17の上を移動する用紙に印字ヘッド10による印字が実行される。
【0028】
印字ヘッド10には、4組のインクノズル群10a〜10dが下方に向けて設けられ、これらインクノズル群10a〜10dから4色(ブラック、シアン、イエロー、マゼンダ)のインクを下側に噴射して用紙に印字可能である。なお、4組のインクノズル群10a〜10dは、印字ヘッド10の下側に設けられるため、図2では、透過した位置に点線で表している。
【0029】
フレーム16の前側のカートリッジ装着部20に装着された4色のインクカートリッジ21a〜21dは、フレーム16の内部を通る4本の可撓性のインクチューブ22a〜22dを介して印字ヘッド10に接続され、4色のインクが印字ヘッド10に供給される。
【0030】
また、フレーム16の内部に左右2本のFPC23,24(フレキシブル・プリント・サーキット)が配設され、左側のFPC23は2本のインクチューブ22a,22bと一体的に印字ヘッド10に延びて接続され、右側のFPC24は2本のインクチューブ22c,22dと一体的に印字ヘッド10に延びて接続されている。FPC23,24には、後述する処理実行装置70(図2では、図示省略)と印字ヘッド10とを電気的に接続する複数の信号線が配線されている。
【0031】
ガイド機構12は、フレーム16内の後部において左右方向向き配設されて左右両端部がフレーム16の左側板16cと右側板16dに連結されたガイド軸25と、フレーム16内の前部に形成された左右方向向きのガイドレール26とを有し、キャリッジ11の後端部がガイド軸25に摺動自在に外嵌され、キャリッジ11の前端部がガイドレール26に摺動自在に係合している。
【0032】
キャリッジ移動機構13は、フレーム16の後側板16aの右端部後側に前向きに取り付けられたキャリッジモータ30、キャリッジモータ30で回転駆動される駆動プーリ31、後側板16aの左端部に回動自在に支持された従動プーリ32、これらプーリ31,32に掛けられてキャリッジ11に固定されたベルト33などで構成されている。キャリッジ11(印字ヘッド10)の移動量を検出するためのキャリッジ送り用エンコーダ39が、キャリッジモータ30の近傍に設けられている。
【0033】
用紙搬送機構14は、フレーム16の左側板16cのうち後側板16aよりも後側に張り出した部分に左向きに取り付けられた用紙搬送モータ40と、フレーム16の内部のガイド軸25の下側に左右方向向きに配設されて左右両端部が左側板16cと右側板16dに回動自在に支持されたレジストローラ41と、用紙搬送モータ40で回転駆動される駆動プーリ42と、レジストローラ41の左端部に連結された従動プーリ43と、プーリ42,43に掛けられたベルト44とを有し、用紙搬送モータ40が駆動されると、レジストローラ41が回転して用紙を前後方向に搬送可能になる。図2では、レジストローラ41が強調して記載されているが、実際にはガイド軸25の下方にレジストローラ41が配置されている。
【0034】
また、用紙搬送機構14は、フレーム16の内部の前側に左右方向向きに配設されて左右両端部が左側板16cと右側板16dに回動自在に支持された排紙ローラ45と、従動プーリ43に一体的に設けられた従動プーリ46と、排紙ローラ45の左端部に連結された従動プーリ47と、プーリ46,47に掛けられたベルト48とを有し、用紙搬送モータ40が駆動されると、排紙ローラ45が回転して用紙を前方の排紙トレー5側へ排出可能になる。
【0035】
従動プーリ43にエンコーダディスク51が固定され、このエンコーダディスク51を挟むように発光部と受光部とを有するフォトインタラプタ52が左側板16cに取り付けられている。この用紙搬送用エンコーダ50(フォトインタラプタ52)からの検出信号に基づいて、後述する処理実行装置70により用紙搬送モータ40が駆動制御される。
【0036】
尚、メンテナンス機構15は、印字ヘッド10のヘッド面を拭き取るワイパ15aと、4組インクノズル群10a〜10dを2組ずつ密閉可能な2つのキャップ15bと、ワイパ15aとキャップ15bを夫々駆動する共通の駆動モータ15cを有し、これらワイパ15aとキャップ15bと駆動モータ15c等が取付板15dに取り付けられ、この取付板15dがフレーム16の底板の右部に下面側から固定されている。なお、キャップ15bは、印字ヘッド10の下側に設けられるため、図2では、透過した位置に点線で表している。
【0037】
そして、図2に示すように、印字ヘッド10の左端部には、用紙の先端部、後端部、幅方向における端縁等を検出可能なメディアセンサ68が設けられている。このメディアセンサ68は、発光部(発光素子)と受光部(受光素子)とを含む光学式センサであり、印字ヘッド10の左側へ張り出すセンサ取付部10eに下向きに取り付けられている。
【0038】
また、メディアセンサ68よりも用紙搬送方向上流側(つまり後側)には、用紙の有無や先端部、後端部を検出可能なレジストセンサ69(図3参照。図2では図示省略。)が設けられており、具体的には、給紙装置2の搬送通路を形成する上カバーの前端部に取り付けられている。
【0039】
このレジストセンサ69は、例えば、用紙搬送路に突出して搬送中の用紙により回動される検出子、発光部および受光部を備えて検出子の回動を検出するフォトインタラプタ、検出子を用紙搬送路側へ付勢する捩りバネを有する機械式センサを用いて構成することができる。なお、検出子には遮蔽部が一体的に設けられており、搬送中の用紙により検出子が回動されると、遮蔽部がフォトインタラプタの発光部と受光部との間以外の空間に配置されて、発光部から受光部への光の伝達が遮断されなくなり、レジストセンサ69がON状態となる。また、用紙が搬送されておらず、検出子が捩りバネにより用紙搬送路側へ付勢されると、遮蔽部がフォトインタラプタの発光部と受光部との間に配置されて、発光部から受光部への光の伝達が遮断されると、レジストセンサ69がOFF状態となる。
【0040】
次に、処理実行装置70について説明する。図3に、処理実行装置70の概略構成を表すブロック図を示す。
図3に示すように、処理実行装置70は、CPU71とROM72とRAM73とEEPROM74とを有するマイクロコンピュータを備えており、レジストセンサ69、メディアセンサ68、用紙搬送用エンコーダ50、操作パネル6、キャリッジ送り用エンコーダ39などが電気的に接続されている。
【0041】
また、処理実行装置70は、給紙モータ65、用紙搬送モータ40、キャリッジモータ30を夫々駆動する為の駆動回路76a〜76cと、印字ヘッド10を駆動する為の印字駆動回路76dとが電気的に接続されると共に、パーソナルコンピュータ77(PC77)等のホスト装置を接続可能に構成されている。
【0042】
CPU71はPC77から送られた印字データを一旦RAM73に格納した後に、RAM73に格納された印字データを予めROM72に格納されたプログラムに従って、画像データに変換する処理を行う。また、CPU71は、レジストセンサ69と、メディアセンサ68と、用紙搬送用エンコーダ50と、キャリッジ送り用エンコーダ39とからの検知に基づいて、用紙の両端部の検知を行う。
【0043】
次に、用紙の両端検知の動作について、図4および図5を用いて説明する。図4は処理実行装置70が行う両端検知手順を示すフローチャートである。また、図5はメディアセンサ68の受光部が受光した反射光量に基づくメディアセンサ68の出力を示すグラフである。
【0044】
図4に示すS301にて、用紙搬送モータ40を駆動し、レジストセンサ69で用紙端を検出した後、所定の位置まで用紙101(図5参照)を搬送する。次に、S302にて、PC77からの指令等により、用紙101の概略幅が既知である場合には、S303に進み、拡張用紙ガイド67によって既知となった中心位置および用紙101の概略幅に基づいて両端概略位置106A、106B(図5参照)の算出を行った後にS305に進む。また、両端部の概略幅が既知では無い場合には、S304に進み、キャリッジモータ30を駆動し、メディアセンサ68によって、例えば、用紙101の先端から30mm内側に位置する読取領域107(図5参照)にて、反射光量検出を行う。この際、予めEEPROM74に格納された初期閾値102(図5参照)と、メディアセンサ68が受光した反射光量とに基づいて両端部の概略位置106A、106Bを検出し、得られた両端部の概略位置106A、106BをRAM73に記憶させた後にS305に進む。この際、メディアセンサ68が受光した反射光量に基づくメディアセンサ68の出力値105(図5参照)は、例えば図5に示す出力波形になる。尚、図5において、縦軸はメディアセンサ68からの出力である電圧値〔V〕、横軸は用紙101の幅方向におけるメディアセンサ68の変位を示す。
【0045】
次に図4において、S305では、用紙の両端部の概略位置106A、106Bを踏まえ、用紙101上であって左端部101A(図5参照)近傍の領域である左領域101C(図5参照)、および右端部101B(図5参照)近傍の領域である右領域101D(図5参照)まで、メディアセンサ68をキャリッジモータ30の駆動によって移動し、反射光量の検出を行う。ここで、反射光量の検出は、左領域101Cおよび右領域101Dの、それぞれの領域内で、例えば300dpiの間隔で10箇所程度サンプリングを行い、得られた反射光量に基づく出力値105を別々にRAM73に格納する。尚、本実施例(実施例1)において、左領域101Cおよび右領域101Dは、各端部から20mm離れた1mm幅の領域内に設定している。このように左領域101Cおよび右領域101Dを設定したのは、用紙101の仮検出した各端部106A、106B近傍で検出するようにすると、用紙101の撓み等の姿勢の影響を受けることも考えられるので、ある程度各端部から離れた位置で検出したほうが検出の際のばらつきが小さいと考えられるからである。
【0046】
次にS306では、CPU71がRAM73に格納された各出力値105を左領域101Cおよび右領域101Dごとに平均化し、それぞれの平均値を左領域101C、右領域101Dの出力値として再びRAM73に格納する。更にS307に進み、例えば、各平均値の50%を左端検出用閾値103および右端検出用閾値104(図5参照)として設定し、RAM73に保存する。この際、左端検出用閾値103と右端検出用閾値104との差をδ(図5参照)とする。
【0047】
次にS308にて、用紙101の左端部101Aおよび右端部101Bを含む領域の反射光量検出を行い、この際得られた反射光量に基づく出力値と、RAM73に保存された左端検出用閾値103および右端検出用閾値104とを比較することによって、左端部101Aおよび右端部101Bを特定する。
【0048】
汚れや黄ばみ等によって、左端部101Aと右端部101Bとで、色合いや反射率が異なる用紙101を用いる場合や、予め文字や図形が印刷された用紙101を用いる場合には、正常に両端位置が検出できないことがある。このような場合に備えて、S309にて、少なくとも1端部が検出されていない場合には、S310に進み、一定距離だけ用紙101を更に搬送し、別の位置で再びS302からの両端検出を繰り返すことによって確実に両端位置を検出できるようにしている。また、S309にて、両端位置が検出されていればそのまま両端位置検出を終了する。
【0049】
このようにして用紙101の両端検知は行われる。
このような多機能装置1では、メディアセンサ68が検出した反射光量に基づく出力値105に基づいて左端検出用閾値103と右端検出用閾値104とを別々に求め、求められた各閾値103、104とメディアセンサ68が検出した反射光量に基づく出力値105とを比較することによって、左端部101Aおよび右端部101Bを別々に検出するため、汚れや黄ばみ等によって左端部101Aと右端部101Bとで用紙101の色合いや反射率が異なる場合であっても、正確に用紙101の両側の端部位置を検出することができる。
【0050】
また、左領域101Cおよび右領域101Dのそれぞれ複数箇所で検出した出力値105の平均値に基づいて、左端検出用閾値103および右端検出用閾値104を別々に設定しているので、出力値105の検出にばらつきが発生しても、このばらつきの影響を低減することができる。
【0051】
更に、左端検出用閾値103は左領域101Cで検出すると共に、右端検出用閾値104は右領域101Dで検出するので、各端部により近い位置の出力値105を検出できる。
加えて、両端部の概略位置106A、106Bを検出し、検出した概略位置106A、106Bに基づいて左領域101Cおよび右領域101Dを設定し、各領域内で検出された出力値105に基づいて、処理実行装置70が各閾値103、104を設定することで、用紙101の特性に応じた各閾値103、104を設定することができる。
【0052】
上述の事項により、正確に用紙101の端部の位置を検出することができる。
更に、処理実行装置70が左端部101Aおよび右端部101Bの少なくとも一方の端部を検出できなかった場合には、用紙搬送モータ40が用紙101を所定量だけ搬送し、再び、S302〜S308までの端部位置検出動作を行うので、用紙101の汚れ等で初めの検出位置で端部が検出できなかった場合でも、別の位置で端部を再検出することによって、確実に各端部の位置を検出することができる。
【0053】
また、本実施例(実施例1)のように、プリンタ3を含む多機能装置1が端部位置検出装置を備えることによって、正確な端部位置を検出可能なプリンタ3を提供することが可能となり、画像形成可能な領域に過不足無く画像形成をすることができる。
【0054】
尚、本実施例(実施例1)の多機能装置1では、用紙101の両側に均等に開く拡張用紙ガイド67を備えているので、用紙101の中心位置が予め設定された位置に来るように構成されているが、用紙101の幅に応じて、用紙101を載置する位置が決まっている場合において、用紙101の中心位置を検知するには、例えば、メディアセンサ68の所定位置から、キャリッジ送り用エンコーダ39における、あるステップ数だけ離間した位置に用紙101の中心位置があるように関連付けて構成されていればよい。
【0055】
本実施例(実施例1)では、両端部の概略位置を検出したが(S304)、上記のように多機能装置1が構成されていると、用紙101の中心位置が予め検知できるので、端部の概略位置106A、106Bのどちらかを検出すれば左領域101Cおよび右領域101Dを特定できる。従って、端部位置の検出を簡略化することができる。
【0056】
また、例えばPC77等のホスト装置からの指令により媒体の幅および中心位置が認知可能な場合には、両端部の仮検知(S304)をする必要が無くなるので、端部位置の検出を簡略化することができる。
更に、本実施例(実施例1)では、左領域101Cおよび右領域101Dのそれぞれ複数箇所で検出した反射光量の平均値に基づいて、左端検出用閾値103および右端検出用閾値104を別々に設定したが、必ずしも反射光量の平均値を求める必要は無く、例えば、複数箇所で検出した反射光量の最大値と最小値との中間値に基づいて各閾値103、104を別々に求める、等の方法により、各閾値103、104を設定してもよい。この結果、反射光量の検出にばらつきが発生しても、このばらつきの影響を低減することができるので、正確に媒体の端部位置を検出することができる。
【0057】
加えて、本実施例(実施例1)で使用した用紙101は印刷可能な紙であることを前提としているが、本発明を適用するにあたっては、特に印刷可能な紙である必要は無く、例えばファクシミリ用の原稿等のすでに印字されたものであっても、印刷可能なコンパクトディスクのようなプラスチック板であっても、アルミ板のような金属板であっても、端部近傍で適切に反射光量が検出可能な媒体であれば何でもよい。
【0058】
また、本実施例(実施例1)において、閾値を設定するための反射光量を検出する左領域101Cおよび右領域101Dは、各端部から20mm離れた1mm幅の領域内に設定したが、特にこの領域である必要は無く、複数箇所で検出する反射光量のサンプリング数やメディアセンサ68の発光量等の諸条件に応じて領域を設定するのが好ましい。
〔実施例2〕
次に、本発明が適用された別形態の多機能装置7について説明する。
【0059】
多機能装置7は、処理実行装置70が行う両端検知手順が実施例1で詳述した多機能装置1と異なる他は、多機能装置1と同様の構成である。従って、多機能装置7が多機能装置1と同様の部分については、同一の符号を付して説明を省略し、処理実行装置70が行う両端検知手順のみについて詳述する。
【0060】
より精度の高い検出を行う場合や、用紙101の全体の状態を知りたい場合には、以下に説明するように用紙101の左端部101Aおよび右端部101Bの検出を行うことができる。
以下、用紙の両端検知の動作について、図5および図6を用いて説明する。図6は処理実行装置70が行う両端検知手順を示すフローチャートである。また、図5は実施例1でも説明したが、メディアセンサ68の受光部が受光した検出した反射光量に基づくメディアセンサ68の出力を示すグラフである。
【0061】
図6のS401にて、用紙搬送モータ40を駆動し、所定の位置まで用紙101を搬送する。次に、S402では、読取領域107にて、用紙101外も含めて、左端部101A近傍から右端部101B近傍まで、メディアセンサ68をキャリッジモータ30の駆動によって移動し、反射光量の検出を行う。この際、メディアセンサ68は、例えば、300dpiの間隔でサンプリングを行い、検知された反射光量に基づく出力値は、キャリッジ送り用エンコーダ39が検知した位置情報と関連付けて、RAM75に格納される。
【0062】
次に、S403にてPC77等のホスト装置からの指令等により、両端部の概略幅が既知である場合には、S404に進み、拡張用紙ガイド67によって既知となった中心位置および用紙101の概略幅に基づいて両端概略位置106A、106Bの算出を行った後にS406に進む。また、両端部の概略位置106A、106Bが既知では無い場合には、S405に進み、予めEEPROM74に格納された初期閾値と、RAM75に格納された出力値とを比較することによって、用紙101の両端部の概略位置106A、106Bを算出し、得られた両端部の概略位置106A、106BをRAM73に記憶させた後にS406に進む。
【0063】
S406では、CPU71が、RAM73に格納された両端部の概略位置106A、106Bに基づいて、左領域101Cおよび右領域101D毎に、例えば10点程度抽出し、各点で得られた反射光量に基づく出力値を領域毎に平均化する。このように各領域の平均出力値を、再びRAM73に格納する。尚、本実施例(実施例2)において、左領域101Cおよび右領域101Dは、実施例1と同様に、各端部から20mm離れた1mm幅の領域内に設定している。
【0064】
次にS407にて、例えば、各平均出力値の50%を左端検出用閾値103および右端検出用閾値104として設定し、RAM73に保存する。
S408では、RAM73に保存された、左端検出用閾値103および右端検出用閾値104と、キャリッジ送り用エンコーダ39が検知した位置情報が関連付けられた出力値105と、を比較することによって、両端位置を特定する。
【0065】
万一、汚れや黄ばみ等によって、左端部101Aと右端部101Bとで、色合いや反射率が異なる用紙101を用いる場合や、予め文字や図形が印刷された用紙101を用いる場合には、正常に両端位置が検出できないことがある。このような場合に備えて、S409にて、少なくとも1端部が検出されていない場合には、S410に進み、一定距離だけ用紙101を搬送し、別の位置で再びS402からの両端検出を繰り返すことによって確実に両端位置を検出できるようにしている。また、S409にて、両端位置が検出されていれば、そのまま両端位置検出を終了する。
【0066】
このようにして用紙101の両端検知は行われる。
このような多機能装置7では、メディアセンサ68の受光部が受光した反射光量に基づく出力値105に基づいて左端検出用閾値103と右端検出用閾値104とを別々に求め、求められた各閾値103、104と出力値105とを比較することによって、左端部101Aおよび右端部101Bを別々に検出するため、汚れや黄ばみ等によって、左端部101Aと右端部101Bとで、色合いや反射率が異なる用紙101を用いる場合や、予め文字や図形が印刷された用紙101を用いる場合であっても、正確に用紙101の端部位置を検出することができる。
【0067】
また、左領域101Cおよび右領域101Dのそれぞれ複数箇所で検出した反射光量に基づく出力値105の平均値に基づいて、左端検出用閾値103および右端検出用閾値104を別々に設定しているので、反射光量の検出にばらつきが発生しても、このばらつきの影響を低減することができる。
【0068】
更に、左端検出用閾値103は左領域101Cで検出すると共に、右端検出用閾値104は右領域101Dで検出するので、端部により近い位置の反射光量を検出できる。
加えて、両端部の概略位置106A、106Bを検出し、検出した概略位置106A、106Bに基づいて左領域101Cおよび右領域101Dを設定し、各領域内で検出された反射光量に基づいて、処理実行装置70が各閾値103、104を設定することで、用紙101の特性に応じた各閾値103、104を設定することができる。
【0069】
上述の事項により、正確に用紙101の端部の位置を検出することができる。更に、処理実行装置70が左端部101Aおよび右端部101Bの少なくとも一方の端部を検出できなかった場合には、用紙搬送モータ40が用紙101を所定量だけ搬送し、再び、S402〜S408までの端部位置検出動作を行うので、用紙101の汚れ等で初めの検出位置で端部が検出できなかった場合でも、別の位置で端部を再検出することによって、確実に端部の位置を検出することができる。
【0070】
また、本実施例(実施例2)のように、プリンタ3を含む多機能装置7が端部位置検出装置を備えることによって、正確な端部位置を検出可能なプリンタ3を提供することが可能となり、画像形成可能な領域に過不足無く画像形成をすることができる。
【0071】
尚、本実施例(実施例2)の多機能装置7では、用紙101の両側に均等に開く拡張用紙ガイド67を備えているので、用紙101の中心位置が予め設定された位置に来るように構成されているが、用紙101の幅に応じて、用紙101を載置する位置が決まっている場合において、用紙101の中心位置を検知するには、例えば、メディアセンサ68の所定位置から、キャリッジ送り用エンコーダ39における、あるステップ数だけ離間した位置に用紙101の中心位置があるように関連付けて構成されていればよい。
【0072】
本実施例(実施例2)では、両端部の概略位置を検出したが(S405)、上記のように多機能装置1が構成されていると、用紙101の中心位置が予め検知できるので、端部の概略位置106A、106Bのどちらかを検出すれば左領域101Cおよび右領域101Dを特定できる。従って、端部位置の検出を簡略化することができる。
【0073】
更に、本実施例(実施例2)では、左領域101Cおよび右領域101Dのそれぞれ複数箇所で検出した反射光量に基づく出力値の平均値に基づいて、左端検出用閾値103および右端検出用閾値104を別々に設定したが、必ずしも出力値の平均値を求める必要は無く、例えば、複数箇所で検出した出力値の最大値と最小値との中間値に基づいて各閾値103、104を別々に求める、等の方法により、各閾値103、104を設定してもよい。この結果、反射光量にばらつきが発生しても、このばらつきの影響を低減することができるので、正確に媒体の端部位置を検出することができる。
【0074】
加えて、本実施例(実施例2)で使用した用紙101は印刷可能な紙であることを前提としているが、本発明を適用するにあたっては、特に印刷可能な紙である必要は無く、例えばファクシミリ用の原稿等のすでに印字されたものであっても、印刷可能なコンパクトディスクのようなプラスチック板であっても、アルミ板のような金属板であっても、端部近傍で適切に反射光量が検出可能な媒体であれば何でもよい。
【0075】
また、本実施例(実施例2)において、閾値を設定するための反射光量を検出する左領域101Cおよび右領域101Dは、実施例1と同様に、各端部から20mm離れた1mm幅の領域内に設定したが、特にこの領域である必要は無く、複数箇所で検出する反射光量のサンプリング数やメディアセンサ68の発光量等の諸条件に応じて領域を設定するのが好ましい。
【図面の簡単な説明】
【図1】 多機能装置の斜視図である。
【図2】 プリンタの内部構造を表す平面図である。
【図3】 処理実行装置の概略構成を表すブロック図である。
【図4】 処理実行装置が行う両端検知手順を示すフローチャートである。
【図5】 メディアセンサが検出した反射光量分布の一例を示すグラフである。
【図6】 別形態の処理実行装置が行う両端検知手順を示すフローチャートである。
【符号の説明】
1…多機能装置、2…給紙装置、3…プリンタ、4…読み取り装置、5…排紙トレー、6…操作パネル、7…多機能装置、10…印字ヘッド、10a〜d…インクノズル群、10e…センサ取付部、11…キャリッジ、12…ガイド機構、13…キャリッジ移動機構、14…用紙搬送機構、15…メンテナンス機構、15a…ワイパ、15b…キャップ、15c…駆動モータ、15d…取付板、16…フレーム、16a…後側板、16b…前側板、16c…左側板、16d…右側板、17…プラテン、20…カートリッジ装着部、21a〜d…インクカートリッジ、22a〜d…インクチューブ、25…ガイド軸、26…ガイドレール、30…キャリッジモータ、31…駆動プーリ、32…従動プーリ、33…ベルト、39…キャリッジ送り用エンコーダ、40…用紙搬送モータ、41…レジストローラ、42…駆動プーリ、43…従動プーリ、44…ベルト、45…排紙ローラ、46…従動プーリ、47…従動プーリ、48…ベルト、50…用紙搬送用エンコーダ、51…エンコーダディスク、52…フォトインタラプタ、65…給紙モータ、66…傾斜壁部、67…拡張用紙ガイド、68…メディアセンサ、69…レジストセンサ、70…処理実行装置、76a〜c…駆動回路、76d…印字駆動回路、77…パーソナルコンピュータ、101…用紙、101A…左端部、101B…右端部、101C…左領域、101D…右領域、102…初期閾値、103…左端検出用閾値、104…右端検出用閾値、105…出力値、106A、106B…概略位置、107…読取領域。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an end position detection device that detects positions of both end portions in a width direction of a medium, and an image forming apparatus including the end position detection device.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, as an end position detection device that detects the positions of both ends of a medium, an optical sensor including a light emitting section (light emitting element) and a light receiving section (light receiving element) has been provided. One that detects the positions of both ends of a medium while reciprocating in the direction is known (see Patent Document 1).
[0003]
In this end position detection device, an optical sensor is mounted on a carriage capable of scanning in the width direction of the medium. The end position of the medium is detected by sampling the amount of light reflected from the medium at regular intervals when the carriage moves from one end of the medium to the other end. A threshold for determining the presence or absence of the medium is set based on the output difference from the optical sensor. Next, when the carriage returns, the optical sensor again detects the amount of light reflected from the medium, and compares the amount of reflected light detected by the optical sensor with the set threshold value, so that both end portions of the medium are detected. Is detected.
[0004]
In this way, the end position detecting device detects the end position of the medium.
[0005]
[Patent Document 1]
Japanese Patent No. 2907597
[0006]
[Problems to be solved by the invention]
However, in the end position detection device, a threshold value for detecting the left end portion and the right end portion of the medium is set based on the amount of reflected light sampled by the optical sensor, and one set threshold value is set as the left end portion and the right end portion. It was used for the part detection. For this reason, when using a medium in which the color and reflectance differ between the left end and the right end due to dirt or yellowing, or when using a medium on which characters or figures are printed in advance, the left end and the right end There is a problem that an error is likely to occur in detection and it is difficult to detect an accurate end position.
[0007]
Accordingly, in view of such problems, it is an object of the present invention to provide an end position detection device that can detect the positions of both ends of a medium more accurately.
[0008]
[Means for Solving the Problems and Effects of the Invention]
The invention according to claim 1, which is made to achieve the above object, includes a reflected light amount detecting means for detecting a level of reflected light from the medium, and reflection by the reflected light amount detecting means in the width direction of the medium. Edge position detection for detecting the positions of both ends of the medium by comparing the reflected light quantity detected by the reflected light quantity detection means and the threshold value for determining the edge of the medium while changing the light quantity detection position Means for detecting the position of the left end of the medium based on the amount of reflected light detected in the left region located on the medium and in the vicinity of the left end. A threshold value for detecting the left end for determining the right end of the medium based on the reflected light amount detected by the reflected light amount detecting means in the right region located on the medium and in the vicinity of the right end portion. Place It is characterized by comprising a threshold value setting means for setting the right detection threshold for determining the.
[0009]
As described above, in the first aspect of the invention, the left end detection threshold and the right end detection threshold are separately obtained based on the reflected light amount detected by the reflected light amount detection unit, and the obtained threshold value and the reflected light amount detection unit are obtained. Since the left end and right end are detected separately by comparing the detected amount of reflected light, even if the color and reflectance of the medium differ between the left end and the right end due to dirt, yellowing, etc. In addition, the end position of the medium can be detected.
[0010]
Here, the threshold setting unit may be configured to set the left end detection threshold and the right end detection threshold based on the amount of reflected light detected at one point in each of the left region and the right region, but more preferably, According to a second aspect of the present invention, the threshold setting means is configured to separately set the left end detection threshold and the right end detection threshold based on the amount of reflected light detected at a plurality of locations in the left region and the right region, respectively. Alternatively, as described in claim 3, the left end detection threshold and the right end detection threshold are separately set based on the average value of the reflected light amounts detected at a plurality of locations in the left region and the right region, respectively. Configure.
[0011]
In this way, even if a variation occurs in the detection of the amount of reflected light, the influence of this variation can be reduced, so that the end position of the medium can be detected accurately.
The left region and the right region for detecting the amount of reflected light from the medium in order to set the threshold may be wider than the region from each end of the medium to the center position. As described above, it is preferable that the left region is a region from the center position of the medium to the left end portion, and the right region is a region from the center position of the medium to the end portion.
[0012]
In this way, the left edge detection threshold can be detected by the amount of reflected light obtained in the left half area of the medium, and the right edge detection threshold can be detected by the amount of reflected light obtained in the right half area of the medium. Thus, since the amount of reflected light at a position closer to the end can be detected, the end can be obtained more accurately.
[0013]
Next, since the end position detection device according to claim 4 needs to specify the center position, in order to specify the center position, as described in claim 5, the center position of the medium is: It is good to be comprised so that it may come to the preset position of this edge part position detection apparatus. For example, as described in claim 6, if the medium is positioned by a guide that can be evenly displaced from the predetermined center position to the left and right sides, the center position can be specified. Can be identified.
[0014]
The reflected light amount detecting means can be moved in the width direction of the medium, and the center position of the medium is separated by a preset distance from a predetermined position of the reflected light amount detecting means. It may be configured to be in the position.
In this way, if the center position of the medium can be specified, the left region and the right region can be specified by detecting the approximate position of either the left end portion or the right end portion, thereby facilitating detection of the end portion position. Can do.
[0015]
Moreover, since it is necessary to know the approximate positions of both ends in order to accurately determine the left end detection threshold and the right end detection threshold for detecting both ends, the method according to any one of claims 5 to 7. The end position detecting apparatus according to claim 8, further comprising a recognizing means for recognizing at least a rough width of the medium as defined in claim 8, wherein the reflected light amount detecting means includes the rough width of the medium recognized by the recognizing means and the center of the medium. The amount of reflected light may be detected based on the position.
[0016]
Thus, when the recognition means can recognize the width and center position of the medium by a command from a host device such as a computer, for example, it is not necessary to perform temporary detection of both ends. It can be simplified.
Next, in the end position detection device according to any one of claims 1 to 8, detection of the reflected light amount by the reflected light amount detection means, setting of a threshold value by the threshold setting means, and left and right end portions by the end position detection means. Although both ends of the medium are detected by the detection, if the detection operation is performed only once, the both ends of the medium may not be detected.
[0017]
Therefore, when the end position detecting means cannot detect the position of at least one of the left end portion and the right end portion as described above, the medium is moved in a direction perpendicular to the width direction as described in claim 9. The transport means transports the medium by a predetermined amount, and again detects the reflected light quantity by the reflected light quantity detection means, sets the threshold value by the threshold setting means, and detects the left end and right end by the end position detection means. It is desirable to perform.
[0018]
In this case, even when the end portion cannot be detected at the first detection position due to the contamination of the medium, the end position can be accurately detected by re-detecting the end portion at another position. .
According to a tenth aspect of the present invention, there is provided an approximate position detection means for detecting the approximate position of the medium by comparing a preset approximate position detection threshold value with the amount of reflected light detected by the reflected light detection means. Further, it is preferable that the threshold setting means sets the left end detection threshold and the right end detection threshold based on the approximate position detected by the approximate position detection means.
[0019]
In this way, since the threshold setting unit can set each threshold more accurately based on the detected approximate position, the position of the end can be detected more accurately.
Furthermore, in the end position detection device according to claim 10, detection of the reflected light amount by the reflected light amount detection means, detection of the approximate positions of both ends of the medium by the approximate position detection means, and setting of the threshold value by the threshold setting means The both end portions of the medium are detected by detecting the left end portion and the right end portion by the end position detecting means, but the both end portions of the medium may not be detected only once. As described above, when the end position detection unit cannot detect at least one of the left end and the right end, the transport unit transports the medium by a predetermined amount as described in claim 11, Again, the amount of reflected light is detected by the reflected light amount detecting means, the approximate position of the medium is detected by the approximate position detecting means, the threshold value is set by the threshold setting means, and the left and right end portions are detected by the end position detecting means. It is desirable to perform.
[0020]
In this case, even when the end portion cannot be detected at the first detection position due to the contamination of the medium, the end position can be accurately detected by re-detecting the end portion at another position. .
The invention described in claim 12 is an image forming apparatus including an image forming unit that moves in the width direction on the medium to form an image on the medium. It is characterized by comprising the described end position detecting device.
[0021]
According to this image forming apparatus, it is possible to provide an image forming apparatus capable of detecting an accurate end position by mounting the above-described end position detecting device, and there is no excess or deficiency in the area where image formation is possible. Image formation can be performed.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Example 1]
This embodiment is an example when the present invention is applied to a multi-function device having a printer function, a copy function, a scanner function, a facsimile function, a telephone function, and the like. FIG. 1 is a perspective view of the multi-function device 1. Show.
[0023]
As shown in FIG. 1, the multi-function device 1 is provided with a paper feeding device 2 at the rear end, an ink jet printer 3 is provided at the lower front side of the paper feeding device 2, and a copy function is provided above the printer 3. A reading device 4 for the facsimile function is provided. A paper discharge tray 5 is provided on the front side of the printer 3, and an operation panel 6 is provided on the upper surface of the front end of the reading device 4.
[0024]
The sheet feeding device 2 includes an inclined wall portion 66 that holds the sheet in an inclined posture, and an extended sheet guide 67 that is detachably attached to the inclined wall portion 66, and can accumulate a plurality of sheets. . The inclined wall portion 66 includes a paper feed motor (not shown), a paper feed roller (not shown), and the like. When the paper feed roller is rotated by the driving force of the paper feed motor, The paper is sent to the printer 3. Further, the extended sheet guide 67 has a structure that opens evenly on both sides while fixing the center position of a plurality of sheets accumulated in the inclined wall portion 66, and plays a role of preventing lateral displacement of the sheets.
[0025]
Next, the printer 3 will be described. FIG. 2 is a plan view showing the internal structure of the printer 3.
As shown in FIG. 2, the printer 3 includes a print head 10, a carriage 11 on which the print head 10 is mounted, a guide mechanism 12 that guides and supports the carriage 11 so as to be movable in the horizontal direction that is the scanning direction, and the carriage 11 in the horizontal direction. A carriage moving mechanism 13 for moving the paper to the right, a paper transport mechanism 14 for transporting paper fed by the paper feeder 2, a maintenance mechanism 15 for the print head 10, and the like are provided.
[0026]
The printer 3 is provided with a rectangular parallelepiped frame 16 that is long in the left-right direction and has a small vertical width. A guide mechanism 12, a carriage moving mechanism 13, a paper transport mechanism 14, a maintenance mechanism 15 and the like are attached to the frame 16. Further, the print head 10 and the carriage 11 are accommodated inside the frame 16 so as to be movable in the left-right direction.
[0027]
A paper inlet and a paper outlet (not shown) are formed in the rear plate 16a and the front plate 16b of the frame 16, and the paper fed by the paper feeder 2 is introduced into the frame 16 from the paper inlet. The paper is transported forward by the paper transport mechanism 14 and is discharged from the paper discharge port to the front paper discharge tray 5 (see FIG. 1). A platen 17 having a plurality of ribs is mounted on the bottom surface of the frame 16, and printing by the print head 10 is performed on a sheet moving on the platen 17 inside the frame 16.
[0028]
The print head 10 is provided with four sets of ink nozzle groups 10a to 10d facing downward, and ink of four colors (black, cyan, yellow, magenta) is ejected downward from these ink nozzle groups 10a to 10d. Can be printed on paper. Since the four sets of ink nozzle groups 10a to 10d are provided on the lower side of the print head 10, in FIG.
[0029]
The four color ink cartridges 21 a to 21 d mounted on the cartridge mounting portion 20 on the front side of the frame 16 are connected to the print head 10 via four flexible ink tubes 22 a to 22 d passing through the inside of the frame 16. Four colors of ink are supplied to the print head 10.
[0030]
In addition, two left and right FPCs 23 and 24 (flexible print circuit) are disposed inside the frame 16, and the left FPC 23 is integrally connected to the print head 10 and connected to the two ink tubes 22a and 22b. The right FPC 24 is connected to the print head 10 integrally with the two ink tubes 22c and 22d. The FPCs 23 and 24 are provided with a plurality of signal lines that electrically connect a processing execution device 70 (not shown in FIG. 2) to be described later and the print head 10.
[0031]
The guide mechanism 12 is formed in the front portion in the frame 16 and the guide shaft 25 which is disposed in the left-right direction at the rear portion in the frame 16 and whose left and right end portions are connected to the left plate 16 c and the right plate 16 d of the frame 16. The rear end portion of the carriage 11 is slidably fitted on the guide shaft 25, and the front end portion of the carriage 11 is slidably engaged with the guide rail 26. Yes.
[0032]
The carriage moving mechanism 13 is pivotably attached to the carriage motor 30 mounted forward on the rear side of the right end portion of the rear plate 16a of the frame 16, the drive pulley 31 that is rotationally driven by the carriage motor 30, and the left end portion of the rear plate 16a. The driven pulley 32 is supported, and a belt 33 that is hung on the pulleys 31 and 32 and fixed to the carriage 11. A carriage feed encoder 39 for detecting the movement amount of the carriage 11 (print head 10) is provided in the vicinity of the carriage motor 30.
[0033]
The paper transport mechanism 14 includes a paper transport motor 40 attached leftward to a portion of the left side plate 16c of the frame 16 that projects to the rear side of the rear side plate 16a, and a left and right side below the guide shaft 25 inside the frame 16. A registration roller 41 that is disposed in a direction and is rotatably supported by left and right side plates 16c and 16d, a drive pulley 42 that is driven to rotate by a paper transport motor 40, and a left end of the registration roller 41. And a belt 44 hung on the pulleys 42 and 43. When the paper transport motor 40 is driven, the registration roller 41 rotates to transport the paper in the front-rear direction. Become. In FIG. 2, the registration roller 41 is emphasized, but actually, the registration roller 41 is arranged below the guide shaft 25.
[0034]
The paper transport mechanism 14 includes a paper discharge roller 45 that is disposed in the left-right direction on the front side of the inside of the frame 16 and whose left and right ends are rotatably supported by the left side plate 16c and the right side plate 16d, and a driven pulley. 43, a driven pulley 46 provided integrally with the output roller 45, a driven pulley 47 connected to the left end of the paper discharge roller 45, and a belt 48 hung on the pulleys 46 and 47, and the paper transport motor 40 is driven. Then, the paper discharge roller 45 rotates and the paper can be discharged to the front paper discharge tray 5 side.
[0035]
An encoder disk 51 is fixed to the driven pulley 43, and a photo interrupter 52 having a light emitting part and a light receiving part is attached to the left side plate 16c so as to sandwich the encoder disk 51. Based on the detection signal from the paper transport encoder 50 (photo interrupter 52), the paper transport motor 40 is driven and controlled by the processing execution device 70 described later.
[0036]
The maintenance mechanism 15 has a wiper 15a for wiping off the head surface of the print head 10, two caps 15b capable of sealing two sets of the four ink nozzle groups 10a to 10d, and a common drive for driving the wipers 15a and 15b. The wiper 15a, the cap 15b, the drive motor 15c, and the like are attached to the attachment plate 15d, and the attachment plate 15d is fixed to the right portion of the bottom plate of the frame 16 from the lower surface side. Since the cap 15b is provided on the lower side of the print head 10, in FIG. 2, the transparent position is indicated by a dotted line.
[0037]
As shown in FIG. 2, a media sensor 68 capable of detecting the leading edge, the trailing edge, the edge in the width direction, and the like of the paper is provided at the left edge of the print head 10. The media sensor 68 is an optical sensor including a light emitting part (light emitting element) and a light receiving part (light receiving element), and is attached downward to a sensor attachment part 10 e that projects to the left side of the print head 10.
[0038]
Further, a registration sensor 69 (see FIG. 3; not shown in FIG. 2) that can detect the presence / absence of paper, the leading edge, and the trailing edge is located upstream (ie, rearward) in the paper conveyance direction from the media sensor 68. Specifically, it is attached to the front end portion of the upper cover that forms the conveyance path of the sheet feeding device 2.
[0039]
The registration sensor 69 includes, for example, a detector that protrudes from the paper conveyance path and is rotated by the paper being conveyed, a photo interrupter that detects the rotation of the detector with a light emitting portion and a light receiving portion, and a paper conveyance device. A mechanical sensor having a torsion spring biased toward the road side can be used. The detector is integrally provided with a shielding portion. When the detector is rotated by the paper being conveyed, the shielding portion is disposed in a space other than between the light-emitting portion and the light-receiving portion of the photo interrupter. Thus, the transmission of light from the light emitting unit to the light receiving unit is not blocked, and the registration sensor 69 is turned on. Further, when the sheet is not conveyed and the detector is urged toward the sheet conveyance path by the torsion spring, the shielding unit is disposed between the light emitting unit and the light receiving unit of the photo interrupter, and the light emitting unit to the light receiving unit. When the transmission of light to is interrupted, the registration sensor 69 is turned off.
[0040]
Next, the process execution device 70 will be described. FIG. 3 is a block diagram illustrating a schematic configuration of the process execution device 70.
As shown in FIG. 3, the processing execution device 70 includes a microcomputer having a CPU 71, a ROM 72, a RAM 73, and an EEPROM 74, and includes a registration sensor 69, a media sensor 68, a paper transport encoder 50, an operation panel 6, and a carriage feed. Encoder 39 and the like are electrically connected.
[0041]
Further, the processing execution device 70 is electrically connected to drive circuits 76 a to 76 c for driving the paper feed motor 65, the paper transport motor 40, and the carriage motor 30, and a print drive circuit 76 d for driving the print head 10. And a host device such as a personal computer 77 (PC 77) can be connected.
[0042]
The CPU 71 temporarily stores the print data sent from the PC 77 in the RAM 73 and then converts the print data stored in the RAM 73 into image data in accordance with a program stored in the ROM 72 in advance. The CPU 71 detects both ends of the sheet based on detection from the registration sensor 69, the media sensor 68, the sheet transport encoder 50, and the carriage feed encoder 39.
[0043]
Next, the operation for detecting both ends of the paper will be described with reference to FIGS. FIG. 4 is a flowchart showing the both end detection procedure performed by the process execution device 70. FIG. 5 is a graph showing the output of the media sensor 68 based on the amount of reflected light received by the light receiving unit of the media sensor 68.
[0044]
In S301 shown in FIG. 4, the paper transport motor 40 is driven, the paper edge is detected by the registration sensor 69, and then the paper 101 (see FIG. 5) is transported to a predetermined position. Next, in S302, if the approximate width of the sheet 101 is known by an instruction from the PC 77 or the like, the process proceeds to S303, where the center position known by the extended sheet guide 67 and the approximate width of the sheet 101 are determined. After calculating the approximate positions 106A and 106B at both ends (see FIG. 5), the process proceeds to S305. If the approximate widths at both ends are not known, the process proceeds to S304, the carriage motor 30 is driven, and the media sensor 68 reads the reading area 107 positioned 30 mm inside from the leading edge of the paper 101 (see FIG. 5). ) To detect the amount of reflected light. At this time, the approximate positions 106A and 106B at both ends are detected based on the initial threshold value 102 (see FIG. 5) stored in advance in the EEPROM 74 and the amount of reflected light received by the media sensor 68, and the obtained outlines at both ends are obtained. After the positions 106A and 106B are stored in the RAM 73, the process proceeds to S305. At this time, the output value 105 (see FIG. 5) of the media sensor 68 based on the amount of reflected light received by the media sensor 68 is, for example, an output waveform shown in FIG. In FIG. 5, the vertical axis indicates the voltage value [V] that is the output from the media sensor 68, and the horizontal axis indicates the displacement of the media sensor 68 in the width direction of the paper 101.
[0045]
Next, in FIG. 4, in step S305, based on the approximate positions 106A and 106B at both ends of the sheet, the left area 101C (see FIG. 5) on the sheet 101 and in the vicinity of the left end 101A (see FIG. 5). The media sensor 68 is moved by driving the carriage motor 30 to the right region 101D (see FIG. 5), which is a region near the right end 101B (see FIG. 5), and the amount of reflected light is detected. Here, the detection of the reflected light amount is performed by sampling about 10 locations at intervals of, for example, 300 dpi in the left region 101C and the right region 101D, and the output value 105 based on the obtained reflected light amount is separately stored in the RAM 73. To store. In this example (Example 1), the left region 101C and the right region 101D are set within a 1 mm wide region that is 20 mm away from each end. The left region 101C and the right region 101D are set in this way. If the detection is performed in the vicinity of the temporarily detected end portions 106A and 106B of the paper 101, the left region 101C and the right region 101D may be affected by the posture of the paper 101 such as bending. Therefore, it is considered that the variation at the time of detection is smaller when the detection is performed at a position away from each end to some extent.
[0046]
In step S306, the CPU 71 averages the output values 105 stored in the RAM 73 for each of the left region 101C and the right region 101D, and stores the average values in the RAM 73 again as output values of the left region 101C and the right region 101D. . In step S307, for example, 50% of each average value is set as the left end detection threshold 103 and the right end detection threshold 104 (see FIG. 5), and is stored in the RAM 73. At this time, the difference between the left end detection threshold 103 and the right end detection threshold 104 is δ (see FIG. 5).
[0047]
Next, in S308, the amount of reflected light in the area including the left end portion 101A and the right end portion 101B of the paper 101 is detected, the output value based on the amount of reflected light obtained at this time, the left end detection threshold 103 stored in the RAM 73, and The left end portion 101A and the right end portion 101B are specified by comparing with the right end detection threshold value 104.
[0048]
When using paper 101 with different shades or reflectances at the left end 101A and right end 101B due to dirt or yellowing, or when using paper 101 on which characters or figures have been printed in advance, both end positions are normally It may not be detected. In preparation for such a case, if at least one edge is not detected in S309, the process proceeds to S310, in which the sheet 101 is further conveyed by a fixed distance, and both ends are detected again from S302 at another position. By repeating, the positions of both ends can be reliably detected. If the both end positions are detected in S309, the both end position detection is finished as it is.
[0049]
In this way, detection of both ends of the sheet 101 is performed.
In such a multi-function device 1, the left end detection threshold 103 and the right end detection threshold 104 are separately obtained based on the output value 105 based on the amount of reflected light detected by the media sensor 68, and the obtained thresholds 103 and 104 are obtained. And the output value 105 based on the amount of reflected light detected by the media sensor 68 to detect the left end portion 101A and the right end portion 101B separately. Therefore, the left end portion 101A and the right end portion 101B have paper sheets due to dirt or yellowing. Even when the color and reflectance of 101 differ, it is possible to accurately detect the edge positions on both sides of the paper 101.
[0050]
Further, since the left end detection threshold 103 and the right end detection threshold 104 are separately set based on the average value of the output values 105 detected at a plurality of locations in the left region 101C and the right region 101D, the output value 105 Even if a variation occurs in detection, the influence of this variation can be reduced.
[0051]
Furthermore, since the left end detection threshold 103 is detected in the left region 101C and the right end detection threshold 104 is detected in the right region 101D, the output value 105 at a position closer to each end can be detected.
In addition, the approximate positions 106A and 106B at both ends are detected, the left region 101C and the right region 101D are set based on the detected approximate positions 106A and 106B, and based on the output value 105 detected in each region, By setting the threshold values 103 and 104 by the process execution device 70, the threshold values 103 and 104 corresponding to the characteristics of the paper 101 can be set.
[0052]
Based on the above-described matters, the position of the edge of the sheet 101 can be accurately detected.
Further, when the processing execution device 70 cannot detect at least one of the left end 101A and the right end 101B, the paper transport motor 40 transports the paper 101 by a predetermined amount, and again from S302 to S308. Since the edge position detection operation is performed, even when the edge cannot be detected at the initial detection position due to the dirt of the paper 101, the position of each edge is surely detected by re-detecting the edge at another position. Can be detected.
[0053]
Further, as in the present embodiment (embodiment 1), the multifunction device 1 including the printer 3 includes the end position detection device, so that the printer 3 capable of detecting the accurate end position can be provided. Thus, it is possible to form an image in an area where image formation is possible without excessive or insufficient.
[0054]
In the multi-function device 1 of this embodiment (Embodiment 1), the extended paper guides 67 that are equally opened on both sides of the paper 101 are provided, so that the center position of the paper 101 comes to a preset position. Although it is configured, in order to detect the center position of the paper 101 when the position on which the paper 101 is placed is determined according to the width of the paper 101, for example, the carriage can be detected from a predetermined position of the media sensor 68. The feed encoder 39 may be configured so as to be associated with the center position of the sheet 101 at a position separated by a certain number of steps.
[0055]
In this embodiment (embodiment 1), the approximate positions of both ends are detected (S304). However, if the multi-function device 1 is configured as described above, the center position of the sheet 101 can be detected in advance. The left region 101C and the right region 101D can be specified by detecting one of the approximate positions 106A and 106B. Therefore, the detection of the end position can be simplified.
[0056]
For example, when the width and center position of the medium can be recognized by a command from a host device such as the PC 77, it is not necessary to perform temporary detection (S304) at both ends, so that the detection of the end positions is simplified. be able to.
Further, in the present embodiment (first embodiment), the left end detection threshold 103 and the right end detection threshold 104 are separately set based on the average values of the reflected light amounts detected at a plurality of locations in the left region 101C and the right region 101D. However, it is not always necessary to obtain the average value of the reflected light amount. For example, the threshold values 103 and 104 are separately obtained based on the intermediate value between the maximum value and the minimum value of the reflected light amount detected at a plurality of locations. Thus, the threshold values 103 and 104 may be set. As a result, even if a variation occurs in the detection of the amount of reflected light, the influence of the variation can be reduced, so that the end position of the medium can be detected accurately.
[0057]
In addition, it is assumed that the paper 101 used in the present embodiment (first embodiment) is a printable paper. However, when the present invention is applied, it is not necessary to be a printable paper. Whether it is already printed, such as a facsimile document, a plastic plate such as a printable compact disc, or a metal plate such as an aluminum plate, it is reflected appropriately near the edges. Any medium that can detect the amount of light may be used.
[0058]
In the present embodiment (embodiment 1), the left region 101C and the right region 101D for detecting the amount of reflected light for setting the threshold value are set within a 1 mm width region that is 20 mm away from each end. It is not necessary to set this area, and it is preferable to set the area according to various conditions such as the number of reflected light amounts detected at a plurality of locations and the light emission amount of the media sensor 68.
[Example 2]
Next, another type of multi-function device 7 to which the present invention is applied will be described.
[0059]
The multi-function device 7 has the same configuration as the multi-function device 1 except that the both-end detection procedure performed by the process execution device 70 is different from the multi-function device 1 described in detail in the first embodiment. Accordingly, the same parts of the multi-function device 7 as those of the multi-function device 1 are denoted by the same reference numerals, description thereof is omitted, and only the both-end detection procedure performed by the processing execution device 70 will be described in detail.
[0060]
When performing detection with higher accuracy or when it is desired to know the overall state of the sheet 101, the left end portion 101A and the right end portion 101B of the sheet 101 can be detected as described below.
Hereinafter, the operation for detecting both ends of the sheet will be described with reference to FIGS. FIG. 6 is a flowchart showing a both-end detection procedure performed by the process execution device 70. FIG. 5 is a graph showing the output of the media sensor 68 based on the detected reflected light amount received by the light receiving unit of the media sensor 68 as described in the first embodiment.
[0061]
In S401 in FIG. 6, the paper transport motor 40 is driven to transport the paper 101 to a predetermined position. Next, in S402, the media sensor 68 is moved by driving the carriage motor 30 from the vicinity of the left end 101A to the vicinity of the right end 101B, including the outside of the sheet 101, in the reading area 107, and the amount of reflected light is detected. At this time, for example, the media sensor 68 performs sampling at intervals of 300 dpi, and the output value based on the detected amount of reflected light is stored in the RAM 75 in association with the position information detected by the carriage feed encoder 39.
[0062]
Next, if the approximate widths at both ends are known by a command from the host device such as the PC 77 in S403, the process proceeds to S404, where the center position and the outline of the paper 101 that are known by the extended paper guide 67 are determined. After calculating the approximate positions 106A and 106B at both ends based on the width, the process proceeds to S406. If the approximate positions 106A and 106B of the both end portions are not known, the process proceeds to S405, and the initial threshold value stored in the EEPROM 74 in advance is compared with the output value stored in the RAM 75, whereby both ends of the sheet 101 are compared. The approximate positions 106A and 106B of the parts are calculated, and the obtained approximate positions 106A and 106B of both ends are stored in the RAM 73, and then the process proceeds to S406.
[0063]
In S406, the CPU 71 extracts, for example, about 10 points for each of the left region 101C and the right region 101D based on the approximate positions 106A and 106B at both ends stored in the RAM 73, and based on the amount of reflected light obtained at each point. The output value is averaged for each region. Thus, the average output value of each area is stored in the RAM 73 again. In the present embodiment (embodiment 2), the left region 101C and the right region 101D are set within a 1 mm wide region 20 mm away from each end, as in the first embodiment.
[0064]
In step S <b> 407, for example, 50% of each average output value is set as the left end detection threshold 103 and the right end detection threshold 104 and stored in the RAM 73.
In S408, the left end detection threshold 103 and the right end detection threshold 104, which are stored in the RAM 73, are compared with the output value 105 associated with the position information detected by the carriage feed encoder 39, thereby determining the positions of both ends. Identify.
[0065]
Should the paper 101 with different hues or reflectances be used at the left end 101A and the right end 101B due to dirt or yellowing, or when using the paper 101 on which characters or figures have been printed in advance, Both end positions may not be detected. In preparation for such a case, if at least one edge is not detected in S409, the process proceeds to S410, the sheet 101 is conveyed by a fixed distance, and both end detection from S402 is repeated again at another position. Thus, both end positions can be reliably detected. If the both end positions are detected in S409, the both end position detection is finished as it is.
[0066]
In this way, detection of both ends of the sheet 101 is performed.
In such a multi-function device 7, the left end detection threshold 103 and the right end detection threshold 104 are separately obtained based on the output value 105 based on the amount of reflected light received by the light receiving unit of the media sensor 68. Since the left end 101A and the right end 101B are separately detected by comparing the output values 105 and 104 with the output value 105, the left end 101A and the right end 101B have different colors and reflectivity due to dirt, yellowing, and the like. Even when the paper 101 is used or when the paper 101 on which characters and figures are printed in advance is used, the end position of the paper 101 can be accurately detected.
[0067]
Further, since the left end detection threshold 103 and the right end detection threshold 104 are separately set based on the average value of the output values 105 based on the amount of reflected light detected at each of the left region 101C and the right region 101D. Even if a variation occurs in the detection of the amount of reflected light, the influence of this variation can be reduced.
[0068]
Furthermore, since the left end detection threshold 103 is detected in the left region 101C and the right end detection threshold 104 is detected in the right region 101D, the amount of reflected light at a position closer to the end can be detected.
In addition, the approximate positions 106A and 106B at both ends are detected, the left area 101C and the right area 101D are set based on the detected approximate positions 106A and 106B, and processing is performed based on the amount of reflected light detected in each area. The execution device 70 can set the thresholds 103 and 104 according to the characteristics of the paper 101 by setting the thresholds 103 and 104.
[0069]
Based on the above-described matters, the position of the edge of the sheet 101 can be accurately detected. Further, when the processing execution device 70 cannot detect at least one of the left end 101A and the right end 101B, the paper transport motor 40 transports the paper 101 by a predetermined amount, and again from S402 to S408. Since the edge position detection operation is performed, even if the edge cannot be detected at the initial detection position due to the dirt of the paper 101, the edge position can be surely detected by re-detecting the edge at another position. Can be detected.
[0070]
Further, as in the present embodiment (embodiment 2), the multifunction device 7 including the printer 3 includes the end position detection device, whereby the printer 3 capable of detecting the accurate end position can be provided. Thus, it is possible to form an image in an area where the image can be formed without excess or deficiency.
[0071]
The multi-function device 7 of this embodiment (Embodiment 2) is provided with the extended paper guide 67 that opens equally on both sides of the paper 101, so that the center position of the paper 101 comes to a preset position. Although it is configured, in order to detect the center position of the paper 101 when the position on which the paper 101 is placed is determined according to the width of the paper 101, for example, the carriage can be detected from a predetermined position of the media sensor 68. The feed encoder 39 may be configured so as to be associated with the center position of the sheet 101 at a position separated by a certain number of steps.
[0072]
In this embodiment (embodiment 2), the approximate positions of both ends are detected (S405). However, if the multi-function device 1 is configured as described above, the center position of the sheet 101 can be detected in advance. The left region 101C and the right region 101D can be specified by detecting one of the approximate positions 106A and 106B. Therefore, the detection of the end position can be simplified.
[0073]
Furthermore, in the present embodiment (embodiment 2), the left end detection threshold 103 and the right end detection threshold 104 are based on the average value of the output values based on the amount of reflected light detected at each of the left region 101C and the right region 101D. However, it is not always necessary to obtain the average value of the output values. For example, the threshold values 103 and 104 are obtained separately based on an intermediate value between the maximum value and the minimum value of the output values detected at a plurality of locations. The thresholds 103 and 104 may be set by a method such as. As a result, even if the amount of reflected light varies, the influence of this variation can be reduced, so that the end position of the medium can be accurately detected.
[0074]
In addition, it is assumed that the paper 101 used in the present embodiment (second embodiment) is a printable paper. However, in applying the present invention, it is not necessary to be a printable paper. Whether it is already printed, such as a facsimile document, a plastic plate such as a printable compact disc, or a metal plate such as an aluminum plate, it is reflected appropriately near the edges. Any medium that can detect the amount of light may be used.
[0075]
In the present embodiment (embodiment 2), the left region 101C and the right region 101D for detecting the amount of reflected light for setting the threshold value are 1 mm wide regions that are 20 mm away from each end, as in the first embodiment. However, this region is not particularly required, and the region is preferably set according to various conditions such as the number of reflected light amounts detected at a plurality of locations and the light emission amount of the media sensor 68.
[Brief description of the drawings]
FIG. 1 is a perspective view of a multi-function device.
FIG. 2 is a plan view illustrating an internal structure of the printer.
FIG. 3 is a block diagram illustrating a schematic configuration of a process execution device.
FIG. 4 is a flowchart showing a both-end detection procedure performed by the process execution device.
FIG. 5 is a graph showing an example of a reflected light amount distribution detected by a media sensor.
FIG. 6 is a flowchart illustrating a both-end detection procedure performed by a processing execution apparatus according to another embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Multifunctional apparatus, 2 ... Paper feed apparatus, 3 ... Printer, 4 ... Reading apparatus, 5 ... Paper discharge tray, 6 ... Operation panel, 7 ... Multifunctional apparatus, 10 ... Print head, 10a-d ... Ink nozzle group DESCRIPTION OF SYMBOLS 10e ... Sensor mounting part, 11 ... Carriage, 12 ... Guide mechanism, 13 ... Carriage movement mechanism, 14 ... Paper conveyance mechanism, 15 ... Maintenance mechanism, 15a ... Wiper, 15b ... Cap, 15c ... Drive motor, 15d ... Mounting plate 16 ... Frame, 16a ... Rear side plate, 16b ... Front side plate, 16c ... Left side plate, 16d ... Right side plate, 17 ... Platen, 20 ... Cartridge mounting part, 21a-d ... Ink cartridge, 22a-d ... Ink tube, 25 ... guide shaft, 26 ... guide rail, 30 ... carriage motor, 31 ... drive pulley, 32 ... driven pulley, 33 ... belt, 39 ... carriage feed Encoder, 40 ... paper transport motor, 41 ... registration roller, 42 ... drive pulley, 43 ... driven pulley, 44 ... belt, 45 ... paper discharge roller, 46 ... driven pulley, 47 ... driven pulley, 48 ... belt, 50 ... paper Encoder for conveyance, 51 ... Encoder disk, 52 ... Photo interrupter, 65 ... Paper feed motor, 66 ... Inclined wall portion, 67 ... Expansion paper guide, 68 ... Media sensor, 69 ... Registration sensor, 70 ... Processing execution device, 76a- c ... Drive circuit, 76d ... Print drive circuit, 77 ... Personal computer, 101 ... Paper, 101A ... Left edge, 101B ... Right edge, 101C ... Left area, 101D ... Right area, 102 ... Initial threshold, 103 ... Left edge detection Threshold value 104... Right edge detection threshold value 105... Output value 106 A, 106 B.

Claims (12)

媒体からの反射光量を検出する反射光量検出手段と、
前記媒体の幅方向に、前記反射光量検出手段による反射光量検出位置を変化させながら、前記反射光量検出手段が検出した反射光量、および前記媒体の端部を判定する閾値、を比較することによって、前記媒体の両端部の位置を検出する端部位置検出手段と、
を備えた端部位置検出装置において、
前記反射光量検出手段が、前記媒体上であって左端部近傍に位置する左領域で検出した反射光量に基づいて、前記媒体の左端部の位置を判定するための左端検出用閾値を設定すると共に、前記反射光量検出手段が、前記媒体上であって右端部近傍に位置する右領域で検出した反射光量に基づいて、前記媒体の右端部の位置を判定するための右端検出用閾値を設定する閾値設定手段
を備えたことを特徴とする端部位置検出装置。
A reflected light amount detecting means for detecting the reflected light amount from the medium;
By comparing the reflected light amount detected by the reflected light amount detection unit and the threshold value for determining the edge of the medium while changing the reflected light amount detection position by the reflected light amount detection unit in the width direction of the medium, End position detecting means for detecting positions of both ends of the medium;
In the end position detection device comprising:
The reflected light amount detection means sets a left end detection threshold value for determining the position of the left end portion of the medium based on the reflected light amount detected in the left region located on the medium and in the vicinity of the left end portion. The reflected light amount detection means sets a right end detection threshold value for determining the position of the right end portion of the medium based on the reflected light amount detected in the right region located on the medium and in the vicinity of the right end portion. An end position detecting device comprising a threshold setting means.
前記閾値設定手段は、
前記左領域の複数箇所で検出した反射光量に基づいて左端値を算出すると共に、前記右領域の複数箇所で検出した反射光量に基づいて右端値を算出する、算出手段を更に備え、
前記算出手段によって算出された左端値に基づいて前記左端検出用閾値を設定すると共に、前記算出手段によって算出された右端値に基づいて前記右端検出用閾値を設定すること
を特徴とする請求項1に記載の端部位置検出装置。
The threshold setting means includes
A left end value is calculated based on the amount of reflected light detected at a plurality of locations in the left region, and a right end value is calculated based on the amount of reflected light detected at a plurality of locations in the right region.
The left edge detection threshold is set based on the left edge value calculated by the calculation means, and the right edge detection threshold is set based on the right edge value calculated by the calculation means. The end position detection device according to 1.
前記算出手段によって算出された左端値は、前記左領域の複数箇所で検出した反射光量の平均値である左端平均値であると共に、
前記算出手段によって算出された右端値は、前記右領域の複数箇所で検出した反射光量の平均値である右端平均値であること
を特徴とする請求項2に記載の端部位置検出装置。
The left end value calculated by the calculating means is a left end average value that is an average value of the amount of reflected light detected at a plurality of locations in the left region, and
The edge position detection device according to claim 2, wherein the right edge value calculated by the calculation means is a right edge average value that is an average value of reflected light amounts detected at a plurality of locations in the right region.
前記左領域は、前記媒体上の幅方向における中心位置から左端部までの領域であると共に、
前記右領域は、前記媒体上の幅方向における中心位置から右端部までの領域であること
を特徴とする請求項1〜3の何れかに記載の端部位置検出装置。
The left region is a region from the center position in the width direction on the medium to the left end, and
The end position detection device according to claim 1, wherein the right region is a region from a center position in the width direction on the medium to a right end portion.
前記媒体の中心位置は、該端部位置検出装置の予め設定された位置に来るように構成されていることを特徴とする請求項4に記載の端部位置検出装置。The end position detection apparatus according to claim 4, wherein the center position of the medium is configured to come to a preset position of the end position detection apparatus. 所定の中心位置から左右両側に均等に変位可能なガイドを備え、前記媒体は前記ガイドによって位置決めされることを特徴とする請求項5に記載の端部位置検出装置。The end position detection device according to claim 5, further comprising a guide that can be equally displaced from a predetermined center position on both right and left sides, and wherein the medium is positioned by the guide. 前記反射光量検出手段は、前記媒体の幅方向に移動可能であって、
前記媒体の中心位置は、前記反射光量検出手段の所定位置から予め設定された距離だけ離間した位置にあること
を特徴とする請求項4〜6の何れかに記載の端部位置検出装置。
The reflected light amount detection means is movable in the width direction of the medium,
The end position detection device according to any one of claims 4 to 6, wherein the center position of the medium is located at a predetermined distance from a predetermined position of the reflected light amount detection means.
少なくとも前記媒体の概略幅を認知する認知手段を更に備え、
前記反射光量検出手段は、前記認知手段が認知した、前記媒体の概略幅と前記媒体の中心位置と、に基づいて前記反射光量を検出することを特徴とする請求項5〜7の何れかに記載の端部位置検出装置。
A recognizing means for recognizing at least the approximate width of the medium;
8. The reflected light amount detecting unit detects the reflected light amount based on a rough width of the medium and a center position of the medium recognized by the recognizing unit. The end position detection device described.
前記媒体をその幅方向と垂直な方向に搬送する搬送手段を更に備え、
前記端部位置検出手段が前記左端部および前記右端部の少なくとも一方の端部を検出できなかった場合には、前記搬送手段が前記媒体を所定量だけ搬送し、再び前記反射光量検出手段による前記反射光量の検出、前記閾値設定手段による閾値の設定、および前記端部位置検出手段による前記左端部および前記右端部の検出を行うことを特徴とする請求項1〜8の何れかに記載の端部位置検出装置。
Further comprising transport means for transporting the medium in a direction perpendicular to its width direction;
When the end position detection unit cannot detect at least one of the left end and the right end, the transport unit transports the medium by a predetermined amount, and the reflected light amount detection unit again performs the process. The edge according to any one of claims 1 to 8, wherein the amount of reflected light is detected, the threshold is set by the threshold setting unit, and the left end and the right end are detected by the end position detecting unit. Part position detection device.
前記媒体の両端の概略位置を検出するために予め設定された概略位置検出用閾値と、前記反射光量検出手段が検出した反射光量と、を比較することによって、前記媒体の両端の概略位置を検出する概略位置検出手段を更に備え、
前記閾値設定手段は、前記概略位置検出手段によって検出された概略位置を踏まえて、前記左端検出用閾値および前記右端検出用閾値を設定すること
を特徴とする請求項1〜9の何れかに記載の端部位置検出装置。
The approximate positions of both ends of the medium are detected by comparing the approximate position detection threshold value set in advance for detecting the approximate positions of both ends of the medium and the reflected light amount detected by the reflected light amount detecting means. A rough position detecting means for
The threshold value setting unit sets the left end detection threshold value and the right end detection threshold value based on the approximate position detected by the approximate position detection unit. End position detection device.
前記端部位置検出手段が前記左端部および前記右端部の少なくとも一方の端部を検出できなかった場合には、前記搬送手段が前記媒体を所定量だけ搬送し、再び前記反射光量検出手段による前記反射光量の検出、前記概略位置検出手段による前記媒体の概略位置の検出、前記閾値設定手段による前記左端検出用閾値および前記右端検出用閾値の設定、および前記端部位置検出手段による前記左端部および前記右端部の検出を行うことを特徴とする請求項10に記載の端部位置検出装置。When the end position detection unit cannot detect at least one of the left end and the right end, the transport unit transports the medium by a predetermined amount, and the reflected light amount detection unit again performs the process. Detection of the amount of reflected light, detection of the approximate position of the medium by the approximate position detection means, setting of the threshold value for left end detection and the threshold value for right end detection by the threshold setting means, and the left end portion by the end position detection means The end position detection apparatus according to claim 10, wherein the right end is detected. 前記媒体上を幅方向に移動して前記媒体上に画像を形成する画像形成手段を備えた画像形成装置において、
請求項1〜11の何れかに記載の端部位置検出装置を備えたことを特徴とする画像形成装置。
In an image forming apparatus including an image forming unit that moves in the width direction on the medium to form an image on the medium.
An image forming apparatus comprising the end position detecting device according to claim 1.
JP2002348270A 2002-11-29 2002-11-29 End position detection apparatus and image forming apparatus Expired - Fee Related JP3731579B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002348270A JP3731579B2 (en) 2002-11-29 2002-11-29 End position detection apparatus and image forming apparatus
US10/724,227 US6863459B2 (en) 2002-11-29 2003-12-01 Medium-edge setting device and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002348270A JP3731579B2 (en) 2002-11-29 2002-11-29 End position detection apparatus and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2004181659A JP2004181659A (en) 2004-07-02
JP3731579B2 true JP3731579B2 (en) 2006-01-05

Family

ID=32751226

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002348270A Expired - Fee Related JP3731579B2 (en) 2002-11-29 2002-11-29 End position detection apparatus and image forming apparatus

Country Status (1)

Country Link
JP (1) JP3731579B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8113644B2 (en) 2007-10-05 2012-02-14 Ricoh Company, Ltd. Image forming apparatus and image forming method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4611050B2 (en) * 2005-02-09 2011-01-12 オリンパス株式会社 Image recording apparatus and image recording method of the image recording apparatus
JP4777111B2 (en) * 2006-03-29 2011-09-21 キヤノン株式会社 Method for detecting sheet material in conveying apparatus, conveying apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8113644B2 (en) 2007-10-05 2012-02-14 Ricoh Company, Ltd. Image forming apparatus and image forming method

Also Published As

Publication number Publication date
JP2004181659A (en) 2004-07-02

Similar Documents

Publication Publication Date Title
JP3753126B2 (en) Medium edge detection device and image forming apparatus
US6869241B2 (en) Printer and printing method for obtaining a remaining printable distance on the rear end side of a paper
US7279695B2 (en) Edge position detecting apparatus and method, and program
JP3664163B2 (en) Printing device
US20060033795A1 (en) Printing apparatus and printing method
WO2004091917A1 (en) Device, system, and method for discharging liquid
US7441849B2 (en) Droplet ejection apparatus
US7766445B2 (en) Inkjet recording apparatus
EP1426789B1 (en) Reflection-type optical sensor, carriage, and data processing device
JP4052202B2 (en) Image forming apparatus
JP3731579B2 (en) End position detection apparatus and image forming apparatus
US6246484B1 (en) Image reading apparatus and information processing apparatus having image reading function
JP2014076612A (en) Ink jet recorder
US20060221108A1 (en) Ink Jet Recording Apparatus
JP3876734B2 (en) Print sheet discrimination apparatus, printing apparatus, computer program, computer system, and print sheet discrimination method
US6863459B2 (en) Medium-edge setting device and image forming apparatus
JP3941680B2 (en) Medium edge setting device and image forming apparatus using the edge setting device
US7140708B2 (en) Method of edge-to-edge imaging with an imaging apparatus
JP3501602B2 (en) Image reading apparatus and information processing apparatus having image reading function
JP2014076613A (en) Ink jet recorder and method for controlling ink jet recorder
JP2007153609A (en) Recording medium discriminating device of recorder, recording medium discriminating method of recorder, program and storage medium
KR100477691B1 (en) Inkjet printer being capable of borderless printing
JP2008068952A (en) Printer, and printing method
JP2006168110A (en) Recording device
JP2000037872A (en) Recording apparatus and method for recording using the recording apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050912

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051003

R150 Certificate of patent or registration of utility model

Ref document number: 3731579

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091021

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091021

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101021

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101021

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111021

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111021

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121021

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20131021

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees