JPH0970199A - Printer - Google Patents

Printer

Info

Publication number
JPH0970199A
JPH0970199A JP22313695A JP22313695A JPH0970199A JP H0970199 A JPH0970199 A JP H0970199A JP 22313695 A JP22313695 A JP 22313695A JP 22313695 A JP22313695 A JP 22313695A JP H0970199 A JPH0970199 A JP H0970199A
Authority
JP
Japan
Prior art keywords
carriage
motor
excitation
printing
phase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP22313695A
Other languages
Japanese (ja)
Inventor
Yoshihiko Shinozaki
芳彦 篠▲崎▼
Akira Tanaka
亮 田中
Hiromichi Hamada
洋通 浜田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP22313695A priority Critical patent/JPH0970199A/en
Publication of JPH0970199A publication Critical patent/JPH0970199A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Control Of Stepping Motors (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the current consumption of a step motor and, at the same time, to suppress the heat generation of the motor itself in a printer, such as the serial printer, etc., which performs printing operations by moving a carriage mounted with a printing head back-and-forth by means of a step motor. SOLUTION: A printer moves a carriage mounted with a printed head H by sliding along a platen by exciting and driving a the driving motor Mc of the carriage by using a one/two phase exciting system. In the case where the motor Mc is in a two-phase excited state when the carriage is moved to the printing starting end at which the carriage is detected by means of a position sensor 18, the motor Mc is stopped and maintained in a one-phase excited state by exciting and driving the motor Mc by one step. The normally rotating amount of the motor Mc until the carriage completes one-line printing from the printing starting end and the reversely rotating amount of the motor Mc until the carriage is moved to the printing starting end after completing the one-line printing are determined from even numbers of exciting steps and, when the motor Mc is temporarily stopped in association with turning back the carriage, the motor is always stopped and maintained in the one-phase excited state.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、印字ヘッドを搭載
したキャリッジをステップモータを用いて往復移動させ
て印字を行なうシリアルプリンタ等の印字装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus such as a serial printer which prints by reciprocating a carriage having a print head by using a step motor.

【0002】[0002]

【従来の技術】例えばワードプロセッサに内蔵されるシ
リアルプリンタにあって、その印字ヘッドの搭載された
キャリッジをプラテンに沿って移動させるためのキャリ
ッジ駆動モータには、ステップモータが使用される。
2. Description of the Related Art In a serial printer built in a word processor, for example, a step motor is used as a carriage driving motor for moving a carriage having a print head mounted thereon along a platen.

【0003】このステップモータは、複数の励磁相をそ
の回転方向に順次励磁させることで回転駆動されるもの
で、例えば4相の励磁相(A相,B相,C相,D相)を
有するステップモータを駆動するための励磁方式として
は、各励磁相をA相→AB相→B相→BC相→C相→C
D相→D相→DA相→…と1相励磁と2相励磁とを順次
切換えて励磁する1−2相励磁方式が、高回転で高トル
クを得るのに適した励磁方式として広く採用されてい
る。
This step motor is rotationally driven by sequentially exciting a plurality of excitation phases in the rotation direction, and has, for example, four excitation phases (A phase, B phase, C phase, D phase). As an excitation method for driving the step motor, each excitation phase is A phase → AB phase → B phase → BC phase → C phase → C.
The 1-2 phase excitation method in which the 1 phase excitation and the 2 phase excitation are sequentially switched and excited as D phase → D phase → DA phase → ... is widely adopted as an excitation method suitable for obtaining high torque at high rotation. ing.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、1−2
相励磁方式によりステップモータを駆動する場合、1相
励磁時における消費電流に対して2相励磁時における消
費電流は、当然ながら2倍の消費電流となるが、印刷中
におけるキャリッジの一時停止等に伴ない、ステップモ
ータが2相励磁の状態で保持されると、プリンタとして
の消費電流が増えるばかりでなく、モータの温度上昇も
大きくなるという問題がある。
[Problems to be Solved by the Invention] However, 1-2
When the step motor is driven by the phase excitation method, the consumption current in the two-phase excitation is naturally double the consumption current in the one-phase excitation, but it may cause a temporary stop of the carriage during printing. Accordingly, if the step motor is held in a two-phase excitation state, not only the current consumption as a printer increases but also the temperature rise of the motor increases.

【0005】また、前記ステップモータをある停止位置
にて保持する場合、その停止位置に対応する1相あるい
は2相の励磁相に対して、回転駆動時と同一レベルか又
はそれより多少低いレベルの電流,電圧を連続的に印加
しなければならないため、モータの発熱が著しいという
問題がある。
Further, when the step motor is held at a certain stop position, the level of the one-phase or two-phase excitation phase corresponding to the stop position is the same level as that at the time of rotational driving or slightly lower than that. Since a current and a voltage have to be continuously applied, there is a problem that the heat generation of the motor is remarkable.

【0006】すなわち、前記従来のワードプロセッサに
内蔵されるシリアルプリンタでは、その印字ヘッドの搭
載されたキャリッジを移動させるためのステップモータ
による消費電流が大きく、また、その発熱も著しいとい
う問題がある。
That is, in the conventional serial printer built in the word processor, there is a problem that the stepper motor for moving the carriage on which the print head is mounted consumes a large amount of current and generates a great deal of heat.

【0007】本発明は、前記のような問題に鑑みなされ
たもので、ステップモータにおける消費電流を削減する
と共に、該モータ自体の発熱も抑制することが可能にな
る印字装置を提供することを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a printing apparatus capable of reducing current consumption in a step motor and suppressing heat generation of the motor itself. And

【0008】[0008]

【課題を解決するための手段】すなわち、本発明の請求
項1に係わる印字装置は、印字ヘッドを搭載したキャリ
ッジを記録紙の幅方向に往復移動させるステップモータ
と、このステップモータを1−2相励磁で駆動するモー
タ駆動手段と、このモータ駆動手段による前記ステップ
モータの励磁状態を検知する検知手段と、印字中に前記
キャリッジを停止させるために前記ステップモータの駆
動を停止する際に、前記検知手段で検知された励磁状態
が1相励磁のときにはその励磁状態を保持し、前記検知
手段で検知された励磁状態が2相励磁のときには1相励
磁に変わるのを待ってその励磁状態を保持して前記ステ
ップモータを停止させる制御手段とを具備したことを特
徴とする。
That is, a printer according to claim 1 of the present invention comprises a step motor for reciprocally moving a carriage having a print head in the width direction of a recording sheet, and a step motor 1-2. A motor drive means for driving by phase excitation; a detection means for detecting the excitation state of the step motor by the motor drive means; and a stop means for stopping the drive of the step motor to stop the carriage during printing. When the excited state detected by the detecting means is the one-phase excited state, the excited state is maintained, and when the excited state detected by the detecting means is the two-phase excited state, the excited state is held after the change to the one-phase excited state. Then, a control means for stopping the step motor is provided.

【0009】つまり、前記請求項1に係わる印字装置で
は、印字中にキャリッジを停止させるために、1−2相
励磁によるステップモータの駆動を停止する際には、検
知手段で検知されたステップモータの励磁状態が1相励
磁のときにはその1相励磁状態が保持され、また、前記
検知手段で検知されたステップモータの励磁状態が2相
励磁のときには1相励磁に変わるのを待ってその1相励
磁状態が保持されるよう前記ステップモータが停止制御
されるので、モータの消費電流が低減され、その温度上
昇も軽減されることになる。
That is, in the printing apparatus according to the first aspect, when the driving of the step motor by the 1-2 phase excitation is stopped in order to stop the carriage during printing, the step motor detected by the detection means is detected. When the excitation state of 1 is one-phase excitation, the one-phase excitation state is maintained, and when the excitation state of the step motor detected by the detection means is two-phase excitation, the one-phase excitation is waited until it changes to one-phase excitation. Since the step motor is stopped and controlled so that the excited state is maintained, the current consumption of the motor is reduced and the temperature rise is also reduced.

【0010】また、本発明の請求項2に係わる印字装置
は、前記請求項1に係わる印字装置にあって、さらに、
前記キャリッジの移動経路の定められた位置にあって前
記キャリッジの位置を検出する位置検出手段と、印字開
始時に、前記位置検出手段の情報に基づいて前記モータ
駆動手段により前記ステップモータが1相励磁されてい
る前記キャリッジの位置を前記キャリッジの移動範囲の
始端位置として決める始端位置決定手段と、印字中に、
前記始端位置から予め定めた前記ステップモータの偶数
のステップ数で前記キャリッジが移動される前記キャリ
ッジの終端位置までの範囲内で前記キャリッジを移動さ
せるために前記モータ駆動手段を制御する第2の制御手
段とを備えたことを特徴とする。
A printer according to claim 2 of the present invention is the printer according to claim 1, further comprising:
Position detection means for detecting the position of the carriage at a predetermined position of the movement path of the carriage, and one-phase excitation of the step motor by the motor drive means based on information from the position detection means at the start of printing. A start position determining means for determining the position of the carriage being set as the start position of the moving range of the carriage, and during printing,
A second control for controlling the motor driving means to move the carriage within a range from the start end position to the end position of the carriage where the carriage is moved by a predetermined even number of steps of the step motor. And means.

【0011】つまり、前記請求項2に係わる印字装置で
は、前記請求項1に係わる印字装置にあって、さらに、
前記ステップモータが1相励磁されている前記キャリッ
ジの移動範囲の始端位置からの移動の際には、予め定め
た偶数のステップ数でキャリッジ終端位置までの範囲内
での移動が制御されるので、印字中のキャリッジ移動始
端位置及び移動折返し位置では、ステップモータは常に
1相励磁位置で停止され、消費電流の削減及び発熱の抑
制が行なえることになる。
That is, the printing apparatus according to claim 2 is the printing apparatus according to claim 1, further comprising:
When the carriage is moved from the start end position of the movement range of the carriage in which the step motor is excited by one phase, the movement within the range to the carriage end position is controlled by a predetermined even number of steps. At the carriage movement start end position and the movement turnaround position during printing, the step motor is always stopped at the one-phase excitation position, so that it is possible to reduce current consumption and heat generation.

【0012】また、本発明の請求項3に係わる印字装置
は、前記請求項1又は請求項2に係わる印字装置にあっ
て、さらに、前記キャリッジの往路と復路の移動時にお
いて前記ステップモータの励磁電流値を変更する励磁電
流変更手段を備えたことを特徴とする。
A printer according to claim 3 of the present invention is the printer according to claim 1 or 2, wherein the step motor is excited when the carriage is moving forward and backward. An exciting current changing means for changing the current value is provided.

【0013】つまり、前記請求項3に係わる印字装置で
は、前記請求項1又は請求項2に係わる印字装置にあっ
て、さらに、前記キャリッジの往路と復路の移動時にお
いて前記ステップモータの励磁電流値が変更されるの
で、実際の印字が行なわれるキャリッジの往路移動時に
比べ、単に移動始端位置への復帰のみを行なう復路移動
時の励磁電流を下げることで、モータの全消費電流が削
減され、その発熱も抑制されることになる。
That is, in the printing apparatus according to the third aspect, in the printing apparatus according to the first or second aspect, further, the exciting current value of the step motor during movement of the forward path and the backward path of the carriage. Is changed, the total current consumption of the motor is reduced by lowering the excitation current during the backward movement, which simply returns to the movement start position, compared to the forward movement of the carriage where actual printing is performed. Heat generation will also be suppressed.

【0014】また、本発明の請求項4に係わる印字装置
は、印字ヘッドを搭載したキャリッジを記録紙の幅方向
に往復移動させるステップモータと、このステップモー
タを1−2相励磁で駆動するモータ駆動手段と、印字中
に前記キャリッジを停止させるために前記ステップモー
タを停止する際に、前記モータ駆動手段による励磁を停
止させて前記ステップモータの1相にパルス列を加える
制御手段とを具備したことを特徴とする。
Further, according to a fourth aspect of the present invention, in a printing apparatus, a step motor for reciprocating a carriage having a print head in the width direction of a recording sheet and a motor for driving the step motor by 1-2 phase excitation. A driving means; and a control means for stopping the excitation by the motor driving means and applying a pulse train to one phase of the step motor when stopping the step motor to stop the carriage during printing. Is characterized by.

【0015】つまり、前記請求項4に係わる印字装置で
は、印字中にキャリッジを停止させるために、1−2相
励磁によるステップモータの駆動を停止する際には、励
磁の停止と共にその1相にパルス列が加えられて停止位
置が保持されるので、励磁電流を継続的に印加する場合
に比べ、モータの発熱が抑制されることになる。
That is, in the printing apparatus according to the fourth aspect, when the driving of the step motor by the 1-2 phase excitation is stopped in order to stop the carriage during printing, the excitation is stopped and the first phase is changed to the first phase. Since the pulse train is applied and the stop position is maintained, heat generation of the motor is suppressed as compared with the case where the exciting current is continuously applied.

【0016】[0016]

【発明の実施の形態】以下図面により本発明の実施の形
態について説明する。図1は本発明の印字装置を搭載し
たワードプロセッサの電子回路の構成を示すブロック図
である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an electronic circuit of a word processor equipped with the printing apparatus of the present invention.

【0017】このワードプロセッサは、制御部(CP
U)11を備えている。この制御部(CPU)11は、
キー入力部12から供給されるキー操作信号に基づき、
ROM13に予め記憶されているシステムプログラムを
起動させ、回路各部の動作制御を実行するもので、この
制御部(CPU)11には、前記キー入力部12,RO
M13の他、RAM14、液晶表示部19が接続され
る。
This word processor includes a control unit (CP
U) 11. This control unit (CPU) 11 is
Based on the key operation signal supplied from the key input unit 12,
A system program stored in advance in the ROM 13 is activated to control the operation of each section of the circuit. The control section (CPU) 11 includes the key input section 12, RO
In addition to M13, the RAM 14 and the liquid crystal display unit 19 are connected.

【0018】また、前記制御部(CPU)11には、印
字制御部15からヘッドドライバ16aを介してサーマ
ル印字ヘッドHが接続されると共に、キャリッジモータ
ドライバ16bを介してキャリッジ駆動モータ(ステッ
プモータ)Mcが接続され、紙送りモータドライバ16
cを介して紙送りモータMpが接続される。
A thermal print head H is connected to the control unit (CPU) 11 from the print control unit 15 via a head driver 16a, and a carriage drive motor (step motor) via a carriage motor driver 16b. Mc is connected, and the paper feed motor driver 16
A paper feed motor Mp is connected via c.

【0019】さらに、前記制御部(CPU)11には、
検出回路17を介してキャリッジ位置検出センサ18が
接続される。前記キー入力部12には、被印字データと
なる任意の文字列(文書)を入力するためのかな文字キ
ー,数字キー,記号キーやかな/漢字変換キー,選択/
実行キー等からなる文字入力キーが備えられると共に、
印字処理を実行する際に操作される印字キー等の各種機
能キーが備えられる。
Further, the control unit (CPU) 11 includes
A carriage position detection sensor 18 is connected via the detection circuit 17. In the key input unit 12, kana character keys for inputting an arbitrary character string (document) to be printed data, numeral keys, symbol keys and kana / kanji conversion keys, selection /
A character input key such as an execution key is provided,
Various function keys such as a print key operated when executing a print process are provided.

【0020】前記サーマル印字ヘッドHは、例えば64
のドット発熱体をライン状に配列して構成され、前記キ
ャリッジ駆動モータMcによって紙送り用のプラテンに
沿って移動されるキャリッジに載設され、その印字開始
位置となる始端位置から終端位置のまでの移動範囲内で
1行印字分スライド移動されるもので、このサーマルヘ
ッドHによる前記始端位置からの1ラインデータずつの
通電駆動処理に応じてキャリッジ駆動モータMcにより
プラテンに沿って1印字ライン分ずつスライド移動さ
れ、該プラテン上の記録紙に対する1行印字が行なわれ
る。
The thermal print head H is, for example, 64
Of dot heating elements arranged in a line and mounted on a carriage which is moved along the platen for paper feeding by the carriage drive motor Mc, from a start end position which is a print start position to a end position. The print head is slid for one print line within the moving range of the print head, and one print line is printed along the platen by the carriage drive motor Mc according to the energization drive process for each line data from the start end position by the thermal head H. One line is printed on the recording paper on the platen.

【0021】そして、前記プラテン上の記録紙に対する
1行印字が終了すると、前記キャリッジ駆動モータMc
によりキャリッジが前記印字開始の始端位置までスライ
ド移動されて復帰されると共に、紙送りモータMpによ
りプラテンが1行間隔分回転駆動されて紙送りされる。
When one-line printing on the recording paper on the platen is completed, the carriage drive motor Mc
As a result, the carriage is slid to the start position of the printing start and returned, and the platen is rotated by one line interval by the paper feed motor Mp to feed the paper.

【0022】この場合、前記キャリッジ駆動モータMc
としては、例えば4相の励磁コイルA,B,C,Dを有
するステップモータが使用され、1−2相励磁方式で駆
動される。
In this case, the carriage drive motor Mc
For example, a step motor having four-phase excitation coils A, B, C, D is used, and is driven by the 1-2 phase excitation method.

【0023】また、前記サーマル印字ヘッドHが印字開
始位置にあることは、前記キャリッジ位置検出センサ1
8により検出されて制御部(CPU)11に通知され
る。ここで、前記サーマル印字ヘッドHは、前記プラテ
ンに沿った印字方向へのスライド移動に際し該プラテン
に巻き付けられた記録紙の方向に押し付けられ、また、
印字開始位置への復帰のためのスライド移動に際し記録
紙から離される構成とされ、このサーマル印字ヘッドH
のプラテンに対する押し付け/引き離し機構は、キャリ
ッジのスライド動作に連動する図示しないカム機構によ
って構成される。
The fact that the thermal print head H is at the print start position means that the carriage position detecting sensor 1
It is detected by 8 and notified to the control unit (CPU) 11. Here, the thermal print head H is pressed toward the recording paper wound around the platen when sliding in the print direction along the platen, and
The thermal print head H is configured to be separated from the recording paper when the slide is moved to return to the print start position.
The pressing / pulling-off mechanism for the platen is constituted by a cam mechanism (not shown) which is interlocked with the sliding movement of the carriage.

【0024】前記RAM14には、印字中に制御部11
によって計数されるキャリッジ駆動モータ(ステップモ
ータ)Mcの励磁ステップの記憶エリア、入力文書デー
タの書式を設定するフォーマットデータの記憶エリア
等、各種処理データの記憶部(ワークエリア)やキー入
力データ記憶部の他、キー入力部12における各種文字
データの入力操作により作成された文字列(文書)デー
タが、被印字データとして記憶される印字データ記憶部
等が備えられる。
The RAM 14 is provided with a control unit 11 during printing.
A storage area (work area) for various processing data such as a storage area for the excitation step of the carriage drive motor (step motor) Mc, a storage area for format data for setting the format of input document data, and a key input data storage section In addition, a character string (document) data created by an input operation of various character data in the key input unit 12 is provided as a print data storage unit or the like that is stored as print target data.

【0025】前記ROM13には、このワードプロセッ
サの基本動作を司るシステムプログラムやそれに関係す
る、例えば文書データの設定書式によって定められる1
行印字の最大印字幅に対応するキャリッジ駆動モータ
(ステップモータ)Mcの全体が偶数個に定められた励
磁ステップ数等のデータの他、文書作成プログラムや作
成文書の表示,印字プログラム等(図示せず)が記憶さ
れる。
In the ROM 13, a system program governing the basic operation of the word processor and a related program, for example, a format defined by document data 1 are defined.
In addition to data such as the number of excitation steps that is set to an even number for the entire carriage drive motor (step motor) Mc corresponding to the maximum print width of line printing, a document creation program, a creation document display, a printing program, etc. (not shown). ) Is memorized.

【0026】一方、前記RAM14内の印字データ記憶
部に記憶された被印字データは、各1ライン印字データ
ずつ制御部(CPU)11に読出されてヘッドドライバ
16aに順次転送され、この1ライン印字データ毎のサ
ーマル印字ヘッドHの通電駆動及びキャリッジモータM
cによるキャリッジの移動により、プラテン上の記録紙
に対する1ライン毎の1行印字が行なわれる。
On the other hand, the print data stored in the print data storage section in the RAM 14 is read by the control section (CPU) 11 for each one-line print data and sequentially transferred to the head driver 16a, and this one-line print is carried out. Energization drive of the thermal print head H and carriage motor M for each data
By moving the carriage by c, one line is printed for each line on the recording paper on the platen.

【0027】図2は前記ワードプロセッサのキャリッジ
駆動モータMcに対する励磁制御回路の全体構成を示す
ブロック図である。図3は前記ワードプロセッサのキャ
リッジ駆動モータMcに対する1−2相励磁用の励磁信
号設定テーブルを示す図である。
FIG. 2 is a block diagram showing the overall construction of an excitation control circuit for the carriage drive motor Mc of the word processor. FIG. 3 is a diagram showing an excitation signal setting table for 1-2 phase excitation with respect to the carriage drive motor Mc of the word processor.

【0028】前記図1における印字制御部15の内部に
は、キャリッジ駆動モータMcに対する励磁制御系の回
路として、励磁相制御部21、周波数可変部22、クロ
ックパルスジェネレータ23、起動・停止回路24、正
逆転回路25が備えられる。
Inside the print control unit 15 in FIG. 1, an excitation phase control unit 21, a frequency changing unit 22, a clock pulse generator 23, a start / stop circuit 24, as an excitation control system circuit for the carriage drive motor Mc. A forward / reverse rotation circuit 25 is provided.

【0029】励磁相制御部21は、クロックパルスジェ
ネレータ23から供給されるパルス信号の発生タイミン
グに応じて、図3に示すように、“0”〜“7”までの
8通りの1−2相励磁指令信号(AD→A→AB→B→
BC→C→CD→D)を繰返し発生するもので、キャリ
ッジモータドライバ16bからは、この励磁相制御部2
1から発生される1−2相励磁指令信号に対応した励磁
相(AD相→A相→AB相→B相→BC相→C相→CD
相→D相)に対して順次その励磁電流が印加される。
The excitation phase controller 21 has eight 1-2 phases from "0" to "7" as shown in FIG. 3 according to the timing of generation of the pulse signal supplied from the clock pulse generator 23. Excitation command signal (AD → A → AB → B →
(BC → C → CD → D) is repeatedly generated, and the excitation phase control unit 2 from the carriage motor driver 16b.
Excitation phase corresponding to 1-2 phase excitation command signal generated from 1 (AD phase → A phase → AB phase → B phase → BC phase → C phase → CD
The exciting current is sequentially applied to the phase → D phase).

【0030】そして、前記励磁相制御部21からの1−
2相励磁指令信号は、制御部(CPU)11から起動・
停止回路24を介して供給されるモータ起動・停止信号
に応じてその発生・停止が制御され、また、正逆転回路
25を介して供給される正転あるいは逆転指令信号に応
じて、その発生順序が正方向あるいは逆方向に切換えら
れる。
Then, 1-from the excitation phase control unit 21
The 2-phase excitation command signal is activated from the control unit (CPU) 11.
The generation / stop is controlled according to the motor start / stop signal supplied via the stop circuit 24, and the generation order thereof is controlled according to the forward rotation or reverse rotation command signal supplied via the forward / reverse rotation circuit 25. Is switched to the forward or reverse direction.

【0031】また、励磁相制御部21で発生する“0”
〜“7”までの8通りの1−2相励磁指令信号は、制御
部(CPU)11にも出力され、制御部11はキャリッ
ジ駆動モータ(ステップモータ)Mcの励磁状態を常時
モニタしている。
Further, "0" generated in the excitation phase controller 21
8 types of 1-2 phase excitation command signals up to "7" are also output to the control unit (CPU) 11, and the control unit 11 constantly monitors the excitation state of the carriage drive motor (step motor) Mc. .

【0032】なお、前記クロックパルスジェネレータ2
3におけるパルス信号の発生周期は、周波数可変部22
により可変可能であるが、通常はサーマル印字ヘッドH
における1ライン印字のタイミングに同期させたモータ
励磁切換えタイミングに応じた周期で発生される。
The clock pulse generator 2
The generation period of the pulse signal in 3 is the frequency variable unit 22.
It can be changed by the
It is generated in a cycle corresponding to the motor excitation switching timing synchronized with the one-line printing timing in.

【0033】図4は前記ワードプロセッサの印字処理に
伴なうキャリッジ駆動モータMcによるキャリッジ移動
状態を示す図である。図4において、矢印x0 〜x4 ,
y0 〜y4 は、キャリッジ(印字ヘッドH)の移動方向
及び移動範囲を示すものであり、矢印x0 ,y0 は印字
動作開始直後の印字開始位置へのキャリッジの動き、矢
印x1 〜x2 及び矢印y1 〜y2 は、1行の印字途中で
の改行がなく記録紙に印字できる最大幅の印字を行なう
場合のキャリッジの動き(なお、図4ではキャリッジ移
動範囲A及びBと称し、この範囲A及び範囲Bは同一長
さであり、印字中にキャリッジの移動する最大範囲であ
る。)、矢印x3 〜x4 及び矢印y3 〜y4 は1行の印
字途中に改行がある場合のキャリッジの動きを示す。
FIG. 4 is a diagram showing a carriage movement state by the carriage drive motor Mc accompanying the printing process of the word processor. In FIG. 4, arrows x0 to x4,
y0 to y4 indicate the moving direction and the moving range of the carriage (print head H), and arrows x0 and y0 indicate the movement of the carriage to the print start position immediately after the start of the printing operation, arrows x1 to x2 and arrow y1 to. y2 is the movement of the carriage in the case of performing printing of the maximum width that can be printed on the recording paper without any line feed in the middle of printing one line (referred to as carriage movement ranges A and B in FIG. 4, these ranges A and B). Have the same length, which is the maximum range of movement of the carriage during printing.), Arrows x3 to x4 and arrows y3 to y4 indicate the movement of the carriage when a line feed is present in the middle of printing one line.

【0034】また、図4において、A0 及びB0 は印字
開始時にキャリッジが停止している定められたキャリッ
ジ待機位置、AS 及びBS は1行印字の開始位置に対応
する印字始端位置、AL 及びBL は印字終端位置、AM
及びBM は途中改行による折返し位置、AE ,BE は途
中改行印字の終了位置を示している。
Further, in FIG. 4, A0 and B0 are predetermined carriage standby positions where the carriage is stopped at the time of printing start, AS and BS are print start end positions corresponding to the start position of one line print, and AL and BL are Print end position, AM
Symbols BM and BM indicate folding positions due to a midline feed, and AE and BE indicate end positions of the midline feed print.

【0035】なお、A1 及びB1 は印字開始時のキャリ
ッジ停止位置を示す。本来キャリッジは、定められた待
機位置であるA0 又はB0 で待機しているが、ユーザが
キャリッジに手を触れてその位置が変動することがあ
る。A1 及びB1 はそのような変則的な場合のキャリッ
ジ待機位置を示すものである。
A1 and B1 indicate carriage stop positions at the start of printing. Originally, the carriage stands by at the predetermined waiting position A0 or B0, but the position may change when the user touches the carriage. A1 and B1 indicate the carriage standby position in such an irregular case.

【0036】そして、詳しくは印字動作の説明とともに
後述するが、図4の上半部に記する矢印x0 〜x4 のキ
ャリッジの動きは、A0 乃至A1 からスタートしたキャ
リッジがキャリッジ位置検出センサ18のキャリッジ位
置検出と共に、印字始端位置(AS )を定める場合を示
し、図4の下半部に記する矢印y0 〜y4 のキャリッジ
の動きは、B0 乃至B1 からスタートしたキャリッジが
キャリッジ位置センサ18でのキャリッジ位置検出にも
拘らず、その時点でのキャリッジ駆動モータMcの励磁
状態との関係から、停止位置(これが印字始端位置BS
となる。)を補正する場合を示すものである。
As will be described later in detail with the description of the printing operation, the carriage movements indicated by arrows x0 to x4 in the upper half of FIG. A case where the print start end position (AS) is determined together with the position detection is shown. The movement of the carriage indicated by arrows y0 to y4 in the lower half of FIG. 4 indicates that the carriage started from B0 to B1 is the carriage position sensor 18. In spite of the position detection, the stop position (this is the print start end position BS
Becomes ) Is corrected.

【0037】ここで、図4に基づいて、本ワードプロセ
ッサの印字中のキャリッジの動きの概要を説明する。ま
ず、待機位置からスタートした後に印字始端位置を決め
る。この印字始端位置の決定は、キャリッジ位置センサ
18のキャリッジ位置検出と制御部(CPU)11によ
るキャリッジ駆動モータ(ステップモータ)Mcの励磁
状態の検出に基づいて行なわれる。
An outline of the movement of the carriage during printing of the word processor will be described with reference to FIG. First, after starting from the standby position, the print start position is determined. The determination of the print start end position is performed based on the detection of the carriage position of the carriage position sensor 18 and the detection of the excited state of the carriage drive motor (step motor) Mc by the control unit (CPU) 11.

【0038】すなわち、本発明では、1−2相励磁で駆
動されるキャリッジ駆動モータ(ステップモータ)Mc
を1相励磁の状態で一時停止させるものであるから、キ
ャリッジ位置検出センサ18のキャリッジ位置検出と共
に、その時点で制御部(CPU)11が1相励磁の状態
を検出していればAS 点を印字始端位置と定めて、以
下、x1 〜x4 のように印字を行なうが、キャリッジ位
置検出センサ18によりキャリッジ位置が検出されたも
のの、その時点での制御部11による励磁状態の検出が
2相励磁であったときには、さらに1ステップ進めて1
相励磁になった位置で一時停止し、この位置を印字始端
位置BS と定めて以下y1 〜y4 のように印字を行な
う。
That is, in the present invention, the carriage drive motor (step motor) Mc driven by 1-2 phase excitation.
Is temporarily stopped in the one-phase excitation state. Therefore, when the carriage position detection sensor 18 detects the carriage position and the control unit (CPU) 11 detects the one-phase excitation state at that time, the point A S is set. The print start end position is defined and printing is performed as x1 to x4, but the carriage position is detected by the carriage position detection sensor 18, but the excitation state is detected by the control unit 11 at that time. If so, go one step further to 1
The printing is temporarily stopped at the phase excitation position, and this position is defined as the print start end position BS, and printing is performed as y1 to y4 below.

【0039】そして、1行印字の途中に改行がない場合
には、制御部11は、AS 点又はBS 点を起点として書
式設定時に定められた最大印字幅(キャリッジ移動範囲
A及びB)の分だけ印字ヘッドHを駆動しながら、且
つ、キャリッジ駆動モータ(ステップモータ)Mcの駆
動ステップ数を数えながらこれを駆動する(矢印x1 及
びy1 )。
When there is no line feed in the middle of printing one line, the control section 11 determines the maximum print width (carriage movement range A and B) determined at the time of formatting from the AS point or the BS point. While driving the print head H only and counting the number of driving steps of the carriage driving motor (step motor) Mc, this is driven (arrows x1 and y1).

【0040】前記最大印字幅の間をキャリッジ移動させ
るためのキャリッジ駆動モータ(ステップモータ)Mc
の駆動ステップ数は、印字終端位置AL ,BL ではキャ
リッジ駆動モータMcが1相励磁で一時停止されるよう
な所定の偶数のステップ数に予め定められている。制御
部11は1行印字中にキャリッジ駆動モータMcの励磁
ステップ数を印字始端位置より計数し、この計数が前記
所定ステップ数に達したときにキャリッジ駆動モータM
Cを停止する。その位置が、AL 点又はBL 点である。
Carriage drive motor (step motor) Mc for moving the carriage between the maximum print widths.
The number of driving steps is set to a predetermined even number so that the carriage driving motor Mc is temporarily stopped by one-phase excitation at the printing end positions AL and BL. The control unit 11 counts the number of excitation steps of the carriage drive motor Mc during printing one line from the print start end position, and when this count reaches the predetermined number of steps, the carriage drive motor M
Stop C. The position is the AL point or the BL point.

【0041】制御部11は、キャリッジの復帰の際(矢
印x2 又はy2 )も、印字終端位置を起点としてキャリ
ッジ駆動モータMcの励磁ステップ数を前記所定ステッ
プ数まで計数することにより、キャリッジを印字始端位
置AS 又はBS まで戻す(矢印x2 又はy2 )。
Even when the carriage is returned (arrow x2 or y2), the control unit 11 counts the number of excitation steps of the carriage drive motor Mc up to the predetermined number of steps starting from the print end position so that the carriage starts printing. Return to position AS or BS (arrow x2 or y2).

【0042】さらに、1行印字の途中で改行がある場合
には、前述の如くして定められた印字始端位置AS 又は
BS を起点として制御部11はキャリッジ駆動モータM
cの駆動ステップ数を計数しながら途中改行の印字デー
タがなくなるまで印字する(矢印x3 又はy3 )。そし
て、制御部11は、改行マークにより印字データがなく
なったことを検出すると共に、キャリッジ駆動モータM
cの励磁状態を検出し、1相励磁状態であれば印字終了
位置AE を折返し位置AM と定めて一時停止の後に計数
したステップ数だけキャリッジを復帰させる(矢印x4
)。
Further, if there is a line feed in the middle of printing one line, the control unit 11 causes the carriage drive motor M to start from the print start end position AS or BS determined as described above.
While counting the number of drive steps of c, printing is performed until there is no print data for the line feed on the way (arrow x3 or y3). Then, the control unit 11 detects that there is no print data by the line feed mark, and at the same time, the carriage drive motor M
The excitation state of c is detected, and if it is the one-phase excitation state, the printing end position AE is set as the folding position AM and the carriage is returned by the number of steps counted after the temporary stop (arrow x4
).

【0043】また、印字終了位置BE でのキャリッジ駆
動モータMcの励磁状態が2相励磁の場合には、さら
に、キャリッジを1ステップ分だけ進めてBM 点を折返
し点として一時停止の後にキャリッジ駆動モータMcを
反転させてこの途中改行の印字に拘る励磁ステップ数だ
け復帰させる。
When the carriage drive motor Mc at the print end position BE is in the two-phase excitation state, the carriage drive motor is further advanced by one step, and the carriage drive motor is temporarily stopped with the point BM as the turning point. Mc is reversed to restore the number of excitation steps involved in the printing of this line feed.

【0044】図5は前記ワードプロセッサのキャリッジ
位置検出センサ18によるセンサ信号とキャリッジ駆動
モータMcに対する1−2相励磁指令信号との関係を示
す図である。
FIG. 5 is a diagram showing the relationship between the sensor signal from the carriage position detection sensor 18 of the word processor and the 1-2 phase excitation command signal for the carriage drive motor Mc.

【0045】すなわち、サーマル印字ヘッドHを搭載し
たキャリッジが、キャリッジ位置検出センサ18の配置
された印字始端位置に近付くと、センサ信号は“L”と
“H”を素早く繰返すチャタリング信号Q0 となり、そ
の後前記キャリッジが始端位置に到達した状態でセンサ
信号は“H”に保持される始端位置検出信号Qとなるも
ので、制御部(CPU)11では、検出回路17を介し
て供給されるセンサ信号をキャリッジ駆動モータMcに
対する励磁切換えタイミングTでサンプリングし、前記
チャタリング信号Q0 の発生開始から“H”レベルのセ
ンサ信号がn回得られた時点t0 で、キャリッジは前記
印字始端位置に到達したものと判断する。
That is, when the carriage equipped with the thermal print head H approaches the print start position where the carriage position detection sensor 18 is arranged, the sensor signal becomes a chattering signal Q0 that rapidly repeats "L" and "H", and thereafter. When the carriage reaches the starting end position, the sensor signal becomes the starting end position detection signal Q held at “H”, and the control unit (CPU) 11 detects the sensor signal supplied via the detection circuit 17. Sampling is performed at the excitation switching timing T for the carriage drive motor Mc, and it is determined that the carriage has reached the print start position at the time t0 when the "H" level sensor signal is obtained n times from the start of the chattering signal Q0. To do.

【0046】ここで、制御部11はキャリッジ駆動モー
タMcの励磁状態を常に検出しており、前記キャリッジ
位置検出センサ18からのセンサ信号に基づき、キャリ
ッジがその印字開始位置に到達したと判断された時点t
0 におけるキャリッジ駆動モータMcの励磁状態が1相
励磁の状態にある場合には、その位置を印字始端位置
(図4のAS )とし、2相励磁の状態にある場合には、
さらに1ステップ分のモータ励磁相の切換えを行ない、
1相励磁の状態に切換えた時点t1 で励磁の切換えを停
止させ、これをキャリッジを印字始端位置として停止保
持させる(図4のBS )。
Here, the control unit 11 constantly detects the excitation state of the carriage drive motor Mc, and it is determined that the carriage has reached the print start position based on the sensor signal from the carriage position detection sensor 18. Time t
When the excitation state of the carriage drive motor Mc at 0 is the one-phase excitation state, the position is set as the print start end position (AS in FIG. 4), and when it is the two-phase excitation state,
Further, switching the motor excitation phase for one step,
At the time t1 when switching to the one-phase excitation state, the switching of excitation is stopped, and the carriage is stopped and held at the print start position (BS in FIG. 4).

【0047】図6は前記ワードプロセッサのキャリッジ
駆動モータMcに対するモータドライバ16bの励磁電
流供給回路の構成を示す回路図である。前記図2におけ
る励磁相制御部21からの1−2相励磁指令信号(AD
→A→AB→B→BC→C→CD→D)は、ぞれぞれキ
ャリッジ駆動モータMcの4つの励磁相A,B,C,D
とアース間に介在された各トランジスタTra,Trb,T
rc,Trdのベース電極に選択的に供給され、これにより
“ON”したトランジスタに対応する励磁相に対してモ
ータ電源VM からの電圧が順次印加されることで、キャ
リッジ駆動モータMcが回転駆動される。
FIG. 6 is a circuit diagram showing a structure of an exciting current supply circuit of the motor driver 16b for the carriage drive motor Mc of the word processor. The 1-2 phase excitation command signal (AD) from the excitation phase controller 21 in FIG.
->A->AB->B->BC->C->CD-> D) are respectively four excitation phases A, B, C, D of the carriage drive motor Mc.
Transistors Tra, Trb, T interposed between the ground and ground
It is selectively supplied to the base electrodes of rc and Trd, whereby the voltage from the motor power source VM is sequentially applied to the excitation phase corresponding to the transistor turned "ON", whereby the carriage drive motor Mc is rotationally driven. It

【0048】この場合、前記モータ電源VM からキャリ
ッジ駆動モータMcの各励磁相A,B,C,Dに対して
供給される励磁電流は、制御部(CPU)11から供給
される駆動力制御信号に応じて2段階に切換えられるも
ので、駆動力制御信号“H”により駆動力制御回路CM
が作動した場合には、キャリッジ駆動モータMcの各励
磁相に流れる励磁電流IH は下式(1)で示す高電流値
となり、また、駆動力信号“L”により駆動力制御回路
CM が未作動の場合には、キャリッジ駆動モータMcの
各励磁相に流れる励磁電流IL は下式(2)で示す低電
流値となる。
In this case, the excitation current supplied from the motor power source VM to each excitation phase A, B, C, D of the carriage drive motor Mc is the drive force control signal supplied from the control unit (CPU) 11. It can be switched in two stages according to the drive force control signal CM.
Is activated, the excitation current IH flowing in each excitation phase of the carriage drive motor Mc becomes a high current value represented by the following equation (1), and the drive force signal "L" causes the drive force control circuit CM to be inactive. In this case, the exciting current IL flowing in each exciting phase of the carriage drive motor Mc has a low current value shown by the following equation (2).

【0049】 IH =(VM −VCE)/R1 …式(1) IL =VBE/R2 =0.7/R2 …式(2) すなわち、駆動力制御信号“H”により駆動力制御回路
CM が作動すると、モータ電源VM からの励磁電圧はト
ランジスタTr2を介して直接キャリッジ駆動モータMc
に印加されるため、その励磁電流IH は式(1)で示し
たような高電流値となり、高いモータトルクが得られる
ようになる。
IH = (VM-VCE) / R1 ... Equation (1) IL = VBE / R2 = 0.7 / R2 ... Equation (2) That is, the driving force control circuit CM is operated by the driving force control signal "H". Then, the excitation voltage from the motor power source VM is directly transmitted via the transistor Tr2 to the carriage drive motor Mc.
As a result, the exciting current IH has a high current value as shown in equation (1), and a high motor torque can be obtained.

【0050】また、駆動力制御信号“L”により駆動力
制御回路CM が未作動になると、モータ電源VM からの
励磁電圧はトランジスタTr1,Tr3を介してキャリッジ
駆動モータMcに印加されるため、その励磁電流IL は
式(2)で示したような低電流値となり、低いモータト
ルクに抑えられるようになる。
When the driving force control circuit CM is deactivated by the driving force control signal "L", the exciting voltage from the motor power source VM is applied to the carriage driving motor Mc through the transistors Tr1 and Tr3. The exciting current IL has a low current value as shown in the equation (2), and the motor torque can be suppressed to a low value.

【0051】よって、実際の印字に伴ないキャリッジの
移動に高トルクが必要になる、該キャリッジの印字始端
位置から終端位置の方向への正方向CCWの移動時に
は、キャリッジ駆動モータMcを駆動力制御信号“H”
を供給して駆動することで、高いトルクによりキャリッ
ジを正確に移動させることができ、また、1行印字後に
高トルクの必要のない、該キャリッジの印字始端位置へ
の逆方向CWの復帰移動時には、キャリッジ駆動モータ
Mcを駆動力制御信号“L”を供給して駆動すること
で、消費電流を抑制することができる。
Therefore, a high torque is required to move the carriage along with the actual printing, and when the carriage is moved in the forward CCW direction from the print start end position to the print end position, the carriage drive motor Mc is controlled in driving force. Signal "H"
By supplying and driving the carriage, the carriage can be accurately moved by a high torque, and at the time of returning movement of the carriage in the reverse direction CW to the print start position, which does not require high torque after printing one line. By supplying the driving force control signal "L" to drive the carriage driving motor Mc, the current consumption can be suppressed.

【0052】次に、前記構成によるワードプロセッサの
印字処理について説明する。図7は前記ワードプロセッ
サの印字処理全般を示すフローチャートである。キー入
力部12における各種文字入力キーの操作に応じて、所
望の文書データが作成表示され、RAM14内の印字デ
ータ記憶部に記憶された状態で、この印字データ記憶部
に記憶された印字データを印字出力するために、キー入
力部12の印字キーを操作すると、図7における印字処
理が起動され、印字制御部15及びキャリッジ駆動モー
タドライバ16bを介してキャリッジ駆動モータMcが
逆方向CWに駆動される(ステップS1)。
Next, the printing process of the word processor having the above construction will be described. FIG. 7 is a flowchart showing the overall printing process of the word processor. In accordance with the operation of various character input keys in the key input unit 12, desired document data is created and displayed, and stored in the print data storage unit in the RAM 14, the print data stored in the print data storage unit is displayed. When the print key of the key input unit 12 is operated to print out, the print process in FIG. 7 is started, and the carriage drive motor Mc is driven in the reverse direction CW via the print control unit 15 and the carriage drive motor driver 16b. (Step S1).

【0053】すなわち、図2における起動・停止回路2
4から起動指令信号が出力され、正逆転回路25から逆
転指令信号が出力されることで、励磁相制御部21から
モータドライバ16bに対し、逆転用の1−2相励磁指
令信号(D→CD→C→BC→B→AB→A→AD)が
供給されるもので、これにより、サーマル印字ヘッドH
を搭載したキャリッジは、キャリッジ移動範囲Aにおけ
る所定の待機位置(A0 又はB0 )あるいは変則的な待
機位置(A1 又はB1 )から印字始端位置(AS 又はB
S )の方向CWへスライド移動される。
That is, the start / stop circuit 2 in FIG.
4 outputs a start command signal and the forward / reverse rotation circuit 25 outputs a reverse rotation command signal, so that the excitation phase control unit 21 sends a reverse rotation 1-2 phase excitation command signal (D → CD) to the motor driver 16b. (→ C → BC → B → AB → A → AD), which enables the thermal print head H
The carriage equipped with the print start position (AS or B) from the predetermined standby position (A0 or B0) or the irregular standby position (A1 or B1) in the carriage movement range A.
It is slid in the direction CW of S).

【0054】この場合、図6における駆動力制御回路C
M に対しては、制御部(CPU)11から駆動力制御信
号“L”が供給されるので、キャリッジ駆動モータMc
は低消費電流IL で駆動される。
In this case, the driving force control circuit C in FIG.
Since the driving force control signal “L” is supplied to the M from the control unit (CPU) 11, the carriage driving motor Mc
Is driven with a low current consumption IL.

【0055】そして、前記キャリッジが印字始端位置
(AS 又はBS )までスライド移動されキャリッジ位置
センサ18により検出されると(図5参照)、制御部1
1により、前記励磁相制御部21からモータドライバ1
6bに供給されている1−2相励磁指令信号が、1相励
磁の状態か否か判断される(ステップS2→S3)。
When the carriage is slid to the print start position (AS or BS) and detected by the carriage position sensor 18 (see FIG. 5), the controller 1
1 from the excitation phase control unit 21 to the motor driver 1
It is determined whether the 1-2 phase excitation command signal supplied to 6b is in the 1 phase excitation state (steps S2 → S3).

【0056】ここで、前記キャリッジが印字始端位置に
到達したことがキャリッジ位置センサ18により検出さ
れたものの、その時点でのキャリッジ駆動モータMcは
1相励磁ではなく2相励磁のタイミングにあると判断さ
れると、さらに1ステップ分1相励磁のタイミングまで
逆方向CWへ駆動され、前記起動・停止回路24からの
停止指令信号により、キャリッジ駆動モータMcは当該
1相励磁の状態で停止保持され、その位置が印字始端位
置BS として決められる(ステップS3→S4→S3→
S5)。
Here, although it is detected by the carriage position sensor 18 that the carriage has reached the print start position, it is determined that the carriage drive motor Mc at that time is not the one-phase excitation but the two-phase excitation timing. Then, it is further driven in the reverse direction CW until the timing of one-phase excitation for one step, and the carriage drive motor Mc is stopped and held in the state of the one-phase excitation by the stop command signal from the start / stop circuit 24. The position is determined as the print start edge position BS (steps S3 → S4 → S3 →
S5).

【0057】また、キャリッジ位置センサ18のキャリ
ッジ検出時にキャリッジ駆動モータMcの励磁状態が1
相励磁であれば、そこで停止保持され、その位置が印字
始端位置AS として決められる(ステップS3→S
5)。
When the carriage position sensor 18 detects the carriage, the excitation state of the carriage drive motor Mc is 1
If it is phase excitation, it is stopped and held there, and the position is determined as the print start end position AS (steps S3 → S).
5).

【0058】これにより、キャリッジ駆動モータMc
は、励磁電流の少ない1相励磁の状態で停止され、キャ
リッジは前記印字始端位置(AS 又はBS )に対応して
一時停止されるもので、ここで、前記RAM14内の印
字データ記憶部から1行分の印字データが読出され印字
制御部15内の印字バッファに読込まれる(ステップS
6)。
As a result, the carriage drive motor Mc
Is stopped in the state of one-phase excitation with a small exciting current, and the carriage is temporarily stopped corresponding to the print start end position (AS or BS). Here, from the print data storage section in the RAM 14, The print data for the line is read and read into the print buffer in the print control unit 15 (step S
6).

【0059】すると、前記印字制御部15の印字バッフ
ァに読込まれた1行分の印字データは、その先頭から1
ドットラインに相当する印字データずつ読出され、サー
マル印字ヘッドHの対応する発熱体が発熱駆動されると
共に、起動・停止回路24からの起動指令信号及び正逆
転回路25からの正転指令信号に応じて、励磁相制御部
21からモータドライバ16bに対し1ステップずつ正
転用の1−2相励磁指令信号が供給されることで、前記
サーマル印字ヘッドHを搭載したキャリッジは、キャリ
ッジ移動範囲Aにおける印字始端位置A1 から1ドット
ラインの幅で正方向CCWへ順次スライド移動され、1
ドットラインずつの印字の繰返しによる1行印字が行な
われる(ステップS7,S8,S9)。
Then, the print data for one line read in the print buffer of the print control unit 15 is 1 from the beginning.
The print data corresponding to the dot lines are read out one by one, the corresponding heating element of the thermal print head H is driven to generate heat, and in response to the start command signal from the start / stop circuit 24 and the forward rotation command signal from the forward / reverse rotation circuit 25. Then, the excitation phase control unit 21 supplies a 1-2 phase excitation command signal for normal rotation to the motor driver 16b step by step, so that the carriage equipped with the thermal print head H prints in the carriage movement range A. 1 dot line width from the starting position A1 is sequentially slid in the forward CCW direction to
One line is printed by repeating the printing for each dot line (steps S7, S8, S9).

【0060】この場合、図6における駆動力制御回路C
M に対しては、制御部(CPU)11から駆動力制御信
号“H”が供給されるので、キャリッジ駆動モータMc
は高励磁電流IH による高トルクで駆動される。
In this case, the driving force control circuit C in FIG.
Since the driving force control signal “H” is supplied from the control unit (CPU) 11 to M, the carriage driving motor Mc
Is driven with a high torque by a high excitation current IH.

【0061】そして、前記1ドットラインずつの繰返し
印字による1行分の印字が終了すると、前記RAM14
内の印字データ記憶部における未印字データの存在の有
無に基づき、全印字データの印字が終了したか否か判断
される(ステップS9→S10)。
When the printing of one line by the repeated printing of each dot line is completed, the RAM 14
Based on the presence / absence of unprinted data in the internal print data storage unit, it is determined whether or not printing of all print data is completed (steps S9 → S10).

【0062】ここで、前記RAM14内の印字データ記
憶部に未印字データが存在することで、印字終了ではな
いと判断されると、1行印字の最大幅に対応するキャリ
ッジ移動範囲A又はB相当の所定ステップ数分、キャリ
ッジ駆動モータMcが正方向CCWへ駆動されたか否
か、つまり、前記印字始端位置AS 又はBS からの1行
印字に伴なうキャリッジの移動位置が1行分の最大幅に
対応する印字終端位置AL 又はBL まで到達したか否
か、キャリッジ駆動モータMcに対する励磁ステップ数
で判断される(ステップS10→S11)。
When it is determined that the printing is not completed because there is unprinted data in the print data storage section in the RAM 14, the carriage movement range A or B corresponding to the maximum width of one line printing is obtained. Whether or not the carriage drive motor Mc has been driven in the forward CCW direction by a predetermined number of steps, that is, the carriage movement position associated with the printing of one line from the print start end position AS or BS is the maximum width of one line. Whether the print end position AL or BL corresponding to is reached is determined by the number of excitation steps for the carriage drive motor Mc (steps S10 → S11).

【0063】この励磁ステップ数は、印字中に印字始端
位置(AS 又はBS )を起点として制御部11により計
数されRAM14に記憶される。この場合、前記1行印
字の最大幅に対応するキャリッジ移動範囲A又はB相当
の所定ステップ数は文書データの書式設定により定まる
ものであり、全体が偶数個のステップ数として予め定め
られているので、前記印字始端位置(AS 又はBS )に
おいて1相励磁の状態で停止されてそこから起動されて
正転方向CCWに駆動されたキャリッジ駆動モータMc
は、前記所定ステップ数の到達時、すなわち、印字終端
位置(AL 又はBL )への到達時にあっては、必然的に
1相励磁の状態となるようにされている。
The number of excitation steps is counted by the control unit 11 starting from the print start position (AS or BS) during printing and stored in the RAM 14. In this case, the predetermined number of steps corresponding to the carriage movement range A or B corresponding to the maximum width of the one-line printing is determined by the format setting of the document data, and the whole is predetermined as an even number of steps. , A carriage drive motor Mc that is stopped in the one-phase excitation state at the print start position (AS or BS), is activated from there, and is driven in the forward direction CCW.
When the predetermined number of steps is reached, that is, when the print end position (AL or BL) is reached, the one-phase excitation is inevitably set.

【0064】ここで、前記1行印字は終了したものの、
キャリッジは1行分の最大幅に対応する印字終端位置
(AL 又はBL )まで到達してなく、例えば図4の矢印
x3 又はy3 で示すように、キャリッジ移動範囲A又は
Bの途中改行によって1行印字が終了したと判断される
と、その1行印字終了時点での前記励磁相制御部21か
らモータドライバ16bに供給されている1−2相励磁
指令信号が、制御部11により1相励磁の状態か否か判
断される(ステップS11→S12)。
Here, although the printing of one line is completed,
The carriage has not reached the print end position (AL or BL) corresponding to the maximum width for one line, and for example, as shown by the arrow x3 or y3 in FIG. When it is determined that the printing has been completed, the 1-2 phase excitation command signal supplied from the excitation phase control unit 21 to the motor driver 16b at the time when the printing of one line is completed, causes the control unit 11 to perform the 1 phase excitation. It is determined whether or not it is in the state (steps S11 → S12).

【0065】ここで、前記1行印字の途中改行による終
了時点でのキャリッジ駆動モータMcが1相励磁のタイ
ミングにあると判断されると、その印字終了位置AE が
折返し位置AM とされそのまま停止保持される(ステッ
プS12→S14)。
When it is determined that the carriage drive motor Mc is at the timing of the one-phase excitation at the end point of the one-line printing due to the line feed on the way, the print end position AE is set to the turn-back position AM, and the print is stopped and held as it is. (Step S12 → S14).

【0066】また、キャリッジ駆動モータMcは1相励
磁ではなく2相励磁のタイミングにあると判断される
と、さらに印字終了位置BE から1ステップ分1相励磁
のタイミングまで正方向CCWへ駆動された折返し位置
BM に進められて、前記起動・停止回路24からの停止
指令信号により、キャリッジ駆動モータMcは当該1相
励磁の状態で停止保持される(ステップS12→S13
→S12→S14)。
When it is determined that the carriage drive motor Mc is at the timing of the two-phase excitation instead of the one-phase excitation, the carriage drive motor Mc is further driven in the forward direction CCW from the print end position BE until the timing of the one-phase excitation for one step. The carriage drive motor Mc is advanced to the turn-back position BM, and in response to the stop command signal from the start / stop circuit 24, the carriage drive motor Mc is stopped and held in the one-phase excitation state (steps S12 → S13).
→ S12 → S14).

【0067】これにより、キャリッジ駆動モータMc
は、励磁電流の少ない1相励磁の状態で停止され、キャ
リッジは前記1行印字の途中改行位置に対応して一時停
止される。
As a result, the carriage drive motor Mc
Is stopped in the state of one-phase excitation with a small exciting current, and the carriage is temporarily stopped corresponding to the line feed position on the way of the printing of one line.

【0068】すると、前記キャリッジ駆動モータMc
は、逆方向CWに励磁駆動され、キャリッジは、例えば
図4の矢印x4 又は矢印y5で示すように、前記1行印字
の途中改行位置から次の1行印字のための印字始端位置
(AS 又はBS )に向けてスライド移動される(ステッ
プS15)。
Then, the carriage drive motor Mc
Is excited in the reverse direction CW, and the carriage moves from the midline feed position of one line print to the print start position (AS or It is slid toward BS) (step S15).

【0069】この場合、図6における駆動力制御回路C
M に対しては、制御部(CPU)11から駆動力制御信
号“L”が供給されるので、キャリッジ駆動モータMc
は低消費電流IL で駆動される。
In this case, the driving force control circuit C in FIG.
Since the driving force control signal “L” is supplied to the M from the control unit (CPU) 11, the carriage driving motor Mc
Is driven with a low current consumption IL.

【0070】そして、前記直前の1行印字に伴ないキャ
リッジの正方向CCWへの移動に要したモータ励磁ステ
ップ数に対し、前記印字始端位置(AS 又はBS )へ向
けたキャリッジの逆方向CWへの復帰移動に要するモー
タ励磁ステップ数が一致したか否かの判断により、該キ
ャリッジが印字始端位置(AS 又はBS )に復帰したか
否か判断される(ステップS16)。
Then, with respect to the number of motor excitation steps required to move the carriage in the forward CCW direction in association with the printing of the immediately preceding line, in the backward CW direction of the carriage toward the printing start end position (AS or BS). It is determined whether or not the carriage has returned to the printing start end position (AS or BS) by determining whether or not the number of motor excitation steps required for the return movement of (1) matches (step S16).

【0071】ここで、前記印字始端位置(AS 又はBS
)へ向けたキャリッジの逆方向CWへの復帰移動に要
するモータ励磁ステップ数が、直前の1行印字に伴ない
キャリッジの正方向CCWへの移動に要したモータ励磁
ステップ数と一致し、キャリッジ駆動モータMcが再び
1相励磁された状態でキャリッジが印字始端位置(AS
又はBS )に復帰したと判断されると、前記起動・停止
回路24からの停止指令信号により、キャリッジ駆動モ
ータMcは当該1相励磁の状態で停止保持され、次の1
行印字データの印字処理に移行する(ステップS16→
S5〜)。
Here, the printing start end position (AS or BS
), The number of motor excitation steps required to return the carriage in the reverse CW direction matches the number of motor excitation steps required to move the carriage in the forward CCW direction in response to the printing of one line immediately before. When the motor Mc is excited again for one phase, the carriage moves to the print start position (AS
If it is determined that the carriage drive motor Mc has returned to BS), the carriage drive motor Mc is stopped and held in the one-phase excitation state by the stop command signal from the start / stop circuit 24, and the next 1
The process proceeds to the line print data printing process (step S16 →
S5-).

【0072】すなわち、前記1行印字後にキャリッジが
次の1行印字のための印字始端位置(AS 又はBS )に
移動復帰した際にも、キャリッジ駆動モータMcは、励
磁電流の少ない1相励磁の状態で停止される。
That is, even after the carriage is moved back to the print start position (AS or BS) for printing the next one line after printing the one line, the carriage drive motor Mc is driven by the one-phase excitation with a small exciting current. The state is stopped.

【0073】一方、前記ステップS9において、1行印
字が終了したと判断されると共に、前記ステップS10
において全印字データの印字終了ではないと判断され際
に、例えば図4の矢印x1 で示すように、1行印字の最
大幅に対応するキャリッジ移動範囲A相当の所定偶数ス
テップ数分、キャリッジ駆動モータMcが正方向CCW
へ駆動されたこと、つまり、印字始端位置(AS 又はB
S )からの1行印字に伴なうキャリッジの移動位置が1
行分の最大幅に対応する印字終端位置(AL 又はBL )
まで1相励磁のタイミングで到達したと判断されると、
前記起動・停止回路24からの停止指令信号により、キ
ャリッジ駆動モータMcは当該1相励磁の状態で停止保
持される(ステップS11→S17)。
On the other hand, at the step S9, it is judged that the printing of one line is completed, and at the same time, at the step S10.
When it is determined that the printing of all print data is not completed in, the carriage drive motor is driven by a predetermined number of even steps corresponding to the carriage movement range A corresponding to the maximum width of one line print, as shown by an arrow x1 in FIG. Mc is forward CCW
Drive to the print start position (AS or B
The carriage movement position for printing one line from S) is 1
Print end position (AL or BL) corresponding to the maximum line width
When it is determined that the process has reached at the timing of one-phase excitation,
In response to the stop command signal from the start / stop circuit 24, the carriage drive motor Mc is stopped and held in the one-phase excitation state (steps S11 → S17).

【0074】これにより、キャリッジ駆動モータMc
は、必然的に励磁電流の少ない1相励磁の状態で停止さ
れ、キャリッジは前記1行印字の終端位置(AL 又はB
L)に対応して一時停止される。
As a result, the carriage drive motor Mc
Is inevitably stopped in the one-phase excitation state in which the excitation current is small, and the carriage is set at the end position (AL or B) for printing one line
It is suspended corresponding to L).

【0075】すると、前記キャリッジ駆動モータMc
は、逆方向CWに励磁駆動され、キャリッジは、例えば
図4の矢印x2 又は矢印y2 で示すように、前記1行印
字の終端位置(AL 又はBL )から次の1行印字のため
の印字始端位置(AS 又はBS)に向けてスライド移動
される(ステップS18)。
Then, the carriage drive motor Mc
Is excited in the reverse direction CW, and the carriage starts from the end position (AL or BL) of the printing of one line to the printing start end for the next printing of one line, as shown by arrow x2 or arrow y2 in FIG. It is slid toward the position (AS or BS) (step S18).

【0076】この場合、図6における駆動力制御回路C
M に対しては、制御部(CPU)11から駆動力制御信
号“L”が供給されるので、キャリッジ駆動モータMc
は低消費電流IL で駆動される。
In this case, the driving force control circuit C in FIG.
Since the driving force control signal “L” is supplied to the M from the control unit (CPU) 11, the carriage driving motor Mc
Is driven with a low current consumption IL.

【0077】そして、前記印字始端位置(AS 又はBS
)から印字終端位置(AL 又はBL)までの1行印字に
伴ないキャリッジの正方向CCWへの移動に要した所定
のモータ励磁ステップ数(偶数)に対応して、前記印字
始端位置(AS 又はBS )へ向けたキャリッジの逆方向
CWへの復帰移動に要するモータ励磁ステップ数が一致
したか否かの判断により、該キャリッジが印字始端位置
(AS 又はBS )に復帰したか否か判断される(ステッ
プS19)。
Then, the print start position (AS or BS
) To the print end position (AL or BL) corresponding to the predetermined motor excitation step number (even number) required to move the carriage in the forward CCW direction with printing one line, the print start position (AS or It is determined whether or not the carriage has returned to the print start position (AS or BS) by determining whether or not the number of motor excitation steps required for the return movement of the carriage toward BS) in the reverse direction toward BS) is the same. (Step S19).

【0078】ここで、前記印字始端位置(AS 又はBS
)へ向けたキャリッジの逆方向CWへの復帰移動に要
するモータ励磁ステップ数が、前記1行印字の最大幅に
相当する所定のモータ励磁ステップ数(偶数)と一致
し、キャリッジ駆動モータMcが再び1相励磁された状
態でキャリッジが印字始端位置(AS 又はBS )に復帰
したと判断されると、前記起動・停止回路24からの停
止指令信号により、キャリッジ駆動モータMcは当該1
相励磁の状態で停止保持され、次の1行印字データの印
字処理に移行する(ステップS19→S5〜)。
Here, the print start end position (AS or BS
), The number of motor excitation steps required for the return movement of the carriage in the reverse direction CW coincides with a predetermined number of motor excitation steps (even number) corresponding to the maximum width of the one-line printing, and the carriage drive motor Mc is restarted. When it is determined that the carriage has returned to the print start position (AS or BS) in the one-phase excitation state, the carriage drive motor Mc is driven by the stop command signal from the start / stop circuit 24.
It is stopped and held in the phase excitation state, and the process proceeds to the printing process of the next one-line print data (steps S19 → S5).

【0079】この場合にも、キャリッジ駆動モータMc
は、励磁電流の少ない1相励磁の状態で停止される。こ
うして、前記ステップS5〜S19の処理を繰返し、R
AM14内の印字データ記憶部に記憶されている印字デ
ータが1行分ずつ読出されて印字出力されている状態
で、ステップS10において、前記印字データ記憶部に
未印字データが存在しなくなり、印字終了と判断された
際に、その印字終了位置に対応するキャリッジの位置が
所定の待機位置(A0 又はB0 )より印字始端位置(A
S 又はBS )側にある場合には、キャリッジ駆動モータ
Mcは、正方向CCWに励磁駆動され、キャリッジは、
所定の待機位置(A0 又はB0 )までスライド移動され
る(ステップS10→S20)。
Also in this case, the carriage drive motor Mc
Is stopped in the one-phase excitation state where the excitation current is small. In this way, the processes of steps S5 to S19 are repeated, and R
With the print data stored in the print data storage unit in the AM 14 being read out line by line and printed out, in step S10, there is no unprinted data in the print data storage unit, and printing ends. When it is determined that the print start position is the print start end position (A0 or B0) from the predetermined standby position (A0 or B0).
S or BS) side, the carriage drive motor Mc is excited and driven in the forward CCW direction, and the carriage is
It is slid to a predetermined standby position (A0 or B0) (steps S10 → S20).

【0080】また、前記ステップS10において、前記
印字データ記憶部に未印字データが存在しなくなり、印
字終了と判断された際に、その印字終了位置に対応する
キャリッジの位置が所定の待機位置(A0 又はB0 )よ
り印字終端位置(AS 又はBS )側にある場合には、キ
ャリッジ駆動モータMcは、逆方向CWに励磁駆動さ
れ、キャリッジは、所定の待機位置(A0 又はB0 )ま
でスライド移動される(ステップS10→S20)。
In step S10, when there is no unprinted data in the print data storage section and it is determined that printing has ended, the position of the carriage corresponding to the printing end position is set to the predetermined standby position (A0 When the print end position (AS or BS) is closer than B0), the carriage drive motor Mc is excited and driven in the reverse direction CW, and the carriage is slid to a predetermined standby position (A0 or B0). (Steps S10 → S20).

【0081】したがって、前記構成のワードプロセッサ
によれば、サーマル印字ヘッドHを搭載したキャリッジ
を、キャリッジ駆動モータMcを1−2相励磁方式で励
磁駆動することにより、プラテンに沿って1行印字の最
大幅に対応するキャリッジ移動範囲Aにてスライド移動
させるもので、キャリッジがキャリッジ位置センサ18
により検出された印字始端位置(AS 又はBS )に移動
した際に、キャリッジ駆動モータMcが2相励磁の状態
にある場合には、さらに1ステップ分励磁駆動して1相
励磁の状態で停止保持させ、この印字始端位置(AS 又
はBS )からの1行印字終了までのキャリッジ駆動モー
タMcの正転駆動量、及び1行印字終了後の印字始端位
置(AS 又はBS )までの復帰に伴なう逆転駆動量は、
何れも偶数の励磁ステップ数で判断され、キャリッジの
折返しに伴なうモータMcの一時停止時には、常に1相
励磁の状態で停止保持されるので、キャリッジ駆動モー
タMcを励磁駆動するための消費電流を削減することが
でき、しかも、モータ自体の温度上昇を抑えることがで
きる。
Therefore, according to the word processor having the above-described structure, the carriage on which the thermal print head H is mounted is excited and driven by the carriage drive motor Mc according to the 1-2 phase excitation method, so that one line can be printed along the platen. The carriage position sensor 18 is used to slide the carriage in the corresponding carriage movement range A.
When the carriage drive motor Mc is in the two-phase excitation state when the carriage is moved to the print start position (AS or BS) detected by, the motor is further excited by one step and stopped and held in the one-phase excitation state. The normal drive amount of the carriage drive motor Mc from the start position of printing (AS or BS) to the end of printing one line, and the return to the start position of start of printing (AS or BS) after the end of printing one line. The reverse drive amount is
Both are determined by an even number of excitation steps, and when the motor Mc is temporarily stopped when the carriage is folded back, it is always stopped and held in the one-phase excitation state. Therefore, the current consumption for exciting the carriage drive motor Mc is increased. Can be reduced, and furthermore, the temperature rise of the motor itself can be suppressed.

【0082】また、前記構成のワードプロセッサによれ
ば、サーマル印字ヘッドHによる実際の印字が行なわれ
るキャリッジの正方向CCWへの移動時には、キャリッ
ジ駆動モータMcは駆動力制御信号“H”により高トル
クで駆動され、また、キャリッジの印字始端位置への復
帰のみに伴なう逆方向CWへの移動時には、キャリッジ
駆動モータMcは駆動力制御信号“L”により低励磁電
流で駆動されるので、前記キャリッジ駆動モータMcを
励磁駆動するための消費電流をさらに削減することがで
き、しかも、モータ自体の温度上昇もより低く抑えるこ
とができる。
Further, according to the word processor having the above structure, when the thermal print head H moves the carriage in the forward CCW direction, the carriage drive motor Mc outputs a high torque by the drive force control signal "H". The carriage drive motor Mc is driven at a low exciting current by the driving force control signal "L" when the carriage is moved in the reverse direction CW only when the carriage is returned to the print start end position. It is possible to further reduce the current consumption for exciting and driving the drive motor Mc, and further suppress the temperature rise of the motor itself.

【0083】図8は前記ワードプロセッサの他の実施形
態であるキャリッジ駆動モータMcに対する励磁制御回
路の全体構成を示すブロック図である。図9は前記ワー
ドプロセッサの他の実施形態であるキャリッジ駆動モー
タMcに対する励磁制御回路を用いた場合のモータ励磁
状態を示すタイミングチャートである。
FIG. 8 is a block diagram showing the overall construction of an excitation control circuit for a carriage drive motor Mc which is another embodiment of the word processor. FIG. 9 is a timing chart showing a motor excitation state when an excitation control circuit for a carriage drive motor Mc which is another embodiment of the word processor is used.

【0084】すなわち、本発明の他の実施形態に係わる
励磁制御回路では、クロックパルスジェネレータ23か
ら励磁相制御部21に対するパルス信号の供給ラインに
第1の切換えスイッチSW1を設けると共に、励磁相制
御部21からモータドライバ16bに対するD相用の励
磁指令信号供給ラインに第2の切換えスイッチSW2を
設ける。
That is, in the excitation control circuit according to another embodiment of the present invention, the first changeover switch SW1 is provided in the pulse signal supply line from the clock pulse generator 23 to the excitation phase control unit 21, and the excitation phase control unit is also provided. A second changeover switch SW2 is provided on the D-phase excitation command signal supply line from 21 to the motor driver 16b.

【0085】そして、キャリッジ駆動モータMcの回転
駆動状態では、クロックパルスジェネレータ23からの
パルス信号が第1のスイッチSW1の端子k1を介して
励磁相制御部21に供給される構成とし、モータドライ
バ16bのD相用信号供給端子には、励磁相制御部21
からのD相用の励磁指令信号が第2のスイッチSW2の
端子k1を介して供給される構成とする。
Then, in the rotational driving state of the carriage drive motor Mc, the pulse signal from the clock pulse generator 23 is supplied to the excitation phase control section 21 via the terminal k1 of the first switch SW1, and the motor driver 16b. The excitation phase controller 21 is connected to the D phase signal supply terminal of
The excitation command signal for the D phase from is supplied from the terminal k1 of the second switch SW2.

【0086】また、前記キャリッジ駆動モータMcの停
止状態では、制御部(CPU)11からのスイッチ制御
信号により第1及び第2のスイッチSW1,SW2を何
れも端子k2側に切換え、クロックパルスジェネレータ
23からのパルス信号が直接モータドライバ16bのD
相用信号供給端子に供給される構成とする。
When the carriage drive motor Mc is stopped, the switch control signal from the control unit (CPU) 11 switches both the first and second switches SW1 and SW2 to the terminal k2 side, and the clock pulse generator 23 The pulse signal from the direct D of the motor driver 16b
It is configured to be supplied to the phase signal supply terminal.

【0087】この場合、前記クロックパルスジェネレー
タ23により発生されるパルス信号の周波数は、制御部
(CPU)11からの制御信号に応じて周波数可変部2
2を介して可変設定されるもので、キャリッジ駆動モー
タMcの回転駆動状態では、所定のモータ励磁タイミン
グに同期した周波数に設定され、キャリッジ駆動モータ
Mcの停止状態では、当該モータMcの停止力が確保で
きる程度の周波数に設定される。
In this case, the frequency of the pulse signal generated by the clock pulse generator 23 depends on the control signal from the control unit (CPU) 11 and the frequency variable unit 2
2 is variably set via the drive motor 2. In the rotation driving state of the carriage driving motor Mc, the frequency is set in synchronization with a predetermined motor excitation timing, and in the stopped state of the carriage driving motor Mc, the stopping force of the motor Mc is changed. It is set to a frequency that can be secured.

【0088】したがって、前記本発明の他の実施形態に
係わる励磁制御回路を利用すれば、キャリッジ駆動モー
タMcの停止状態では、該モータのある励磁相に対して
その励磁電流を継続的に供給する必要はなく、パルス信
号として供給すればよいので、モータ停止に伴なう発熱
を抑制することができる。
Therefore, by using the excitation control circuit according to the other embodiment of the present invention, when the carriage drive motor Mc is stopped, the excitation current is continuously supplied to a certain excitation phase of the motor. It is not necessary to supply it as a pulse signal, so that heat generation due to motor stop can be suppressed.

【0089】[0089]

【発明の効果】以上のように、本発明の請求項1に係わ
る印字装置によれば、印字中にキャリッジを停止させる
ために、1−2相励磁によるステップモータの駆動を停
止する際には、検知手段で検知されたステップモータの
励磁状態が1相励磁のときにはその1相励磁状態が保持
され、また、前記検知手段で検知されたステップモータ
の励磁状態が2相励磁のときには1相励磁に変わるのを
待ってその1相励磁状態が保持されるよう前記ステップ
モータが停止制御されるので、モータの消費電流が低減
され、その温度上昇も軽減されるようになる。
As described above, according to the printing apparatus according to the first aspect of the present invention, when the driving of the step motor by the 1-2 phase excitation is stopped in order to stop the carriage during printing. When the excitation state of the step motor detected by the detection means is one-phase excitation, the one-phase excitation state is maintained, and when the excitation state of the step motor detected by the detection means is two-phase excitation, the one-phase excitation state is maintained. Since the stepping motor is stopped and controlled so that the one-phase excitation state is maintained after the change to, the current consumption of the motor is reduced and its temperature rise is also reduced.

【0090】また、本発明の請求項2に係わる印字装置
によれば、前記請求項1に係わる印字装置にあって、さ
らに、前記ステップモータが1相励磁されている前記キ
ャリッジの移動範囲の始端位置からの移動の際には、予
め定めた偶数のステップ数でキャリッジ終端位置までの
範囲内での移動が制御されるので、印字中のキャリッジ
移動始端位置及び移動折返し位置では、ステップモータ
は常に1相励磁位置で停止され、消費電流の削減及び発
熱の抑制が行なえるようになる。
According to a second aspect of the present invention, there is provided the printing apparatus according to the first aspect, wherein the step motor is further excited by one phase, and the start end of the moving range of the carriage is reached. When moving from the position, since the movement within the range to the carriage end position is controlled by a predetermined even number of steps, at the carriage movement start end position and movement return position during printing, the step motor is always It is stopped at the 1-phase excitation position, and it becomes possible to reduce the consumption current and suppress the heat generation.

【0091】また、本発明の請求項3に係わる印字装置
によれば、前記請求項1又は請求項2に係わる印字装置
にあって、さらに、前記キャリッジの往路と復路の移動
時において前記ステップモータの励磁電流値が変更され
るので、実際の印字が行なわれるキャリッジの往路移動
時に比べ、単に移動始端位置への復帰のみを行なう復路
移動時の励磁電流を下げることで、モータの全消費電流
が削減され、その発熱も抑制されるようになる。
According to a third aspect of the present invention, there is provided the printer according to the first aspect or the second aspect, further comprising the step motor when the carriage is moving in the forward path and the return path. Since the exciting current value of is changed, the total current consumption of the motor can be reduced by lowering the exciting current during the backward movement, which simply returns to the movement start position, compared with the forward movement of the carriage where actual printing is performed. It will be reduced and the heat generation will be suppressed.

【0092】また、本発明の請求項4に係わる印字装置
によれば、印字中にキャリッジを停止させるために、1
−2相励磁によるステップモータの駆動を停止する際に
は、励磁の停止と共にその1相にパルス列が加えられて
停止位置が保持されるので、励磁電流を継続的に印加す
る場合に比べ、モータの発熱が抑制されるようになる。
よって、本発明によれば、ステップモータにおける消費
電流を削減すると共に、該モータ自体の発熱も抑制する
ことが可能になる。
According to the printing apparatus of the fourth aspect of the present invention, in order to stop the carriage during printing,
-When stopping the driving of the step motor by -2 phase excitation, a pulse train is added to the 1 phase and the stop position is held when the excitation is stopped. The heat generation of the will be suppressed.
Therefore, according to the present invention, it is possible to reduce current consumption in the step motor and suppress heat generation of the motor itself.

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

【図1】本発明の実施形態に係わる印字装置を搭載した
ワードプロセッサの電子回路の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of an electronic circuit of a word processor equipped with a printing device according to an embodiment of the present invention.

【図2】前記ワードプロセッサのキャリッジ駆動モータ
Mcに対する励磁制御回路の全体構成を示すブロック
図。
FIG. 2 is a block diagram showing an overall configuration of an excitation control circuit for a carriage drive motor Mc of the word processor.

【図3】前記ワードプロセッサのキャリッジ駆動モータ
Mcに対する1−2相励磁用の励磁信号設定テーブルを
示す図。
FIG. 3 is a diagram showing an excitation signal setting table for 1-2 phase excitation with respect to a carriage drive motor Mc of the word processor.

【図4】前記ワードプロセッサの印字処理に伴なうキャ
リッジ駆動モータMcによるキャリッジ移動状態を示す
図。
FIG. 4 is a diagram showing a carriage movement state by a carriage drive motor Mc accompanying the printing processing of the word processor.

【図5】前記ワードプロセッサのキャリッジ位置検出セ
ンサによるセンサ信号とキャリッジ駆動モータMcに対
する1−2相励磁指令信号との関係を示す図。
FIG. 5 is a diagram showing a relationship between a sensor signal from a carriage position detection sensor of the word processor and a 1-2 phase excitation command signal for a carriage drive motor Mc.

【図6】前記ワードプロセッサのキャリッジ駆動モータ
Mcに対するモータドライバの励磁電流供給回路の構成
を示す回路図。
FIG. 6 is a circuit diagram showing a configuration of a motor driver excitation current supply circuit for the carriage drive motor Mc of the word processor.

【図7】前記ワードプロセッサの印字処理全般を示すフ
ローチャート。
FIG. 7 is a flowchart showing the overall printing process of the word processor.

【図8】前記ワードプロセッサの他の実施形態であるキ
ャリッジ駆動モータMcに対する励磁制御回路の全体構
成を示すブロック図。
FIG. 8 is a block diagram showing an overall configuration of an excitation control circuit for a carriage drive motor Mc which is another embodiment of the word processor.

【図9】前記ワードプロセッサの他の実施形態であるキ
ャリッジ駆動モータMcに対する励磁制御回路を用いた
場合のモータ励磁状態を示すタイミングチャート。
FIG. 9 is a timing chart showing a motor excitation state when an excitation control circuit for a carriage drive motor Mc which is another embodiment of the word processor is used.

【符号の説明】 11 …制御部(CPU)、 12 …キー入力部、 13 …ROM、 14 …RAM、 15 …印字制御部、 16a…紙送りモータドライバ、 Mp…紙送りモータ、 16b…ヘッドドライバ、 H …サーマル印字ヘッド、 16c…キャリッジ駆動モータドライバ、 Mc…キャリッジ駆動モータ、 17 …検出回路、 18 …キャリッジ位置検出センサ、 19 …液晶表示部、 21 …励磁相制御部、 22 …周波数可変部、 23 …クロックパルスジェネレータ、 24 …起動・停止回路、 25 …正逆転回路、 A,B…キャリッジ移動範囲、 A0 ,B0 …所定キャリッジ待機位置、 AS ,BS …印字始端位置、 AL ,BL …印字終端位置、 AM ,BM …途中改行折返し位置、 AE ,BE …途中改行終了位置、 A1 ,B1 …変則的キャリッジ待機位置、 Q …印字始端位置検出信号、 Q0 …チャタリング信号、 CM …駆動力制御回路、 SW1…第1の切換えスイッチ、 SW2…第2の切換えスイッチ。[Explanation of Codes] 11 ... Control Unit (CPU), 12 ... Key Input Unit, 13 ... ROM, 14 ... RAM, 15 ... Print Control Unit, 16a ... Paper Feed Motor Driver, Mp ... Paper Feed Motor, 16b ... Head Driver , H ... Thermal print head, 16c ... Carriage drive motor driver, Mc ... Carriage drive motor, 17 ... Detection circuit, 18 ... Carriage position detection sensor, 19 ... Liquid crystal display section, 21 ... Excitation phase control section, 22 ... Frequency variable section , 23 ... Clock pulse generator, 24 ... Start / stop circuit, 25 ... Forward / reverse circuit, A, B ... Carriage movement range, A0, B0 ... Predetermined carriage standby position, AS, BS ... Printing start position, AL, BL ... Printing End position, AM, BM ... Halfway line break return position, AE, BE ... Halfway line end position, A1, B1 ... Anomalous carry Standby position, Q ... Print start end position detection signal, Q0 ... Chattering signal, CM ... Driving force control circuit, SW1 ... First changeover switch, SW2 ... Second changeover switch.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 印字ヘッドを搭載したキャリッジを記録
紙の幅方向に往復移動させるステップモータと、 このステップモータを1−2相励磁で駆動するモータ駆
動手段と、 このモータ駆動手段による前記ステップモータの励磁状
態を検知する検知手段と、 印字中に前記キャリッジを停止させるために前記ステッ
プモータの駆動を停止する際に、前記検知手段で検知さ
れた励磁状態が1相励磁のときにはその励磁状態を保持
し、前記検知手段で検知された励磁状態が2相励磁のと
きには1相励磁に変わるのを待ってその励磁状態を保持
して前記ステップモータを停止させる制御手段とを具備
したことを特徴とする印字装置。
1. A step motor for reciprocating a carriage having a print head in the width direction of a recording sheet, a motor driving means for driving the step motor by 1-2 phase excitation, and the step motor by the motor driving means. Detection means for detecting the excitation state of the stepping motor, and when stopping the driving of the step motor to stop the carriage during printing, when the excitation state detected by the detection means is one-phase excitation, the excitation state is detected. And a control means for holding the excitation state, and holding the excitation state until the excitation state detected by the detection means is changed to the one-phase excitation when the excitation state is two-phase excitation. Printing device.
【請求項2】 さらに、 前記キャリッジの移動経路の定められた位置にあって前
記キャリッジの位置を検出する位置検出手段と、 印字開始時に、前記位置検出手段の情報に基づいて前記
モータ駆動手段により前記ステップモータが1相励磁さ
れている前記キャリッジの位置を前記キャリッジの移動
範囲の始端位置として決める始端位置決定手段と、 印字中に、前記始端位置から予め定めた前記ステップモ
ータの偶数のステップ数で前記キャリッジが移動される
前記キャリッジの終端位置までの範囲内で前記キャリッ
ジを移動させるために前記モータ駆動手段を制御する第
2の制御手段とを備えたことを特徴とする請求項1記載
の印字装置。
2. A position detecting means for detecting the position of the carriage at a predetermined position of a movement path of the carriage, and a motor driving means based on information of the position detecting means at the start of printing. Start position determining means for determining the position of the carriage where the step motor is excited by one phase as the start position of the moving range of the carriage, and an even number of steps of the step motor which is predetermined from the start position during printing. 2. The second control means for controlling the motor drive means to move the carriage within a range up to the end position of the carriage where the carriage is moved. Printing device.
【請求項3】 さらに、 前記キャリッジの往路と復路の移動時において前記ステ
ップモータの励磁電流値を変更する励磁電流変更手段を
備えたことを特徴とする請求項1又は請求項2記載の印
字装置。
3. The printing apparatus according to claim 1, further comprising an exciting current changing unit that changes an exciting current value of the step motor when the carriage moves in a forward path and a backward path. .
【請求項4】 印字ヘッドを搭載したキャリッジを記録
紙の幅方向に往復移動させるステップモータと、 このステップモータを1−2相励磁で駆動するモータ駆
動手段と、 印字中に前記キャリッジを停止させるために前記ステッ
プモータを停止する際に、前記モータ駆動手段による励
磁を停止させて前記ステップモータの1相にパルス列を
加える制御手段とを具備したことを特徴とする印字装
置。
4. A step motor for reciprocating a carriage equipped with a print head in the width direction of a recording sheet, a motor drive means for driving the step motor with 1-2 phase excitation, and the carriage being stopped during printing. For this purpose, when the step motor is stopped, a control means for stopping the excitation by the motor driving means and applying a pulse train to one phase of the step motor is provided.
JP22313695A 1995-08-31 1995-08-31 Printer Pending JPH0970199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22313695A JPH0970199A (en) 1995-08-31 1995-08-31 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22313695A JPH0970199A (en) 1995-08-31 1995-08-31 Printer

Publications (1)

Publication Number Publication Date
JPH0970199A true JPH0970199A (en) 1997-03-11

Family

ID=16793364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22313695A Pending JPH0970199A (en) 1995-08-31 1995-08-31 Printer

Country Status (1)

Country Link
JP (1) JPH0970199A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050042703A (en) * 2003-11-04 2005-05-10 삼성전자주식회사 Method and system of preventing stepping out in step motor
US7312595B2 (en) 2002-07-09 2007-12-25 Denso Corporation Motor control apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7312595B2 (en) 2002-07-09 2007-12-25 Denso Corporation Motor control apparatus
US7667427B2 (en) 2002-07-09 2010-02-23 Denso Corporation Motor control apparatus
KR20050042703A (en) * 2003-11-04 2005-05-10 삼성전자주식회사 Method and system of preventing stepping out in step motor

Similar Documents

Publication Publication Date Title
JPS59188480A (en) Electronic typewriter with automatic power-off mechanism
EP1306222B1 (en) Printing apparatus and method of controlling the same
JPS63112182A (en) Printer device
JPH0970199A (en) Printer
JPS63107576A (en) Serial printer
JPS6151353A (en) Dot matrix type serial printer
US5415480A (en) Printer having a stepping motor for driving and retaining a type wheel
JP3774578B2 (en) Recording apparatus and motor control circuit
JPH0219795B2 (en)
JPS6227169A (en) Printing position determining system for serial printer
JPH07112566A (en) Recording device and recording
JPS59140087A (en) Printer
JPH07314837A (en) Printing device
JP2001327191A (en) Drive mechanism controlling device, method for controlling drive mechanism, and its record medium
JPH0313364A (en) Printer
JPH10193664A (en) Thermal printer
JP3733267B2 (en) Step motor drive control circuit
JPS62100196A (en) Drive circuit for stepping motor
EP0199185A1 (en) Printing device
JPH01243893A (en) Step motor controller
JP2710947B2 (en) Printing device
JPH0744877B2 (en) Pulse motor drive circuit
JPH08258359A (en) Thermal serial printer
JPH11342661A (en) Label printer
JPH09252595A (en) Motor control circuit