JPH08301484A - Printer device - Google Patents

Printer device

Info

Publication number
JPH08301484A
JPH08301484A JP7105955A JP10595595A JPH08301484A JP H08301484 A JPH08301484 A JP H08301484A JP 7105955 A JP7105955 A JP 7105955A JP 10595595 A JP10595595 A JP 10595595A JP H08301484 A JPH08301484 A JP H08301484A
Authority
JP
Japan
Prior art keywords
sensor
paper
skew
difference
recording paper
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.)
Granted
Application number
JP7105955A
Other languages
Japanese (ja)
Other versions
JP3400603B2 (en
Inventor
Satoshi Hayasaka
敏 早坂
Kazuaki Ikeda
和昭 池田
Sada Yasuoka
貞 安岡
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.)
Seikosha KK
Original Assignee
Seikosha KK
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 Seikosha KK filed Critical Seikosha KK
Priority to JP10595595A priority Critical patent/JP3400603B2/en
Publication of JPH08301484A publication Critical patent/JPH08301484A/en
Application granted granted Critical
Publication of JP3400603B2 publication Critical patent/JP3400603B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controlling Sheets Or Webs (AREA)
  • Handling Of Sheets (AREA)
  • Handling Of Cut Paper (AREA)

Abstract

PURPOSE: To improve accuracy of detecting a skew, so that a fixed quality can be maintained. CONSTITUTION: In a stage of manufacturing an individual printer device, a timing difference of generating a detection output due to a mounting error and a characteristic difference between a paper sensor 3 and a skew sensor 4 is stored as a reference data in a memory 7. In the case of performing skew decision, by subtracting a reference data component from the timing difference of generating the detection output of the paper sensor 3 and skew sensor 4, mounting error and characteristic difference components included in this detection output generating timing difference are canceled, to decide a skew by whether this value is within a prescribed permissible range or not. Consequently, the accurate skew decision can be performed not by the mounting error and characteristic difference of the paper sensor 3 and skew sensor 4. A permissible amount of the mounting error and characteristic difference of the paper sensor 3 and skew sensor 4 is increased, to improve also productivity.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプリンタ装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device.

【0002】[0002]

【従来の技術】現在、記録紙として単票紙を用いるプリ
ンタ装置があり、この種のものでは、記録紙の斜行、す
なわち、スキューを検出する構成を採用したものがあ
る。例えば、図4に示すように記録紙41の送り方向4
Aに対して直角方向に特定の間隔を有して記録紙の通過
箇所に一対のセンサ42、43を設け、各センサの出力
タイミングの差が基準値を上回ったときにスキューを検
出する制御回路44を備えたプリンタ装置が知られてい
る。同図において45、46はそれぞれ制御回路により
制御される紙送り用のローラ等からなる紙送り部、46
は印字ヘッドやキャリッジ等からなる印字部である。
2. Description of the Related Art Presently, there is a printer device which uses a cut sheet as a recording sheet, and in this type, there is one which adopts a structure for detecting skew of the recording sheet, that is, skew. For example, as shown in FIG.
A control circuit which has a pair of sensors 42 and 43 at a position where the recording paper passes at a specific interval in the direction perpendicular to A and detects a skew when the difference in the output timing of each sensor exceeds a reference value. A printer device provided with 44 is known. In the figure, reference numerals 45 and 46 respectively denote a paper feeding unit composed of a paper feeding roller controlled by a control circuit, and 46.
Is a printing unit including a print head and a carriage.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うなプリンタ装置においては、製造段階において各セン
サの取付誤差や各センサの特性誤差等があるが、上記基
準値は製造されるプリンタ装置の総てに対して共通に用
いられる。このため、スキューの検出精度を上げるに従
い、製品毎にばらつきが多くなる。また、品質を一定に
保つために各センサの取付精度を向上させ、特性の近い
センサを選択する必要があるなどコストがかかるという
問題点を有していた。
However, in such a printer device, there are mounting errors of the respective sensors, characteristic errors of the respective sensors, etc. at the manufacturing stage, but the above reference values are used for all the printer devices to be manufactured. Commonly used for. For this reason, as the skew detection accuracy is increased, the variation increases from product to product. Further, in order to keep the quality constant, it is necessary to improve the mounting accuracy of each sensor and select a sensor having similar characteristics, which causes a problem of high cost.

【0004】そこで、本発明の目的は、スキューの検出
精度の向上と一定品質の維持とを可能とするプリンタ装
置を提供することにある。
Therefore, it is an object of the present invention to provide a printer device capable of improving the accuracy of skew detection and maintaining a constant quality.

【0005】[0005]

【課題を解決するための手段】記録紙を特定の方向に送
る紙送り手段と、上記特定方向に対して直角方向に所望
間隔を有して配置され、記録紙の先端を検知して出力を
発する第1、第2のセンサと、上記第1、第2のセンサ
の上記特定方向における位置ずれ量を表す基準データを
記憶した記憶手段と、上記紙送り手段により送られる記
録紙の先端を検知した第1、第2のセンサの出力を受け
て第1、第2のセンサの検知出力の発生タイミングの差
と上記基準データとに所定の許容範囲を超える差が生じ
た場合、記録紙のスキューを判定する判定手段とを具備
するプリンタ装置により上記目的を達成する。また、上
記基準データは、第1、第2のセンサの検知出力の発生
タイミングの差を得るために用いられ、第1、第2のセ
ンサの検知出力を判定するためのそれぞれのしきい値を
含むことが好ましい。
[Means for Solving the Problems] Paper feeding means for feeding a recording paper in a specific direction and a paper feeding means arranged at a desired interval in a direction perpendicular to the specific direction, and detecting the leading edge of the recording paper to output the output. First and second sensors that emit light, storage means that stores reference data indicating the amount of positional deviation of the first and second sensors in the specific direction, and the leading edge of the recording paper sent by the paper feeding means are detected. When a difference between the generation timings of the detection outputs of the first and second sensors and the reference data exceeds a predetermined allowable range in response to the outputs of the first and second sensors, the skew of the recording paper is generated. The above-mentioned object is achieved by a printer device having a determination means for determining. Further, the reference data is used to obtain the difference in the generation timing of the detection outputs of the first and second sensors, and the respective threshold values for determining the detection outputs of the first and second sensors are set. It is preferable to include.

【0006】[0006]

【実施例】次に本発明の一実施例のプリンタ装置につい
て説明する。図1は一実施例のプリンタ装置の構成を説
明する説明図である。同図のaにおいて1は記録紙であ
り、ここでは単票紙を用いる。2は紙送り手段としての
ローラであり、このローラ2は図示しない駆動回路によ
りパルス駆動され、また、図示しない補助ローラとの間
に記録紙1を挟み、その回転動作により記録紙1を矢印
A方向に送る。3、4はそれぞれ第1、第2のセンサと
してのペーパセンサ、スキューセンサであり、矢印A方
向に対して直角方向に所望間隔を有して配置され、記録
紙1の先端を検知して出力を発し、後述するように、こ
れらの出力タイミングに基づいてスキュー判定が行われ
る。ここでペーパセンサ3、スキューセンサ4は共に反
射型のホトセンサを用いることとするが、透過型のホト
センサも用いることができる。また、ペーパセンサ3は
紙ジャム検出にも用いられる。5は反射型または透過型
の光センサからなる紙ロードセンサであり、図示しない
給紙部からローラ2に給紙される記録紙1の先端を検知
して出力を発生する。6は印字部であり、図示しないが
印字ヘッド、キャリッジ等よりなる。ここで、ローラ2
と印字部6との間にペーパセンサ3、スキューセンサ4
が設けられ、ローラ2の印字部6と反対の側には紙ロー
ドセンサ5が設けられている。7は記憶手段としての不
揮発性のメモリであり、後述するようにペーパセンサ
3、スキューセンサ4の上記特定方向における位置ずれ
量を表す基準データを記憶する。8は判定手段としての
制御回路であり、装置全体の制御を司るとともにペーパ
センサ3、スキューセンサ4の出力発生タイミングの差
と上記基準データとに所定の許容範囲を超える差が生じ
た場合、記録紙のスキューを判定する。また、本プリン
タ装置は上述したように記録紙として単票紙を使用でき
る他、連続紙も使用できるものでありそのような構成を
有する。連続紙送る構成では、従来より用いられるよう
に、送り用の穴が設けられた連続紙をトラクタを用いて
スキュー無く送るものであり、本例ではそのような構成
を利用して基準データを設定するのである。9は連続紙
送り部であり、連続紙10をスキューのない状態、すな
わち、矢印A方向に正確に送る。すなわち、連続紙10
は送り方向に等間隔に並んだ送り用の穴11を両端に有
し、連続紙送り部9は、そのトラクタ12の円周に設け
られた突起を穴11に嵌合して連続紙10を矢印方向に
正確にガイドする。基準データを設定する際に用いられ
る連続紙10としては記録紙1とほぼ同じ反射率の紙面
のものが用いられる。なお、連続紙送り部9は、記録紙
として連続紙を使用する場合には制御回路8により制御
され、記録紙として単票紙を用いる場合は使用されな
い。13は設定処理装置であり、ローラ2、連続紙送り
部9を制御して連続紙10を送り、その際のペーパセン
サ3、スキューセンサ4の出力発生タイミングの差から
基準データを設定する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, a printer device according to an embodiment of the present invention will be described. FIG. 1 is an explanatory diagram illustrating a configuration of a printer device according to an embodiment. In FIG. 1A, 1 is a recording sheet, and here, a cut sheet is used. Reference numeral 2 denotes a roller as a paper feeding means. The roller 2 is pulse-driven by a drive circuit (not shown), and the recording paper 1 is sandwiched between the roller 2 and an auxiliary roller (not shown). Send in the direction. Reference numerals 3 and 4 respectively denote a paper sensor and a skew sensor as the first and second sensors, which are arranged at a desired interval in the direction perpendicular to the arrow A direction and detect the leading edge of the recording paper 1 to output the output. Then, as will be described later, skew determination is performed based on these output timings. Here, both the paper sensor 3 and the skew sensor 4 use reflective photosensors, but transmissive photosensors can also be used. The paper sensor 3 is also used for detecting paper jam. Reference numeral 5 denotes a paper load sensor including a reflective or transmissive optical sensor, which detects the leading end of the recording paper 1 fed to the roller 2 from a paper feed unit (not shown) and generates an output. A printing unit 6 includes a print head, a carriage, and the like (not shown). Where roller 2
Paper sensor 3 and skew sensor 4
Is provided, and the paper load sensor 5 is provided on the opposite side of the roller 2 from the printing unit 6. Reference numeral 7 denotes a non-volatile memory as a storage means, which stores reference data indicating the amount of positional deviation of the paper sensor 3 and the skew sensor 4 in the above-described specific direction, as will be described later. Reference numeral 8 denotes a control circuit as a determination unit, which controls the entire apparatus and when a difference between the output generation timings of the paper sensor 3 and the skew sensor 4 and the reference data exceeds a predetermined allowable range, the recording paper Determine the skew of. Further, the present printer device can use not only cut sheets as recording paper but also continuous paper as described above, and has such a configuration. In the continuous paper feeding configuration, as is conventionally used, continuous paper provided with feed holes is fed using a tractor without skewing. In this example, reference data is set using such a configuration. To do. Reference numeral 9 denotes a continuous paper feeding unit, which accurately feeds the continuous paper 10 in a skew-free state, that is, in the arrow A direction. That is, the continuous paper 10
Has the feed holes 11 arranged at equal intervals in the feed direction at both ends, and the continuous paper feeding unit 9 fits the projections provided on the circumference of the tractor 12 into the holes 11 to feed the continuous paper 10. Accurately guide in the direction of the arrow. As the continuous paper 10 used when setting the reference data, a paper having substantially the same reflectance as the recording paper 1 is used. The continuous paper feeding unit 9 is controlled by the control circuit 8 when the continuous paper is used as the recording paper, and is not used when the cut sheet is used as the recording paper. A setting processing device 13 controls the roller 2 and the continuous paper feeding unit 9 to feed the continuous paper 10, and sets reference data based on the difference in the output generation timing of the paper sensor 3 and the skew sensor 4 at that time.

【0007】次に、本例の動作について説明するが、ま
ず、基準データの設定動作について図2のフローチャー
トを参照しながら説明する。ここでは、プリンタ装置の
製造段階、すなわち、工場出荷前に基準データを設定す
ることとする。まず、連続紙送り部9により、スキュー
のない状態で給紙される(ステップ2a)。設定処理装
置13は、連続紙送り部9を制御してその駆動パルス毎
に連続紙10を1/360インチ送る(ステップ2
b)。設定処理装置13は紙ロードセンサ5の出力を受
ける(ステップ2c)と、ローラ2および連続紙送り部
9を制御して連続紙10をペーパセンサ3、スキューセ
ンサ4の直前まで送る(ステップ2d)。次に、連続紙
10を印字部6の直前まで送り、この間、1/360イ
ンチ送る毎、すなわち、駆動パルス毎に、ペーパセンサ
3、スキューセンサ4の出力レベルを記録する(ステッ
プ2e)。すなわち、特に図示しないが、設定処理装置
13はペーパセンサ3、スキューセンサ4の出力レベル
をA/D変換部により、A/D変換してRAM等に出力
レベルに関するデータとして記録する。ここで、印字部
6の直前までの140/360インチ送ったとすれば、
ペーパセンサ3、スキューセンサ4のそれぞれに140
個のデータを得ることとなる。次に、ペーパセンサ3、
スキューセンサ4の出力から、記録紙の先端を検知する
ためのしきい値を以下のように設定する(ステップ2
f)。ここでは特に述べないが、ペーパセンサ3を紙ジ
ャム検出にも用いるため、紙面から紙面無しへの変化、
紙面無しから紙面への変化のそれぞれに対するしきい値
を設ける。すなわち、反射型ホトセンサでは紙面に対し
て出力レベルが高く、紙面がない状態では低くなること
から、紙面無しから紙面への変化に対するしきい値VP
1と、紙面から紙面無しへの変化に対するしきい値VP
2とをVP1>VP2となるヒステリシスを持たせるこ
とにより確実な紙ジャム検出を行えるのである。このし
きい値VP1、VP2を示すデータD1、D2は、上述
のようにペーパセンサ3から得られた140個のデータ
の内最大のものから3つのデータをa1、a2、a3と
し、最小のものから3つのデータをb1、b2、b3と
すると例えば、次のように与えられる。
Next, the operation of the present example will be described. First, the reference data setting operation will be described with reference to the flowchart of FIG. Here, the reference data is set at the manufacturing stage of the printer, that is, before the factory shipment. First, the continuous paper feeding unit 9 feeds the paper without skew (step 2a). The setting processing device 13 controls the continuous paper feeding unit 9 to feed the continuous paper 10 for 1/360 inch for each drive pulse (step 2).
b). When the setting processing device 13 receives the output of the paper load sensor 5 (step 2c), it controls the roller 2 and the continuous paper feeding unit 9 to feed the continuous paper 10 to just before the paper sensor 3 and the skew sensor 4 (step 2d). Next, the continuous paper 10 is fed to just before the printing unit 6, and during this period, the output level of the paper sensor 3 and the skew sensor 4 is recorded every 1/360 inch feeding, that is, every drive pulse (step 2e). That is, although not particularly shown, the setting processing device 13 A / D-converts the output levels of the paper sensor 3 and the skew sensor 4 by the A / D converter, and records the data in the RAM or the like as data relating to the output level. Here, if 140/360 inches before the printing unit 6 are sent,
140 for each of the paper sensor 3 and the skew sensor 4.
Individual data will be obtained. Next, the paper sensor 3,
From the output of the skew sensor 4, the threshold value for detecting the leading edge of the recording paper is set as follows (step 2).
f). Although not particularly described here, since the paper sensor 3 is also used for detecting a paper jam, the change from the paper surface to the paper-free,
A threshold value is set for each change from no paper to paper. That is, in the reflection type photosensor, the output level is high with respect to the paper surface and is low without the paper surface. Therefore, the threshold value VP with respect to the change from no paper surface to paper surface
1 and the threshold value VP for the change from paper surface to paperless
It is possible to reliably detect the paper jam by providing 2 and 2 with a hysteresis such that VP1> VP2. The data D1 and D2 indicating the thresholds VP1 and VP2 are the maximum data among the 140 data obtained from the paper sensor 3 as described above, the three data are a1, a2, and a3, and the minimum data are If the three data are b1, b2, and b3, they are given as follows, for example.

【0008】 D1=(2×(a1+a2+a3)+3×(b1+b2+b3))/15 D2=((a1+a2+a3)+4×(b1+b2+b3))/15 すなわち、ほぼ、140個のデータの最大値、最小値と
の間の2/5の値をD1、1/5の値をD2とすること
になる。スキューセンサ4に対しては、紙ジャム検出に
用いられないことから、紙無しから紙面への変化に対応
するしきい値VSを示すデータD3のみをデータD1と
同様の処理により設定する。次に、設定されたしきい値
VP1、VSを用いて、ペーパセンサ3、スキューセン
サ4のそれぞれが連続紙10の先端を検知したタイミン
グを特定する。すなわち、ここでのペーパセンサ3、ス
キューセンサ4のそれぞれの出力、すなわち、端子A
0、B0の信号は例えば図1のbのA0、B0に示すよ
うになり、端子A0、B0の信号がそれぞれしきい値V
P1、VSに達したときをもってペーパセンサ3、スキ
ューセンサ4の検知出力発生タイミングと特定する。こ
れらペーパセンサ3、スキューセンサ4の出力発生タイ
ミングの差T0に相当する基準データを設定する(ステ
ップ2g)。本例では、ペーパセンサ3の方が目的の位
置より手前(給紙側)に取り付けられている。ここで
は、ペーパセンサ3のデータが初めてデータD1以上に
なったときの駆動パルス数をPTとし、スキューセンサ
4のデータが初めてデータD3となったときの駆動パル
スをSTとすると、基準データD4は、D4=PT−S
Tで与えられる。すなわち、ペーパセンサ3、スキュー
センサ4の取付誤差や各センサの特性差等によるこれら
の出力発生タイミングのずれは基準データD4として与
えられることとなる。次に、このように得られたデータ
D1〜D3、基準データD4をメモリ7に記憶し(ステ
ップ2h)、連続紙10を排出し(ステップ2g)て基
準データの設定動作が終了する。
D1 = (2 × (a1 + a2 + a3) + 3 × (b1 + b2 + b3)) / 15 D2 = ((a1 + a2 + a3) + 4 × (b1 + b2 + b3)) / 15 That is, between the maximum value and the minimum value of 140 pieces of data. The value of 2/5 is set to D1, and the value of 1/5 is set to D2. Since the skew sensor 4 is not used for the paper jam detection, only the data D3 indicating the threshold value VS corresponding to the change from the absence of paper to the paper surface is set by the same process as the data D1. Next, the set thresholds VP1 and VS are used to specify the timing at which the paper sensor 3 and the skew sensor 4 detect the leading edge of the continuous paper 10. That is, the respective outputs of the paper sensor 3 and the skew sensor 4 here, that is, the terminal A
The signals of 0 and B0 are as shown in A0 and B0 of FIG. 1B, for example, and the signals of the terminals A0 and B0 are respectively the threshold value V
When P1 and VS are reached, the detection output generation timing of the paper sensor 3 and the skew sensor 4 is specified. Reference data corresponding to the difference T0 between the output generation timings of the paper sensor 3 and the skew sensor 4 is set (step 2g). In this example, the paper sensor 3 is attached to the front side (paper feed side) of the target position. Here, assuming that the number of drive pulses when the data of the paper sensor 3 becomes the data D1 or more for the first time is PT and the drive pulse when the data of the skew sensor 4 becomes the data D3 for the first time is ST, the reference data D4 is D4 = PT-S
Given by T. That is, the deviation of the output generation timing due to the mounting error of the paper sensor 3 and the skew sensor 4 and the characteristic difference between the respective sensors is given as the reference data D4. Next, the data D1 to D3 and the reference data D4 thus obtained are stored in the memory 7 (step 2h), the continuous paper 10 is discharged (step 2g), and the operation of setting the reference data is completed.

【0009】以上のように本例の個々のプリンタ装置は
製造段階で基準データを設定され、これをメモリ7に記
憶する。
As described above, the reference data is set at the manufacturing stage for each printer device of this example, and the reference data is stored in the memory 7.

【0010】次に、本例のプリンタ装置のスキュー判定
動作について図3のフローチャートを参照しながら説明
する。ここでは、記録紙1として単票紙を用いることと
する。まず、制御回路8はローラ2の駆動パルスのカウ
ント値Pを0にクリアする(ステップ3a)。次に図示
しない給紙部から記録紙1が給紙されてローラ2に達
し、紙ロードセンサ5から出力が生じると、制御回路8
はカウント値Pを1増し、ローラ2を制御して記録紙1
を1/360インチ、すなわち、ローラ2の駆動パルス
1つ分送る(ステップ3b)。次にカウント値Pが所定
の値より小さいか判定する(ステップ3c)。次に、制
御回路8はペーパセンサ3の出力を図示しないA/D変
換部でA/D変換し、その値がデータD1以上か否か、
すなわち、ペーパセンサ3が記録紙1の先端を検知した
か否か判定する(ステップ3d)。ペーパセンサ3が記
録紙1の先端を検知していなければ、次に、同様に制御
回路8はスキューセンサ4の出力をA/D変換部でA/
D変換し、その値がデータD3以上か否か、すなわち、
スキューセンサ4が記録紙1の先端を検知したか否か判
定する(ステップ3e)。スキューセンサ4が記録紙1
の先端を検知していなければ、ステップ3bに戻る。つ
まり、ペーパセンサ3、スキューセンサ4が記録紙1の
先端を検知するまで、ステップ3bからの動作を繰り返
し、カウント値Pを1つ増す毎に記録紙1を送ってい
く。なお、この間、ステップ3cでは、カウント値Pが
所定値以下か否か判定するが、例えば、ここでは、記録
紙1を11インチ送るのに要される駆動パルス数に当た
る360×11を所定値としてあり、そのような所定値
以上の駆動パルスを発生させても記録紙1の先端が検知
されない場合は、ローラ2などの紙送り部、または各セ
ンサの異常等によりエラーが生じたとみなせるので、こ
こではローラ2を逆転させて記録紙1を排出する(ステ
ップ3f)。なお、この所定値は適宜に変更可能であ
る。
Next, the skew determination operation of the printer of this example will be described with reference to the flowchart of FIG. Here, a cut sheet is used as the recording sheet 1. First, the control circuit 8 clears the count value P of the drive pulse of the roller 2 to 0 (step 3a). Next, when the recording paper 1 is fed from a paper feeding unit (not shown) to reach the roller 2 and an output is generated from the paper load sensor 5, the control circuit 8
Increases the count value P by 1 and controls the roller 2 to control the recording paper 1
For 1/360 inch, that is, for one drive pulse of the roller 2 (step 3b). Next, it is determined whether the count value P is smaller than a predetermined value (step 3c). Next, the control circuit 8 performs A / D conversion on the output of the paper sensor 3 by an A / D conversion section (not shown), and determines whether the value is the data D1 or more.
That is, it is determined whether or not the paper sensor 3 has detected the leading edge of the recording paper 1 (step 3d). If the paper sensor 3 does not detect the leading edge of the recording paper 1, next, the control circuit 8 similarly outputs the output of the skew sensor 4 to the A / D converter.
D conversion, whether the value is more than data D3, that is,
It is determined whether the skew sensor 4 has detected the leading edge of the recording paper 1 (step 3e). The skew sensor 4 is the recording paper 1
If the leading edge of is not detected, the process returns to step 3b. That is, the operation from step 3b is repeated until the paper sensor 3 and the skew sensor 4 detect the leading edge of the recording paper 1, and the recording paper 1 is fed every time the count value P is incremented by one. During this period, in step 3c, it is determined whether or not the count value P is equal to or less than a predetermined value. For example, here, the predetermined value is 360 × 11, which is the number of drive pulses required to feed the recording paper 1 by 11 inches. If the leading edge of the recording paper 1 is not detected even if a drive pulse of a predetermined value or more is generated, it can be considered that an error has occurred due to an abnormality of the paper feed unit such as the roller 2 or each sensor. Then, the roller 2 is reversed to eject the recording paper 1 (step 3f). The predetermined value can be changed as appropriate.

【0011】このようにステップ3bからの動作を繰り
返し、ステップ3dにおいてスキューセンサ4より先に
ペーパセンサ3が記録紙1の先端を検知したと判定され
ると、ペーパセンサ3、スキューセンサ4の検知出力の
発生タイミングの差を示すカウント値Sを0にクリアす
る(ステップ3g)。次にスキューセンサ4が記録紙1
の先端を検知したか否か判定する(ステップ3h)。こ
こで、スキューセンサ4が記録紙1の先端を検知しなか
った場合、記録紙1を1/360インチ送り、カウント
値Pを1つ増すとともに、カウント値Sを1つ減じる
(ステップ3i)。ここで、カウント値Sの値を1減じ
るのは、ペーパセンサ3から検知出力が生じたタイミン
グのカウント値TPからスキューセンサ4から検知出力
が生じたタイミングのカウント値TSを差し引いて得ら
れる値を基準データD4として設定しているため、先に
ペーパセンサ3から検知出力が生じた場合、後述するよ
うにカウント値Sと基準値D4の差が所定の範囲にある
か否かを判定のためにカウント値Sから基準データD4
を減じるように処理する場合、カウント値Sは負である
必要があるからである。次にステップ3cと同様にカウ
ント値Pが所定値Pより小さいか否か判定し(ステップ
3j)、ステップ3hの動作に戻る。スキューセンサ4
が記録紙1の先端を検知するまで、ステップ3hからの
動作が繰り返され、記録紙1を1/360インチ送る毎
に、カウント値P、Sを更新していく。ここで、ステッ
プ3hにてスキューセンサ4が記録紙1の先端を検知し
たと判定されると、ペーパセンサ3、スキューセンサ4
の検知出力の発生タイミングの差を示すカウント値Sと
メモリ7に記憶された基準データD4の差が所定の範囲
内にあるか否か判定する(ステップ3k)。すなわち、
例えば、ここでのペーパセンサ3、スキューセンサ4の
出力、すなわち、端子A1、B1の信号は、ペーパセン
サ3の検知出力発生タイミングを上記タイミングt0に
合わせ、スキューセンサ4の検知出力発生タイミングを
t2として示すと図1のbのA1、B1に示すようにな
る。同図のbから分かるようにペーパセンサ3、スキュ
ーセンサ4の検知出力の発生タイミングの差T1には、
記録紙1の実際のスキュー分以外にペーパセンサ3、ス
キューセンサ4の取付誤差、特性差による検知出力の発
生タイミング差T0が含まれている。すなわち、取付誤
差、特性差による検知出力の発生タイミング差T0を示
す基準データD4と、ここでのペーパセンサ3、スキュ
ーセンサ4の検知出力の発生タイミングの差T1を示す
カウント値Sとの差がここでのスキュー分となり、この
スキュー分が許容範囲にあるか否かを判定することによ
り、スキューを正確に判定するのである。ここでは、|
S−D4|<7の条件を満たすか否かにより判定動作を
行う。ここでは、カウント値Sと基準データD4との差
の絶対値が7(記録紙1の送り量にして7/360イン
チ分である。なお、この値は適宜に設定可能である。)
より小さいか否か判定し、7より小さいと判定されると
記録紙1のスキューはないと判定し、7以上となればス
キューと判定される。スキューがないと判定されると記
録紙1を所定の印字位置まで送り(ステップ3l)、ス
キュー判定動作を終了する。また、スキューと判定され
ると紙送り失敗とみなし、ここではローラ2を逆転させ
て記録紙1を排出し(ステップ3f)、スキュー判定動
作を終了する。
As described above, the operations from step 3b are repeated, and when it is determined in step 3d that the paper sensor 3 has detected the leading edge of the recording paper 1 before the skew sensor 4, the detection outputs of the paper sensor 3 and the skew sensor 4 are output. The count value S indicating the difference in generation timing is cleared to 0 (step 3g). Next, the skew sensor 4 changes the recording paper 1
It is determined whether or not the leading edge of is detected (step 3h). Here, when the skew sensor 4 does not detect the leading edge of the recording paper 1, the recording paper 1 is fed by 1/360 inch, the count value P is incremented by 1, and the count value S is decremented by 1 (step 3i). Here, the value of the count value S is decremented by 1 on the basis of a value obtained by subtracting the count value TS at the timing when the detection output is generated from the skew sensor 4 from the count value TP at the timing when the detection output is generated from the paper sensor 3. Since it is set as the data D4, when the detection output is first generated from the paper sensor 3, the count value is used to determine whether the difference between the count value S and the reference value D4 is within a predetermined range as described later. Reference data D4 from S
This is because the count value S needs to be negative when processing is performed so as to subtract. Next, as in step 3c, it is determined whether the count value P is smaller than the predetermined value P (step 3j), and the operation returns to step 3h. Skew sensor 4
The operation from step 3h is repeated until the leading edge of the recording paper 1 is detected, and the count values P and S are updated every time the recording paper 1 is fed by 1/360 inch. When it is determined that the skew sensor 4 has detected the leading edge of the recording paper 1 in step 3h, the paper sensor 3 and the skew sensor 4 are detected.
It is determined whether or not the difference between the count value S indicating the generation timing difference of the detection output and the reference data D4 stored in the memory 7 is within a predetermined range (step 3k). That is,
For example, regarding the outputs of the paper sensor 3 and the skew sensor 4, that is, the signals of the terminals A1 and B1, the detection output generation timing of the paper sensor 3 is aligned with the timing t0, and the detection output generation timing of the skew sensor 4 is represented as t2. As shown in A1 and B1 of FIG. As can be seen from b in the figure, the difference T1 between the generation timings of the detection outputs of the paper sensor 3 and the skew sensor 4 is:
In addition to the actual skew of the recording paper 1, a mounting error of the paper sensor 3 and the skew sensor 4 and a detection output generation timing difference T0 due to a characteristic difference are included. That is, the difference between the reference data D4 indicating the generation timing difference T0 of the detection output due to the attachment error and the characteristic difference, and the count value S indicating the difference T1 of the generation timing of the detection output of the paper sensor 3 and the skew sensor 4 is here. And the skew is accurately determined by determining whether or not the skew is within the allowable range. Here, |
The determination operation is performed depending on whether the condition of S-D4 | <7 is satisfied. Here, the absolute value of the difference between the count value S and the reference data D4 is 7 (7/360 inch as the feed amount of the recording paper 1. It should be noted that this value can be set appropriately).
If it is smaller than 7, it is judged that there is no skew of the recording paper 1, and if it is 7 or more, it is judged to be skew. If it is determined that there is no skew, the recording paper 1 is fed to a predetermined print position (step 3l), and the skew determination operation is ended. If it is determined that the sheet is skewed, it is considered that the paper feed has failed. Here, the roller 2 is rotated in the reverse direction to eject the recording sheet 1 (step 3f), and the skew determination operation is ended.

【0012】また、ステップ3b〜3eの動作を繰り返
し行い、ステップ3eにおいてペーパセンサ3より先に
スキューセンサ4が記録紙1の先端を検知したと判定し
た場合、ペーパセンサ3が先に記録紙1を検知したと判
定された際のステップ3g〜3jの動作と同様な手順の
ステップ3m〜3pの動作を行う。すなわち、カウント
値Sをクリアし(ステップ3m)、ペーパセンサ3が記
録紙1を検知したか否か判定し(ステップ3n)、記録
紙1を送り、カウント値Pを1つ増すとともに、ここで
はカウント値Sを1増す(ステップ3o)。次にカウン
ト値Pを所定値より小さいか判定してステップ3nに戻
り、ステップ3m〜3pの動作を繰り返し、ステップ3
nにおいてペーパセンサ3が記録紙1を検知したと判定
されると、ステップ3kの動作に移りスキュー判定が行
われ、以下同様に動作を行う。
When the operations of steps 3b to 3e are repeated and it is determined in step 3e that the skew sensor 4 has detected the leading edge of the recording paper 1 before the paper sensor 3, the paper sensor 3 detects the recording paper 1 first. The operations of Steps 3m to 3p are performed in the same procedure as the operations of Steps 3g to 3j when it is determined that they have been performed. That is, the count value S is cleared (step 3m), it is determined whether or not the paper sensor 3 detects the recording paper 1 (step 3n), the recording paper 1 is fed, the count value P is incremented by 1, and the count The value S is incremented by 1 (step 3o). Next, it is determined whether the count value P is smaller than a predetermined value, the process returns to step 3n, the operations of steps 3m to 3p are repeated, and step 3
When it is determined that the paper sensor 3 has detected the recording paper 1 in n, the operation proceeds to step 3k, skew determination is performed, and the same operation is performed thereafter.

【0013】以上のように本例では、個々のプリンタ装
置固有のペーパセンサ3、スキューセンサ4の取付誤
差、特性差による検知出力の発生タイミング差を基準デ
ータとしてメモリ7に記憶し、スキュー判定を行う際に
は、ペーパセンサ3、スキューセンサ4の検知出力発生
タイミング差から基準データ分を差し引くことにより、
その検知出力発生タイミング差に含まれる各センサの取
付誤差、特性差分を相殺するので、ペーパセンサ3、ス
キューセンサ4の取付誤差、特性差によらず、正確なス
キュー判定が行える。また、ペーパセンサ3、スキュー
センサ4の取付誤差、特性差の許容量が増し、生産性も
向上する。
As described above, in this example, the skew determination is performed by storing the mounting error of the paper sensor 3 and the skew sensor 4 peculiar to each printer device and the generation timing difference of the detection output due to the characteristic difference in the memory 7 as the reference data. At this time, by subtracting the reference data from the detection output generation timing difference of the paper sensor 3 and the skew sensor 4,
Since the mounting error and the characteristic difference of each sensor included in the detection output generation timing difference are canceled, the accurate skew determination can be performed regardless of the mounting error and the characteristic difference of the paper sensor 3 and the skew sensor 4. In addition, the tolerances for the mounting error and the characteristic difference of the paper sensor 3 and the skew sensor 4 are increased, and the productivity is also improved.

【0014】[0014]

【発明の効果】本発明によれば、記憶手段に記憶した第
1、第2のセンサの上記特定方向における位置ずれ量、
特性差を表す基準データと第1、第2のセンサの検知出
力の発生タイミングの差とに所定の許容量を超える差が
生じた場合、記録紙のスキューを判定するため、第1、
第2のセンサの取付誤差によらず、正確なスキュー判定
が行える。また、プリンタ装置の第1、第2のセンサの
取付誤差、特性差の許容量が増すため、安価な組立装置
により製造可能となり、コストの削減や生産性の向上が
可能となる。
According to the present invention, the positional deviation amount in the specific direction of the first and second sensors stored in the storage means,
When the difference between the reference data representing the characteristic difference and the generation timing of the detection output of the first and second sensors exceeds a predetermined allowable amount, the skew of the recording paper is determined.
Accurate skew determination can be performed regardless of the mounting error of the second sensor. Further, since the tolerances of the mounting error and the characteristic difference of the first and second sensors of the printer device are increased, it is possible to manufacture with an inexpensive assembling device, and it is possible to reduce the cost and improve the productivity.

【0015】また、第1、第2のセンサの検出出力を判
定するためのそれぞれのしきい値を基準データに含んで
設定した場合、第1、第2のセンサの検知出力の発生タ
イミングの差がより正確に得られ、より正確なスキュー
判定が行える。ひいては第1、第2のセンサとして特性
のばらつきのあるセンサ、例えば、同じ記録紙に対して
出力レベルの異なるセンサを使用でき、この点からもコ
ストの削減や生産性の向上が可能となる。
Further, when the threshold values for determining the detection outputs of the first and second sensors are set by including them in the reference data, the difference between the generation timings of the detection outputs of the first and second sensors is set. Can be obtained more accurately, and more accurate skew determination can be performed. As a result, it is possible to use sensors having different characteristics as the first and second sensors, for example, sensors having different output levels with respect to the same recording paper. From this point as well, it is possible to reduce costs and improve productivity.

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

【図1】本発明の一実施例のプリンタ装置の構成を示す
説明図。
FIG. 1 is an explanatory diagram showing a configuration of a printer device according to an embodiment of the present invention.

【図2】図1の動作説明のためのフローチャート。FIG. 2 is a flowchart for explaining the operation of FIG.

【図3】図1の動作説明のためのフローチャート。FIG. 3 is a flowchart for explaining the operation of FIG.

【図4】従来技術の構成を示す説明図。FIG. 4 is an explanatory diagram showing a configuration of a conventional technique.

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

1 記録紙 2 ローラ(紙送り手段) 3 ペーパセンサ(第1のセンサ) 4 スキューセンサ(第2のセンサ) 7 メモリ(記憶手段) 8 制御回路(判定手段) 1 recording paper 2 roller (paper feeding means) 3 paper sensor (first sensor) 4 skew sensor (second sensor) 7 memory (storage means) 8 control circuit (determination means)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 記録紙を特定の方向に送る紙送り手段
と、 上記特定方向に対して直角方向に所望間隔を有して配置
され、記録紙の先端を検知して出力を発する第1、第2
のセンサと、 上記第1、第2のセンサの上記特定方向における位置ず
れ量を表す基準データを記憶した記憶手段と、 上記紙送り手段により送られる記録紙の先端を検知した
第1、第2のセンサの出力を受けて第1、第2のセンサ
の検知出力の発生タイミングの差と上記基準データとに
所定の許容範囲を超える差が生じた場合、記録紙のスキ
ューを判定する判定手段とを具備することを特徴とする
プリンタ装置。
1. A paper feed means for feeding a recording paper in a specific direction, and a first paper supply means which is arranged at a desired interval in a direction perpendicular to the specific direction and which detects the leading edge of the recording paper and outputs an output. Second
Sensor, storage means for storing reference data indicating the amount of positional deviation of the first and second sensors in the specific direction, and first and second detection means for detecting the leading edge of the recording paper fed by the paper feeding means. When a difference between the generation timings of the detection outputs of the first and second sensors and the reference data exceeds a predetermined permissible range in response to the output of the sensor, the determining unit determines the skew of the recording paper. A printer device comprising:
【請求項2】 上記基準データは、第1、第2のセンサ
の検知出力の発生タイミングの差を得るために用いら
れ、第1、第2のセンサの検知出力を判定するためのそ
れぞれのしきい値を含むことを特徴とする請求項1記載
のプリンタ装置。
2. The reference data is used to obtain a difference in generation timing of detection outputs of the first and second sensors, and is used to determine the detection outputs of the first and second sensors. The printer device according to claim 1, further comprising a threshold value.
JP10595595A 1995-04-28 1995-04-28 Printer device Expired - Fee Related JP3400603B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10595595A JP3400603B2 (en) 1995-04-28 1995-04-28 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10595595A JP3400603B2 (en) 1995-04-28 1995-04-28 Printer device

Publications (2)

Publication Number Publication Date
JPH08301484A true JPH08301484A (en) 1996-11-19
JP3400603B2 JP3400603B2 (en) 2003-04-28

Family

ID=14421253

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10595595A Expired - Fee Related JP3400603B2 (en) 1995-04-28 1995-04-28 Printer device

Country Status (1)

Country Link
JP (1) JP3400603B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010168132A (en) * 2009-01-20 2010-08-05 Nec Computertechno Ltd Skew sensing device, skew preventing printing system, skew sensing method, skew preventing printing method and program
JP2013095577A (en) * 2011-11-04 2013-05-20 Nisca Corp Printer
JP2013209181A (en) * 2012-03-30 2013-10-10 Brother Industries Ltd Image recording apparatus and program
JP2016087807A (en) * 2014-10-30 2016-05-23 株式会社リコー Image forming device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0485241A (en) * 1990-07-26 1992-03-18 Oki Electric Ind Co Ltd Slice level setting device
JPH06255840A (en) * 1993-03-09 1994-09-13 Hitachi Ltd Skew correcting method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0485241A (en) * 1990-07-26 1992-03-18 Oki Electric Ind Co Ltd Slice level setting device
JPH06255840A (en) * 1993-03-09 1994-09-13 Hitachi Ltd Skew correcting method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010168132A (en) * 2009-01-20 2010-08-05 Nec Computertechno Ltd Skew sensing device, skew preventing printing system, skew sensing method, skew preventing printing method and program
JP2013095577A (en) * 2011-11-04 2013-05-20 Nisca Corp Printer
JP2013209181A (en) * 2012-03-30 2013-10-10 Brother Industries Ltd Image recording apparatus and program
JP2016087807A (en) * 2014-10-30 2016-05-23 株式会社リコー Image forming device

Also Published As

Publication number Publication date
JP3400603B2 (en) 2003-04-28

Similar Documents

Publication Publication Date Title
US4769532A (en) Apparatus for adjusting optical sensors with threshold memory
US5266976A (en) Apparatus for forming a color image
EP0884197A1 (en) Image forming device
EP1213150B1 (en) Medium detecting method and device, and printer
JP4640064B2 (en) Image forming apparatus
US20030007054A1 (en) Image forming apparatus and light amount correction method
JPH08301484A (en) Printer device
JP4136124B2 (en) Method for detecting end position of recording paper using reflection type optical sensor and image forming apparatus
JP5362481B2 (en) Recording paper width detection method
JP4760090B2 (en) Conveying apparatus and image forming apparatus
JP3426317B2 (en) Printer
JPH1148556A (en) Paper position detecting mechanism for printer
JP3400602B2 (en) Printer device
JP4248439B2 (en) Paper edge detection device and printer using the same
JP2820196B2 (en) Form position detection device
US11048987B2 (en) Image forming apparatus with an improved centering image printing capability
JP2736815B2 (en) Label detection device for label printer
JP4717394B2 (en) Method for automatically adjusting photodetection device and photodetection device
JP2954085B2 (en) Sensor output adjustment method and mark detection device using the same
JPS60236776A (en) Paper-feeding drive controller
JP2994126B2 (en) Double feed detection device
JP2004059179A (en) Detecting device, recording device and method for detecting recording medium
JP2985015B2 (en) Document reading device
JP2903557B2 (en) Duplicate feed detection method for paper sheets
JPH01135674A (en) Printing control system in printer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090221

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100221

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110221

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120221

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130221

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees