JP3076218B2 - Automatic paper thickness detection method - Google Patents

Automatic paper thickness detection method

Info

Publication number
JP3076218B2
JP3076218B2 JP12779695A JP12779695A JP3076218B2 JP 3076218 B2 JP3076218 B2 JP 3076218B2 JP 12779695 A JP12779695 A JP 12779695A JP 12779695 A JP12779695 A JP 12779695A JP 3076218 B2 JP3076218 B2 JP 3076218B2
Authority
JP
Japan
Prior art keywords
timer counter
sample
frequency
signal
stepping motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP12779695A
Other languages
Japanese (ja)
Other versions
JPH08320203A (en
Inventor
順 菅野
正敏 中村
Original Assignee
株式会社沖データ
株式会社沖データシステムズ
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 株式会社沖データ, 株式会社沖データシステムズ filed Critical 株式会社沖データ
Priority to JP12779695A priority Critical patent/JP3076218B2/en
Publication of JPH08320203A publication Critical patent/JPH08320203A/en
Application granted granted Critical
Publication of JP3076218B2 publication Critical patent/JP3076218B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、自動紙厚検出方法に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic paper thickness detecting method.

【0002】[0002]

【従来の技術】従来、ワイヤドット式の印字ヘッドを駆
動することによって印字を行うようにしたプリンタにお
いては、印字データに対応させて印字ワイヤを印字ヘッ
ドから突出させて印字を行うようにしている。この場
合、例えば、用紙が薄紙である場合と、厚紙、複写紙等
である場合とでは印字ヘッドの先端から用紙の表面まで
のギャップが異なる。そこで、印字を開始する前に用紙
の厚さ(以下「紙厚」という。)を検出し、該紙厚に基
づいて前記ギャップを調整するようにしている。
2. Description of the Related Art Conventionally, in a printer in which printing is performed by driving a wire dot type print head, printing is performed by projecting a print wire from a print head in accordance with print data. . In this case, for example, the gap from the leading end of the print head to the surface of the paper differs between when the paper is thin paper and when it is thick paper, copy paper, or the like. Therefore, the thickness of the paper (hereinafter referred to as "paper thickness") is detected before printing is started, and the gap is adjusted based on the detected paper thickness.

【0003】そして、インダクタンス検出方式による自
動紙厚検出方法においては、ステッピングモータによっ
てキャリッジをプラテンの方向に向けて押し込み、検出
器を用紙に突き当てたときのインダクタンスの変化を見
るようにしている。そのために、強磁性体から成る一対
のフェライトコア(UI型及びUU型)の一方にコイル
を巻装し、各フェライトコア間の空隙(くうげき)距離
(以下「コアギャップ」という。)に対応するインダク
タンスの変化を、LC発振回路を使用してパルス変換
し、周波数の変化を求めるようにしている。そして、該
周波数の変化量が設定値を超えたときに、検出器が用紙
に突き当たったことの判断(以下「突当て判断」とい
う。)を行うようにしている。
In the automatic paper thickness detection method based on the inductance detection method, the carriage is pushed in the direction of the platen by the stepping motor, and the change in inductance when the detector is abutted against the paper is observed. For this purpose, a coil is wound around one of a pair of ferrite cores (UI type and UU type) made of a ferromagnetic material, and a gap distance between the ferrite cores (hereinafter referred to as a “core gap”). The change in inductance is converted into a pulse using an LC oscillation circuit, and the change in frequency is determined. Then, when the amount of change in the frequency exceeds a set value, a determination is made that the detector has hit the sheet (hereinafter, referred to as a "hitting determination").

【0004】この場合、周波数の変化を検出するための
サンプル時間を、キャリッジをプラテンの方向に向けて
押し込むステッピングモータの相切換周期と等しく設定
し、前記サンプル時間内において前記LC発振回路から
出力されるパルス数をタイマカウンタによってカウント
し、そのカウント値が変化するかどうかを判断するよう
にしている。
In this case, a sampling time for detecting a change in frequency is set to be equal to a phase switching cycle of a stepping motor for pushing a carriage toward a platen, and output from the LC oscillation circuit within the sampling time. The number of pulses is counted by a timer counter, and it is determined whether or not the count value changes.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前記従
来の自動紙厚検出方法においては、印字ヘッドのギャッ
プ精度を高くするために、ステッピングモータの最小分
解能である相切換周期ごとに突当て判断を行う必要があ
るだけでなく、検出器を用紙に突き当てた後、直ちにス
テッピングモータを停止させることができるように、該
ステッピングモータを自起動周波数内で駆動する必要が
あり、相切換周期を短くすることができない。
However, in the above-mentioned conventional automatic paper thickness detection method, in order to increase the gap accuracy of the print head, a collision determination is made for each phase switching cycle which is the minimum resolution of the stepping motor. In addition to the necessity, the stepping motor must be driven within the self-starting frequency so that the stepping motor can be stopped immediately after the detector hits the paper, and the phase switching cycle is shortened. Can not do.

【0006】したがって、厚紙、複写紙等への印字を可
能にしたプリンタにおいて紙厚を検出しようとすると、
印字ヘッドのホームポジションがプラテンから離れた箇
所にあり、ギャップが通常のプリンタと比べて2〜3倍
であるので、普通紙(55〔kg〕:単紙)のような薄
紙の紙厚を検出しようとすると、検出器が用紙に突き当
たるまでの動作距離が長くなり、周波数の変化が始まる
までの時間が長くなってしまう。その結果、紙厚を検出
するのに必要な時間が長くなってしまう。
[0006] Therefore, if the paper thickness is to be detected in a printer capable of printing on thick paper, copy paper, or the like,
Since the home position of the print head is located away from the platen and the gap is two to three times that of a normal printer, the thickness of thin paper such as plain paper (55 kg: single paper) is detected. If this is attempted, the operating distance until the detector hits the paper becomes long, and the time until the frequency change starts becomes long. As a result, the time required to detect the paper thickness increases.

【0007】本発明は、前記従来の自動紙厚検出方法の
問題点を解決して、各種の紙厚を短い時間で検出するこ
とができる自動紙厚検出方法を提供することを目的とす
る。
SUMMARY OF THE INVENTION An object of the present invention is to solve the problems of the conventional automatic paper thickness detection method and to provide an automatic paper thickness detection method capable of detecting various paper thicknesses in a short time.

【0008】[0008]

【課題を解決するための手段】そのために、本発明の自
動紙厚検出方法においては、コアギャップに対応するイ
ンダクタンスをパルス変換してパルス信号を発生させ、
第1タイマカウンタによってサンプル時間を設定し、該
サンプル時間内における前記パルス信号のパルス数を第
2タイマカウンタによってカウントしてサンプル周波数
を計算し、該サンプル周波数に基づいて、サンプル周波
数が変化したかどうかの判断、及び検出器が用紙に突き
当たったかどうかの判断を行う。
For this purpose, in the automatic paper thickness detecting method of the present invention, a pulse signal is generated by pulse-converting an inductance corresponding to a core gap.
A sample time is set by a first timer counter, the number of pulses of the pulse signal within the sample time is counted by a second timer counter to calculate a sample frequency, and whether the sample frequency has changed based on the sample frequency A determination is made as to whether the detector has hit the paper.

【0009】そして、前記サンプル周波数が変化したこ
との判断が行われた場合に前記サンプル時間を長くし、
前記検出器が用紙に突き当たったことの判断が行われた
場合にステッピングモータを停止させる。
When it is determined that the sample frequency has changed, the sample time is extended,
When it is determined that the detector has hit the sheet, the stepping motor is stopped.

【0010】[0010]

【作用】本発明によれば、前記のように自動紙厚検出方
法においては、コアギャップに対応するインダクタンス
をパルス変換してパルス信号を発生させ、第1タイマカ
ウンタによってサンプル時間を設定し、該サンプル時間
内における前記パルス信号のパルス数を第2タイマカウ
ンタによってカウントしてサンプル周波数を計算し、該
サンプル周波数に基づいて、サンプル周波数が変化した
かどうかの判断、及び検出器が用紙に突き当たったかど
うかの判断を行う。
According to the present invention, as described above, in the automatic paper thickness detection method, the inductance corresponding to the core gap is pulse-converted to generate a pulse signal, and the sample time is set by the first timer counter. The number of pulses of the pulse signal within the sample time is counted by a second timer counter to calculate a sample frequency. Based on the sample frequency, it is determined whether the sample frequency has changed, and whether the detector has hit the paper. Make a decision.

【0011】そして、前記サンプル周波数が変化したこ
との判断が行われた場合に前記サンプル時間を長くし、
前記検出器が用紙に突き当たったことの判断が行われた
場合にステッピングモータを停止させる。この場合、前
記サンプル時間を変化させることによって、相切換周期
を変化させることができる。したがって、前記サンプル
周波数が変化するまでは、自起動周波数外のサンプル時
間を設定して相切換周期を短くし、サンプル周波数が変
化したときに、自起動周波数内のサンプル時間を設定し
て相切換周期を長くすることができる。
When it is determined that the sample frequency has changed, the sample time is extended,
When it is determined that the detector has hit the sheet, the stepping motor is stopped. In this case, the phase switching cycle can be changed by changing the sample time. Therefore, until the sample frequency changes, a sample time outside the self-starting frequency is set to shorten the phase switching period, and when the sample frequency changes, a sample time within the self-starting frequency is set to change the phase switching period. The cycle can be lengthened.

【0012】[0012]

【実施例】以下、本発明の実施例について図面を参照し
ながら詳細に説明する。図1は本発明の実施例における
紙厚検出回路のブロック図、図2は本発明の実施例にお
ける紙厚検出回路のタイムチャート、図3は本発明の実
施例におけるキャリッジの押込量、サンプル周波数及び
ステッピングモータのパルスレートの関係図である。な
お、図3において、横軸にキャリッジの押込量を、縦軸
にサンプル周波数f及びステッピングモータのパルスレ
ートを採ってある。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram of a paper thickness detecting circuit according to an embodiment of the present invention, FIG. 2 is a time chart of the paper thickness detecting circuit according to the embodiment of the present invention, and FIG. FIG. 3 is a diagram illustrating a relationship between a pulse rate of a stepping motor and a pulse rate; In FIG. 3, the horizontal axis represents the amount of pushing of the carriage, and the vertical axis represents the sampling frequency f and the pulse rate of the stepping motor.

【0013】図において、11は図示しないキャリッジ
をプラテンの方向に向けて押し込むステッピングモー
タ、21はコアギャップに対応するインダクタンスの変
化を検出し、該インダクタンスの変化をパルス変換する
LC発振回路である。この場合、該LC発振回路21に
は、発振回路自体のほか、コアギャップに対応するイン
ダクタンスの変化を検出するための検出器(オートギャ
ップセンサ)も含まれる。なお、該検出器は、前記キャ
リッジのリボンプロテクタに取り付けられ、キャリッジ
と共にプラテンの方向に向けて押し込まれる。
In FIG. 1, reference numeral 11 denotes a stepping motor for pushing a carriage (not shown) toward a platen, and reference numeral 21 denotes an LC oscillation circuit which detects a change in inductance corresponding to a core gap and converts the change in inductance into a pulse. In this case, in addition to the oscillation circuit itself, the LC oscillation circuit 21 includes a detector (auto gap sensor) for detecting a change in inductance corresponding to the core gap. The detector is attached to the ribbon protector of the carriage, and is pushed together with the carriage toward the platen.

【0014】また、22は前記ステッピングモータ11
の相切換周期であり、かつ、LC発振回路21からのパ
ルス信号SG1をサンプリングするためのサンプル時間
を発生させる第1タイマカウンタ、23はLC発振回路
21からのパルス信号SG1の前記サンプル時間内にお
けるパルス数をカウントする第2タイマカウンタ、24
は前記第1タイマカウンタ22の信号IPT−Pを反転
して信号SG2にするインバータ、25は前記ステッピ
ングモータ11を駆動するモータドライバである。
Reference numeral 22 denotes the stepping motor 11
And a first timer counter 23 for generating a sampling time for sampling the pulse signal SG1 from the LC oscillation circuit 21. The first timer counter 23 generates a sampling time for sampling the pulse signal SG1 from the LC oscillation circuit 21 within the sampling time. A second timer counter for counting the number of pulses, 24
Is an inverter for inverting the signal IPT-P of the first timer counter 22 to make it a signal SG2, and 25 is a motor driver for driving the stepping motor 11.

【0015】前記第1タイマカウンタ22の端子CLK
1にはクロックCLK−Pが、ゲート端子GATE1に
はゲート信号GATE−Pがそれぞれコントロール信号
として入力され、出力端子OUT1から信号IPT−P
が出力される。該信号IPT−Pは、インバータ24に
おいて反転されて信号SG2になり、第2タイマカウン
タ23のゲート端子GATE2にゲート信号として入力
されるとともに、モータドライバ25に対して出力され
る。
The terminal CLK of the first timer counter 22
1, a clock CLK-P is input as a control signal to a gate terminal GATE1, and a signal IPT-P is output from an output terminal OUT1.
Is output. The signal IPT-P is inverted by the inverter 24 to become a signal SG2, and is input to the gate terminal GATE2 of the second timer counter 23 as a gate signal and output to the motor driver 25.

【0016】なお、前記第2タイマカウンタ23の端子
CLK2には前記LC発振回路21からのパルス信号S
G1が入力される。また、モータドライバ25はステッ
ピングモータ11に接続される。前記第1タイマカウン
タ22及び第2タイマカウンタ23においては、任意に
カウント値を設定することができ、図示しないCPUが
ゲート端子GATE1に入力されるゲート信号GATE
−Pを“1”にすると、第1タイマカウンタ22はカウ
ントを開始するとともに出力端子OUT1から出力され
る信号IPT−Pを“0”にする。そして、第1タイマ
カウンタ22は、カウントを終了すると、前記信号IP
T−Pを“1”にする。その後、前記CPUはゲート信
号GATE−Pを“0”にする。
A pulse signal S from the LC oscillation circuit 21 is applied to a terminal CLK2 of the second timer counter 23.
G1 is input. Further, the motor driver 25 is connected to the stepping motor 11. In the first timer counter 22 and the second timer counter 23, a count value can be arbitrarily set, and a CPU (not shown) inputs a gate signal GATE input to a gate terminal GATE1.
When -P is set to "1", the first timer counter 22 starts counting and sets the signal IPT-P output from the output terminal OUT1 to "0". When the first timer counter 22 finishes counting, the signal IP
TP is set to "1". Thereafter, the CPU sets the gate signal GATE-P to "0".

【0017】前記構成の紙厚検出回路において、突当て
判断前の初期周波数をf0 とし、第1タイマカウンタ2
2にセットされる自起動周波数外のサンプル時間をTm
としたときの、該サンプル時間Tm 内におけるパルス信
号SG1のパルス数、すなわち、サンプル周波数をfm
とし、第1の変化量をΔf1 としたとき、 fm −f0 ≦Δf1 …(1) である場合、LC発振回路21からのパルス信号SG1
のサンプル周波数fm が変化していないと判断する。そ
して、前記キャリッジの押込みが続けられ、周波数変化
点αにおいて、 fm −f0 >Δf1 …(2) になると、LC発振回路21からのパルス信号SG1の
サンプル周波数fm が変化したと判断する。この場合、
ステッピングモータ11の自起動周波数外でサンプル時
間Tm が設定されるので、ステッピングモータ11の回
転速度を高くすることができ、パルス信号SG1のサン
プル周波数fm が変化したと判断するまでの時間を短く
することができる。
In the paper thickness detecting circuit having the above-described configuration, the initial frequency before the collision determination is set to f 0, and the first timer counter 2
The sampling time outside the self-starting frequency set to 2 is T m
, The number of pulses of the pulse signal SG1 within the sample time T m , that is, the sample frequency is f m
And then, when the first change amount set to Delta] f 1, if a f m -f 0 ≦ Δf 1 ... (1), the pulse signal from LC oscillating circuit 21 SG1
Sample frequency f m is determined not to be a change in. Then, continued the pushing of the carriage, determining the frequency change point alpha, becomes the f m -f 0> Δf 1 ... (2), a sample frequency f m of the pulse signal SG1 from the LC oscillator 21 changes I do. in this case,
Since sample time T m is set at a self-starting frequency outside of the stepping motor 11, it is possible to increase the rotational speed of the stepping motor 11, the time until it is determined that the sample frequency f m of the pulse signal SG1 changes Can be shorter.

【0018】そして、LC発振回路21からのパルス信
号SG1のサンプル周波数fm が変化したと判断される
と、サンプル時間をTm からTn (Tm <Tn )に変え
る。その結果、ステッピングモータ11のパルスレート
は1/Tm から1/Tn になる。次に、自起動周波数内
のサンプル時間をTn としたときの、該サンプル時間T
n 内におけるパルス信号SG1のパルス数、すなわち、
サンプル周波数をfn とし、第2の変化量をΔf2 とし
たとき、 fn −f0 ≦Δf2 …(3) である場合、検出器が用紙に突き当たっていないと判断
する。
The pulse signal from the LC oscillation circuit 21 is
The sample frequency f of the signal SG1mIs determined to have changed
And the sample time is TmTo Tn(Tm<Tn)
You. As a result, the pulse rate of the stepping motor 11
Is 1 / TmFrom 1 / Tnbecome. Next, within the self-starting frequency
The sample time ofnAnd the sample time T
n, The number of pulses of the pulse signal SG1,
Let the sample frequency be fnAnd the second change amount is ΔfTwoage
When fn−f0≤ΔfTwo … (3), it is determined that the detector has not hit the paper
I do.

【0019】そして、キャリッジの押込みが続けられ、
突当て検出点βにおいて、 fn −f0 >Δf2 …(4) になると、検出器が用紙に突き当たったことの判断が行
われる。この場合、ステッピングモータ11の自起動周
波数内でサンプル時間Tn が設定されるので、サンプル
周波数fn の変化を正確に判断することができるだけで
なく、検出器を用紙に突き当てた後、直ちにステッピン
グモータ11を停止させることができる。
Then, the pushing of the carriage is continued,
When f n −f 0 > Δf 2 (4) at the abutting detection point β, it is determined that the detector has hit the paper. In this case, since the sample time T n is set in the self-starting frequency of the stepping motor 11, not only the change of the sample frequency f n can be accurately determined, after abutting the detector sheet, immediately The stepping motor 11 can be stopped.

【0020】図4は本発明の実施例における紙厚検出回
路の動作を示すフローチャートである。 ステップS1 第1タイマカウンタ22(図1)にステ
ッピングモータ11の自起動周波数外でサンプル時間
(相切換周期)Tm (図2)をセットする。 ステップS2 図示しないCPUがゲート信号GATE
−Pを“1”にすると、第1タイマカウンタ22はカウ
ントを開始し、信号IPT−Pを“0”にする。該信号
IPT−Pが“0”にされると、インバータ24によっ
て反転された信号SG2が“1”になり、第2タイマカ
ウンタ23のゲートが開き、第2タイマカウンタ23は
LC発振回路21からのパルス信号SG1のパルス数を
カウントし始める。 ステップS3 信号IPT−Pが“1”になるのを待機
する。第1タイマカウンタ22がカウントを終了する
と、信号IPT−Pが“0”から“1”になり、第2タ
イマカウンタ23に入力される信号SG2が“1”から
“0”になる。その結果、第2タイマカウンタ23がカ
ウントを終了する。 ステップS4 前記CPUがゲート信号GATE−Pを
“0”にし、第1タイマカウンタ22へのクロックCL
K−Pの入力をマスクする。 ステップS5 第2タイマカウンタ23のカウント値に
基づいて計算したサンプル周波数fm について、式
(1)が満たされるかどうかを判断する。式(1)が満
たされた場合はステップS8に、式(1)が満たされな
い場合はステップS6に進む。 ステップS6 ステッピングモータ11の相切換えを行
う。 ステップS7 第2タイマカウンタ23のカウント値を
クリアしてステップS1に戻る。 ステップS8 第1タイマカウンタ22にステッピング
モータ11の自起動周波数内でサンプル時間(相切換周
期)Tn をセットする。 ステップS9 第2タイマカウンタ23のカウント値を
クリアする。 ステップS10 ステッピングモータ11の相切換えを
行う。 ステップS11 前記CPUがゲート信号GATE−P
を“1”にすると、第1タイマカウンタ22はカウント
を開始し、信号IPT−Pを“0”にする。該信号IP
T−Pが“0”にされると、インバータ24によって反
転された信号SG2が“1”になり、第2タイマカウン
タ23のゲートが開き、第2タイマカウンタ23はLC
発振回路21からのパルス信号SG1のパルス数をカウ
ントし始める。 ステップS12 信号IPT−Pが“1”になるのを待
機する。第1タイマカウンタ22がカウントを終了する
と、信号IPT−Pが“0”から“1”になり、第2タ
イマカウンタ23に入力される信号SG2が“1”から
“0”になる。その結果、第2タイマカウンタ23がカ
ウントを終了する。 ステップS13 前記CPUがゲート信号GATE−P
を“0”にし、第1タイマカウンタ22へのクロックC
LK−Pの入力をマスクする。 ステップS14 第2タイマカウンタ23のカウント値
に基づいて計算したサンプル周波数fn について、式
(3)が満たされるかどうかを判断する。式(3)が満
たされた場合は、検出器が用紙に突き当たったと判断し
て処理を終了し、式(3)が満たされない場合はステッ
プS8に戻る。
FIG. 4 is a flowchart showing the operation of the paper thickness detecting circuit according to the embodiment of the present invention. Step S1 A sample time (phase switching cycle) T m (FIG. 2) outside the self-starting frequency of the stepping motor 11 is set in the first timer counter 22 (FIG. 1). Step S2: The CPU (not shown) outputs the gate signal GATE.
When -P is set to "1", the first timer counter 22 starts counting and sets the signal IPT-P to "0". When the signal IPT-P is set to "0", the signal SG2 inverted by the inverter 24 becomes "1", the gate of the second timer counter 23 opens, and the second timer counter 23 Starts counting the number of pulses of the pulse signal SG1. Step S3: Wait until the signal IPT-P becomes "1". When the first timer counter 22 finishes counting, the signal IPT-P changes from “0” to “1”, and the signal SG2 input to the second timer counter 23 changes from “1” to “0”. As a result, the second timer counter 23 stops counting. Step S4: The CPU sets the gate signal GATE-P to “0” and outputs the clock CL to the first timer counter 22.
Mask the input of K-P. Step S5 for the second sample frequency f m which is calculated based on the count value of the timer counter 23, it is determined whether an expression (1) is satisfied. If expression (1) is satisfied, the process proceeds to step S8, and if expression (1) is not satisfied, the process proceeds to step S6. Step S6 The phase of the stepping motor 11 is switched. Step S7: Clear the count value of the second timer counter 23 and return to step S1. Step S8 self-start frequency within the sample time of the stepping motor 11 to the first timer counter 22 (phase switching period) is set to T n. Step S9: Clear the count value of the second timer counter 23. Step S10 The phase of the stepping motor 11 is switched. Step S11: The CPU sets the gate signal GATE-P
Is set to "1", the first timer counter 22 starts counting and sets the signal IPT-P to "0". The signal IP
When TP is set to "0", the signal SG2 inverted by the inverter 24 becomes "1", the gate of the second timer counter 23 opens, and the second timer counter 23
The counting of the number of pulses of the pulse signal SG1 from the oscillation circuit 21 is started. Step S12: Wait until the signal IPT-P becomes "1". When the first timer counter 22 finishes counting, the signal IPT-P changes from “0” to “1”, and the signal SG2 input to the second timer counter 23 changes from “1” to “0”. As a result, the second timer counter 23 stops counting. Step S13: The CPU sets the gate signal GATE-P
To “0” and the clock C to the first timer counter 22
Mask the input of LK-P. Step S14: It is determined whether Expression (3) is satisfied for the sample frequency f n calculated based on the count value of the second timer counter 23. If Expression (3) is satisfied, the processing is terminated by judging that the detector has hit the sheet, and if Expression (3) is not satisfied, the process returns to Step S8.

【0021】なお、本発明は前記実施例に限定されるも
のではなく、本発明の趣旨に基づいて種々変形させるこ
とが可能であり、これらを本発明の範囲から排除するも
のではない。
It should be noted that the present invention is not limited to the above-described embodiment, but can be variously modified based on the gist of the present invention, and these are not excluded from the scope of the present invention.

【0022】[0022]

【発明の効果】以上詳細に説明したように、本発明によ
れば、自動紙厚検出方法においては、コアギャップに対
応するインダクタンスをパルス変換してパルス信号を発
生させ、第1タイマカウンタによってサンプル時間を設
定し、該サンプル時間内における前記パルス信号のパル
ス数を第2タイマカウンタによってカウントしてサンプ
ル周波数を計算し、該サンプル周波数に基づいて、サン
プル周波数が変化したかどうかの判断、及び検出器が用
紙に突き当たったかどうかの判断を行う。
As described above in detail, according to the present invention, in the automatic paper thickness detecting method, a pulse signal is generated by pulse-converting the inductance corresponding to the core gap, and the pulse signal is generated by the first timer counter. A time is set, the number of pulses of the pulse signal within the sample time is counted by a second timer counter to calculate a sample frequency, and based on the sample frequency, it is determined whether or not the sample frequency has changed, and detection is performed. A determination is made as to whether the container has hit the paper.

【0023】そして、前記サンプル周波数が変化したこ
との判断が行われた場合に前記サンプル時間を長くし、
前記検出器が用紙に突き当たったことの判断が行われた
場合にステッピングモータを停止させる。この場合、前
記サンプル周波数が変化するまでは、自起動周波数外の
サンプル時間を設定して相切換周期を短くし、ステッピ
ングモータの回転速度を高くすることができ、サンプル
周波数が変化したと判断するまでの時間を短くすること
ができる。
When it is determined that the sample frequency has changed, the sample time is extended,
When it is determined that the detector has hit the sheet, the stepping motor is stopped. In this case, until the sample frequency changes, a sample time outside the self-starting frequency can be set to shorten the phase switching cycle, increase the rotation speed of the stepping motor, and determine that the sample frequency has changed. Time until the time can be shortened.

【0024】また、サンプル周波数が変化したときに、
自起動周波数内のサンプル時間を設定して相切換周期を
長くすることができる。したがって、サンプル周波数の
変化を正確に判断することができるだけでなく、検出器
を用紙に突き当てた後、直ちにステッピングモータを停
止させることができる。
When the sample frequency changes,
The phase switching cycle can be lengthened by setting the sample time within the self-starting frequency. Therefore, not only can the change in the sample frequency be accurately determined, but also the stepping motor can be stopped immediately after the detector hits the paper.

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

【図1】本発明の実施例における紙厚検出回路のブロッ
ク図である。
FIG. 1 is a block diagram of a paper thickness detection circuit according to an embodiment of the present invention.

【図2】本発明の実施例における紙厚検出回路のタイム
チャートである。
FIG. 2 is a time chart of the paper thickness detection circuit according to the embodiment of the present invention.

【図3】本発明の実施例におけるキャリッジの押込量、
サンプル周波数及びステッピングモータのパルスレート
の関係図である。
FIG. 3 is a diagram illustrating a pushing amount of a carriage according to the embodiment of the present invention.
FIG. 4 is a diagram illustrating a relationship between a sample frequency and a pulse rate of a stepping motor.

【図4】本発明の実施例における紙厚検出回路の動作を
示すフローチャートである。
FIG. 4 is a flowchart illustrating an operation of the paper thickness detection circuit according to the embodiment of the present invention.

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

11 ステッピングモータ 21 LC発振回路 22 第1タイマカウンタ 23 第2タイマカウンタ SG1 パルス信号 Tm 、Tn サンプル時間 fm 、fn サンプル周波数11 the stepping motor 21 LC oscillator circuit 22 first timer counter 23 second timer counter SG1 pulse signal T m, T n sample times f m, f n sample frequency

フロントページの続き (56)参考文献 特開 平3−272881(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01B 7/00 - 7/34 102 G01B 21/00 - 21/32 B41J 23/00 - 25/32 Continuation of the front page (56) References JP-A-3-272881 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G01B 7/ 00-7/34 102 G01B 21/00- 21/32 B41J 23/00-25/32

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 (a)コアギャップに対応するインダク
タンスをパルス変換してパルス信号を発生させ、(b)
第1タイマカウンタによってサンプル時間を設定し、
(c)該サンプル時間内における前記パルス信号のパル
ス数を第2タイマカウンタによってカウントしてサンプ
ル周波数を計算し、(d)該サンプル周波数に基づい
て、サンプル周波数が変化したかどうかの判断、及び検
出器が用紙に突き当たったかどうかの判断を行い、
(e)前記サンプル周波数が変化したことの判断が行わ
れた場合に前記サンプル時間を長くし、前記検出器が用
紙に突き当たったことの判断が行われた場合にステッピ
ングモータを停止させることを特徴とする自動紙厚検出
方法。
1. A pulse signal is generated by pulse-converting an inductance corresponding to a core gap.
The sample time is set by the first timer counter,
(C) counting the number of pulses of the pulse signal within the sample time by a second timer counter to calculate a sample frequency; (d) determining whether the sample frequency has changed based on the sample frequency; Determine whether the detector has hit the paper,
(E) The sample time is lengthened when it is determined that the sample frequency has changed, and the stepping motor is stopped when it is determined that the detector has hit a sheet. Automatic paper thickness detection method.
JP12779695A 1995-05-26 1995-05-26 Automatic paper thickness detection method Expired - Lifetime JP3076218B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12779695A JP3076218B2 (en) 1995-05-26 1995-05-26 Automatic paper thickness detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12779695A JP3076218B2 (en) 1995-05-26 1995-05-26 Automatic paper thickness detection method

Publications (2)

Publication Number Publication Date
JPH08320203A JPH08320203A (en) 1996-12-03
JP3076218B2 true JP3076218B2 (en) 2000-08-14

Family

ID=14968895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12779695A Expired - Lifetime JP3076218B2 (en) 1995-05-26 1995-05-26 Automatic paper thickness detection method

Country Status (1)

Country Link
JP (1) JP3076218B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE502004005511D1 (en) * 2004-09-20 2007-12-27 Mueller Martini Holding Ag Method and device for measuring the thickness of printed products passing through a measuring device at specific intervals in a flow rate

Also Published As

Publication number Publication date
JPH08320203A (en) 1996-12-03

Similar Documents

Publication Publication Date Title
JP3076218B2 (en) Automatic paper thickness detection method
EP0374797B1 (en) Digital servo system for controlling rotational speed of rotary body
JP2563302B2 (en) Driving method for stepping motor and sheet feeding apparatus using the driving method
JPH106607A (en) Method for discriminating kind of printing sheet in serial printer
JP3068358B2 (en) Image forming apparatus having fan motor failure detecting means and image forming apparatus
EP0128412B1 (en) Impact printer with print hammer firing compensation circuit
JP3061091B2 (en) Serial printer
JP2975141B2 (en) How to set the initial carriage position of a serial printer
JPS6336236B2 (en)
JPH04233467A (en) Method and apparatus for measuring speed of motor
JP2532078B2 (en) Recording device
JP2686840B2 (en) Contact detection circuit between platen and print head
JPS6316318Y2 (en)
JPH0899439A (en) Wire dot recorder
JPH08197894A (en) Image forming apparatus
JPS6048343B2 (en) Printing timing control method for printing device
JPH06312554A (en) Printing device
JPS5821725Y2 (en) Automatic marking device
JPH08118756A (en) Method and apparatus for controlling printing-head reversal in printer
JPH0772735B2 (en) Rotation speed detection method
JP3100782B2 (en) Drive control device for dot print head
JPH1020389A (en) Recording head drive controller for camera system
JPH02171268A (en) Printing command signal issuance controller
JPH09193394A (en) Ink jet recording method and apparatus therefor
JPS6236875B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000530

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

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100609

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100609

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110609

Year of fee payment: 11

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

S631 Written request for registration of reclamation of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313631

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

Free format text: PAYMENT UNTIL: 20110609

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120609

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130609

Year of fee payment: 13

EXPY Cancellation because of completion of term