JPH0825650A - Ink jet recording device - Google Patents

Ink jet recording device

Info

Publication number
JPH0825650A
JPH0825650A JP11180995A JP11180995A JPH0825650A JP H0825650 A JPH0825650 A JP H0825650A JP 11180995 A JP11180995 A JP 11180995A JP 11180995 A JP11180995 A JP 11180995A JP H0825650 A JPH0825650 A JP H0825650A
Authority
JP
Japan
Prior art keywords
unit
recording paper
output level
value
ink
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.)
Pending
Application number
JP11180995A
Other languages
Japanese (ja)
Inventor
Seiji Yokono
政治 横野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP11180995A priority Critical patent/JPH0825650A/en
Publication of JPH0825650A publication Critical patent/JPH0825650A/en
Pending legal-status Critical Current

Links

Landscapes

  • Ink Jet (AREA)
  • Recording Measured Values (AREA)

Abstract

PURPOSE:To provide an ink jet recording device which can read a recording paper by proper sensivity and make longer the life of a photoelectric sensor by controlling the electric current amount flowing on the luminous side of the photoelectric sensor in the case the sensitivity adjustment of the photoelectric sensor is carried out for the ink jet recording device. CONSTITUTION:The output level of reaction light received by a light accepting section 9b is sampled by a CPU by the given times, and the electric current amount supplied to the luminous section 9b is set and changed based on the average value of sampled output level.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、インクジェット記録装
置に関し、特に、インク切れを判定するためのインクエ
ンドマークを記録紙に記録し、このインクエンドマーク
を光学的に読み取ることによってインク切れを判定する
インクジェット記録装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ink jet recording apparatus, and more particularly to recording an ink end mark for determining ink shortage on a recording paper and optically reading the ink end mark to determine ink shortage. The present invention relates to an inkjet recording device.

【0002】[0002]

【従来の技術】一般に、記録紙に印字する手段として
は、サーマルプリンタ、インクジェット記録装置等が使
用されている。サーマルプリンタで使用される感熱記録
紙では、ロール状の感熱記録紙がなくなる以前のある長
さになると、予め所定の場所に黒印字された記録紙にな
り、この黒印字の濃度(黒濃度)を検出手段で検出する
ことで、感熱記録紙の紙切れの判定を行なうようになっ
ている。
2. Description of the Related Art Generally, a thermal printer, an ink jet recording apparatus, etc. are used as a means for printing on recording paper. With thermal recording paper used in thermal printers, when the roll-shaped thermal recording paper reaches a certain length before it runs out, the recording paper will be black-printed at a predetermined location in advance, and this black print density (black density) Is detected by the detection means, it is possible to determine whether the thermal recording paper is out of paper.

【0003】この紙切れの判定を行なう具体的な方法と
しては、黒濃度と白濃度(印字されていない紙自体の濃
度)の境界を設定したスレッシュ値を設け、光電センサ
等によって検出した濃度の値とスレッシュ値との大小関
係により判定を行なっている。感熱記録紙等に使用され
る紙は、記録装置の種類に応じてほぼ決まっており、記
録紙の白濃度または黒濃度も容易に推測できることか
ら、スレッシュ値は、黒濃度の値あるいは白濃度の値の
どちらか一方を基準値として、装置に予め固定値として
記憶してあり、そのスレッシュ値と検出した濃度の値の
大小関係に基づいて紙有り、紙なし判定を行なうように
している。
As a concrete method for determining the paper-out condition, a threshold value which sets a boundary between the black density and the white density (density of the paper itself which is not printed) is provided, and the density value detected by a photoelectric sensor or the like. And the threshold value are compared. The paper used for thermal recording paper, etc. is almost determined according to the type of recording device, and the white density or black density of the recording paper can be easily estimated, so the threshold value is the value of black density or white density. Either one of the values is used as a reference value and is stored in advance as a fixed value in the apparatus, and the presence / absence of paper is determined based on the magnitude relationship between the threshold value and the detected density value.

【0004】一方、記録紙にマークを印字してインク切
れを検出する装置としては、特開平2−221814号
公報記載の「データ処理装置」が報告されている。この
ものは、記録紙を搬送するとともに、印字ヘッドで1頁
の終了以前の所定位置にマークを印字する。記録紙が搬
送され、光電センサの読み取り位置とマークの印字され
た位置とが一致した場合に、マークが検出されたか否か
を判定する。マークが検出されないときにば、インク切
れが生じていると判断し、搬送を停止するとともに、メ
モリ内の印字データを大容量メモリに移して記憶する。
これにより、白紙の記録紙を出力する無駄を防止でき、
かつ、データの消失を防止できるという利点を有するも
のである。
On the other hand, as a device for printing marks on recording paper to detect ink shortage, a "data processing device" described in Japanese Patent Application Laid-Open No. 2-221814 has been reported. This one conveys recording paper and prints a mark at a predetermined position before the end of one page with a print head. When the recording paper is conveyed and the reading position of the photoelectric sensor and the position where the mark is printed coincide with each other, it is determined whether or not the mark is detected. If no mark is detected, it is determined that the ink has run out, the conveyance is stopped, and the print data in the memory is transferred to and stored in the large capacity memory.
This prevents the waste of printing blank recording paper,
In addition, it has an advantage that data loss can be prevented.

【0005】また、インク切れを検出する他の装置とし
ては、先願の特願平5−196598号に「インクジェ
ット記録装置」が記載されている。このものは、記録紙
の無印字箇所に光を照射したときに、光電センサの受光
側に現れる出力レベルに基づいて、光電センサの出力レ
ベルを調整することで、感度の悪い光電センサでも正常
に読み取ることができるという利点を有するものであ
る。詳しくは、光電センサの発光側で記録紙の無印字箇
所に光を照射し、光電センサの受光側で記録紙からの反
射光を受光する。次に、受光した光量に応じて流れる電
流を電圧に変換し、A/Dコンバータでアナログ値から
デジタル値に変換する。次いで、デジタル値に変換され
た電圧値を所定のサンプリング周波数に基づいてサンプ
リングする。サンプリングを規定回数繰り返した後に、
サンプリングした電圧値の平均値αを算出するととも
に、A/Dコンバータの電圧分離能βとの電圧比(α/
β)を算出する。算出された電圧比(α/β)に基づい
て受光側の出力レベルを、記録紙の無印字箇所、印字箇
所を正常に判別できる出力レベルに調整する。このよう
に、光電センサ(受光側)の出力レベルを電圧比(α/
β)に基づいて調整しているので、A/Dコンバータの
性能を十分に引き出すことができるとともに、光電セン
サの感度の違いによる読み取り性能のばらつきを吸収す
ることができ、かつ、出力レベルの調整を自動化するこ
とができるという利点を有するものである。
As another apparatus for detecting ink shortage, an "ink jet recording apparatus" is described in Japanese Patent Application No. 5-196598 of the prior application. This is designed to adjust the output level of the photoelectric sensor based on the output level appearing on the light receiving side of the photoelectric sensor when light is applied to the non-printed portion of the recording paper, so that even the photoelectric sensor with poor sensitivity can operate normally. It has the advantage of being readable. Specifically, the light emitting side of the photoelectric sensor irradiates the non-printed portion of the recording paper with light, and the light receiving side of the photoelectric sensor receives the reflected light from the recording paper. Next, the current flowing according to the amount of received light is converted into a voltage, and the A / D converter converts the analog value into a digital value. Next, the voltage value converted into a digital value is sampled based on a predetermined sampling frequency. After repeating sampling a specified number of times,
The average value α of the sampled voltage values is calculated, and the voltage ratio (α /
β) is calculated. Based on the calculated voltage ratio (α / β), the output level on the light receiving side is adjusted to an output level at which the non-printed portion and the printed portion of the recording paper can be normally discriminated. In this way, the output level of the photoelectric sensor (light receiving side) is changed to the voltage ratio (α /
Since it is adjusted based on β), the performance of the A / D converter can be fully brought out, the reading performance variation due to the difference in sensitivity of the photoelectric sensor can be absorbed, and the output level can be adjusted. Has the advantage that it can be automated.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、前記
「データ処理装置」にあっては、マークの有無によって
インク切れ判定が行なわれているが、光電センサの感度
について考慮されていない構成となっていたため、感度
にばらつきのある光電センサを使用し、かつ、感度の悪
い光電センサが備え付けられた装置の場合には、記録紙
からの反射光を正確に読み取ることができず、正確なイ
ンク切れ判定が行なわれないといった問題点があった。
このような問題点を解決するために、感度にばらつきの
ある光電センサを備える装置の場合には、光電センサの
受光側に半固定抵抗器等を接続しておき、光電センサの
出力レベルを調べながら、半固定抵抗器等を調整するこ
とで人為的に光電センサの感度調整を行なう技術が知ら
れているが、このような構成では、感度調整を行なうた
めに、光電センサの特性等を熟知している必要があり調
整が容易ではない。さらに、光電センサに異常の原因が
あるかも知れない場合には、その都度、光電センサの出
力レベルを測定しなければならず、調整をさらに困難な
ものとしているといった問題点があった。
However, in the above-mentioned "data processing device", the ink out condition is determined by the presence / absence of the mark, but the sensitivity of the photoelectric sensor is not taken into consideration. In the case of a device that uses a photoelectric sensor with uneven sensitivity and is equipped with a photoelectric sensor with poor sensitivity, the reflected light from the recording paper cannot be accurately read, and accurate ink exhaustion determination cannot be performed. There was a problem that it was not done.
In order to solve such problems, in the case of a device equipped with a photoelectric sensor with uneven sensitivity, a semi-fixed resistor is connected to the light receiving side of the photoelectric sensor and the output level of the photoelectric sensor is checked. However, there is known a technique of artificially adjusting the sensitivity of the photoelectric sensor by adjusting a semi-fixed resistor, etc. However, in such a configuration, the characteristic of the photoelectric sensor is well known in order to adjust the sensitivity. Must be adjusted and adjustment is not easy. Furthermore, if there is a possibility that the photoelectric sensor has a cause of abnormality, the output level of the photoelectric sensor must be measured each time, which makes adjustment more difficult.

【0007】また、前記第1の問題点を解決するため
に、感度にばらつきのない光電センサを使用すれば、記
録紙からの反射光を正確に読み取ることはできるが、コ
ストが嵩むといった問題点があった。一方、前記「イン
クジェット記録装置」にあっては、光電センサの受光側
の出力レベルを調整する構成となっていたため、記録紙
に照射される光量が極度に不足してる場合には、受光側
の出力レベルを調整したとしても、記録紙から反射する
光量の絶対量が不足しているので、記録紙を正確に読み
取ることができないといった問題点があった。また、光
電センサの発光側には、常時一定の電流量が供給される
構成となっていたため、光電センサの発光側で常時電力
が消費され、インクジェット記録装置の消費電力が嵩
み、かつ、光電センサの寿命が短くなるといった問題点
があった。
Further, in order to solve the first problem, if a photoelectric sensor having no variation in sensitivity is used, the reflected light from the recording paper can be accurately read, but the cost increases. was there. On the other hand, in the "ink jet recording apparatus", the output level of the photoelectric sensor on the light receiving side is adjusted. Therefore, when the amount of light irradiated on the recording paper is extremely insufficient, Even if the output level is adjusted, there is a problem that the recording paper cannot be read accurately because the absolute amount of light reflected from the recording paper is insufficient. Further, since the light emitting side of the photoelectric sensor is constantly supplied with a constant amount of electric power, the light emitting side of the photoelectric sensor always consumes electric power, which increases the power consumption of the ink jet recording apparatus. There is a problem that the life of the sensor is shortened.

【0008】そこで請求項1記載の発明は、記録紙を適
切な感度で読み取ることができ、かつ、長寿命な光電セ
ンサを有するインクジェット記録装置を提供することを
目的としている。請求項2記載の発明は、インクエンド
マークをサンプリングするときにのみ発光部に電流を供
給するようにして、光電センサの消費電力を抑制するこ
とができるとともに、光電センサの寿命を延ばすことが
できるインクジェット記録装置を提供することを目的と
している。
Therefore, an object of the present invention is to provide an ink jet recording apparatus having a photoelectric sensor capable of reading recording paper with appropriate sensitivity and having a long life. According to the second aspect of the invention, the electric current is supplied to the light emitting portion only when the ink end mark is sampled, so that the power consumption of the photoelectric sensor can be suppressed and the life of the photoelectric sensor can be extended. An object is to provide an inkjet recording device.

【0009】請求項3記載の発明は、光電センサの出力
レベルを時系列にメモリに記憶し、この値を時系列で印
字するようにして、その状態を容易に把握することがで
きるインクジェット記録装置を提供することを目的とし
ている。請求項4記載の発明は、光電センサの出力レベ
ルの最大値、最小値およびスレッシュ値を記憶し、必要
時に前記各値を印字するようにして、その状態を容易に
把握することができるインクジェット記録装置を提供す
ることを目的としている。
According to a third aspect of the present invention, an ink jet recording apparatus capable of storing the output level of the photoelectric sensor in a memory in time series and printing the value in time series so that the state can be easily grasped. Is intended to provide. According to the invention of claim 4, the maximum value, the minimum value and the threshold value of the output level of the photoelectric sensor are stored, and each value is printed when necessary, so that the state can be easily grasped. The purpose is to provide a device.

【0010】[0010]

【課題を解決するための手段】請求項1記載の発明は、
上記課題を解決するため、記録紙に印字されたインクエ
ンドマークに光を照射し、その反射光の出力レベルに基
づいてインクカートリッジ内のインクの有無を検出する
インクジェット記録装置において、供給される電流量に
応じた光を照射する発光部と、記録紙からの反射光を受
光する受光部と、前記受光部で受光した反射光の出力レ
ベルを所定回数サンプリングするサンプリング部と、該
サンプリング部でサンプリングされた出力レベルの平均
値に基づいて前記発光部に供給する電流量を設定/変更
する制御部と、からなることを特徴するものである。
According to the first aspect of the present invention,
In order to solve the above problems, a current supplied to an ink jet recording apparatus that irradiates an ink end mark printed on recording paper with light and detects the presence or absence of ink in an ink cartridge based on the output level of the reflected light. A light emitting unit that emits light according to the amount, a light receiving unit that receives reflected light from the recording paper, a sampling unit that samples the output level of the reflected light received by the light receiving unit a predetermined number of times, and a sampling unit that samples the output level. And a control unit that sets / changes the amount of current supplied to the light emitting unit based on the average value of the output levels.

【0011】請求項2記載の発明は、上記課題を解決す
るため、請求項1記載の発明において、所定方向に搬送
される記録紙に印字されたインクエンドマークが第1の
所定位置に達した場合に、発光部に電流を供給するとと
もに、インクエンドマークが第2の所定位置に達した場
合に、発光部に電流を供給するのを停止する電流制御部
を有することを特徴としている。
In order to solve the above-mentioned problems, the invention according to claim 2 is the invention according to claim 1, wherein the ink end mark printed on the recording paper conveyed in a predetermined direction reaches a first predetermined position. In this case, it is characterized by having a current control unit that supplies current to the light emitting unit and stops supplying current to the light emitting unit when the ink end mark reaches the second predetermined position.

【0012】請求項3記載の発明は、上記課題を解決す
るため、請求項1または2記載の発明において、前記サ
ンプリング部よってサンプリングされた反射光の出力レ
ベルを時系列に記憶する出力レベル記憶部と、該出力レ
ベル記憶部に記憶されたサンプリング値を時系列に記録
紙に印字する印字部と、を備えたことを特徴としてい
る。
In order to solve the above-mentioned problems, the invention according to claim 3 is the output level storage section for storing the output level of the reflected light sampled by the sampling section in time series in the invention according to claim 1 or 2. And a printing unit for printing the sampling values stored in the output level storage unit on the recording paper in time series.

【0013】請求項4記載の発明は、上記課題を解決す
るため、請求項1または2記載の発明において、記録紙
に記録されたインクエンドマークの濃度と記録紙の白地
部とのスレッシュ値を記憶するスレッシュ値記憶部と、
前記サンプリング部によってサンプリングされた反射光
の出力レベルの最大値と最小値とを検出する検出部と、
該検出部によって検出された最大値および最小値を記憶
する出力値記憶部と、スレッシュ値記憶部および出力値
記憶部に記憶されたスレッシュ値、最大値および最小値
を印字する印字部と、を備えたことを特徴としている。
In order to solve the above-mentioned problems, the invention according to claim 4 is characterized in that, in the invention according to claim 1 or 2, the density of the ink end mark recorded on the recording paper and the threshold value between the white background portion of the recording paper are determined. A threshold value storage unit for storing,
A detection unit that detects the maximum value and the minimum value of the output level of the reflected light sampled by the sampling unit,
An output value storage unit that stores the maximum value and the minimum value detected by the detection unit, and a printing unit that prints the threshold value storage unit and the threshold value, the maximum value, and the minimum value stored in the output value storage unit. It is characterized by having.

【0014】[0014]

【作用】請求項1記載の発明では、受光部で受光された
反射光の出力レベルが所定回数サンプリングされ、この
サンプリングされた出力レベルの平均値に基づいて発光
部に供給される電流量が設定/変更されるようになって
いる。したがって、受光部から記録紙に照射される光量
が適切なものに修正され、記録紙が適切な感度で読み取
られるとともに、光電センサが長寿命なものになる。
According to the present invention, the output level of the reflected light received by the light receiving section is sampled a predetermined number of times, and the amount of current supplied to the light emitting section is set based on the average value of the sampled output levels. / It is supposed to be changed. Therefore, the amount of light emitted from the light receiving unit onto the recording paper is corrected to an appropriate amount, the recording paper is read with an appropriate sensitivity, and the photoelectric sensor has a long life.

【0015】請求項2記載の発明では、所定方向に搬送
される記録紙に印字されたインクエンドマークが第1の
所定位置に達した場合に、発光部に電流が供給されると
ともに、インクエンドマークが第2の所定位置に達した
場合に、発光部に電流を供給することが停止されるよう
になっている。したがって、インクエンドマークのサン
プリングを行なうときにのみ発光部に電流が供給され、
光電センサの消費電力が抑制されるとともに光電センサ
が長寿命なものになる。
According to the second aspect of the invention, when the ink end mark printed on the recording paper conveyed in the predetermined direction reaches the first predetermined position, a current is supplied to the light emitting portion and the ink end is supplied. When the mark reaches the second predetermined position, the current supply to the light emitting unit is stopped. Therefore, the current is supplied to the light emitting unit only when the ink end mark is sampled,
The power consumption of the photoelectric sensor is suppressed and the photoelectric sensor has a long life.

【0016】請求項3記載の発明では、サンプリングさ
れた反射光の出力レベルが時系列に記憶されるととも
に、この記憶されたサンプリング値が時系列に記録紙に
印字されるようになっているので、インクジェット記録
装置の状態が容易に把握される。請求項4記載の発明で
は、記録紙に記録されたインクエンドマークの濃度と記
録紙の白地部とのスレッシュ値およびサンプリングされ
た反射光の出力レベルの最大値と最小値が印字されるよ
うになっているので、インクジェット記録装置の状態が
容易に把握される。
According to the third aspect of the present invention, the output level of the reflected light sampled is stored in time series, and the stored sampling values are printed in time series on the recording paper. The state of the inkjet recording device can be easily grasped. According to the fourth aspect of the invention, the density of the ink end mark recorded on the recording paper, the threshold value with the white background of the recording paper, and the maximum and minimum values of the output level of the reflected light sampled are printed. Therefore, the state of the inkjet recording device can be easily grasped.

【0017】[0017]

【実施例】以下、本発明を図面を参照して説明する。 (実施例1)まず、インクジェット記録装置のシステム
構成図について説明する。図1は請求項1〜4記載の発
明に共通するインクジェット記録装置のシステム構成図
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. (Embodiment 1) First, a system configuration diagram of an ink jet recording apparatus will be described. FIG. 1 is a system configuration diagram of an ink jet recording apparatus common to the inventions described in claims 1 to 4.

【0018】図1に示すように、CPU(Central Proc
essing Unit )部1は、図示しないROM(Read Only
Memory)に記憶されたプログラムおよび各種データに基
づいて、インクジェット記録装置の各部を主に制御す
る。メモリ部2は、ROM、RAM(Random Access Me
mory)あるいはSRAM(Static Random Access Memor
y )から構成され、ROMには後述するインク切れ判定
およびスイッチ部13の制御のために使用するスレッシ
ュ値が記憶され、RAMあるいはSRAMには後述する
スイッチ部13の設定およびインク濃度検出部5の出力
値が記憶される。表示部3は、液晶表示パネルから構成
されており、インク切れが発生したときに各種表示を行
ないインク切れを警告する。なお、この警告のために表
示部3を警信音を発生するブザーやLED等で構成して
もよい。
As shown in FIG. 1, a CPU (Central Proc
The essing unit) section 1 is a ROM (Read Only) not shown.
Based on a program and various data stored in the memory), each part of the inkjet recording device is mainly controlled. The memory unit 2 includes a ROM and a RAM (Random Access Me
mory) or SRAM (Static Random Access Memor)
y), a ROM stores a threshold value used for determining the ink exhaustion described later and control of the switch unit 13, and the RAM or SRAM sets the switch unit 13 and the ink density detection unit 5 described later. The output value is stored. The display unit 3 is composed of a liquid crystal display panel, and when the ink is depleted, various displays are performed to warn the ink depletion. The display unit 3 may be configured with a buzzer, an LED, or the like that emits a warning sound for this warning.

【0019】インクジェット記録装置4は、CPU部1
からの指令に基づいてインク液を記録紙に噴射すること
で、文字、記号等のデータを印字するとともに、この印
字動作中に記録紙の所定箇所に全黒あるいは全黒に近い
インク切れ判定マーク(インクエンドマーク)を印字す
る。記録紙モータ部6は、CPU部1からの指令に基づ
いて記録紙を順方向あるいは逆方向に搬送する。また、
ヘッドモータ部7は、CPU部1からの指令に基づいて
ヘッド部8を左右に移動させて記録紙の印字位置に移動
させる。ヘッド部8は、ヘッドモータ部7により印字位
置に移動されるとともに、CPU部1からの指令に基づ
いて文字、記号およびインク切れ判定マークを印字す
る。
The ink jet recording apparatus 4 includes a CPU section 1
Data such as characters and symbols are printed by ejecting ink liquid onto the recording paper based on the command from the Print (ink end mark). The recording paper motor unit 6 conveys the recording paper in the forward direction or the reverse direction based on a command from the CPU unit 1. Also,
The head motor unit 7 moves the head unit 8 left and right based on a command from the CPU unit 1 to the print position of the recording paper. The head unit 8 is moved to the print position by the head motor unit 7 and prints characters, symbols, and ink shortage determination marks based on a command from the CPU unit 1.

【0020】インク濃度検出部5は、CPU部1からの
指令に基づいて記録紙に光を照射するとともに、記録紙
からの反射光を受光し、反射光の光量に応じてデジタル
値で表された電圧値を出力する。光電センサ9は、イン
ク切れ判定マークを検出できる位置に配置されるととも
に、発光部9aに電流が流されることによって記録紙に
光を照射し、記録紙からの反射光を受光部9bで受光す
る。発光部9aは、電流量に応じて発光量が決まり、受
光部9bは、受光した光量に応じた電流に変換する。電
流電圧変換抵抗部(以下、I/V変換抵抗部ともいう)
10は、記録紙からの反射光に応じて受光部9bに流れ
た電流(I)を電圧(V)に変換し、電圧をA/Dコン
バータ部11に供給する。A/Dコンバータ部11は、
電圧分離能βを有し、図示しない外部クロックに基づく
サンプリング周波数で、I/V変換抵抗部10から供給
される電圧を、アナログ値からデジタル値にA/D変換
する。トランジスタ12は、CPU部1からの指令に基
づいてオン・オフし、光電センサ9の発光部9aに電流
を流すか否かを制御する。スイッチ部13は、CPU部
1からの指令に基づいてSW1、SW2をオン・オフ
し、発光部9aに流す電流量を制御する。電流制限抵抗
14は、抵抗Ra、Rb、Rcが並列接続され、スイッ
チ部13とともに発光部9aに流れる電流量を制御す
る。なお、電流制限抵抗14の抵抗値および抵抗数は、
外部環境も考慮して発光部9aの定格を越えない範囲で
任意に設定される。また、抵抗を並列接続しスイッチ部
13で合成抵抗を変化させる代わりに、ボリューム等を
用いて抵抗値を変化させてもよい。また、VCC15お
よびGND16は、インク濃度検出装置5に一定の電圧
を加える電源電圧である。
The ink density detector 5 irradiates the recording paper with light based on a command from the CPU 1, receives the reflected light from the recording paper, and is represented by a digital value according to the amount of the reflected light. Output voltage value. The photoelectric sensor 9 is arranged at a position where the ink exhaustion determination mark can be detected, irradiates the recording paper with light by passing a current through the light emitting portion 9a, and receives the reflected light from the recording paper at the light receiving portion 9b. . The light emission amount of the light emitting unit 9a is determined according to the amount of current, and the light receiving unit 9b converts it into a current according to the amount of received light. Current-voltage conversion resistance unit (hereinafter, also referred to as I / V conversion resistance unit)
Reference numeral 10 converts the current (I) flowing through the light receiving section 9b into a voltage (V) according to the reflected light from the recording paper, and supplies the voltage to the A / D converter section 11. The A / D converter unit 11 has
It has a voltage separation capability β, and A / D converts the voltage supplied from the I / V conversion resistor unit 10 from an analog value to a digital value at a sampling frequency based on an external clock (not shown). The transistor 12 is turned on / off based on a command from the CPU unit 1, and controls whether or not to supply a current to the light emitting unit 9 a of the photoelectric sensor 9. The switch unit 13 turns on and off SW1 and SW2 based on a command from the CPU unit 1, and controls the amount of current flowing to the light emitting unit 9a. The current limiting resistor 14 has resistors Ra, Rb, and Rc connected in parallel, and controls the amount of current flowing to the light emitting unit 9a together with the switch unit 13. The resistance value and the number of resistors of the current limiting resistor 14 are
In consideration of the external environment, the light emitting unit 9a is arbitrarily set within a range not exceeding the rating. Further, instead of connecting the resistors in parallel and changing the combined resistance by the switch unit 13, the resistance value may be changed by using a volume or the like. Further, VCC15 and GND16 are power supply voltages that apply a constant voltage to the ink density detection device 5.

【0021】本実施例では、請求項1記載の発明におい
て、発光部9aが発光部を構成し、受光部9bが受光部
を構成している。また、CPU1、電流電圧変換抵抗部
10およびA/Dコンバータ部11がサンプリング部を
構成し、CPU1、スイッチ部13および電流制限抵抗
14が制御部を構成している。図2は本発明のインクジ
ェット記録装置によって記録紙上に印字されたマークと
マークのサンプリング方向を示す図である。
In this embodiment, in the invention described in claim 1, the light emitting portion 9a constitutes a light emitting portion, and the light receiving portion 9b constitutes a light receiving portion. Further, the CPU 1, the current / voltage conversion resistance unit 10 and the A / D converter unit 11 form a sampling unit, and the CPU 1, the switch unit 13 and the current limiting resistance 14 form a control unit. FIG. 2 is a diagram showing marks printed on recording paper by the inkjet recording apparatus of the present invention and sampling directions of the marks.

【0022】なお、図2において、記録紙20はインク
ジェット記録装置4によってインク切れ判定マーク21
が印字されているものとして説明する。まず、記録紙2
0をサンプリングする場合には、記録紙20を記録紙搬
送方向22に搬送する。次に、記録紙20のサンプリン
グ開始位置が光電センサ9の読み取り位置に達すると、
CPU部1はトランジスタ12をオンにして光電センサ
9を動作させる。次いで、CPU部1はサンプリング周
波数に基づいて光電センサ9の出力レベルをサンプリン
グする。記録紙20は記録紙搬送方向22に搬送されて
いるので、記録紙20をサンプリングする方向は矢印2
3で示されるように、サンプリング開始位置から+l方
向にサンプリングする。
In FIG. 2, the recording paper 20 is printed on the recording paper 20 by the ink jet recording device 4 and the ink exhaustion determination mark 21.
Will be described as being printed. First, recording paper 2
When sampling 0, the recording paper 20 is conveyed in the recording paper conveyance direction 22. Next, when the sampling start position of the recording paper 20 reaches the reading position of the photoelectric sensor 9,
The CPU unit 1 turns on the transistor 12 to operate the photoelectric sensor 9. Next, the CPU unit 1 samples the output level of the photoelectric sensor 9 based on the sampling frequency. Since the recording paper 20 is conveyed in the recording paper conveyance direction 22, the direction in which the recording paper 20 is sampled is indicated by the arrow 2
As indicated by 3, sampling is performed in the + l direction from the sampling start position.

【0023】図3は本発明のインクジェット記録装置の
スイッチ部の接続状態を示す図である。図3において、
接続状態がa状態である場合には、スイッチ部のSW1
およびSW2が両方ともオフの状態であることを示し、
b状態である場合には、スイッチ部のSW1がオフ、S
W2がオンの状態であることを示し、c状態である場合
には、SW1およびSW2が両方ともオンの状態である
ことを示している。
FIG. 3 is a diagram showing a connection state of the switch section of the ink jet recording apparatus of the present invention. In FIG.
When the connection state is the a state, SW1 of the switch unit
And SW2 are both off,
If the state is b, SW1 of the switch unit is off, S
W2 is in the on state, and when in the c state, both SW1 and SW2 are in the on state.

【0024】図4はスイッチ部の接続状態を図3のよう
に定義し、同一対象物をサンプリングしたときにおける
各接続状態の光電センサの出力レベルを示す図である。
各接続状態に応じて発光部9aと接続される電流制限抵
抗部14の合成抵抗値が異なるので、発光部9aに流れ
る電流量に違いが生じ、発光部9aから照射される発光
量、および、記録紙からの反射光の光量に違いが生じ
る。また、図4に示されるように、インクジェット記録
装置4によって印字されたインク切れ判定マークの位置
をサンプリングしている箇所では低い出力レベルを示
す。
FIG. 4 is a diagram showing the output level of the photoelectric sensor in each connection state when the connection state of the switch section is defined as in FIG. 3 and the same object is sampled.
Since the combined resistance value of the current limiting resistance unit 14 connected to the light emitting unit 9a differs depending on each connection state, a difference occurs in the amount of current flowing through the light emitting unit 9a, and the amount of light emitted from the light emitting unit 9a, and Differences occur in the amount of light reflected from the recording paper. In addition, as shown in FIG. 4, a low output level is shown at a position where the position of the ink out judgment mark printed by the inkjet recording device 4 is sampled.

【0025】図5は本発明のインクジェット記録装置の
スイッチ部の接続状態と電圧比との関係を示す図であ
る。図5において、電圧比(α/β)は、電圧分離能β
のA/DコンバータでA/D変換された電圧値(デジタ
ル値)の平均値αと電圧分離能βとの電圧比(α/β)
である。また、接続状態は、図3に基づくスイッチ部の
SW1およびSW2の接続状態を表している。
FIG. 5 is a diagram showing the relationship between the connection state of the switch section and the voltage ratio of the ink jet recording apparatus of the present invention. In FIG. 5, the voltage ratio (α / β) is the voltage separation ability β
Voltage ratio (α / β) between the average value α of the voltage values (digital values) A / D converted by the A / D converter of the above and the voltage separability β
Is. The connection state represents the connection state of SW1 and SW2 of the switch unit based on FIG.

【0026】図6はスレッシュ値テーブルを示す図であ
る。図6において、平均値γは、記録紙の無印字箇所か
らの反射光を量子化したときの電圧値の平均である。ス
レッシュ値は、記録紙の無印字箇所と印字箇所とを判定
する基準値である。図7は実施例1に係わるインクジェ
ット記録装置の光電センサの出力レベル設定およびスレ
ッシュ値設定の動作を示すフローチャートである。
FIG. 6 is a diagram showing a threshold value table. In FIG. 6, the average value γ is the average of the voltage values when the reflected light from the non-printed portion of the recording paper is quantized. The threshold value is a reference value for determining the non-printed portion and the printed portion of the recording paper. FIG. 7 is a flowchart showing the operation of setting the output level and the threshold value of the photoelectric sensor of the inkjet recording apparatus according to the first embodiment.

【0027】以下、図1に示すシステム構成図を参照し
て、フローチャートを説明する。なお、本フローチャー
トは請求項1記載の発明に対応している。まず、スイッ
チ部13の接続状態およびスレッシュ値の設定モードに
入る(処理S1)。処理1に入った時点で、CPU部1
はスイッチ部13の接続状態をa状態にする。次に、イ
ンク濃度検出部5で記録紙の無印字箇所からの反射光を
デジタル値で表される電圧値に変換し、CPU部1で電
圧を規定回数サンプリングする(処理S2)。次いで、
CPU部1はサンプリングした電圧値の平均値α(A/
D変換後のデジタル値の平均値)を算出し、A/Dコン
バータ部11の分解能βとの電圧比(α/β)を図5に
示される所定範囲と比較判定する(処理S3)。CPU
部1は判定結果に基づいてスイッチ部13の接続状態を
設定する(処理S4〜6)。
The flow chart will be described below with reference to the system configuration diagram shown in FIG. The flowchart corresponds to the invention of claim 1. First, the connection state of the switch unit 13 and the threshold value setting mode are entered (step S1). When the process 1 is entered, the CPU unit 1
Sets the connection state of the switch unit 13 to the a state. Next, the ink density detection unit 5 converts the reflected light from the non-printed portion of the recording paper into a voltage value represented by a digital value, and the CPU unit 1 samples the voltage a prescribed number of times (process S2). Then
The CPU unit 1 uses the average value α (A / A of the sampled voltage values
The average value of the digital values after D conversion) is calculated, and the voltage ratio (α / β) to the resolution β of the A / D converter unit 11 is compared and determined with the predetermined range shown in FIG. 5 (process S3). CPU
The unit 1 sets the connection state of the switch unit 13 based on the determination result (processes S4 to S6).

【0028】すなわち、算出した電圧比(α/β)が所
定範囲1/2 < α/β ≦ 1にある場合には、スイッチ部
13の接続状態をa状態のまま保持する。電圧比(α/
β)が所定範囲1/4 < α/β ≦1/2 にある場合には、
接続状態をb状態にする。電圧比(α/β)が所定範囲
α/β ≦ 1/4 にある場合には、接続状態をc状態にす
る。
That is, when the calculated voltage ratio (α / β) is within the predetermined range 1/2 <α / β ≦ 1, the connection state of the switch unit 13 is maintained in the a state. Voltage ratio (α /
β) is in the predetermined range 1/4 <α / β ≤ 1/2,
The connection state is changed to the b state. When the voltage ratio (α / β) is within the predetermined range α / β ≤ 1/4, the connection state is changed to the c state.

【0029】CPU部1がスイッチ部13の接続状態を
設定した後に、インク濃度検出部5は再度記録紙の無印
字箇所からの反射光を電圧に変換し、CPU部1で電圧
を規定回数サンプリングする(処理S7)。次に、CP
U部1はサンプリングした電圧値の平均値γ(A/D変
換後のデジタル値の平均値)を算出し(処理S8)、図
6に示されるように、スレッシュ値テーブルとしてメモ
リ部2に格納されたスレッシュ値から平均値γに適した
スレッシュ値を選択する(処理S9)。次いで、スイッ
チ部13の接続状態および選択されたスレッシュ値をメ
モリ部2に記憶する(処理S10)。
After the CPU section 1 sets the connection state of the switch section 13, the ink density detecting section 5 again converts the reflected light from the non-printed portion of the recording paper into a voltage, and the CPU section 1 samples the voltage a prescribed number of times. Yes (process S7). Next, CP
The U unit 1 calculates the average value γ of the sampled voltage values (the average value of the digital values after A / D conversion) (process S8) and stores it in the memory unit 2 as a threshold value table as shown in FIG. A threshold value suitable for the average value γ is selected from the threshold values thus obtained (process S9). Next, the connection state of the switch unit 13 and the selected threshold value are stored in the memory unit 2 (process S10).

【0030】なお、処理S10でメモリ部2に記憶され
た接続状態およびスレッシュ値は、再度上記処理を実行
しない限り変更されることはない。また、このようにサ
ンプリングされた電圧値の平均値αとA/Dコンバータ
部11の電圧分離能βとの電圧比(α/β)に応じて接
続状態を変更することによって、光電センサ9の発光部
9aの発光量を適切に調整できるので、受光部9bの出
力レベルを略 1/2<α/β≦1 に保持することができ、
A/Dコンバータ部11の性能を十分に引き出すことが
できる。
The connection state and the threshold value stored in the memory unit 2 in the process S10 are not changed unless the above process is executed again. Further, by changing the connection state according to the voltage ratio (α / β) between the average value α of the voltage values sampled in this way and the voltage separation capability β of the A / D converter unit 11, the photoelectric sensor 9 Since the amount of light emitted from the light emitting section 9a can be adjusted appropriately, the output level of the light receiving section 9b can be maintained at approximately 1/2 <α / β ≦ 1.
The performance of the A / D converter unit 11 can be sufficiently brought out.

【0031】このように本実施例では、受光部9bで受
光した反射光の出力レベルをCPU1によって所定回数
サンプリングし、このサンプリングされた出力レベルの
平均値に基づいて発光部9bに供給する電流量を設定/
変更するようにしているため、受光部9bから記録紙に
照射される光量を適切なものに修正することができ、記
録紙を適切な感度で読み取ることができるとともに、光
電センサを長寿命なものにすることができる。 (実施例2)本実施例(請求項2に対応する)では、C
PU1、トランジスタ12が電流制御部を構成するもの
である。
As described above, in this embodiment, the output level of the reflected light received by the light receiving section 9b is sampled a predetermined number of times by the CPU 1, and the amount of current supplied to the light emitting section 9b is based on the average value of the sampled output levels. The set/
Since it is changed, the amount of light emitted from the light receiving portion 9b to the recording paper can be corrected to an appropriate amount, the recording paper can be read with an appropriate sensitivity, and the photoelectric sensor has a long life. Can be (Example 2) In this example (corresponding to claim 2), C
The PU1 and the transistor 12 form a current control unit.

【0032】図8は実施例2に係わるインクジェット記
録装置の光電センサの発光部の動作選択を示すフローチ
ャートである。以下、図1に示すシステム構成図を参照
して、フローチャートを説明する。まず、CPU部1は
インクジェット記録装置4がインク切れ判定マークを印
字した後に、トランジスタ12をオンにして、光電セン
サ9の発光部9aに電流が流れるようにする(処理S2
1)。次に、記録紙に印字されたインク切れ判定マーク
が光電センサ9の検出位置に達したときに、インク濃度
検出部5が記録紙からの反射光を電圧に変換し、CPU
部1で第1回目のサンプリングを行なう。第1回目にサ
ンプリングした電圧値を、白データあるいは黒データと
してメモリ部2に記憶する(処理S22)。
FIG. 8 is a flow chart showing the operation selection of the light emitting portion of the photoelectric sensor of the ink jet recording apparatus according to the second embodiment. The flowchart will be described below with reference to the system configuration diagram shown in FIG. First, the CPU unit 1 turns on the transistor 12 after the ink jet recording device 4 prints the ink-out determination mark so that a current flows through the light emitting unit 9a of the photoelectric sensor 9 (process S2).
1). Next, when the ink exhaustion determination mark printed on the recording paper reaches the detection position of the photoelectric sensor 9, the ink density detection unit 5 converts the reflected light from the recording paper into a voltage, and the CPU
Part 1 performs the first sampling. The voltage value sampled for the first time is stored in the memory unit 2 as white data or black data (process S22).

【0033】次に、現在のサンプリング回数を把握する
ために、サンプリング回数に1を足すとともに、第n回
目のサンプリングを行なう(処理S23)。次いで、第
n回目にサンプリングした電圧値が白データより大きい
か否かを判定する(処理S24)。サンプリングした電
圧値が白データより小さいと判定された場合には、サン
プリングした電圧値が黒データより小さいか否かを判定
する(処理S25)。処理S24においてサンプリング
した電圧値が白データより大きいと判定された場合に
は、サンプリングした電圧値を白データとしてメモリ部
2に記憶し、処理S25においてサンプリングした電圧
値が黒データより小さいと判定された場合には、サンプ
リングした電圧値を黒データとしてメモリ部2に記憶す
る(処理S26)。
Next, in order to grasp the current number of times of sampling, 1 is added to the number of times of sampling and the nth sampling is performed (step S23). Next, it is determined whether or not the voltage value sampled at the nth time is larger than the white data (process S24). When it is determined that the sampled voltage value is smaller than the white data, it is determined whether the sampled voltage value is smaller than the black data (process S25). If it is determined in step S24 that the sampled voltage value is larger than the white data, the sampled voltage value is stored in the memory unit 2 as white data, and it is determined in step S25 that the sampled voltage value is smaller than the black data. If so, the sampled voltage value is stored in the memory unit 2 as black data (step S26).

【0034】一方、処理S25においてサンプリングし
た電圧値が黒データよりも大きいと判定された場合、あ
るいは、処理S26を終了した場合には、サンプリング
を規定回数終了したか否かを判定し、規定回数までサン
プリングを繰り返す(処理S27)。規定回数までサン
プリングが繰り返された場合には、トランジスタ12を
オフして光電センサ9の発光部9aに電流が流れないよ
うにするとともに(処理S28)、メモリ部2に記憶さ
れている白データと黒データの差を求め、その差がスレ
ッシュ値以上であるか否かを判定する(処理S29)。
差がスレッシュ値以上であると判定された場合には、今
回の処理を終了し、差がスレッシュ値より小さいと判定
された場合には、表示部3を動作させ「インク切れ」の
メッセージを出力して警報を発し(処理S30)今回の
処理を終了する。
On the other hand, if it is determined in step S25 that the sampled voltage value is larger than the black data, or if step S26 is completed, it is determined whether sampling is completed a specified number of times. The sampling is repeated until (process S27). When the sampling is repeated up to the specified number of times, the transistor 12 is turned off to prevent current from flowing through the light emitting section 9a of the photoelectric sensor 9 (step S28), and the white data stored in the memory section 2 is stored. The difference between the black data is obtained, and it is determined whether or not the difference is equal to or more than the threshold value (process S29).
When it is determined that the difference is greater than or equal to the threshold value, the processing of this time is ended, and when it is determined that the difference is less than the threshold value, the display unit 3 is operated and the message of "ink shortage" is output. Then, an alarm is issued (process S30), and the current process is terminated.

【0035】このように本実施例では、所定方向に搬送
される記録紙に印字されたインクエンドマークが第1の
所定位置に達した場合に、発光部9aに電流を供給する
とともに、インクエンドマークが第2の所定位置に達し
た場合に、発光部9aに電流を供給するのを停止してい
るため、インクエンドマークのサンプリングを行なうと
きにのみ発光部9aに電流を供給することができ、光電
センサ9の消費電力を抑制することができるとともに光
電センサ9を長寿命なものにすることができる。 (実施例3)本実施例(請求項3、4に対応する)で
は、メモリ部2が出力レベル記憶部、スレッシュ値記憶
部および出力値記憶部を構成し、CPU1およびヘッド
部8が印字部を構成している。を構成する。
As described above, in this embodiment, when the ink end mark printed on the recording paper conveyed in the predetermined direction reaches the first predetermined position, the current is supplied to the light emitting portion 9a and the ink end is reached. When the mark reaches the second predetermined position, the current supply to the light emitting unit 9a is stopped, so that the current can be supplied to the light emitting unit 9a only when the ink end mark is sampled. The power consumption of the photoelectric sensor 9 can be suppressed and the photoelectric sensor 9 can have a long life. (Embodiment 3) In this embodiment (corresponding to claims 3 and 4), the memory unit 2 constitutes an output level storage unit, a threshold value storage unit and an output value storage unit, and the CPU 1 and the head unit 8 are a printing unit. Are configured. Is configured.

【0036】図9は実施例3に係わるインクジェット記
録装置の光電センサ感度の記録動作を示すフローチャー
トである。以下、図1に示すシステム構成図を参照し
て、フローチャートを説明する。まず、オペレータは図
示しない操作入力部からインクジェット記録装置のチェ
ックモードを選択する(処理S41)。次に、インクジ
ェット記録装置4は記録紙の所定位置にインク切れ判定
マークを印字し、排紙する前処理の動作を行なう(処理
S42)。次いで、CPU部1がトランジスタ12をオ
ンにして光電センサ9の発光部9aに電流が流れるよう
にする(処理S43)とともに、インク濃度検出部5が
記録紙からの反射光をデジタル値で表される電圧値に変
換し、CPU部1で第1回目のサンプリングを行なう。
第1回目にサンプリングした電圧値を、白データあるい
は黒データとしてメモリ部2に記憶する(処理S4
4)。次に、現在のサンプリング回数を把握するため
に、サンプリング回数に1を足すとともに、第n回目の
サンプリングを行なう(処理S45)。サンプリングし
た電圧値は、時系列にメモリ部2に記憶する(処理S4
6)。次いで、第n回目にサンプリングした電圧値が白
データより大きいか否かを判定する(処理S47)。サ
ンプリングした電圧値が白データより小さいと判定され
た場合には、サンプリングした電圧値が黒データよりも
大きいか否かを判定する(処理S48)。処理S47に
おいてサンプリングした電圧値が白データより大きいと
判定された場合には、サンプリングした電圧値を白デー
タとしてメモリ部2に記憶し、処理S48においてサン
プリングした電圧値が黒データより小さいと判定された
場合には、サンプリングした電圧値を黒データとしてメ
モリ部2に記憶する(処理S49)。
FIG. 9 is a flowchart showing the recording operation of the photoelectric sensor sensitivity of the ink jet recording apparatus according to the third embodiment. The flowchart will be described below with reference to the system configuration diagram shown in FIG. First, the operator selects the check mode of the inkjet recording apparatus from an operation input unit (not shown) (step S41). Next, the inkjet recording device 4 prints an ink-out determination mark at a predetermined position on the recording paper, and performs a pre-processing operation for discharging the paper (processing S42). Next, the CPU unit 1 turns on the transistor 12 to allow a current to flow in the light emitting unit 9a of the photoelectric sensor 9 (step S43), and the ink density detecting unit 5 displays the reflected light from the recording paper as a digital value. To a voltage value, and the CPU unit 1 performs the first sampling.
The voltage value sampled for the first time is stored in the memory unit 2 as white data or black data (process S4).
4). Next, in order to grasp the current number of times of sampling, 1 is added to the number of times of sampling and the nth sampling is performed (process S45). The sampled voltage values are stored in the memory unit 2 in time series (process S4).
6). Next, it is determined whether or not the voltage value sampled at the nth time is larger than the white data (process S47). When it is determined that the sampled voltage value is smaller than the white data, it is determined whether the sampled voltage value is larger than the black data (process S48). If it is determined in step S47 that the sampled voltage value is larger than the white data, the sampled voltage value is stored in the memory unit 2 as white data, and it is determined in step S48 that the sampled voltage value is smaller than the black data. If so, the sampled voltage value is stored in the memory unit 2 as black data (step S49).

【0037】一方、処理S48において黒データがサン
プリングした電圧値より小さいと判定された場合、ある
いは、処理S49を終了した場合には、サンプリングを
規定回数終了したか否かを判定し、規定回数までサンプ
リングを繰り返す(処理S50)。規定回数までサンプ
リングが繰り返された場合には、トランジスタ12をオ
フして光電センサ9の発光部9aに電流が流れないよう
にした後(処理S51)、メモリ部2に記憶されている
最大値、最小値およびインクジェット記録装置のスレッ
シュ値を記録紙に印字する(処理S52)とともに、時
系列にメモリ部2に記憶されている電圧値をグラフ形式
にして記録紙に印字する(処理S53)。
On the other hand, if it is judged in the process S48 that the black data is smaller than the sampled voltage value, or if the process S49 is ended, it is judged whether or not the sampling is ended a specified number of times, and the specified number of times is reached. Sampling is repeated (process S50). When the sampling is repeated up to the specified number of times, the transistor 12 is turned off to prevent current from flowing through the light emitting unit 9a of the photoelectric sensor 9 (step S51), and then the maximum value stored in the memory unit 2 is stored. The minimum value and the threshold value of the inkjet recording apparatus are printed on the recording paper (process S52), and the voltage values stored in the memory unit 2 are printed in time series on the recording paper (process S53).

【0038】図10は図9に示されるフローチャートで
印字されるグラフ等の一実施例を示す図である。このよ
うに本実施例では、サンプリングされた反射光の出力レ
ベルを時系列に記憶するとともに、オペレータからの出
力要求があると、この記憶されたサンプリング値をグラ
フ型式で時系列に記録紙に印字することに加えて、記録
紙に記録されたインクエンドマークの濃度と記録紙の白
地部とのスレッシュ値およびサンプリングされた反射光
の出力レベルの最大値と最小値も同時に印字するように
なっているため、インクジェット記録装置4の状態を容
易に把握することができる。
FIG. 10 is a diagram showing an embodiment of a graph or the like printed in the flow chart shown in FIG. As described above, in this embodiment, the output levels of the sampled reflected light are stored in time series, and when the output request from the operator is made, the stored sampling values are printed in time series on the recording paper in a graph format. In addition to this, the density of the ink end mark recorded on the recording paper, the threshold value with the white background of the recording paper, and the maximum and minimum output levels of the reflected light sampled are also printed at the same time. Therefore, the state of the inkjet recording device 4 can be easily grasped.

【0039】なお、上記実施例1にあっては、SWの接
続状態をC状態にした場合には、インクジェット記録装
置のスイッチ部の接続状態と電圧比との関係は図11に
示すようなものになる。図11において、電圧比(α/
β)は、電圧分離能βのA/DコンバータでA/D変換
された電圧値(デジタル値)の平均値αと電圧分離能β
との電圧比(α/β)である。また、接続状態は、図3
に基づいくスイッチ部のSW1およびSW2の接続状態
を表している。
In the first embodiment, when the connection state of the SW is set to the C state, the relationship between the connection state of the switch section of the ink jet recording apparatus and the voltage ratio is as shown in FIG. become. In FIG. 11, the voltage ratio (α /
β) is the average value α of the voltage values (digital values) A / D converted by the A / D converter of the voltage separability β and the voltage separability β
And the voltage ratio (α / β). The connection status is shown in Fig. 3.
3 shows the connection state of SW1 and SW2 of the switch section based on the above.

【0040】[0040]

【発明の効果】請求項1記載の発明によれば、受光部で
受光された反射光の出力レベルを所定回数サンプリング
し、このサンプリングされた出力レベルの平均値に基づ
いて発光部に供給される電流量を設定/変更するように
しているので、受光部から記録紙に照射される光量を適
切なものに修正することができ、記録紙を適切な感度で
読み取ることができるとともに、光電センサを長寿命な
ものにすることができる。
According to the first aspect of the present invention, the output level of the reflected light received by the light receiving section is sampled a predetermined number of times and is supplied to the light emitting section based on the average value of the sampled output levels. Since the amount of current is set / changed, it is possible to correct the amount of light emitted from the light receiving section onto the recording paper to an appropriate amount, and to read the recording paper with an appropriate sensitivity, and to use the photoelectric sensor. It can have a long life.

【0041】請求項2記載の発明によれば、所定方向に
搬送される記録紙に印字されたインクエンドマークが第
1の所定位置に達した場合に、発光部に電流を供給する
とともに、インクエンドマークが第2の所定位置に達し
た場合に、発光部に電流を供給するのを停止しているの
で、インクエンドマークのサンプリングを行なうときに
のみ発光部に電流を供給することができ、光電センサの
消費電力を抑制することができるとともに光電センサを
長寿命なものにすることができる。
According to the second aspect of the invention, when the ink end mark printed on the recording paper conveyed in the predetermined direction reaches the first predetermined position, the current is supplied to the light emitting portion and the ink is discharged. When the end mark reaches the second predetermined position, the current supply to the light emitting unit is stopped, so that the current can be supplied to the light emitting unit only when the ink end mark is sampled. The power consumption of the photoelectric sensor can be suppressed and the photoelectric sensor can have a long life.

【0042】請求項3記載の発明によれば、サンプリン
グされた反射光の出力レベルを時系列に記憶するととも
に、この記憶したサンプリング値を時系列に記録紙に印
字するようにしているので、インクジェット記録装置の
状態を容易に把握することができる。請求項4記載の発
明によれば、記録紙に記録されたインクエンドマークの
濃度と記録紙の白地部とのスレッシュ値およびサンプリ
ングされた反射光の出力レベルの最大値と最小値を印字
するようになっているので、インクジェット記録装置の
状態を容易に把握することができる。
According to the third aspect of the invention, the output level of the sampled reflected light is stored in time series, and the stored sampling value is printed in time series on the recording paper. The state of the recording device can be easily grasped. According to the invention of claim 4, the density of the ink end mark recorded on the recording paper, the threshold value with the white background of the recording paper, and the maximum and minimum values of the output level of the reflected light sampled are printed. Therefore, it is possible to easily grasp the state of the inkjet recording device.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例であるインクジェット記録装
置のインクジェット記録装置のシステム構成図である。
FIG. 1 is a system configuration diagram of an inkjet recording apparatus of an inkjet recording apparatus that is an embodiment of the present invention.

【図2】そのインクジェット記録装置によって記録紙上
に印字されたマークとマークのサンプリング方向を示す
図である。
FIG. 2 is a diagram showing marks printed on a recording paper by the inkjet recording device and sampling directions of the marks.

【図3】そのインクジェット記録装置のスイッチ部の接
続状態を示す図である。
FIG. 3 is a diagram showing a connection state of a switch unit of the inkjet recording apparatus.

【図4】同一対象物をサンプリングしたときにおける各
接続状態の光電センサの出力レベルを示す図である。
FIG. 4 is a diagram showing output levels of photoelectric sensors in respective connected states when the same object is sampled.

【図5】そのインクジェット記録装置のスイッチ部の接
続状態と電圧比との関係を示す図である。
FIG. 5 is a diagram showing a relationship between a connection state of a switch section of the inkjet recording apparatus and a voltage ratio.

【図6】スレッシュ値テーブルを示す図である。FIG. 6 is a diagram showing a threshold value table.

【図7】そのインクジェット記録装置の光電センサの出
力レベル設定およびスレッシュ値設定の動作を示すフロ
ーチャートである。
FIG. 7 is a flowchart showing an operation of setting an output level and a threshold value of a photoelectric sensor of the inkjet recording apparatus.

【図8】そのインクジェット記録装置の光電センサの発
光部の動作選択を示すフローチャートである。
FIG. 8 is a flowchart showing an operation selection of a light emitting section of a photoelectric sensor of the inkjet recording apparatus.

【図9】そのインクジェット記録装置の光電センサ感度
の記録動作を示すフローチャートである。
FIG. 9 is a flowchart showing a recording operation of photoelectric sensor sensitivity of the inkjet recording apparatus.

【図10】その印字されるグラフ等の一実施例を示す図
である。
FIG. 10 is a diagram showing an example of the printed graph and the like.

【図11】そのインクジェット記録装置のスイッチ部の
接続状態と電圧比との関係を示す図である。
FIG. 11 is a diagram showing a relationship between a connection state of a switch section of the inkjet recording apparatus and a voltage ratio.

【符号の説明】[Explanation of symbols]

1 CPU部 2 メモリ部 3 表示部 4 インクジェット記録装置 5 インク濃度検出部 6 記録紙モータ部 7 ヘッドモータ部 8 ヘッド部 9 光電センサ 9a 発光部 9b 受光部 10 電流電圧変換抵抗部(I/V変換抵抗部) 11 A/Dコンバータ部 12 トランジスタ 13 スイッチ部 14 電流制限抵抗部 15 VCC 16 GND 20 記録紙 21 インク切れ判定マーク 22 記録紙搬送方向 23 サンプリング方向 1 CPU part 2 memory part 3 display part 4 inkjet recording device 5 ink density detection part 6 recording paper motor part 7 head motor part 8 head part 9 photoelectric sensor 9a light emitting part 9b light receiving part 10 current-voltage conversion resistance part (I / V conversion) Resistor part) 11 A / D converter part 12 Transistor 13 Switch part 14 Current limiting resistance part 15 VCC 16 GND 20 Recording paper 21 Ink out judgment mark 22 Recording paper conveyance direction 23 Sampling direction

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】記録紙に印字されたインクエンドマークに
光を照射し、その反射光の出力レベルに基づいてインク
カートリッジ内のインクの有無を検出するインクジェッ
ト記録装置において、 供給される電流量に応じた光を照射する発光部と、 記録紙からの反射光を受光する受光部と、 前記受光部で受光した反射光の出力レベルを所定回数サ
ンプリングするサンプリング部と、 該サンプリング部でサンプリングされた出力レベルの平
均値に基づいて前記発光部に供給する電流量を設定/変
更する制御部と、からなることを特徴とするインクジェ
ット記録装置。
1. An ink jet recording apparatus for irradiating an ink end mark printed on a recording paper with light and detecting the presence or absence of ink in an ink cartridge based on the output level of the reflected light. A light emitting unit that emits corresponding light, a light receiving unit that receives the reflected light from the recording paper, a sampling unit that samples the output level of the reflected light received by the light receiving unit a predetermined number of times, and a sampling unit that samples the output level. An inkjet recording apparatus comprising: a control unit that sets / changes an amount of current supplied to the light emitting unit based on an average value of output levels.
【請求項2】所定方向に搬送される記録紙に印字された
インクエンドマークが第1の所定位置に達した場合に、
発光部に電流を供給するとともに、インクエンドマーク
が第2の所定位置に達した場合に、発光部に電流を供給
するのを停止する電流制御部を有することを特徴とする
請求項1記載のインクジェット記録装置。
2. When the ink end mark printed on the recording paper conveyed in a predetermined direction reaches a first predetermined position,
2. A current control unit for supplying current to the light emitting unit and for stopping supplying current to the light emitting unit when the ink end mark reaches the second predetermined position. Inkjet recording device.
【請求項3】前記サンプリング部よってサンプリングさ
れた反射光の出力レベルを時系列に記憶する出力レベル
記憶部と、該出力レベル記憶部に記憶されたサンプリン
グ値を時系列に記録紙に印字する印字部と、を備えたこ
とを特徴とする請求項1または2記載のインクジェット
記録装置。
3. An output level storage unit for storing the output level of the reflected light sampled by the sampling unit in time series, and a print for printing the sampling values stored in the output level storage unit on a recording paper in time series. The inkjet recording apparatus according to claim 1 or 2, further comprising:
【請求項4】記録紙に記録されたインクエンドマークの
濃度と記録紙の白地部とのスレッシュ値を記憶するスレ
ッシュ値記憶部と、前記サンプリング部によってサンプ
リングされた反射光の出力レベルの最大値と最小値とを
検出する検出部と、該検出部によって検出された最大値
および最小値を記憶する出力値記憶部と、スレッシュ値
記憶部および出力値記憶部に記憶されたスレッシュ値、
最大値および最小値を印字する印字部と、を備えたこと
を特徴とする請求項1または2記載のインクジェット記
録装置。
4. A threshold value storage section for storing a density value of an ink end mark recorded on a recording sheet and a threshold value for a white background portion of the recording sheet, and a maximum output level of reflected light sampled by the sampling section. And a detection unit that detects the minimum value, an output value storage unit that stores the maximum value and the minimum value detected by the detection unit, a threshold value storage unit and a threshold value stored in the output value storage unit,
The inkjet recording apparatus according to claim 1 or 2, further comprising: a printing unit that prints a maximum value and a minimum value.
JP11180995A 1994-05-10 1995-05-10 Ink jet recording device Pending JPH0825650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11180995A JPH0825650A (en) 1994-05-10 1995-05-10 Ink jet recording device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP9536794 1994-05-10
JP6-95367 1994-05-10
JP11180995A JPH0825650A (en) 1994-05-10 1995-05-10 Ink jet recording device

Publications (1)

Publication Number Publication Date
JPH0825650A true JPH0825650A (en) 1996-01-30

Family

ID=26436616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11180995A Pending JPH0825650A (en) 1994-05-10 1995-05-10 Ink jet recording device

Country Status (1)

Country Link
JP (1) JPH0825650A (en)

Similar Documents

Publication Publication Date Title
EP1625941B1 (en) Varying printing speed between porous and swellable media via ink/toner dry time profiles
EP0706888A2 (en) Ink jet recording apparatus having residual quantity detection unit and residual quantity detection method therefor
US7025517B2 (en) Detecting the print positions of a printing medium and keeping constant positions
US5754195A (en) Ink-type recording apparatus detecting ink-end mark with appropriate sensitivity
JP2003231291A (en) Thermal printer
JP2005288906A (en) Printer and method for regulating print position sensor
KR100314824B1 (en) Video printer
JPH0825650A (en) Ink jet recording device
US6382774B1 (en) Printer having energizing pulse width calculating means
JPS6019580A (en) Printer
JPS6023064A (en) Printer
JP3155468B2 (en) Label printer
JP2000211194A (en) Portable printer
JP3537564B2 (en) Ink jet recording device
JPH1158898A (en) Battery driven printer
JP2009269269A (en) Inkjet printer
JP2007268918A (en) Open circuit checking apparatus and open circuit checking method of line thermal head
JP2809400B2 (en) Laser printer output control method for laser printer
JPH11311502A (en) Printer
JPH06115787A (en) Roll paper remaining amount detecting device
KR100395554B1 (en) Printer and setting method of developing agent density thereof
JP2735031B2 (en) Printer device
JPH0627521U (en) Label printer
JP2020163607A (en) Printer and control method of printer
KR100433514B1 (en) Image forming apparatus for discriminating remaining amount and feeding time of image forming materials