JP3244204B2 - Serial printer device - Google Patents

Serial printer device

Info

Publication number
JP3244204B2
JP3244204B2 JP12532893A JP12532893A JP3244204B2 JP 3244204 B2 JP3244204 B2 JP 3244204B2 JP 12532893 A JP12532893 A JP 12532893A JP 12532893 A JP12532893 A JP 12532893A JP 3244204 B2 JP3244204 B2 JP 3244204B2
Authority
JP
Japan
Prior art keywords
carriage
duty ratio
pulse signal
duty
temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP12532893A
Other languages
Japanese (ja)
Other versions
JPH06312553A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP12532893A priority Critical patent/JP3244204B2/en
Priority to TW082106819A priority patent/TW226450B/zh
Priority to US08/113,326 priority patent/US5427461A/en
Priority to KR1019930016999A priority patent/KR970003658B1/en
Priority to DE69315284T priority patent/DE69315284T2/en
Priority to AT93113914T priority patent/ATE160317T1/en
Priority to CN93117242A priority patent/CN1035288C/en
Priority to EP93113914A priority patent/EP0585881B1/en
Publication of JPH06312553A publication Critical patent/JPH06312553A/en
Application granted granted Critical
Publication of JP3244204B2 publication Critical patent/JP3244204B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、シリアルプリンタ装置
に関し、特に印字用ヘッドを搭載したキャリッジの移動
と記録ヘッドによる記録動作を同期させる同期信号発生
回路を備えたシリアルプリンタ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial printer, and more particularly to a serial printer having a synchronizing signal generating circuit for synchronizing the movement of a carriage having a print head and the printing operation of a print head.

【0002】[0002]

【従来の技術】シリアルプリンタ装置は、記録手段の印
字ヘッドを搭載するキャリッジを記録媒体に横方向に走
査させながら記録(印字)するものであるが、何らかの
影響でキャリッジに速度変動が発生すると記録結果の濃
度ムラが起こる。特に、カラープリンタにおいてはカラ
ーレジストレーションのズレが発生して問題となる。
2. Description of the Related Art In a serial printer, recording (printing) is performed while a carriage having a print head as a recording means is scanned in a horizontal direction on a recording medium. The resulting density unevenness occurs. In particular, in a color printer, a shift in color registration occurs, which is a problem.

【0003】従来より、これらの問題を解決する1つの
方法として記録手段を搭載したキャリッジの本体装置に
対する移動量の検出を行い、この出力結果との同期を図
りながら記録手段による記録動作を行う構成が知られて
いる。
Conventionally, as one method for solving these problems, the amount of movement of a carriage equipped with recording means with respect to a main unit is detected, and the recording operation is performed by the recording means while synchronizing with the output result. It has been known.

【0004】すなわち、本体側にリニアエンコーダのス
ケール部を固定し、このスケール部に対して相対移動す
るキャリッジ上にリニアエンコーダの検出部を構成する
一方、この検出部からの出力を増幅してキャリッジの外
部に取り出し、この増幅信号に同期して記録信号を発生
することにより、印字濃度ムラやカラーレジストレーシ
ョンのズレの発生を防止するものである。
That is, a scale section of a linear encoder is fixed on a main body side, and a detection section of a linear encoder is formed on a carriage that moves relatively to the scale section, while an output from the detection section is amplified to a carriage. The recording signal is generated in synchronization with the amplified signal, thereby preventing the occurrence of print density unevenness and color registration deviation.

【0005】しかしながら、磁気式のリニアエンコーダ
を用いた場合、その検出部のMR素子(磁気抵抗効果素
子)や回路素子には温度特性があり、温度に依存してパ
ルス信号のデューティ比が変動してしまうため、広範な
温度範囲で安定した記録(印字)品位を得るのが非常に
困難であった。
However, when a magnetic linear encoder is used, the MR element (magnetoresistive element) and the circuit element of the detection unit have temperature characteristics, and the duty ratio of the pulse signal varies depending on the temperature. Therefore, it is very difficult to obtain stable recording (printing) quality over a wide temperature range.

【0006】このため、温度特性により変動するデュー
ティ比を抑制する手段が設けられたシリアルプリンタ装
置が先願の特願平4−191504号、特願平4−25
5956号の特許出願に提案されている。
For this reason, serial printers provided with means for suppressing a duty ratio that fluctuates due to temperature characteristics are disclosed in Japanese Patent Application Nos. 4-191504 and 4-25.
No. 5956 is proposed in the patent application.

【0007】特願平4−191504号に記載の発明で
は、磁気ヘッドのMR素子に大きな温度依存性があるの
で、MR素子で検出した信号に温度特性による変動成分
が主に含まれると考え、変動成分を除去する回路または
変動成分を含まない信号だけを取り出す回路を設けるこ
とによってデューティ比の変動を抑制することが行われ
ている。
In the invention described in Japanese Patent Application No. 4-191504, since the MR element of the magnetic head has a large temperature dependency, it is considered that a signal detected by the MR element mainly includes a fluctuation component due to temperature characteristics. 2. Description of the Related Art Fluctuations in the duty ratio are suppressed by providing a circuit for removing a fluctuation component or a circuit for extracting only a signal containing no fluctuation component.

【0008】また、特願平4−255956号に記載の
発明では、同期信号発生回路の適当な位置における温度
変化を測定するためにサーミスタのような温度測定部を
同期信号発生回路に設け、この温度測定部によって得ら
れた情報およびメモリに予め格納した温度−理想的な参
照電圧特性に基づいて、同期信号を出力するコンパレー
タの1つの入力端子に入力される参照電圧を変化させて
デューティ比の変動を抑制することが行われている。な
お、従来例の同期信号発生回路およびデューティ比の変
動による印字の劣化に関する詳細な説明がこの特願平4
−255956号に記載されているので、参照された
い。
In the invention described in Japanese Patent Application No. 4-255596, a temperature measuring section such as a thermistor is provided in the synchronous signal generating circuit to measure a temperature change at an appropriate position of the synchronous signal generating circuit. On the basis of the information obtained by the temperature measurement unit and the temperature-ideal reference voltage characteristics stored in advance in the memory, the reference voltage input to one input terminal of the comparator that outputs the synchronization signal is changed to change the duty ratio. Variations have been suppressed. The detailed description of the conventional synchronous signal generating circuit and the deterioration of the printing due to the fluctuation of the duty ratio is disclosed in Japanese Patent Application No. Hei.
Reference is made to US Pat. No. 2,559,56.

【0009】[0009]

【発明が解決しようとする課題】しかし、先願の前記特
許出願に記載されたいずれのシリアルプリンタ装置も、
デューティ比の変動を抑えることに対してある程度の効
果を有するものの、なお以下に述べる問題点が依然とし
て存在していた。 (1)キャリッジの移動開始時からデューティ比の変動
を常に監視してその変動を抑制する機能を働かせる構成
をとっているので、キャリッジが定速度運動していると
きは良いが、動き始めや止まりかけなどの加速度運動ま
たは減速度運動しているときはデューティ比の変動が逆
に増大してしまう可能性がある(加速度運動時または減
速度運動時には、そもそもデューティ比は理想的な値で
ある50%にはならない)。 (2)キャリッジが動作して初めてデューティ比の変動
を抑制する構成をとっているので、記録(印字)の開始
時あるいは再開時の変動には対応できない。 (3)温度を計測し、その計測結果に基づいて変動の抑
制を行う場合に、温度特性の個体差に対応するために
は、事前に個体差情報を調査し、その情報をテーブルデ
ータ等として記録しておく不揮発性のメモリが別途必要
になる。
However, any of the serial printers described in the above-mentioned prior patent application,
Although it has a certain effect on suppressing the fluctuation of the duty ratio, the following problems still exist. (1) Since the duty ratio fluctuation is constantly monitored from the start of the movement of the carriage and the function of suppressing the fluctuation is employed, it is good when the carriage is moving at a constant speed, but the movement starts and stops. During acceleration motion or deceleration motion such as running, the fluctuation of the duty ratio may increase conversely (at the time of acceleration motion or deceleration motion, the duty ratio is an ideal value in the first place). %). (2) Since the configuration is such that the fluctuation of the duty ratio is suppressed only after the carriage is operated, it is not possible to cope with the fluctuation at the time of starting or restarting recording (printing). (3) When measuring temperature and suppressing fluctuations based on the measurement result, in order to cope with individual differences in temperature characteristics, individual difference information is investigated in advance and the information is used as table data or the like. A non-volatile memory for recording is required separately.

【0010】したがって、本発明の目的は、上記先願特
許出願の問題点を考慮して、デューティ比の変動の抑制
をより確実に実行しかつ広範な温度範囲で良好な記録結
果を得ることができるシリアルプリンタ装置を提供する
ことにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a recording apparatus which can more reliably suppress the fluctuation of the duty ratio and obtain good recording results in a wide temperature range in consideration of the problems of the above-mentioned patent application. It is to provide a serial printer device which can be used.

【0011】前述の目的を達成するために、本発明は以
下に記載の構成を採用するものである。即ち、本発明に
よれば、記録手段を搭載して往復移動するためのキャリ
ッジと、装置本体に配され磁気パターンを設けたスケー
ル部と、前記キャリッジに搭載され該磁気パターンを読
み取る磁気ヘッドと、を備える磁気式リニアエンコーダ
と、前記磁気ヘッドの検出に応じた信号を基準電圧と比
較してパルス信号を出力するコンパレータと、前記基準
電圧を変化させる基準電圧可変手段と、前記キャリッジ
の移動速度が一定であるときに前記コンパレータより出
力された前記パルス信号のデューティ比を検出するデュ
ーティ検出回路と、を有し、前記デューティ検出回路の
検出結果に基づいて、前記基準電圧を調整するシリアル
プリンタ装置において、前記磁気ヘッド付近の温度を測
定するサーミスタと、前記基準電圧を変化させたときに
前記サーミスタで測定した温度を記憶するメモリ部と、
を備え、前記装置本体の待機中に前記サーミスタで測定
した温度と前記メモリ部に記憶された温度との差が所定
値以上の場合には、前記デューティ検出回路により前記
パルス信号のデューティ比を検出し、前記基準電圧を調
整することを特徴とする。
In order to achieve the above object, the present invention employs the following configuration. That is, according to the present invention, a carriage for mounting and reciprocating recording means, a scale portion provided on the apparatus body and provided with a magnetic pattern, a magnetic head mounted on the carriage and reading the magnetic pattern, A magnetic linear encoder comprising: a comparator that outputs a pulse signal by comparing a signal corresponding to the detection of the magnetic head with a reference voltage; a reference voltage variable unit that changes the reference voltage; and a moving speed of the carriage. A duty detection circuit for detecting a duty ratio of the pulse signal output from the comparator when the duty ratio is constant, and adjusting the reference voltage based on a detection result of the duty detection circuit. A thermistor for measuring a temperature in the vicinity of the magnetic head; A memory unit for storing temperature measured by the thermistor,
And when the difference between the temperature measured by the thermistor and the temperature stored in the memory unit during standby of the apparatus main body is equal to or greater than a predetermined value, the duty ratio of the pulse signal is detected by the duty detection circuit. And adjusting the reference voltage.

【0012】また、本発明の他の実施例では、上記
(4)に代えて、 (5)待機中、キャリッジを移動させる事象が生じてい
るか否かを判断して、キャリッジを移動させる事象が生
じていない場合は、キャリッジの移動を禁止し、移動さ
せる事象が生じている場合のみ、記録動作を行わずにキ
ャリッジを移動させて、(1)に述べたデューティ比の
変動抑制処理および(3)に述べた温度の記憶を行う。
In another embodiment of the present invention, instead of the above (4), (5) during standby, it is determined whether or not an event to move the carriage has occurred, and the event to move the carriage is determined. If it has not occurred, the movement of the carriage is prohibited. Only when an event to move the carriage occurs, the carriage is moved without performing the printing operation, and the duty ratio fluctuation suppression processing described in (1) and (3) The memory of the temperature described in the above is stored.

【0013】[0013]

【実施例】以下に、本発明の好ましい実施例を図面を参
照して説明する。図1は記録媒体と共に示すシリアルプ
リンタ装置の要部斜視図である。図1において、一点鎖
線で示すキャリッジ1はインクジェット記録方式などの
記録部1hを搭載する一方、外周面上に螺旋溝を形成し
た案内軸体11によって案内され、案内軸体11の回転
によって係止部(図示せず)が螺旋溝に沿うように駆動
されて、プラテン12の外周面に巻き付けられている記
録シート(記録媒体)13に対して図中の矢印方向に往
復駆動されながら、記録シート13上にピッチPでドッ
トDを記録して画像、文字を形成するいわゆるシリアル
プリンタを構成している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a perspective view of a main part of a serial printer device shown together with a recording medium. In FIG. 1, a carriage 1 indicated by a dashed line carries a recording portion 1h of an ink jet recording system or the like, and is guided by a guide shaft 11 having a spiral groove formed on an outer peripheral surface, and is locked by the rotation of the guide shaft 11. The recording sheet (not shown) is driven along the spiral groove, and is reciprocally driven in the direction of the arrow in the drawing with respect to the recording sheet (recording medium) 13 wound around the outer peripheral surface of the platen 12. A so-called serial printer is constructed in which dots D are recorded at a pitch P on the image 13 to form images and characters.

【0014】このように構成されるキャリッジ1には同
期信号を得るためのエンコーダが内装されている。この
エンコーダは磁気式リニアエンコーダであり、針金の表
面上に形成された磁性体に例えば180ドット/インチ
(dpi)や360dpiに相当する印字ピッチ密度で
磁気パターンを記録したり、リニアエンコーダのスケー
ル部601が装置本体100に固定される一方、MR素
子などから成る磁気ヘッド602がキャリッジ1の内部
に固定されており、キャリッジ1の移動による位置検出
を可能にしている。
An encoder for obtaining a synchronization signal is built in the carriage 1 constructed as described above. This encoder is a magnetic linear encoder, which records a magnetic pattern on a magnetic material formed on the surface of a wire at a print pitch density corresponding to, for example, 180 dots / inch (dpi) or 360 dpi, or a scale portion of a linear encoder. A magnetic head 601 is fixed to the apparatus main body 100 while a magnetic head 602 including an MR element or the like is fixed inside the carriage 1 to enable position detection by movement of the carriage 1.

【0015】また、磁気ヘッド602には磁気ヘッド中
のMR素子からの出力信号を外部に引き出すためのフレ
キシブルプリント基板603が接続されており、コネク
タ(図示せず)に接点部604を接続するようにして、
キャリッジ1上に搭載される図中の破線図示の基板5に
接続するようにしている。
A flexible printed circuit board 603 for extracting an output signal from an MR element in the magnetic head to the outside is connected to the magnetic head 602, and a contact portion 604 is connected to a connector (not shown). And then
The connection is made to a substrate 5 mounted on the carriage 1 and shown by a broken line in the figure.

【0016】(実施例1)図2は本発明の実施例1の基
本プロック図である。図中、300はスケール部の磁気
パターンを読み取って電気信号に変換する磁気ヘッド
(図1の602に相当する)であり、MR素子などから
構成される。磁気ヘッド300はスケール部との相対移
動によって波形が正弦波に似た疑似正弦波信号を出力す
る。この出力信号には、キャリッジの移動方向を検出す
るための、互いに位相が90°異なる第1相、第2相の
2つの出力がある。302は磁気ヘッド300に定電流
を供給する定電流回路であり、301は磁気ヘッドの信
号を所定の大きさまで増幅する増幅器である。300〜
302で示すこれらの部品はキャリッジ上の基板5(図
1参照)に搭載されている。
(Embodiment 1) FIG. 2 is a basic block diagram of Embodiment 1 of the present invention. In the figure, reference numeral 300 denotes a magnetic head (corresponding to 602 in FIG. 1) which reads a magnetic pattern of a scale portion and converts the magnetic pattern into an electric signal, and is constituted by an MR element or the like. The magnetic head 300 outputs a pseudo sine wave signal whose waveform resembles a sine wave by relative movement with respect to the scale unit. The output signal has two outputs, a first phase and a second phase, which are different from each other by 90 ° in order to detect the moving direction of the carriage. Reference numeral 302 denotes a constant current circuit that supplies a constant current to the magnetic head 300, and 301 denotes an amplifier that amplifies a signal of the magnetic head to a predetermined magnitude. 300 ~
These components indicated by 302 are mounted on the board 5 (see FIG. 1) on the carriage.

【0017】303は増幅器301の出力信号をパルス
信号に変換するコンパレータ(比較部)である。コンパ
レータ303の基準電圧(参照電圧)は、D/Aコンバ
ータ304の出力によって与えられ、後述する制御部3
09の指令に基づいて自由に可変できるようになってい
る。305は第1相のパルス信号と第2相のパルス信号
との位相の遅進関係と、第2相のパルス数とから、スケ
ール部に対するキャリッジの位置を示す情報をカウント
する位置カウンタである。306は第1相、第2相のパ
ルス信号のデューティ比を検出するデューティ検出回路
である。307は基板5の適切な位置(磁気ヘッドに近
い位置が好ましい)に配置されてその部分の温度を測定
するためのサーミスタである。308はサーミスタ30
7の出力電圧をデジタル値に変換するA/Dコンバータ
であり、309は制御部であり、CPU、ROM、RA
M、I/Oポート、タイマ回路などから構成されてい
る。I/Oポートは上記D/Aコンバータ304、位置
カウンタ305、デューティ検出回路306、A/Dコ
ンバータ308に対する入出力用に用いられ、またタイ
マ回路は割り込み処理のタイミング信号発生用に用いら
れる。
Reference numeral 303 denotes a comparator (comparing unit) for converting an output signal of the amplifier 301 into a pulse signal. The reference voltage (reference voltage) of the comparator 303 is given by the output of the D / A converter 304,
09 can be freely changed based on the command of 09. A position counter 305 counts information indicating the position of the carriage with respect to the scale unit from the phase delay relationship between the first-phase pulse signal and the second-phase pulse signal and the number of second-phase pulses. A duty detection circuit 306 detects the duty ratio of the first and second phase pulse signals. A thermistor 307 is disposed at an appropriate position on the substrate 5 (preferably a position close to the magnetic head) and measures the temperature of that portion. 308 is a thermistor 30
7 is an A / D converter that converts the output voltage of the A / D converter 7 into a digital value.
M, I / O ports, timer circuits and the like. The I / O port is used for input / output to / from the D / A converter 304, the position counter 305, the duty detection circuit 306, and the A / D converter 308, and the timer circuit is used for generating a timing signal for interrupt processing.

【0018】図3は、位置カウンタの具体的な回路例で
ある。図3において、400はD−FF、401はアッ
プダウンカウンタである。第1相、第2相のパルス信号
は、位相が90°異なっているので、その遅進関係から
キャリッジがどちら向きに移動しているのか判定するこ
とができる。そこで、遅進関係をD−FFで検知し、そ
の出力をアップダウン入力端子に接続し、例えば第2相
(第1相でもよい)のパルス数をカウントする。したが
って、例えば、キャリッジがある方向に移動していると
きにはカウントアップされ、またキャリッジが反対の方
向に移動しているときにはカウントダウンされるので、
キャリッジの現在位置がアップダウンカウンタのカウン
ト数により求められる。
FIG. 3 is a specific circuit example of the position counter. In FIG. 3, reference numeral 400 denotes a D-FF, and 401 denotes an up / down counter. Since the pulse signals of the first phase and the second phase are different from each other by 90 °, it is possible to determine in which direction the carriage is moving based on the retardation relation. Therefore, the delay relation is detected by the D-FF, the output is connected to the up / down input terminal, and for example, the number of pulses of the second phase (or the first phase) is counted. Therefore, for example, when the carriage is moving in one direction, it is counted up, and when the carriage is moving in the opposite direction, it is counted down.
The current position of the carriage is obtained from the count of the up / down counter.

【0019】また、402はフォトインタラプタを用い
たホームポジションセンサであり、キャリッジがホーム
ポジションにあるとき、フォトインタラプタの発光素子
から受光素子に入射する光を遮断して、アップダウンカ
ウンタ401のクリア入力に信号を送りアップダウンカ
ウンタ401のカウントをゼロにクリアするものであ
る。したがって、アップダウンカウンタ401のカウン
タ数は、キャリッジのホームポジションからの移動距
離、即ちキャリッジの位置を表すものである。
Reference numeral 402 denotes a home position sensor using a photo-interrupter. When the carriage is at the home position, the light interrupts light incident on the light-receiving element from the light-emitting element of the photo-interrupter, and the clear input of the up / down counter 401 is input. To clear the count of the up / down counter 401 to zero. Therefore, the counter number of the up / down counter 401 indicates the moving distance from the home position of the carriage, that is, the position of the carriage.

【0020】図4はデューティ検出回路306の具体例
である。図4は1つの相のパルス信号のデューティ比を
検出する回路であり、他の相のパルス信号を検出するた
めに、実際にはこれと同様なものがもう一組用意されて
いる(なお、図2には示していないが、他の相のパルス
信号を得るために、磁気ヘッド300、増幅器301、
定電流回路302、コンパレータ303がもう一組用意
されており、前述のように、前記位置カウンタ305に
は2つのコンパレータからのパルス信号が入力され
る)。
FIG. 4 shows a specific example of the duty detection circuit 306. FIG. 4 shows a circuit for detecting the duty ratio of a pulse signal of one phase. In order to detect a pulse signal of another phase, another set of the same circuit is actually prepared (in addition, Although not shown in FIG. 2, the magnetic head 300, the amplifier 301,
Another set of the constant current circuit 302 and the comparator 303 is provided, and the pulse signals from the two comparators are input to the position counter 305 as described above.)

【0021】パルス信号は最初に初段のD−FF501
によりクロック回路500のクロック周期に同期させら
れる。クロック周期は、キャリッジの移動により出力さ
れるパルス信号の周期より十分速い周期が選ばれてい
る。一般に、パルス信号の周期は0.1mSec(=1
0KHz)程度のオーダーであるから、クロック周期は
数100nSec〜数μSec(数100KHz〜数M
Hz)に選ばれる。クロック回路500は独立して設け
てもよいが、通常は前記制御部309内のCPUクロッ
クをそのままあるいは適当に分周して用いることができ
る。
The pulse signal is first supplied to the first stage D-FF 501.
Synchronizes with the clock cycle of the clock circuit 500. The clock cycle is selected to be sufficiently faster than the cycle of the pulse signal output by the movement of the carriage. Generally, the cycle of the pulse signal is 0.1 mSec (= 1
0 KHz), the clock cycle is several hundred nSec to several μSec (several hundred KHz to several Msec).
Hz). The clock circuit 500 may be provided independently, but usually the CPU clock in the control unit 309 can be used as it is or by appropriately dividing the frequency.

【0022】D−FF501の出力はAND回路502
でクロック回路の出力との論理積がとられ、その結果が
所定ビット数のカウンタ503でカウントされる。カウ
ントはパルス信号がハイ(High)の間中継続され
る。即ち、パルス信号がハイのときだけAND回路50
2はクロックを通過させ、カウンタ503でそのクロッ
ク数をカウントすることになる。パルス信号のロジック
が反転すると、即ち、ロー(Low)になると、D−F
F504、AND回路505によってカウンタ503の
内容はクロック出力の次の立上がりエッジに同期して所
定ビット数のDラッチ回路507に転送される。即ち、
パルス信号がローになると、D−FF501のバーQ出
力がハイになり、D−FF504のQ出力をハイにし
て、AND回路505を通して次のクロック出力をDラ
ッチ507のクロック入力に入力させる。この結果、カ
ウンタ503の内容がDラッチ507に転送されること
になる。
The output of the D-FF 501 is supplied to an AND circuit 502
Is ANDed with the output of the clock circuit, and the result is counted by a counter 503 having a predetermined number of bits. The counting is continued as long as the pulse signal is high. That is, only when the pulse signal is high, the AND circuit 50
2 passes the clock, and the counter 503 counts the number of clocks. When the logic of the pulse signal is inverted, that is, when the pulse signal becomes low, DF
F504 and the AND circuit 505 transfer the contents of the counter 503 to the D latch circuit 507 of a predetermined number of bits in synchronization with the next rising edge of the clock output. That is,
When the pulse signal goes low, the Q output of the D-FF 501 goes high, the Q output of the D-FF 504 goes high, and the next clock output is input to the clock input of the D latch 507 through the AND circuit 505. As a result, the contents of the counter 503 are transferred to the D latch 507.

【0023】その後、カウンタ503の内容は、D−F
F504、負論理AND回路506によって、次にクロ
ック出力がローになったときに、クリアされる。即ち、
前述のように、パルス信号がローになると、D−FF5
01のバーQ出力がハイになるので、D−FF504の
バーQ出力がローになる。このため、クロック出力がロ
ーになったとき負論理AND回路506の出力がローに
なり、このロー出力がカウンタのクリア入力に入力され
てカウンタ503をクリアする。このとき、D−FF5
04のクリア入力にも負論理AND回路506のロー出
力が入力されるのでD−FF504自身もクリアされ
る。この結果、Dラッチ回路507の内容は、カウンタ
503の次のカウントが終了するまで(パルス信号の次
のハイ期間のカウントが終了してパルス信号がローにな
るときまで)更新されない。このようにして、パルス信
号のハイデューティの時間間隔が計測される。
Thereafter, the content of the counter 503 is DF
F504, cleared by the negative logic AND circuit 506 the next time the clock output goes low. That is,
As described above, when the pulse signal goes low, the D-FF5
Since the Q output of 01 goes high, the Q output of the D-FF 504 goes low. Therefore, when the clock output goes low, the output of the negative logic AND circuit 506 goes low, and this low output is input to the clear input of the counter to clear the counter 503. At this time, D-FF5
The D-FF 504 itself is also cleared because the low output of the negative logic AND circuit 506 is also input to the clear input of 04. As a result, the contents of the D latch circuit 507 are not updated until the next count of the counter 503 ends (until the count of the next high period of the pulse signal ends and the pulse signal goes low). In this way, the high duty time interval of the pulse signal is measured.

【0024】同様にして、AND回路509、カウンタ
510、D−FF512、負論理AND回路513、D
ラッチ回路514によってパルス信号のローデューティ
の時間間隔が計測される。
Similarly, an AND circuit 509, a counter 510, a D-FF 512, a negative logic AND circuit 513, D
The low duty time interval of the pulse signal is measured by the latch circuit 514.

【0025】制御部309は、任意のタイミングでDラ
ッチ回路507、514の内容、パルス信号の最新のハ
イデューティ時間間隔およびローデューティ時間間隔を
読み込むことができる。デューティ比は次式で簡単に求
められる。 デューティ比=ハイデューティ/(ハイデューティ+ロ
ーデューティ)
The control unit 309 can read the contents of the D latch circuits 507 and 514 and the latest high duty time interval and low duty time interval of the pulse signal at an arbitrary timing. The duty ratio can be easily obtained by the following equation. Duty ratio = high duty / (high duty + low duty)

【0026】次に、以上の回路構成でデューティ比の変
動を抑制する制御方法を説明する。最初に、電源を投入
したときについて説明すると、電源投入時は、D/Aコ
ンバータ304の出力電圧を適宜な初期値に設定する。
次いで、記録(印字)動作をさせずに、キャリッジを移
動させる。このとき、コンパレータ303のパルス信号
の出力のデューティ比は適当な値になっているが、パル
ス信号が出力されていれば、位置カウンタ305の動作
に影響はないので、問題はない。次に、所定のインター
バルで位置カウンタ305の内容を確認し、キャリッジ
の移動が定速になるように、PWM制御などの方法を用
いてキャリッジ駆動用モータを制御する。所定のインタ
ーバルでこのことを実行するには、制御部309内のC
PUの割り込み処理機能を用いたソフトウエア的手法に
より容易に実現可能である。また、移動速度は、インタ
ーバル毎にカウンタの内容の差分をインターバル時間で
除算することで容易に計算できる。
Next, a control method for suppressing the fluctuation of the duty ratio with the above circuit configuration will be described. First, when power is turned on, when the power is turned on, the output voltage of the D / A converter 304 is set to an appropriate initial value.
Next, the carriage is moved without performing the recording (printing) operation. At this time, the duty ratio of the output of the pulse signal of the comparator 303 is an appropriate value, but there is no problem if the output of the pulse signal does not affect the operation of the position counter 305. Next, the content of the position counter 305 is checked at predetermined intervals, and the carriage driving motor is controlled using a method such as PWM control so that the carriage moves at a constant speed. To perform this at a predetermined interval, the C
It can be easily realized by a software method using the interrupt processing function of the PU. Further, the moving speed can be easily calculated by dividing the difference between the contents of the counter by the interval time for each interval.

【0027】図5は、キャリッジの移動速度を示した図
である。図から明らかなように、キャリッジは徐々に速
度を上げて行き、目標速度に到達すると、ほぼ定速に移
動し、所定の距離を移動した後は、徐々に速度を下げて
停止する。さて、移動速度が有意な水準で定速に達した
なら、デューティ検出回路306によってデューティ時
間を読取り、デューティ比を計算する。そして、その結
果に基づいてD/Aコンバータ304の出力(コンパレ
ータ303に入力される基準電圧)を変化させる。この
状態でデューティ比がほぼ50%に達しなけらば、再び
デューティ比を計算してD/Aコンバータ304の出力
を変化させ、デューティ比がほぼ50%になるまで前述
のステップを繰り返す。デューティ比がほぼ50%にな
ったならキャリッジをホームポジションに戻し、そのと
きの温度、即ちA/Dコンバータ308の出力を制御部
309のRAMに読込み記憶しておく。なお、キャリッ
ジがホームポジション位置に戻った後に、待機動作に入
る。
FIG. 5 is a diagram showing the moving speed of the carriage. As is apparent from the figure, the carriage gradually increases in speed, moves to a substantially constant speed when it reaches the target speed, and after moving a predetermined distance, gradually decreases in speed and stops. When the traveling speed reaches a constant speed at a significant level, the duty detection circuit 306 reads the duty time and calculates the duty ratio. Then, based on the result, the output of the D / A converter 304 (the reference voltage input to the comparator 303) is changed. If the duty ratio does not reach approximately 50% in this state, the duty ratio is calculated again, the output of the D / A converter 304 is changed, and the above steps are repeated until the duty ratio becomes approximately 50%. When the duty ratio becomes approximately 50%, the carriage is returned to the home position, and the temperature at that time, that is, the output of the A / D converter 308 is read and stored in the RAM of the control unit 309. After the carriage returns to the home position, a standby operation is started.

【0028】ところで、デューティ比の計算は、パルス
信号毎に毎回行ってもよいが、離散的に行っても実用上
問題はない。したがって、前述した割り込み処理のとき
位置カウンタ305の内容と一緒にデューティ検出回路
306の内容を読み込めばよい。また、図5に示したよ
うに、キャリッジの移動速度を完全に一定にすることは
困難であるから、一回毎のデューティ比で細かくコンパ
レータ303に入力される基準電圧(D/Aコンバータ
304の出力)を調整するよりも、何回かの計測の平均
値を取り、その平均値に基づいて調整を行った方がよ
い。
Incidentally, the calculation of the duty ratio may be performed each time for each pulse signal. However, even if the calculation is performed discretely, there is no practical problem. Therefore, the contents of the duty detection circuit 306 may be read together with the contents of the position counter 305 at the time of the above-described interrupt processing. Further, as shown in FIG. 5, since it is difficult to make the moving speed of the carriage completely constant, the reference voltage (the D / A converter 304 It is better to take the average of several measurements and make adjustments based on that average rather than to adjust the output).

【0029】次に、記録(印字)動作中について説明す
る。記録動作中、キャリッジは常に移動しており、図5
に示した動き始めと止まりかけの期間を除けば、キャリ
ッジは定速で移動しいいる。したがって、この定速移動
区間中に、前述した基準電圧調整の処理を毎割り込み処
理の度に実行して、パルス信号のデューティ比をほぼ5
0%に維持する。このとき、D/Aコンバータ304の
出力を変化させたならば、温度を読込み、制御部のRA
Mに記憶しておく。なお、記録動作以外の理由でキャリ
ッジを移動させるときにも、同様なことを実施してもよ
い。
Next, the operation during the recording (printing) operation will be described. During the recording operation, the carriage is constantly moving.
The carriage is moving at a constant speed except for the movement start and stop periods shown in FIG. Therefore, during the constant-speed movement section, the above-described reference voltage adjustment processing is executed each time an interrupt processing is performed, and the duty ratio of the pulse signal is reduced by approximately 5%.
Maintain at 0%. At this time, if the output of the D / A converter 304 is changed, the temperature is read and the RA of the control unit is read.
It is stored in M. A similar operation may be performed when the carriage is moved for a reason other than the recording operation.

【0030】次に、待機中(例えば、オフライン時)に
ついて説明する。制御部309は、待機中は、所定のイ
ンターバルで温度情報を監視し、前述のD/Aコンバー
タ304の出力を変化させたときには記憶させておいた
温度情報と比較する。そして、温度差が所定値以上にな
ったときは、電源投入時に行ったものと同様な一連の処
理を行う。
Next, a description will be given of a standby state (for example, at the time of off-line). During standby, the control unit 309 monitors the temperature information at predetermined intervals, and compares the temperature information with the stored temperature information when the output of the D / A converter 304 is changed. Then, when the temperature difference becomes equal to or more than the predetermined value, a series of processes similar to those performed when the power is turned on are performed.

【0031】図6〜図8は、以上説明した制御の内容を
フローチャートに整理したものである。次に、このフロ
ーチャートを参照して制御内容を説明するが、既に主要
な動作内容については前述しているので、概略するに留
める。
FIGS. 6 to 8 show the contents of the control described above arranged in a flowchart. Next, the control contents will be described with reference to this flowchart, but the main operation contents have already been described above, so that only the outline will be described.

【0032】図6〜図8において、電源投入後、D/A
コンバータ304の出力を初期値に設定する(ステップ
S1)。次に、キャリッジを移動させ(ステップS
2)、定速になるまで待つ(ステップS3)。定速にな
った後、図4を参照して説明したようにデューティ比を
計算する(ステップS4)。
6 to 8, after power is turned on, D / A
The output of the converter 304 is set to an initial value (Step S1). Next, the carriage is moved (step S
2) Wait until the speed becomes constant (step S3). After the speed becomes constant, the duty ratio is calculated as described with reference to FIG. 4 (step S4).

【0033】計算したデューティ比が50%より大きい
か、小さいか、またはほぼ50%(例えば50%±3%
の範囲内)であるか判断し(ステップS5)、50%よ
り大きい場合には、D/Aコンバータ304の出力を上
げ(ステップS8)、小さい場合には、D/Aコンバー
タ304の出力を下げ(ステップS7)、その後ステッ
プS2に戻り、以後、デューティ比がほぼ50%になる
までステップS2〜ステップS8またはS7のステップ
を繰り返えす。
The calculated duty ratio is larger than 50%, smaller than 50% or almost 50% (for example, 50% ± 3%
Is determined (step S5). If it is larger than 50%, the output of the D / A converter 304 is increased (step S8). If it is smaller, the output of the D / A converter 304 is decreased. (Step S7) Then, the process returns to Step S2, and thereafter, Steps S2 to S8 or S7 are repeated until the duty ratio becomes approximately 50%.

【0034】ステップS5において、デューティ比がほ
ぼ50%であると判断されると、キャリッジをホームポ
ジションに戻す(ステップS6)。次に、A/Dコンバ
ータ308によって温度を読み込み(ステップS9)、
制御部のRAMに記憶させる(ステップS10)。な
お、キャリッジはホームポジションで待機状態になる。
If it is determined in step S5 that the duty ratio is approximately 50%, the carriage is returned to the home position (step S6). Next, the temperature is read by the A / D converter 308 (step S9),
It is stored in the RAM of the control unit (step S10). The carriage is in a standby state at the home position.

【0035】次に、記録動作の指示がなされたか否か、
即ち、記録動作中か待機中かが判断され(ステップS1
1)、記録動作中の場合キャリッジの移動が定速か否か
が判断され(ステップS12)、定速でない場合には定
速になるまでステップS11およびステップS12のス
テップを繰り返す。定速になるとデューティ比の計算を
行い(ステップS13)、計算したデューティ比が50
%より大きいか、小さいか、またはほぼ50%であるか
判断し(ステップS14)、50%より大きい場合に
は、D/Aコンバータ304の出力を上げ(ステップS
15)、小さい場合には、D/Aコンバータ304の出
力を下げる(ステップS16)。次いで、A/Dコンバ
ータ308によって温度を読み込み(ステップS1
7)、制御部のRAMに記憶させる(ステップS1
8)。なお、ステップS14において、デューティ比が
ほぼ50%と判断されると、ステップS11に戻る。
Next, whether a recording operation is instructed or not is determined.
That is, it is determined whether a recording operation is being performed or a standby operation is being performed (step S1).
1) If the printing operation is being performed, it is determined whether the carriage moves at a constant speed (step S12). If not, the steps S11 and S12 are repeated until the speed becomes constant. When the speed becomes constant, the duty ratio is calculated (step S13), and the calculated duty ratio becomes 50.
It is determined whether it is larger than, smaller than, or almost 50% (step S14). If it is larger than 50%, the output of the D / A converter 304 is increased (step S14).
15) If it is smaller, the output of the D / A converter 304 is reduced (step S16). Next, the temperature is read by the A / D converter 308 (step S1).
7) Store in the RAM of the control unit (step S1)
8). If it is determined in step S14 that the duty ratio is approximately 50%, the process returns to step S11.

【0036】ステップS11において、待機中と判断さ
れると、所定のインターバルでA/Dコンバータ308
によって温度を読み込む(ステップS19)。次いで、
読み込んだ温度と前回読み込んだ温度との差が所定値よ
り小さい否かが判断され(ステップS20)、所定値よ
り小さい場合にはステップS11に戻り、所定値以上場
合にはキャリッジを移動させ(ステップS21)、定速
となるまで待って(ステップS22)、デューティ比を
計算する(ステップS23)。
When it is determined in step S11 that the A / D converter 308 is on standby, the A / D converter 308 is activated at predetermined intervals.
Is read (step S19). Then
It is determined whether the difference between the read temperature and the previously read temperature is smaller than a predetermined value (step S20). If the difference is smaller than the predetermined value, the process returns to step S11. If the difference is larger than the predetermined value, the carriage is moved (step S20). S21) Wait until the speed becomes constant (step S22), and calculate the duty ratio (step S23).

【0037】次に、計算したデューティ比が50%より
大きいか、小さいか、またはほぼ50%であるか判断し
(ステップS24)、50%より大きい場合には、D/
Aコンバータ304の出力を上げ(ステップS27)、
小さい場合には、D/Aコンバータ304の出力を下げ
(ステップS26)、その後ステップS21に戻り、以
後、デューティ比がほぼ50%になるまでステップS2
1〜ステップS27または26のステップを繰り返え
す。
Next, it is determined whether the calculated duty ratio is larger than 50%, smaller, or almost 50% (step S24).
The output of the A converter 304 is increased (step S27),
If it is smaller, the output of the D / A converter 304 is reduced (step S26), and thereafter, the process returns to step S21, and thereafter, step S2 is performed until the duty ratio becomes approximately 50%.
Steps 1 to S27 or 26 are repeated.

【0038】ステップS24において、デューティ比が
ほぼ50%(例えば50%±3%の範囲内)であると判
断されると、キャリッジをホームポジションに戻す(ス
テップS25)。次に、A/Dコンバータ308によっ
て温度を読み込み(ステップS28)、制御部のRAM
に記憶させる(ステップS29)。なお、キャリッジは
ホームポジションで待機状態になる。
If it is determined in step S24 that the duty ratio is approximately 50% (for example, within the range of 50% ± 3%), the carriage is returned to the home position (step S25). Next, the temperature is read by the A / D converter 308 (step S28), and the RAM of the control unit is used.
(Step S29). The carriage is in a standby state at the home position.

【0039】(他の実施例)前述の実施例では、待機中
に所定値以上の温度差が生じたとき、ステップS20お
よびステップS21からわかるように、キャリッジは自
動的に移動するようになっている。しかしながら、この
ことが不都合になる場合も考えられる。例えば、使用者
が待機中に記録に用いるインクカートリッジの交換を行
おうしたときなどに、キャリッジが自動的に移動し始め
るのは都合がよくない。このような不都合を回避するた
めには、電源オフ時にしかインクカートリッジの交換を
できないようにするなどの設計変更を行うことによって
対処できる場合もあるが、機器の構成によってはそのよ
うにできない場合もありうる。
(Other Embodiments) In the above-described embodiment, when a temperature difference exceeding a predetermined value occurs during standby, the carriage automatically moves as can be seen from steps S20 and S21. I have. However, this may be inconvenient. For example, it is not convenient for the carriage to start moving automatically when the user attempts to replace an ink cartridge used for recording during standby. In order to avoid such inconvenience, it may be possible to deal with it by making a design change such that the ink cartridge can be replaced only when the power is turned off, but this may not be possible depending on the configuration of the device. It is possible.

【0040】そこで、この実施例では、待機中の処理を
以下のように変更している。制御部309は、次にキャ
リッジを移動させる事象(例えば、記録動作の再開)を
行おうとするときなどに、キャリッジの移動が行われよ
うとするか否かを判断し、キャリッジの移動が行われな
い場合には、待機状態に戻し、キャリッジの移動を行わ
ないようにした。またキャリッジの移動が行われようと
する場合だけ、電源投入時に行ったのと同様な一連の処
理を行うようにしている。
Therefore, in this embodiment, the processing during standby is changed as follows. The control unit 309 determines whether or not the carriage is to be moved when the next event of moving the carriage (for example, resuming the recording operation) is performed, and the movement of the carriage is performed. If not, it returned to the standby state and did not move the carriage. Also, only when the carriage is to be moved, a series of processes similar to those performed when the power is turned on are performed.

【0041】図9は、以上説明した制御の内容の変更部
分をフローチャートに整理したものである。図9におい
て、ステップS11で待機中と判断されると、キャリッ
ジを移動させる事象が発生したか否かが判断され(ステ
ップS50)、キャリッジを移動させる事象が発生して
いない場合には、ステップS11に戻り、キャリッジを
移動させる事象が発生したと判断されると、A/Dコン
バータ308により温度を読み込み(ステップS5
1)、前回読み込んだ温度との差が所定値より小さいか
以上かが判断され(ステップS52)、温度差が小さい
場合にはステップS11に戻り、以上の場合にはステッ
プS21に進み、以後電源投入時と同様なステップS2
2〜25、26または27の制御がなされる。
FIG. 9 is a flowchart in which the changed portions of the control described above are arranged. In FIG. 9, if it is determined in step S11 that the apparatus is on standby, it is determined whether an event for moving the carriage has occurred (step S50). If no event for moving the carriage has occurred, step S11 is performed. When it is determined that the event of moving the carriage has occurred, the temperature is read by the A / D converter 308 (step S5).
1) It is determined whether the difference from the previously read temperature is smaller than or equal to a predetermined value (step S52). If the temperature difference is small, the process returns to step S11. If it is, the process proceeds to step S21. Step S2 similar to that at the time of insertion
Control of 2 to 25, 26 or 27 is performed.

【0042】この実施例では、待機中のキャリッジが勝
手に移動してしまうことはないから(即ち、記録動作の
指令のようにキャリッジを移動させる事象が生じてない
限りキャリッジを移動させるステップS21に進まない
から)、インクカートリッジの交換時等に起こりうる不
都合を未然に防止できる。
In this embodiment, since the carriage in the standby state does not move without permission (ie, the step S21 for moving the carriage is performed unless an event for moving the carriage such as a recording operation command occurs). Therefore, inconvenience that may occur when the ink cartridge is replaced can be prevented beforehand.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば、
電源投入時にキャリッジの移動速度が定速になった時点
でデューティ比を50%にする制御を予め行っているの
で、精度の高いデューティ比50%が迅速に得られ、記
録動作に移行する際にも、当初から好ましい印字結果を
与えるデューティ比50%で記録動作を容易に行いう
る。また、記録動作中もキャリッジの移動速度が定速に
なった時点で常時デューティ比を50%にする制御を行
っているので、記録動作中はデューティ比50%を常に
維持することができる。
As described above, according to the present invention,
Since the control to set the duty ratio to 50% is performed in advance when the moving speed of the carriage becomes constant at power-on, a high-accuracy duty ratio of 50% can be obtained quickly, and when shifting to the printing operation, Also, the printing operation can be easily performed from the beginning with a duty ratio of 50% that gives a preferable printing result. Also, during the printing operation, the duty ratio is constantly controlled to be 50% when the moving speed of the carriage becomes constant, so that the duty ratio can be constantly maintained at 50% during the printing operation.

【0044】さらに、磁気ヘッドを含む位置検出回路の
温度特性(温度変化に起因するデューティ比の変化)を
考慮して、待機中においても温度差が大きくなった場合
にはデューティ比50%を維持する制御を行っているの
で、記録(印字)動作中ばかりでなく待機中において
も、パルス信号のデューティ比を常にほぼ50%に維持
でき、記録動作に移行する際デューティ比50%での記
録動作を迅速に実行できる。また、使用中に温度変化が
あった場合でも、広範な温度範囲で良好な記録(印字)
結果が得られるシリアルプリンタが実現可能である。
Further, taking into account the temperature characteristics of the position detection circuit including the magnetic head (change in duty ratio due to temperature change), the duty ratio is maintained at 50% when the temperature difference becomes large even during standby. In this case, the duty ratio of the pulse signal can always be maintained at approximately 50% not only during the recording (printing) operation but also during standby, and the recording operation at the duty ratio of 50% is performed when shifting to the recording operation. Can be executed quickly. Good recording (printing) over a wide temperature range even when the temperature changes during use
A serial printer that can obtain the result is feasible.

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

【図1】図1は、記録媒体と共に示すシリアルプリンタ
装置の要部斜視図である。
FIG. 1 is a perspective view of a main part of a serial printer shown together with a recording medium.

【図2】図2は、本発明の実施例1の基本プロック図で
ある。
FIG. 2 is a basic block diagram of Embodiment 1 of the present invention.

【図3】図3は、図2に示す基本ブロック図内の位置カ
ウンタの具体的な回路例である。
FIG. 3 is a specific circuit example of a position counter in the basic block diagram shown in FIG. 2;

【図4】図4は、図2に示す基本ブロック図内のデュー
ティ検出回路の具体例である。
FIG. 4 is a specific example of a duty detection circuit in the basic block diagram shown in FIG. 2;

【図5】図5は、キャリッジの移動速度を示した図であ
る。
FIG. 5 is a diagram illustrating a moving speed of a carriage.

【図6】図6は、制御の内容を示すフローチャートの一
部である。
FIG. 6 is a part of a flowchart showing the contents of control.

【図7】図7は、制御の内容を示すフローチャートの一
部である。
FIG. 7 is a part of a flowchart showing the contents of control.

【図8】図8は、制御の内容を示すフローチャートの一
部である。
FIG. 8 is a part of a flowchart showing the contents of control.

【図9】図9は、制御の内容の変更した部分を示すフロ
ーチャートである。
FIG. 9 is a flowchart showing a changed part of the control.

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

300 磁気ヘッド 301 増幅器 302 定電流回路 303 コンパレータ 304 D/Aコンバータ 305 位置カウンタ 306 デューティ検出回路 307 サーミスタ 308 A/Dコンバータ 309 制御部 300 Magnetic head 301 Amplifier 302 Constant current circuit 303 Comparator 304 D / A converter 305 Position counter 306 Duty detection circuit 307 Thermistor 308 A / D converter 309 Control unit

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 記録手段を搭載して往復移動するための
キャリッジと、 装置本体に配され磁気パターンを設けたスケール部と、
前記キャリッジに搭載され該磁気パターンを読み取る磁
気ヘッドと、を備える磁気式リニアエンコーダと、 前記磁気ヘッドの検出に応じた信号を基準電圧と比較し
てパルス信号を出力するコンパレータと、 前記基準電圧を変化させる基準電圧可変手段と、 前記キャリッジの移動速度が一定であるときに前記コン
パレータより出力された前記パルス信号のデューティ比
を検出するデューティ検出回路と、 を有し、前記デューティ検出回路の検出結果に基づい
て、前記基準電圧を調整するシリアルプリンタ装置にお
いて、 前記磁気ヘッド付近の温度を測定するサーミスタと、 前記基準電圧を変化させたときに前記サーミスタで測定
した温度を記憶するメモリ部と、 を備え、前記装置本体の待機中に前記サーミスタで測定
した温度と前記メモリ部に記憶された温度との差が所定
値以上の場合には、前記デューティ検出回路により前記
パルス信号のデューティ比を検出し、前記基準電圧を調
整することを特徴とするシリアルプリンタ装置。
A carriage mounted with a recording means for reciprocating; a scale provided on a main body of the apparatus and provided with a magnetic pattern;
A magnetic linear encoder including a magnetic head mounted on the carriage and reading the magnetic pattern; a comparator that compares a signal corresponding to the detection of the magnetic head with a reference voltage and outputs a pulse signal; A reference voltage varying unit for changing the duty ratio; and a duty detection circuit for detecting a duty ratio of the pulse signal output from the comparator when the moving speed of the carriage is constant, and a detection result of the duty detection circuit. In the serial printer device that adjusts the reference voltage based on the following, a thermistor that measures the temperature near the magnetic head; and a memory unit that stores the temperature measured by the thermistor when the reference voltage is changed. A temperature measured by the thermistor during standby of the apparatus main body and the memory When the difference from the temperature stored in the unit is equal to or greater than a predetermined value, the duty detection circuit detects the duty ratio of the pulse signal and adjusts the reference voltage.
【請求項2】 前記デューティ検出回路により検出され
た前記パルス信号のデューティ比がほぼ50%になるよ
うに前記基準電圧を調整することを特徴とする請求項1
に記載のシリアルプリンタ装置。
2. The method according to claim 1, wherein the reference voltage is adjusted so that a duty ratio of the pulse signal detected by the duty detection circuit becomes approximately 50%.
2. A serial printer device according to claim 1.
【請求項3】 前記装置本体の電源投入時に、前記ディ
ーティ検出回路により検出された前記パルス信号のデュ
ーティ比がほぼ50%になるように前記基準電圧を調整
し、該デューティ比がほぼ50%になったときに前記サ
ーミスタにより温度を測定し、該サーミスタで測定した
温度を前記メモリ部に記憶することを特徴とする請求項
1または2に記載のシリアルプリンタ装置。
3. The reference voltage is adjusted so that the duty ratio of the pulse signal detected by the duty detection circuit becomes approximately 50% when the power of the apparatus main body is turned on, and the duty ratio becomes approximately 50%. 3. The serial printer device according to claim 1, wherein the temperature is measured by the thermistor when the temperature is reached, and the temperature measured by the thermistor is stored in the memory unit.
【請求項4】 前記装置本体の待機中に、キャリッジを
移動させる事象が生じたか否かを判断し、該事象が生じ
ていないときには前記デューティ検出回路により前記パ
ルス信号のデューティ比を検出する動作を行わないこと
を特徴とする請求項1ないし3のいずれか1項に記載の
シリアルプリンタ装置。
4. An operation for determining whether or not an event for moving the carriage has occurred while the apparatus main body is on standby, and performing an operation of detecting the duty ratio of the pulse signal by the duty detection circuit when the event has not occurred. 4. The serial printer device according to claim 1, wherein the serial printer device does not perform the process.
JP12532893A 1992-08-31 1993-04-28 Serial printer device Expired - Fee Related JP3244204B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP12532893A JP3244204B2 (en) 1993-04-28 1993-04-28 Serial printer device
TW082106819A TW226450B (en) 1992-08-31 1993-08-24
KR1019930016999A KR970003658B1 (en) 1992-08-31 1993-08-30 Serial printer
US08/113,326 US5427461A (en) 1992-08-31 1993-08-30 Serial printer with carriage position control
DE69315284T DE69315284T2 (en) 1992-08-31 1993-08-31 Mail merge
AT93113914T ATE160317T1 (en) 1992-08-31 1993-08-31 SERIAL PRINTER
CN93117242A CN1035288C (en) 1992-08-31 1993-08-31 Serial printer
EP93113914A EP0585881B1 (en) 1992-08-31 1993-08-31 Serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12532893A JP3244204B2 (en) 1993-04-28 1993-04-28 Serial printer device

Publications (2)

Publication Number Publication Date
JPH06312553A JPH06312553A (en) 1994-11-08
JP3244204B2 true JP3244204B2 (en) 2002-01-07

Family

ID=14907398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12532893A Expired - Fee Related JP3244204B2 (en) 1992-08-31 1993-04-28 Serial printer device

Country Status (1)

Country Link
JP (1) JP3244204B2 (en)

Also Published As

Publication number Publication date
JPH06312553A (en) 1994-11-08

Similar Documents

Publication Publication Date Title
EP1258789B1 (en) Method and apparatus for controlling motor
EP0585881B1 (en) Serial printer
GB2127193A (en) Control system for a serial printer
JP2003048351A (en) Control of carriage motor in printer
JP3667788B2 (en) Image forming apparatus
EP0945277B1 (en) Printing device with timing pulse generator
US7168783B2 (en) Apparatus and method of controlling a printhead of a printing apparatus
JP3501654B2 (en) Recording device
JP3244204B2 (en) Serial printer device
JP3297101B2 (en) Serial printer
JP3098121B2 (en) Serial printer
JPH043750B2 (en)
JPH08132680A (en) Serial printer
JPH0655795A (en) Printing signal generation method and device in serial printer
JP2580394B2 (en) DC servo motor control method
JPH11221910A (en) Image output apparatus
JPS61286169A (en) Print controller for thermal printer
JPH06255194A (en) Serial printer apparatus
JP4026331B2 (en) Motor driving method, motor driving apparatus, printer, computer program, and computer system
JP3113696B2 (en) Serial printer device
JP2001146054A (en) Recorder
JP2004017539A (en) Acceleration sensor and recording device using the same
JPH10146081A (en) Dc motor drive controller and method
JPS63264362A (en) Printing method of wire dot type printer
JPH09193394A (en) Ink jet recording method and apparatus therefor

Legal Events

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

Free format text: PAYMENT UNTIL: 20071026

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081026

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091026

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees