JP2686840B2 - Contact detection circuit between platen and print head - Google Patents

Contact detection circuit between platen and print head

Info

Publication number
JP2686840B2
JP2686840B2 JP2069831A JP6983190A JP2686840B2 JP 2686840 B2 JP2686840 B2 JP 2686840B2 JP 2069831 A JP2069831 A JP 2069831A JP 6983190 A JP6983190 A JP 6983190A JP 2686840 B2 JP2686840 B2 JP 2686840B2
Authority
JP
Japan
Prior art keywords
print head
platen
inductance
frequency
oscillation
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
JP2069831A
Other languages
Japanese (ja)
Other versions
JPH03272881A (en
Inventor
雅夫 矢治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2069831A priority Critical patent/JP2686840B2/en
Publication of JPH03272881A publication Critical patent/JPH03272881A/en
Application granted granted Critical
Publication of JP2686840B2 publication Critical patent/JP2686840B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、プリンタにおける印字ヘッドと印字用紙と
の間隔を自動的に用紙の厚さや印字速度等に応じた所定
量に設定するためのプラテンと印字ヘッドとの当接検出
回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a platen for automatically setting a distance between a print head and a printing paper in a printer to a predetermined amount according to the thickness of the paper, the printing speed, and the like. And a print head contact detection circuit.

(従来の技術) 第2図は、従来のプリンタ装置の要部を示す斜視図で
ある。
(Prior Art) FIG. 2 is a perspective view showing a main part of a conventional printer device.

図示の装置は、印字ヘッド11と、キャリッジ12と、プ
ロテクタ13と、ステッピングモータ17と、プラテン20等
から成る。
The illustrated apparatus includes a print head 11, a carriage 12, a protector 13, a stepping motor 17, a platen 20 and the like.

印字ヘッド11は、ドットインパクト式の印字ヘッドで
あり、プラテン20上の用紙19にワイヤの先端を当接させ
て印字を行なう。
The print head 11 is a dot impact type print head, and performs printing by bringing the tip of the wire into contact with the paper 19 on the platen 20.

キャリッジ12は、印字ヘッド11を搭載している。この
キャリッジ12は、シャフト18で支持されている。シャフ
ト18は、一端に調製カム22a及びギア23が設けられてお
り、他端に調整カム22b及びスリットディスク24が設け
られている。このシャフト18は、両端に取付けられてい
るスプリング25によりカムフォロア26側に寄せられてい
る。
The carriage 12 carries the print head 11. The carriage 12 is supported by a shaft 18. The shaft 18 is provided with a preparation cam 22a and a gear 23 at one end, and an adjustment cam 22b and a slit disk 24 at the other end. The shaft 18 is moved toward the cam follower 26 by springs 25 attached to both ends.

また、シャフト18の一方に設けられたギア23は、ギア
列27a、27b、27cを介し、ステッピングモータ17の回転
が伝えられるようになっている。
A gear 23 provided on one side of the shaft 18 is adapted to transmit the rotation of the stepping motor 17 via gear trains 27a, 27b, 27c.

プロテクタ13は、用紙19をプラテン20に押し付けるも
のである。このプロテクタ13は、キャリッジ12に固定さ
れており、印字ヘッド11とプラテン20との間に位置する
ようにされている。
The protector 13 presses the paper 19 against the platen 20. The protector 13 is fixed to the carriage 12, and is located between the print head 11 and the platen 20.

次に、上述した装置の動作を説明する。 Next, the operation of the above-described device will be described.

ステッピングモータ17を反時計回りに回転させると、
ギア列27a、27b、27cと、ギア23を介し、シャフト18が
回転し、キャリッジ12は図中A方向に移動する。キャリ
ッジ12の位置は、シャフト18の他端に取付けられたスリ
ットディスク24を挟むセンサ28のスリット信号の変化を
図示しない制御部で計数することによって監視されてお
り、用紙をプリンタにセットする際にはプロテクタ13と
プラテン20の間隔を用紙19のセットに支障のない距離だ
け確保する位置(以下、退避位置と呼ぶ)まで、キャリ
ッジ12を移動させる。
When the stepping motor 17 is rotated counterclockwise,
The shaft 18 rotates via the gear trains 27a, 27b, 27c and the gear 23, and the carriage 12 moves in the A direction in the drawing. The position of the carriage 12 is monitored by counting the change in the slit signal of the sensor 28 sandwiching the slit disk 24 attached to the other end of the shaft 18 by a control unit (not shown), and when setting the paper in the printer. Moves the carriage 12 to a position (hereinafter referred to as a retreat position) where the distance between the protector 13 and the platen 20 is secured by a distance that does not hinder the setting of the paper 19.

第3図は、キャリッジ12の退避状態を示す図である。 FIG. 3 is a diagram showing a retracted state of the carriage 12.

図示の状態では、プラテン20上の用紙19とプロテクタ
13とは十分に離れており、プラテン13と印字ヘッド11と
は一定の間隔を有している。
In the illustrated state, the paper 19 on the platen 20 and the protector are
It is sufficiently distant from the platen 13, and the platen 13 and the print head 11 have a constant space.

次に、ステッピングモータ17を時計回りに回転させる
と、キャリッジ12はB方向に移動し、プロテクタ13が用
紙19を介してプラテン20を押す。このとき、図示しない
制御部がステッピングモータ17を一定量回転させようと
しているにもかかわらず、前記スリット信号の変化が得
られなくなったことを検知してプロテクタ13が用紙19を
介してプラテン20に突き当たったことを認識し、同時に
このときセットされている用紙の厚さを認識する。
Next, when the stepping motor 17 is rotated clockwise, the carriage 12 moves in the B direction, and the protector 13 pushes the platen 20 via the paper 19. At this time, even though the control unit (not shown) tries to rotate the stepping motor 17 by a certain amount, the protector 13 detects that the change of the slit signal is no longer obtained, and the protector 13 moves the platen 20 to the platen 20 via the paper 19. Recognize that it has hit, and at the same time recognize the thickness of the paper set at this time.

第4図は、印字ヘッド11のプロテクタ13がプラテン20
上の用紙19に当接した状態を示す図である。
In FIG. 4, the protector 13 of the print head 11 has the platen 20.
FIG. 6 is a diagram showing a state in which the upper sheet 19 is abutted.

図示の状態では、プラテン20上の用紙19にプロテクタ
13が当接し、プロテクタ13は変形し、印字ヘッド11との
間隔が狭くなっている。
In the state shown in the figure, protect the paper 19 on the platen 20 with the protector.
The protector 13 is deformed due to the contact of 13 and the gap between the protector 13 and the print head 11 is narrowed.

(発明が解決しようとする課題) しかしながら、上述した従来の技術には、次のような
問題があった。
(Problems to be solved by the invention) However, the above-mentioned conventional technology has the following problems.

即ち、プロテクタ13がプラテン20上の用紙19に突き当
たる位置は、ステッピングモータ17のトルクと機構部の
負荷とが平衡した点であった。ところが、ステッピング
モータ17のトルクの変動やギア列の負荷の変動等により
プロテクタ13が押え付けられる力が変動する。従って、
第4図に示すようなプロテクタ13がプラテン20上の用紙
19に当接してキャリッジ12が停止する位置が変動してし
まった。この結果、用紙の厚さの検出の精度が低下する
という問題があった。
That is, the position where the protector 13 abuts against the sheet 19 on the platen 20 was a point where the torque of the stepping motor 17 and the load of the mechanical section were balanced. However, the force with which the protector 13 is pressed fluctuates due to fluctuations in the torque of the stepping motor 17 and fluctuations in the gear train load. Therefore,
The protector 13 as shown in FIG.
The position where the carriage 12 comes into contact with 19 and stops is changed. As a result, there is a problem in that the accuracy of detecting the thickness of the paper is reduced.

本発明は以上の点に着目してなされたもので、印字ヘ
ッドのプロテクタの当接位置を常に一定にして用紙厚の
検出等を高精度で行なえるようにしたプラテンと印字ヘ
ッドとの当接検出回路を提供することを目的とするもの
である。
The present invention has been made in view of the above points. The contact between the platen and the print head is such that the contact position of the protector of the print head is always constant so that the paper thickness can be detected with high accuracy. It is intended to provide a detection circuit.

(問題点を解決するための手段) 本発明のプラテンと印字ヘッドとの当接検出回路は、
印字ヘッドがプラテンから離れているときに所定インダ
クタンスを出力し、印字ヘッドがプラテンに接近して印
字ヘッドとともに移動するプロテクタがプラテンに当接
するとインダクタンスを変化させるインダクタンス発生
手段と、前記インダクタンス発生手段が出力するインダ
クタンスに対応した周波数の発振信号を出力する発振回
路とを具備し、前記発振回路が出力する発振信号の周波
数を、前記印字ヘッドを所定量移動させる毎に固定周波
数と比較し、前記発振回路が出力する発振信号の周波数
が前記固定周波数に対して変化した場合に該印字ヘッド
と該プラテンとの当接を検出するようにするか、前記印
字ヘッドを最初に所定量移動させたときに前記発振回路
が出力する発振信号の周波数を記憶し、以後該印字ヘッ
ドを所定量移動させる毎に該発振回路が出力する発振信
号の周波数を、該記憶された周波数と比較し、該発振回
路が出力した発振信号の周波数が該記憶された周波数に
対して変化した場合に該印字ヘッドと前記プラテンとの
当接を検出するようにするか、または前記印字ヘッドを
所定量移動させる毎に、移動前に前記発振回路が出力し
た発振信号の周波数と移動後に該発振回路が出力した発
振信号の周波数とを比較し、移動の前後で両方の周波数
に変化があった場合に該印字ヘッドと前記プラテンとの
当接を検出するようにしたことを特徴とするものであ
る。
(Means for Solving Problems) The contact detection circuit between the platen and the print head of the present invention is
When the print head is apart from the platen, a predetermined inductance is output, and when the protector moving close to the platen and moving with the print head comes into contact with the platen, the inductance generating means and the inductance generating means change the inductance. An oscillating circuit that outputs an oscillating signal having a frequency corresponding to the output inductance, compares the frequency of the oscillating signal output by the oscillating circuit with a fixed frequency every time the print head is moved by a predetermined amount, and oscillates The contact between the print head and the platen is detected when the frequency of the oscillation signal output from the circuit changes with respect to the fixed frequency, or when the print head is first moved by a predetermined amount. The frequency of the oscillation signal output by the oscillation circuit is stored, and thereafter the print head is moved by a predetermined amount. The frequency of the oscillation signal output from the oscillation circuit is compared with the stored frequency every time the frequency of the oscillation signal output from the oscillation circuit changes with respect to the stored frequency. The contact between the platen and the platen is detected, or each time the print head is moved by a predetermined amount, the frequency of the oscillation signal output by the oscillation circuit before the movement and the oscillation output by the oscillation circuit after the movement. It is characterized in that the frequency of the signal is compared and the contact between the print head and the platen is detected when both frequencies change before and after the movement.

(作用) 本発明のプラテンと印字ヘッドとの当接検出回路にお
いては、印字ヘッドに設けられたインダクタンス発生手
段に接続した発振信号が出力する発振信号の周波数を検
出する。そしてこの周波数の変化を検出したとき、印字
ヘッドの間隔調整手段を停止し、そのときの用紙厚等を
検出する。従って、間隔調整手段のトルク変動や負荷変
動によって影響されずに正確な当接位置を検出すること
ができる。これにより、例えば、用紙厚等を正確に検出
することができる。この結果、印字圧を常に用紙厚に応
じた適切なものとすることができ、印字品位の向上を図
ることができる。
(Function) In the contact detection circuit between the platen and the print head of the present invention, the frequency of the oscillation signal output by the oscillation signal connected to the inductance generating means provided in the print head is detected. When the change in the frequency is detected, the interval adjusting means of the print head is stopped and the sheet thickness at that time is detected. Therefore, an accurate contact position can be detected without being affected by torque fluctuations and load fluctuations of the interval adjusting means. Thereby, for example, the sheet thickness and the like can be accurately detected. As a result, the printing pressure can always be made appropriate according to the paper thickness, and the printing quality can be improved.

(実施例) 第1図は、本発明のプラテンと印字ヘッドとの当接検
出回路を備えたプリンタ装置の構成を示すブロック図で
ある。
(Embodiment) FIG. 1 is a block diagram showing a configuration of a printer device including a contact detection circuit between a platen and a print head according to the present invention.

図示の装置は、インダクタンス発生手段1と、間隔調
整手段2と、コンデンサ3と、発振回路4と、発振信号
計数回路5、用紙厚検出手段6等から成る。
The illustrated apparatus includes an inductance generating means 1, a space adjusting means 2, a capacitor 3, an oscillating circuit 4, an oscillating signal counting circuit 5, a paper thickness detecting means 6 and the like.

インダクタンス発生手段1は、通常は一定のインダク
タンスを発生しており、印字ヘッド11のプロテクタ13が
プラテン20上の用紙19に当接する時にインダクタンスの
変化を起こすものである。即ち、印字ヘッド11を搭載し
たキャリッジ12には、用紙抑えのためのプロテクタ13を
有する。
The inductance generating means 1 normally generates a constant inductance, and causes a change in inductance when the protector 13 of the print head 11 contacts the paper 19 on the platen 20. That is, the carriage 12 having the print head 11 has a protector 13 for holding the paper.

プロテクタ13の印字ヘッド11の側面に位置する部分に
は、磁性体14が備えられている。そして、この磁性体14
に対向するように磁性体15が設けられている。磁性体15
は、固定部材21によってキャリッジ12に固定されてお
り、コイル16が巻かれている。
A magnetic body 14 is provided on a portion of the protector 13 located on the side surface of the print head 11. And this magnetic body 14
The magnetic body 15 is provided so as to face the. Magnetic material 15
Is fixed to the carriage 12 by a fixing member 21, and the coil 16 is wound.

第5図は、インダクタンス発生手段の詳細な構成を示
す斜視図である。
FIG. 5 is a perspective view showing a detailed configuration of the inductance generating means.

この図において、磁性体14及び15の間の距離l2/2が
変化することによりインダクタンスが変化する。
In this figure, the inductance is changed by a distance l 2/2 between the magnetic body 14 and 15 is changed.

図示の磁性体14及び15の磁路長l1は、 l1=l1′+l1″、 空隙部の磁路長l2は、 l2=(l2/2)×2、 磁性体の断面積は、S、 磁性体の透磁率は、μ1、 空隙部の透磁率は、μ2、 コイルの巻数は、N、 コイルの電流は、Iである。Magnetic path length l 1 of the magnetic member 14 and 15 of the illustrated, l 1 = l 1 '+ l 1 ", the magnetic path length l 2 of the gap portion, l 2 = (l 2/ 2) × 2, the magnetic The cross-sectional area is S, the magnetic permeability of the magnetic material is μ 1 , the magnetic permeability of the void is μ 2 , the number of turns of the coil is N, and the current of the coil is I.

このとき、磁性体の内部の磁気抵抗R1は、 R1=l1/μ1S、 空隙部の磁気抵抗R2は、 R2=l2/μ2Sである。At this time, the magnetic resistance R 1 inside the magnetic material is R 1 = l 1 / μ 1 S, and the magnetic resistance R 2 in the void portion is R 2 = l 2 / μ 2 S.

従って、全体の磁気抵抗Rは、 R=R1+R2=l1/μ1S+l2/μ2Sである。Therefore, the total magnetic resistance R is R = R 1 + R 2 = l 1 / μ 1 S + l 2 / μ 2 S.

また、起磁力Fは、 F=NIである。 The magnetomotive force F is F = NI.

一方、発生磁束φは、 φ=F/R=NI/(l1/μ1S+l2/μ2S)である。On the other hand, the generated magnetic flux φ is φ = F / R = NI / (l 1 / μ 1 S + l 2 / μ 2 S).

従って、インダクタンスLは、 L=Nφ/I=N2/(l1/μ1S+l2/μ2S)であ
る。
Therefore, the inductance L is L = Nφ / I = N 2 / (l 1 / μ 1 S + l 2 / μ 2 S).

このとき、発振器の周波数fは、別個に設けるコンデ
ンサCにより、 f=1/2π(LC)1/2で求められる。従って、周波数f
の変化を読み取ることにより、磁性体14及び15の距離l
2/2を求めることができる。
At this time, the frequency f of the oscillator, the capacitor C provided separately, given by f = 1 / 2π (LC) 1/2. Therefore, the frequency f
By reading the change in
It can be determined 2/2.

周波数fの変化の読み取りは、以下のような発振回路
の発振周波数を読み取ることにより行なわれる。
The change in the frequency f is read by reading the oscillation frequency of the oscillation circuit as described below.

第6図は、第1図の発振回路4の詳細な構成を示す回
路図である。
FIG. 6 is a circuit diagram showing a detailed configuration of the oscillator circuit 4 of FIG.

図において、コイル16とコンデンサ3とが並列に接続
されている。この並列回路は、コンデンサ31を介してイ
ンバータ32と抵抗33との並列回路に接続されている。ま
たこの並列回路は、コンデンサ34を介してインバータ36
と抵抗37との並列回路に接続されている。そして、この
並列回路の出力は、負帰還抵抗39を介してコンデンサ31
の入力に戻されている。このように接続したインバータ
36の出力をインバータ38を介して取出した信号が発振信
号となる。
In the figure, the coil 16 and the capacitor 3 are connected in parallel. This parallel circuit is connected to the parallel circuit of the inverter 32 and the resistor 33 via the capacitor 31. This parallel circuit also includes an inverter 36 via a capacitor 34.
And resistor 37 connected in parallel. The output of this parallel circuit is connected to the capacitor 31 via the negative feedback resistor 39.
Has been returned to the input of. Inverter connected in this way
A signal obtained by extracting the output of 36 through the inverter 38 becomes an oscillation signal.

第7図は、磁性体14及び15間の距離と発振周波数との
関係を示すグラフである。
FIG. 7 is a graph showing the relationship between the distance between the magnetic bodies 14 and 15 and the oscillation frequency.

この図に示すように、磁性体14及び15間の距離により
周波数の変化率が異なるので、検出精度を向上させるた
め、できるだけ周波数の変化率の大きくなる距離に磁性
体14及び15間の距離を設定する。
As shown in this figure, the frequency change rate varies depending on the distance between the magnetic bodies 14 and 15.Therefore, in order to improve the detection accuracy, the distance between the magnetic bodies 14 and 15 should be set to a distance at which the frequency change rate is as large as possible. Set.

例えば、磁性体14及び15間の距離の初期値を0.3mmと
する。このとき、発振器の周波数は、160KHzである。こ
の磁性体14及び15間の距離が0.2mmに変化すると、発振
器の周波数は、150KHzに変化する。
For example, the initial value of the distance between the magnetic bodies 14 and 15 is 0.3 mm. At this time, the frequency of the oscillator is 160 KHz. When the distance between the magnetic bodies 14 and 15 changes to 0.2 mm, the frequency of the oscillator changes to 150 KHz.

このような周波数変化は、発振信号計数回路5により
検出される周波数の変化により検出される。
Such a frequency change is detected by a change in the frequency detected by the oscillation signal counting circuit 5.

第8図は、発振信号計数回路5の入力信号及び出力信
号を示す図である。
FIG. 8 is a diagram showing an input signal and an output signal of the oscillation signal counting circuit 5.

入力信号は、発振回路4からの発振信号、CPUからの
リード信号及びCPUからのステッピングモータ駆動信号
である。CPUからの信号は、ロウアクティブであるとす
る。
The input signals are the oscillation signal from the oscillation circuit 4, the read signal from the CPU, and the stepping motor drive signal from the CPU. The signal from the CPU is assumed to be low active.

出力信号は、発振信号のカウンタ値である。 The output signal is the counter value of the oscillation signal.

ここで、第1図のその他の構成部について説明する。 Here, the other components of FIG. 1 will be described.

間隔調整手段2は、ステッピングモータを備え、用紙
厚検出手段6は、スリットディスク等を備えている。こ
れらは、従来の構成と同じもので、詳細は第2図で説明
したものと同じである。
The space adjusting means 2 includes a stepping motor, and the paper thickness detecting means 6 includes a slit disk or the like. These are the same as the conventional configuration, and the details are the same as those described in FIG.

また、装置の制御のため、CPU30、ROM31、RAM32等が
備えられている。
Further, a CPU 30, a ROM 31, a RAM 32 and the like are provided for controlling the device.

CPU30は、ROM31又はRAM32から読み出されたプログラ
ムに従って各部の制御を行なう。
The CPU 30 controls each unit according to the program read from the ROM 31 or the RAM 32.

ROM31は、リード・オンリ・メモリであり、CPU30のデ
ータバス34及びアドレスバス33に接続されている。
The ROM 31 is a read-only memory and is connected to the data bus 34 and the address bus 33 of the CPU 30.

RAM32は、ランダム・アクセス・メモリであり、CPU30
のデータバス34及びアドレスバス33に接続されている。
RAM32 is random access memory, CPU30
Are connected to the data bus 34 and the address bus 33.

第9図は、発振信号計数回路の動作を示すタイムチャ
ートである。
FIG. 9 is a time chart showing the operation of the oscillation signal counting circuit.

発振信号計数回路5は、まず、ステッピングモータ駆
動信号を受信する。この駆動信号の受信時に、カウンタ
51がリセットされる。そして、発振信号をカウントす
る。即ち、発振信号を1パルス入力する毎にカウンタ51
がカウントアップされる。そして、次に、ステッピング
モータ駆動信号を受信する直前に、リード信号が入力さ
れ、カウンタの値がCPU30により読み取られる。その
後、ステッピングモータ駆動信号が入力されることによ
り、カウンタ51がリセットされる。そして、同様に、発
振信号をカウントする。このようにして、ステッピング
モータ駆動信号の間に発生する発振信号がすべて読み取
られる。ステッピングモータ駆動信号は、等間隔で出力
されるので、発振信号の単位時間当りのパルス数、即ち
周波数を検出することができる。
The oscillation signal counting circuit 5 first receives a stepping motor drive signal. When receiving this drive signal, the counter
51 is reset. Then, the oscillation signal is counted. That is, the counter 51 is input every time one pulse of the oscillation signal is input.
Is counted up. Then, immediately before receiving the stepping motor drive signal, the read signal is input and the value of the counter is read by the CPU 30. After that, the counter 51 is reset by inputting the stepping motor drive signal. Then, similarly, the oscillation signals are counted. In this way, all oscillation signals generated during the stepping motor drive signal are read. Since the stepping motor drive signals are output at equal intervals, it is possible to detect the number of pulses of the oscillation signal per unit time, that is, the frequency.

尚、ステッピングモータ駆動信号が出力されると、ス
テッピングモータ相信号は、ステッピングモータの次の
相を駆動するように切換えられて出力される。これによ
り、ステッピングモータは、一定の角度ずつ回転する。
When the stepping motor drive signal is output, the stepping motor phase signal is switched and output so as to drive the next phase of the stepping motor. As a result, the stepping motor rotates by a constant angle.

次に、上述した装置の動作を説明する。 Next, the operation of the above-described device will be described.

第10図は、第1図の装置のCPU30で実行されるプログ
ラムを示すフローチャートである。
FIG. 10 is a flowchart showing a program executed by the CPU 30 of the apparatus shown in FIG.

まず、印字ヘッド11の位置を調節するため、ステッピ
ングモータの駆動が開始され(ステップS1)、ステッピ
ングモータ駆動信号が送出される(ステップS2)。次
に、一定時間の待機が行なわれた後(ステップS3)、発
振信号計数回路のカウンタ51が読み取られる(ステップ
S4)。この場合の一定時間は、カウンタ51の読み取りが
次のステッピングモータ駆動信号の発生の直前で行なわ
れるような時間が設定される。
First, in order to adjust the position of the print head 11, driving of the stepping motor is started (step S1), and a stepping motor drive signal is sent (step S2). Next, after waiting for a fixed time (step S3), the counter 51 of the oscillation signal counting circuit is read (step S3).
S4). The fixed time in this case is set such that the reading of the counter 51 is performed immediately before the generation of the next stepping motor drive signal.

そして、カウンタ51のカウンタ値により周波数が求め
られ、この周波数が固定周波数(例えば、160KHz)に対
して変化したか否かが判別される(ステップS5)。固定
周波数に対する変化がなければ、プロテクタ13は、プラ
テン20上の用紙19に当接していないので、更に印字ヘッ
ド11を移動させるべく、ステッピングモータ駆動信号を
送出する(ステップS2)。
Then, the frequency is obtained from the counter value of the counter 51, and it is determined whether or not the frequency has changed with respect to a fixed frequency (for example, 160 KHz) (step S5). If there is no change with respect to the fixed frequency, since the protector 13 is not in contact with the paper 19 on the platen 20, the protector 13 sends a stepping motor drive signal to further move the print head 11 (step S2).

固定周波数に対する変化があった場合には、プロテク
タ13がプラテン20上の用紙19に当接したことが検出され
る。このときの用紙厚検出手段6の検出値を読み取って
用紙厚を求める。そして、この用紙厚に応じた印字圧を
設定すべく、用紙厚に応じた所定量だけステッピングモ
ータを逆方向へ駆動する(ステップS6)。
When there is a change with respect to the fixed frequency, it is detected that the protector 13 has come into contact with the sheet 19 on the platen 20. The sheet thickness is obtained by reading the detection value of the sheet thickness detecting unit 6 at this time. Then, in order to set the printing pressure according to the sheet thickness, the stepping motor is driven in the reverse direction by a predetermined amount according to the sheet thickness (step S6).

第11図は、第1図のCPUで実行されるプログラムの他
の例を示す図である。
FIG. 11 is a diagram showing another example of a program executed by the CPU of FIG.

まず、ステッピングモータの駆動が開始され(ステッ
プS21)、ステッピングモータ駆動信号が送出される
(ステップS22)。そして、一定時間の待機が行なわれ
た後(ステップS23)、ステッピングモータ駆動信号が
1ステップ目のものか否かが判別される(ステップS2
4)。1ステップ目であれば、発振信号計数回路を読み
取った値f0は図示しないレジスタに記憶される(ステ
ップS25)。この値f0は、プロテクタ13が変形しない状
態での発振回路の発振周波数であるので、プラテン20上
の用紙19にプロテクタ13が当接しない状態で出力される
発振周波数である。一方、1ステップ目でなければ、発
振信号を読み取った値fは図示しないレジスタに記憶さ
れる(ステップS26)。この値fは、プラテン20上の用
紙19にプロテクタ13が当接しない間は、値f0と等し
い。
First, driving of the stepping motor is started (step S21), and a stepping motor drive signal is sent (step S22). Then, after waiting for a certain period of time (step S23), it is determined whether or not the stepping motor drive signal is for the first step (step S2).
Four). If it is the first step, the value f 0 read by the oscillation signal counting circuit is stored in a register (not shown) (step S25). This value f 0 is the oscillation frequency of the oscillation circuit when the protector 13 is not deformed, and is therefore the oscillation frequency that is output when the protector 13 is not in contact with the paper 19 on the platen 20. On the other hand, if it is not the first step, the value f obtained by reading the oscillation signal is stored in the register (not shown) (step S26). This value f is equal to the value f 0 while the protector 13 is not in contact with the sheet 19 on the platen 20.

そして、値f0とfとを比較し(ステップS27)、その
差が所定値Δfより大きければ、プラテン20上の用紙19
に印字ヘッド11が当接したことが検出される。このと
き、用紙厚検出手段6により用紙厚を検出し、その用紙
厚に応じた印字圧を設定すべく、ステッピングモータを
用紙厚に応じた所定量だけ逆方向に駆動させる(ステッ
プS28)。
Then, the values f 0 and f are compared (step S27), and if the difference is larger than the predetermined value Δf, the paper 19 on the platen 20 is
It is detected that the print head 11 has come into contact with. At this time, the sheet thickness detecting means 6 detects the sheet thickness, and the stepping motor is driven in the reverse direction by a predetermined amount corresponding to the sheet thickness in order to set the printing pressure according to the sheet thickness (step S28).

このような制御によれば、以下のような効果が得られ
る。
According to such control, the following effects can be obtained.

第12図は、第5図の磁性体間の距離と発振回路の発振
周波数の関係を示すグラフである。
FIG. 12 is a graph showing the relationship between the distance between the magnetic bodies shown in FIG. 5 and the oscillation frequency of the oscillation circuit.

磁性体間の距離と発振周波数とは、一定の関係がある
が、温度の変化等によりコイル16のインダクタンス等が
変化する。従って、プロテクタ13が用紙19に当接しない
状態での磁性体間距離d1に対応した発振周波数f0は、
一定値とならず、高温では、f0′となる。このため、
発振周波数が一定の値f1になったとき、図示のよう
に、磁性体間距離はd2となってしまう。即ち、第10図
の制御では、磁性体間距離がd1のときに既にプロテク
タ13が用紙19に当接していても、その当接が検出できな
い。
The distance between the magnetic bodies and the oscillation frequency have a fixed relationship, but the inductance of the coil 16 changes due to temperature changes and the like. Therefore, the oscillation frequency f 0 corresponding to the distance d 1 between the magnetic bodies when the protector 13 is not in contact with the paper 19 is
It does not become a constant value, but becomes f 0 ′ at high temperature. For this reason,
When the oscillation frequency reaches a constant value f 1 , the distance between magnetic bodies becomes d 2 as shown in the figure. That is, in the control of FIG. 10, even if the protector 13 is already in contact with the sheet 19 when the distance between the magnetic bodies is d 1 , the contact cannot be detected.

一方、第11図の制御では、用紙厚の検出の前に発振周
波数の初期値を求め、この初期値からの変化Δfにより
印字ヘッドの当接を検出するようにしているので、高温
状態においても、磁性体間距離が所定値d1となったこ
とが確実に検出される。
On the other hand, in the control of FIG. 11, the initial value of the oscillation frequency is obtained before the detection of the paper thickness, and the contact of the print head is detected by the change Δf from this initial value, so that it is possible to detect it even in the high temperature state. , It is surely detected that the distance between the magnetic bodies reaches the predetermined value d 1 .

尚、上述した実施例においては、ステッピングモータ
駆動信号が1ステップ目のときの発振信号計数回路を読
み取った値f0と、その他のときの発振信号計数回路を
読み取った値fとを比較するようにしたが、これに限ら
ず、ステッピングモータ駆動信号の連続するステップに
ついて、発振信号計数回路を読み取った値f1及びf2
比較するようにしてもよい。これらの値の差が所定値Δ
fより大きければ、プラテン20上の用紙19にプロテクタ
13が当接したことが検出される。
In the embodiment described above, the value f 0 read by the oscillation signal counting circuit when the stepping motor drive signal is the first step is compared with the value f 0 read by the oscillation signal counting circuit at other times. However, the present invention is not limited to this, and the values f 1 and f 2 read by the oscillation signal counting circuit may be compared for successive steps of the stepping motor drive signal. The difference between these values is the predetermined value Δ
If it is larger than f, protect the paper 19 on the platen 20 with the protector.
The contact of 13 is detected.

(発明の効果) 以上説明したように、本発明のプラテンと印字ヘッド
との当接検出回路によれば、印字ヘッドのプラテン上の
用紙への当接をインダクタンス発生手段とコンデンサと
で構成した発振回路の発振周波数の変化により検出し、
このときの用紙厚を検出して印字圧を調節するようにし
たので、次のような効果がある。
As described above, according to the contact detection circuit of the platen and the print head of the present invention, the contact between the print head and the paper on the platen is oscillated by the inductance generating means and the capacitor. Detected by the change in the oscillation frequency of the circuit,
Since the printing pressure is adjusted by detecting the paper thickness at this time, the following effects can be obtained.

即ち、印字ヘッドのプラテン上の用紙への当接をステ
ッピングモータのトルクが平衡状態となる前に検出する
ことができ、ステッピングモータのトルクの変化等に依
存しない安定した当接位置の検出を行なうことができ
る。これにより、用紙厚等の安定した検知を行なうこと
ができる。従って、用紙厚等の検出の精度を向上させる
ことができ、適切な印字圧の設定を行なうことができ
る。
In other words, the contact of the print head with the paper on the platen can be detected before the torque of the stepping motor reaches the equilibrium state, and the stable contact position can be detected without depending on the change in the torque of the stepping motor. be able to. As a result, it is possible to perform stable detection of the paper thickness and the like. Therefore, it is possible to improve the accuracy of detection of the paper thickness and the like, and it is possible to set an appropriate printing pressure.

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

第1図は本発明のプラテンと印字ヘッドとの当接検出回
路を備えたプリンタ装置の構成を示すブロック図、第2
図は従来の装置の構成を示す斜視図、第3図は印字ヘッ
ドの当接しない状態を示す図、第4図は印字ヘッドの当
接した状態を示す図、第5図はインダクタンス発生手段
の斜視図、第6図は第1図の発振回路4の斜視図、第7
図は磁性体間距離と発振回路周波数との関係を示すグラ
フ、第8図は発振信号計数回路の入出力を示す図、第9
図は発振信号計数回路の動作を示すタイムチャート、第
10図は第1図の装置のCPUで実行されるプログラムを示
すフローチャート、第11図は第1図の装置のCPUで実行
されるプログラムの他の例を示すフローチャート、第12
図は磁性体間距離と発振回路周波数との温度依存関係を
示すグラフである。 1……インダクタンス発生手段、2……間隔調整手段、
3……コンデンサ、4……発振回路、5……発振信号計
数回路、6……用紙厚検出手段、11……印字ヘッド、12
……キャリッジ、13……プロテクタ、14、15……磁性
体、16……コイル、19……用紙、20……プラテン。
FIG. 1 is a block diagram showing a configuration of a printer device including a contact detection circuit between a platen and a print head according to the present invention, and FIG.
FIG. 3 is a perspective view showing the structure of a conventional apparatus, FIG. 3 is a view showing a state where the print head is not in contact, FIG. 4 is a view showing a state where the print head is in contact, and FIG. FIG. 6 is a perspective view of the oscillator circuit 4 of FIG. 1, and FIG.
FIG. 8 is a graph showing the relationship between the distance between magnetic materials and the oscillation circuit frequency. FIG. 8 is a diagram showing the input / output of the oscillation signal counting circuit.
The figure is a time chart showing the operation of the oscillation signal counting circuit.
FIG. 10 is a flowchart showing a program executed by the CPU of the apparatus shown in FIG. 1, and FIG. 11 is a flowchart showing another example of a program executed by the CPU of the apparatus shown in FIG.
The figure is a graph showing the temperature-dependent relationship between the distance between magnetic materials and the oscillation circuit frequency. 1 ... Inductance generating means, 2 ... Interval adjusting means,
3 ... Capacitor, 4 ... Oscillation circuit, 5 ... Oscillation signal counting circuit, 6 ... Paper thickness detecting means, 11 ... Print head, 12
...... Carriage, 13 ...... Protector, 14, 15 ...... Magnetic material, 16 ...... Coil, 19 ...... Paper, 20 ...... Platen.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】印字ヘッドがプラテンから離れているとき
に所定インダクタンスを出力し、印字ヘッドがプラテン
に接近して印字ヘッドとともに移動するプロテクタがプ
ラテンに当接するインダクタンスを変化させるインダク
タンス発生手段と、 前記インダクタンス発生手段が出力するインダクタンス
に対応した周波数の発振信号を出力する発振回路とを具
備し、 前記発振回路が出力する発振信号の周波数を、前記印字
ヘッドを所定量移動させる毎に固定周波数と比較し、前
記発振回路が出力する発振信号の周波数が前記固定周波
数に対して変化した場合に該印字ヘッドと該プラテンと
の当接を検出するようにしたことを特徴とするプラテン
と印字ヘッドとの当接検出回路。
1. Inductance generating means for outputting a predetermined inductance when the print head is separated from the platen, and changing the inductance in which a protector moving close to the platen and moving with the print head contacts the platen. An oscillation circuit that outputs an oscillation signal having a frequency corresponding to the inductance output by the inductance generating means, and compares the frequency of the oscillation signal output by the oscillation circuit with a fixed frequency every time the print head is moved by a predetermined amount. The contact between the print head and the platen is detected when the frequency of the oscillation signal output from the oscillation circuit changes with respect to the fixed frequency. Contact detection circuit.
【請求項2】印字ヘッドがプラテンから離れているとき
に所定インダクタンスを出力し、印字ヘッドがプラテン
に接近して印字ヘッドとともに移動するプロテクタがプ
ラテンに当接するとインダクタンスを変化させるインダ
クタンス発生手段と、 前記インダクタンス発生手段が出力するインダクタンス
に対応した周波数の発振信号を出力する発振回路とを具
備し、 前記印字ヘッドを最初に所定量移動させたときに前記発
振回路が出力する発振信号の周波数を記憶し、以後該印
字ヘッドを所定量移動させる毎に該発振回路が出力する
発振信号の周波数を、該記憶された周波数と比較し、該
発振回路が出力した発振信号の周波数が該記憶された周
波数に対して変化した場合に該印字ヘッドと前記プラテ
ンとの当接を検出するようにしたことを特徴とするプラ
テンと印字ヘッドとの当接検出回路。
2. Inductance generating means for outputting a predetermined inductance when the print head is separated from the platen, and changing the inductance when the protector moving close to the platen and moving with the print head contacts the platen. An oscillation circuit that outputs an oscillation signal having a frequency corresponding to the inductance output by the inductance generating means, and stores the frequency of the oscillation signal output by the oscillation circuit when the print head is first moved by a predetermined amount. Then, every time the print head is moved by a predetermined amount, the frequency of the oscillation signal output by the oscillation circuit is compared with the stored frequency, and the frequency of the oscillation signal output by the oscillation circuit is compared with the stored frequency. The contact between the print head and the platen is detected when there is a change in Contact detecting circuit of the print head and the platen to.
【請求項3】印字ヘッドがプラテンから離れているとき
に所定インダクタンスを出力し、印字ヘッドがプラテン
に接近して印字ヘッドとともに移動するプロテクタがプ
ラテンに当接するとインダクタンスを変化させるインダ
クタンス発生手段と、 前記インダクタンス発生手段が出力するインダクタンス
に対応した周波数の発振信号を出力する発振回路とを具
備し、 前記印字ヘッドを所定量移動させる毎に、移動前に前記
発振回路が出力した発振信号の周波数と移動後に該発振
回路が出力した発振信号の周波数とを比較し、移動の前
後で両方の周波数に変化があった場合に該印字ヘッドと
前記プラテンとの当接を検出するようにしたことを特徴
とするプラテンと印字ヘッドとの当接検出回路。
3. Inductance generating means for outputting a predetermined inductance when the print head is separated from the platen, and changing the inductance when the protector moving close to the platen and moving with the print head contacts the platen. An oscillation circuit that outputs an oscillation signal having a frequency corresponding to the inductance output by the inductance generating means, and each time the print head is moved by a predetermined amount, the frequency of the oscillation signal output by the oscillation circuit before the movement. After the movement, the frequency of the oscillation signal output from the oscillation circuit is compared, and if there is a change in both the frequencies before and after the movement, the contact between the print head and the platen is detected. A contact detection circuit between the platen and the print head.
【請求項4】請求項1、2、3記載のプラテンと印字ヘ
ッドとの当接検出回路において、前記インダクタンス発
生手段は、印字ヘッドが搭載されているキャリッジユニ
ット上のプロテクタに配置された第1の磁性体と、 前記第1の磁性体に対し間隙を持って対向したキャリッ
ジ上の位置に配置され、コイルが巻かれた第2の磁性体
とからなり、 前記印字ヘッドがプラテンに近づく方向に移動したと
き、前記プロテクタがプラテン上の用紙に当接して該プ
ロテクタ印字ヘッド側に撓み、前記第1の磁性体と前記
第2の磁性体の間隙が狭まることにより、発生するイン
ダクタンスが変化するプラテンと印字ヘッドとの当接検
出回路。
4. A contact detecting circuit between a platen and a print head according to claim 1, wherein said inductance generating means is arranged on a protector on a carriage unit on which the print head is mounted. And a second magnetic body having a coil wound thereon, which is arranged at a position on the carriage facing the first magnetic body with a gap, and is arranged in a direction in which the print head approaches the platen. When moved, the protector comes into contact with the paper on the platen and bends toward the protector print head side, and the gap between the first magnetic body and the second magnetic body is narrowed, so that the generated inductance changes. Contact detection circuit between the and print head.
JP2069831A 1990-03-22 1990-03-22 Contact detection circuit between platen and print head Expired - Lifetime JP2686840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2069831A JP2686840B2 (en) 1990-03-22 1990-03-22 Contact detection circuit between platen and print head

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2069831A JP2686840B2 (en) 1990-03-22 1990-03-22 Contact detection circuit between platen and print head

Publications (2)

Publication Number Publication Date
JPH03272881A JPH03272881A (en) 1991-12-04
JP2686840B2 true JP2686840B2 (en) 1997-12-08

Family

ID=13414115

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2069831A Expired - Lifetime JP2686840B2 (en) 1990-03-22 1990-03-22 Contact detection circuit between platen and print head

Country Status (1)

Country Link
JP (1) JP2686840B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61195643U (en) * 1985-05-29 1986-12-05
JPS6221569A (en) * 1985-07-22 1987-01-29 Oki Electric Ind Co Ltd Adjustor for gap between printing head and platen

Also Published As

Publication number Publication date
JPH03272881A (en) 1991-12-04

Similar Documents

Publication Publication Date Title
JPH03224775A (en) Printing apparatus
JP2686840B2 (en) Contact detection circuit between platen and print head
JPS63112182A (en) Printer device
EP0335257B1 (en) Dot-matrix impact printer
JPH06155809A (en) Dot printer
EP2125377B1 (en) Imaging system for processing a media
JPH05221080A (en) Automatic adjustment mechanism of printer head
JP2924021B2 (en) Platen gap adjustment device
JPS6316318Y2 (en)
JPH03193375A (en) Booklet printer
JP3609269B2 (en) Image forming method and apparatus
JP2937712B2 (en) Wire Dot Head Wire Motion Detector
JPH0432561Y2 (en)
JPH0615907A (en) Printer
JPH02171268A (en) Printing command signal issuance controller
JPS6114965A (en) Print drive control device
JP3415258B2 (en) Dot printer shuttle controller
JP3042590B2 (en) Printer head gap adjustment device
JP2775131B2 (en) Printer print gap setting method
JP3019124B2 (en) Automatic platen gap adjustment device for printer
JPS60183164A (en) Shuttle mechanism of printer
JP3244204B2 (en) Serial printer device
JPH06171152A (en) Printing control device of serial imapct printer
JPH08320203A (en) Automatic paper thickness detecting method
JPH06255200A (en) Printer apparatus

Legal Events

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

Free format text: PAYMENT UNTIL: 20070822

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100822

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100822

Year of fee payment: 13