JPS58157383A - Control system for dc motor - Google Patents

Control system for dc motor

Info

Publication number
JPS58157383A
JPS58157383A JP57037297A JP3729782A JPS58157383A JP S58157383 A JPS58157383 A JP S58157383A JP 57037297 A JP57037297 A JP 57037297A JP 3729782 A JP3729782 A JP 3729782A JP S58157383 A JPS58157383 A JP S58157383A
Authority
JP
Japan
Prior art keywords
motor
sensor
reference position
position detector
moved
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP57037297A
Other languages
Japanese (ja)
Other versions
JPH0215886B2 (en
Inventor
Hisamitsu Gomita
寿光 五味田
Giichi Ishida
義一 石田
Yuko Nojiri
雄幸 野尻
Kimiyoshi Ishizaki
石崎 公詳
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP57037297A priority Critical patent/JPS58157383A/en
Publication of JPS58157383A publication Critical patent/JPS58157383A/en
Publication of JPH0215886B2 publication Critical patent/JPH0215886B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J19/00Character- or line-spacing mechanisms
    • B41J19/18Character-spacing or back-spacing mechanisms; Carriage return or release devices therefor
    • B41J19/20Positive-feed character-spacing mechanisms
    • B41J19/202Drive control means for carriage movement

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Control Of Position Or Direction (AREA)
  • Control Of Direct Current Motors (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To eliminate the alternation of a program even if mechanical modification is performed by immediately inverting a motor when a position detector relative unit provided at the drive unit passes through a position detector for deciding the reference position and employing as the reference position at the point moved at the prescribed distance. CONSTITUTION:When a photointerrupter 12B relating to a position detector relative unit provided on a type drum D is disposed within a position detector 11B for deciding a reference position, it is moved rightwardly, and when it passes through the width of a sensor 11B, it is immediately inverted, and the point moved at the prescribed distance is used as the reference position. When the photointerrupter 12B is disposed at the right side position of the sensor 11B, it is moved in the course of moving leftwardly and when disposed at the left side position of the sensor 11B, it is moved leftwardly to arrive at the left end sensor 18, the right end of the sensor 11B is detected in the source of moving rightwardly, and the point thereafter moved at the prescribed distance leftwardly is used as the reference position.

Description

【発明の詳細な説明】 本発明は、DCモータ制御方式に係り、特に、DCモー
タが回転し、その基準位置を決めるのに好適な、DCモ
ータ回転方向基準位置決め動作(J(ome  pos
 i t ion動作、以下、HP@作という。)に係
るDCモータ制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a DC motor control system, and particularly to a DC motor rotation direction reference positioning operation (J (home pos
i t ion operation, hereinafter referred to as HP@saku. ) is related to a DC motor control method.

従来のHP動作を、活字プリンタを例にとり説明するこ
ととする。
Conventional HP operation will be explained using a type printer as an example.

ここで、第1図は、活字プリンタの要部説明構成図であ
る。
Here, FIG. 1 is a diagram illustrating the main parts of a type printer.

すなわち、活字バー7は、活字ドラムD内に複数個、放
射状に収納されており、打字時のみ、活字バー上下用モ
ータ10により活字ドラムD内より引き上げられ、ハン
マー6によりペーパ8上に、ペーパ8と活字バー7との
間に配置されたリボン4を打ち抜くことにより印字をす
るものである。
That is, a plurality of type bars 7 are stored radially inside the type drum D, and only during printing, they are pulled up from within the type drum D by the type bar up and down motor 10, and the paper is placed on the paper 8 by the hammer 6. Printing is performed by punching out the ribbon 4 placed between the bar 8 and the bar 7.

上記の活字ドラムDは、スプライン13により、スライ
ド、回転自在に保持されておシ、活字ドラムDのスライ
ドは、スライド方向駆動用DCモータ17によりラック
15とピニオン16を介して行なわれ、また、同活字ド
ラムDの回転は、回転方向駆動用DCモータ1によりギ
ヤ2,3を介して行なわれるものであり、この活字ドラ
ムDは駆動部に係るものである。
The type drum D is slidably and rotatably held by a spline 13, and the type drum D is slid by a DC motor 17 for driving the slide direction via a rack 15 and a pinion 16. The rotation of the type drum D is performed by a DC motor 1 for driving the rotational direction via gears 2 and 3, and the type drum D is related to a driving section.

そして、プラテンP移動用モータ5は、プラテンPを移
動して印字時の横送りを行ない、ペーパ送り用モータ9
はペーパ8を移動させて、印字時の改行を行なうもので
ある。
Then, the platen P moving motor 5 moves the platen P to perform horizontal feeding during printing, and the paper feeding motor 9
is to move the paper 8 and perform a line feed during printing.

また、IIA、1.IBは、HP検出用フォトセンサ(
の、(X)で、それぞれ、基準位置を決める位置とホト
トランジスタとを凹部の上位置に相対させたものであり
、12A、12Bは、フォトイ/タラクター(の、(X
)で、それぞれ、活字ドラムDのシャフト、取着枠体に
設けられた位置検出器相対部に係るもので、活字ドラム
Dの回転、横行とともに回転、移動し、上記のHP検出
用フォトセンサ(の11A1同(X) 11 Bの凹部
を通過するようになっているものであシ、18は、たと
えばリミットスイッチのようなもので、後述する第4図
の左端セ/すLSであり、これは反転させるだめの位置
検出器に係り、El−E2は、エンコーダ(の、(X)
であって、上記の両DCモータ1,17に接続されるも
のである。
Also, IIA, 1. IB is a photosensor for HP detection (
In (X), the reference position and the phototransistor are respectively opposed to the upper position of the recess, and 12A and 12B are the phototransistors (in
), which are related to the position detector relative parts provided on the shaft and attachment frame of the type drum D, respectively, and rotate and move as the type drum D rotates and traverses, and are connected to the above-mentioned photo sensor for HP detection ( 11A1 (X) 11B. 18 is something like a limit switch, for example, and is the leftmost cell LS in Fig. 4, which will be described later. is related to the position detector to be inverted, and El-E2 is the encoder (of, (X)
It is connected to both the DC motors 1 and 17 mentioned above.

上記構成に係るものの印字時の動作を、次に説明する。The operation of the printer having the above configuration during printing will be described next.

まず、必要印字文字の収納しである活字バー7を選択す
るために、回転方向駆動用、スライド方向駆動用DCモ
ータ1,17を運転して活字ドラムDを移動させ、必要
文字のある活字バー7のある点て停止させる。
First, in order to select the type bar 7 that stores the required characters to be printed, the DC motors 1 and 17 for driving in the rotational direction and the driving direction in the sliding direction are operated to move the type drum D, and the type bar 7 containing the required characters is moved. Stop at point 7.

そして、活字バー上下用モータ10によって当該活字バ
ー7を活字ドラムDより引き出し、ノ・ンマー6により
印字するものである。
Then, the type bar 7 is pulled out from the type drum D by the type bar up and down motor 10, and the printer 6 prints.

この印字後、活字バー7を活字ドラムD内に収納し、以
後、同様の動作を繰り返して連続印字を行なうものであ
る。
After this printing, the type bar 7 is housed in the type drum D, and thereafter, the same operation is repeated to perform continuous printing.

なお、上記両DCモータ1,17のコントロールに係る
制御は、それぞれのモータ取り付けのエンコーダ(θ)
El、エンコーダ(x) E 2を使用して、第2図に
、その−例のブロック図を示すようなりCモータ制御回
路により行なわれるものである。
In addition, the control related to the above-mentioned DC motors 1 and 17 is controlled by the encoder (θ) attached to each motor.
This is carried out by a C motor control circuit using an encoder (x) E2 and an example block diagram shown in FIG.

この第2図に示す制御回路は、上述の回転方向駆動用、
スライド方向、駆動用DCモータ1,17にそれぞれ接
続されるものであり、このDCモータ制御回路の動作を
、次に説明する。
The control circuit shown in FIG. 2 is for the above-mentioned rotational direction drive,
The DC motor control circuit is connected to the driving DC motors 1 and 17 in the sliding direction, respectively, and the operation of this DC motor control circuit will be described next.

図で、19は移動パルス数指令、20は回転方向指令、
21は速度指令、22はセンサー指令を示すものである
In the figure, 19 is a movement pulse number command, 20 is a rotation direction command,
Reference numeral 21 indicates a speed command, and 22 indicates a sensor command.

そして、25はモータで、さきの第1図のスライド方向
駆動用DCモータ17、または回転方向駆動用DCモー
タ1に相当し、26はエンコーダで、同様に、さきのエ
ンコーダ(X)E7、またはエンコーダ(のE、に相当
するものである。
25 is a motor, which corresponds to the sliding direction drive DC motor 17 shown in FIG. This corresponds to the encoder (E).

上記のエンコーダ26の出力φ、、φBは、)(ルス変
換器28に加えられ、パルスに変換される。
The outputs φ, , φB of the encoder 26 described above are applied to a pulse converter 28 and converted into pulses.

このパルス変換器28の出力により、回転方向判別器2
7は、モータ25の回転方向CW/CCWを判別し、ま
た、速度検出器30は、パルスCKを一定時間サンプリ
ングしてモータ25の回転数VFを、さらに、位置検出
部29は、モータ25が移動したパルス数Pを検出して
、これらは、それぞれの検出情報をCPU (Cent
ral  pro−cessing [Jnit、中央
処理装置)23に送るものであり、TVは、サンプリン
グ周期信号を示すもので、モータ25.エンコーダ26
を除いた部分が制御回路に属するものである。
Based on the output of this pulse converter 28, the rotation direction discriminator 2
7 determines the rotational direction CW/CCW of the motor 25, the speed detector 30 samples the pulse CK for a certain period of time to determine the rotation speed VF of the motor 25, and the position detector 29 determines the rotational speed VF of the motor 25. The number of pulses P that have moved is detected, and the respective detection information is sent to the CPU (Central
ral processing [Jnit, central processing unit) 23, TV indicates a sampling period signal, and is sent to the motor 25. encoder 26
The part excluding the part belongs to the control circuit.

しかして、CPU23は、外部からの指令である移動パ
ルス数指令195回転方向指令20.速度指令21と、
前記した検出情報とにより、その指令された回転方向に
、指令された速度で、指令されたパルス数たけ、モータ
25を回転させ、停止させるものであり、センサー指令
22は、HP検出用ホトセノザ(の、(X)12A、1
2Bよりの信号に係るものである。
Therefore, the CPU 23 receives external commands such as a movement pulse number command 195, a rotation direction command 20. Speed command 21,
Based on the above-mentioned detection information, the motor 25 is rotated in the commanded rotation direction, at the commanded speed, and by the commanded number of pulses, and then stopped. ,(X)12A,1
This is related to the signal from 2B.

したがって、たとえば、エンコーダ26のノ;ルス数を
1回転2000パルスとすると、360° ×(1/2
000)=0.18°の精度でモータ25の回転角をコ
ントロールすることができることになる。
Therefore, for example, if the pulse number of the encoder 26 is 2000 pulses per rotation, then 360° × (1/2
The rotation angle of the motor 25 can be controlled with an accuracy of 0.000)=0.18°.

つ1す、さきの活字バー7の選択位置情報を、極めて精
密にすることができるものである。
First, the selection position information of the previous type bar 7 can be made extremely precise.

しかしながら、活字バー7の上記位置精度がずれると、
活字バー7の停止位置もずれるので、ハフマー6が活字
バー7上の文字部を正しく打字できず、印字品質の低下
や、活字の寿命を短くするなどの欠点が生ずるものであ
る。
However, if the above positional accuracy of the type bar 7 deviates,
Since the stop position of the type bar 7 is also shifted, the Huffmer 6 cannot correctly print the character portion on the type bar 7, resulting in disadvantages such as deterioration of printing quality and shortening the life of the type.

そして、このような場合、上記のような精度でモータ2
5の回転角をコントロールすることができるので、活字
ドラムDの回転方向のずれは、概ね許容できるが、左右
方向のずれは印字の重なり、左右間隔の不揃えなど、そ
の印字品質の低下は著しいものである。
In such a case, the motor 2 should be controlled with the accuracy described above.
Since the rotation angle of 5 can be controlled, deviations in the rotational direction of the type drum D can be generally tolerated, but deviations in the left-right direction can cause overlapping prints, uneven left-right spacing, etc., resulting in a significant deterioration in printing quality. It is something.

そこで、さきの第1図に示したように、−例として、横
行用の、HP検出用フォトセンサ(X)IIB(以下、
HPセンサHPS  IIBと略す。)を設けるととも
に、活字ドラムDの取着枠体にフォトインタラフター(
X) 12 Bを取り付け、活字ドラムDのスライド方
向の基準位置を検出し、この基準位置を基準として、モ
ータ25を回転、つまり活字ドラムDをスライドさせる
ことにより、停止精度を確保することができるものであ
る。
Therefore, as shown in FIG.
HP sensor is abbreviated as HPS IIB. ), and a photointerrupter (
X) By attaching 12 B, detecting a reference position in the sliding direction of the type drum D, and rotating the motor 25, that is, sliding the type drum D, using this reference position as a reference, stopping accuracy can be ensured. It is something.

ところで、従来、この基準位置検出動作、すなわち活字
ドラムDのスライド方向のHP動作は、第3図のフロー
チャート図に示すような動作により行なっていたもので
ある。
Incidentally, conventionally, this reference position detection operation, that is, the HP operation in the sliding direction of the type drum D has been performed by an operation as shown in the flowchart of FIG.

すなわち、まず、HPセンサHPSIIB内にフォトイ
ンタラフター(x) 12 Bが、あるかどうかを確認
し、ある場合は、HPセンサHPSIIBの外側端部よ
り一定距離移動して停止しなくてはならないので、HP
センサHPSIIB 外に出る必要があって、後述する
第4図のノ・に示すように距離aだけ右へ移動してから
左方向へ移動し、HPセンサHPSIIB  を探す動
作を行ない、壕だ、HPセンサHPSIIB  内にな
い場合は、同じく第4図の49口に示すごとく、そのま
ま左方向へ移動してHPセンサHPSIIBを探すもの
である。
That is, first, it is checked whether there is a photointerrupter (x) 12B in the HP sensor HPSIIB, and if there is, it must be moved a certain distance from the outer end of the HP sensor HPSIIB and then stopped. , HP
Sensor HPSIIB It is necessary to go outside, and as shown in Figure 4 below, move to the right by a distance a and then move to the left to search for HP sensor HPSIIB. If it is not within the HP sensor HPSIIB, as shown at 49 in FIG. 4, it moves to the left and searches for the HP sensor HPSIIB.

そして、センサ信号があった場合は、そのセンサがHP
センサHPSLIBか否かを判断し、当該センサの場合
は、第4図の口のごとく一定の距離Cだけ左へ移動し、
基準位置HPに停止するものである。
Then, if there is a sensor signal, that sensor
Determine whether the sensor is HPSLIB or not, and if it is the sensor, move a certain distance C to the left as shown in the mouth in Figure 4,
It stops at the reference position HP.

もし、前記センサ信号がF丁PセンサHPSIIBに係
るものでなく、たとえば、反転させるだめの位置検出器
に係る第4図に示す左端センサLS18に係るものであ
る場合は、これに活字ドラム5の枠体、あるいはフォト
インタラフター(X) 12 Bが当接して作動させ、
一旦停止したのち、第4図のイに示すごとく、反転して
、そのHPセンサHPS11Bを越える距離すだけ右方
向へ高速で移動してから左方向へ再O・移動し始め、H
PセンサHPS11Bを探して、そのHPセンサ信号が
あると、距離Cだけ左へ移動し、基準位置1−r J)
に停止するものである。
If the sensor signal is not related to the F page P sensor HPSIIB, but is related to the left end sensor LS18 shown in FIG. The frame body or photointerrupter (X) 12B comes into contact and operates,
After stopping once, as shown in Fig. 4 A, it reverses and moves at high speed to the right by a distance that exceeds the HP sensor HPS11B, and then begins to move to the left again.
When searching for P sensor HPS11B and receiving its HP sensor signal, it moves to the left by distance C and returns to the reference position 1-r J)
It is something that stops at.

しかして、第4図は上記における活字ドラムDの動き、
すなわちスライド方向駆動用DCモータ17の動きを示
す状態変遷図である。
Therefore, FIG. 4 shows the movement of the type drum D in the above,
That is, it is a state transition diagram showing the movement of the slide direction drive DC motor 17.

すなわち、同図のイは、フォトインタラフタ−(X) 
12 Bが、HPセンサHPS’llBと、さきに述べ
た反転させるだめの左端センサLS18との間にある場
合で、SIは、その位置を示し、■〜■の変遷となり、
また口は、フォトインタラフタ=(X) 12 BがH
PセンサHPSIIB  より右の82の位置にある場
合の■〜■に係る変遷を示し、次にハは、フォトインタ
ラフター(X) 12 BがHPセンサH−PSIIB
内のS、の位置にある場合の■〜■に係る変遷を示すも
のである。
In other words, A in the same figure is a photointerrupter (X).
12B is between the HP sensor HPS'llB and the left end sensor LS18 which is to be inverted, and SI indicates the position, and the transition from ■ to ■ is,
Also, the mouth is a photointerface = (X) 12 B is H
The transition related to ■ to ■ is shown when the photointerrupter (X) 12 B is located at position 82 to the right of the P sensor HPSIIB.
This figure shows the changes related to ■ to ■ in the case of position S in the figure.

しか−して、同図の(イ)、(ハ)に係るものにおいて
は、距離すならびにaが設定距離として固定され、プロ
グラムされているようになっているものである。
However, in the systems shown in (a) and (c) of the figure, the distances a and a are fixed and programmed as set distances.

しかしながら、上記による従来技術に係るHP動作では
、以下に述べるような諸欠点を有するものであった。
However, the HP operation according to the prior art described above has various drawbacks as described below.

(1)HPセンサHPSIIB と左端センサL818
との距離を変更すると、右方向の移動距離すのプログラ
ム変更を行なわなければならない。
(1) HP sensor HPSIIB and left end sensor L818
If you change the distance between the two, you will have to change the program for the rightward movement distance.

(2)モータ25(ここでは、スライド方向駆動用DC
モータ17)の位置検出を行なうエンコーダ26(ここ
では、エンコーダ(X) E 2)のパルス数が変わる
と、プログラムを変更し、移動距離の修正を行なわなけ
ればならない。
(2) Motor 25 (here, a DC motor for driving the sliding direction)
When the number of pulses of the encoder 26 (here, encoder (X) E 2) that detects the position of the motor 17) changes, the program must be changed and the moving distance must be corrected.

(3)モータ制御回路が組み込まれる相手機器、すなわ
ち、その活字子りンタの大小など、駆動部の構成が変わ
ると、プログラムを変更しなければならない。
(3) If the configuration of the drive unit changes, such as the size of the target device into which the motor control circuit is installed, ie, the printer, the program must be changed.

本発明は、DCモータが組込まれる機器に関係なくHP
動作が可能なシーケンス制御に係るDCモータ制御方式
の提供を、その目的とするものである。
The present invention applies to HP regardless of the equipment in which the DC motor is incorporated.
It is an object of the present invention to provide a DC motor control method related to sequence control that allows operation.

本発明の要点は、従来のHP動作シーケンスプロクラム
カ位置検出センサの移動、エンコーダパピードデータを
変更しなければならない点と、DCモータが組込まれる
機器によって、その都度プログラムを変更しなければな
らない点に着目し、上記機械的変更があった場合でも、
プログラムの変更がない汎用性のあるH P動作を行な
わせるようにしだものである。
The main points of the present invention are that the conventional HP operation sequence program requires changing the movement of the motor position detection sensor and the encoder pumped data, and that the program must be changed each time depending on the device in which the DC motor is installed. Focusing on this, even if there is the above mechanical change,
This allows for versatile HP operation without changing the program.

本発明の特徴は、DCモータ、このDCモータニ接続さ
れたエンコーダ、このエンコーダからの信号により前記
DCモータの制御を行なう制御回路、上記DCモータに
より駆動されるとともに位置検出器相対部を有する駆動
部、この駆動部の基準位置を決める位置検出器、同上駆
動部の動作を反転させるだめの位置検出器を有する駆動
系において、当該駆動部の基準位置を決める動作を、少
なくとも、駆動部に設けられた位置検出器相対部が、そ
の基準位置を決める位置検出器を通過して抜は出すと、
直ちに反転して所定の距離を動いた点を基準位置とする
ようなシーケンス制御によるようにしたDCモータ制御
方式にある。
The present invention is characterized by a DC motor, an encoder connected to the DC motor, a control circuit that controls the DC motor based on a signal from the encoder, and a drive section driven by the DC motor and having a position detector relative section. In a drive system having a position detector for determining the reference position of the drive unit, and a position detector for reversing the operation of the drive unit, at least an operation for determining the reference position of the drive unit is provided in the drive unit. When the position detector relative part passes through the position detector that determines its reference position and is pulled out,
The DC motor control method employs sequence control in which a point immediately reversed and moved a predetermined distance is set as a reference position.

次に、本発明に係る実施例を、さきの第1,2図をあわ
せ、第5,6図により説明する。
Next, an embodiment according to the present invention will be described with reference to FIGS. 5 and 6, together with the previous FIGS. 1 and 2.

すなわち、本実施例は、さきの従来例と同様に活字プリ
ンタに係るものである。
That is, the present embodiment relates to a type printer, similar to the previous conventional example.

ここで、第5図は、本発明の一実施例に係る制御方式に
おける基準位置検出動作を示すフローチャート図、第6
図は、その活字ドラムの動きを示す状態変遷図であり、
その活字プリンタの構成。
Here, FIG. 5 is a flowchart diagram showing the reference position detection operation in the control method according to an embodiment of the present invention, and FIG.
The figure is a state transition diagram showing the movement of the type drum.
The configuration of that type printer.

DCモータの制御回路(は、さきの第1,2図に示した
ものによるものである。
The DC motor control circuit (is based on the one shown in Figures 1 and 2 above).

第5図に示すフローチャートに示すごとく、本実施例に
係るものにおいては、まず、HPセンサHPSIIBの
有か否かを判断し、そのHPセンサ信号がある場合は、
後述する第6図のハに示すごとく活字ドラムDは右へ移
動して、フォトイ/タラクタ−(X) 12 BがII
PセフすHPSIIB を抜は出すと、直ちにその方向
を変え、改めてHPセノザHPSIIBを探すものであ
る。
As shown in the flowchart shown in FIG. 5, in this embodiment, first, it is determined whether or not the HP sensor HPSIIB is present, and if the HP sensor signal is present,
The type drum D moves to the right as shown in FIG.
When you pull out HPSIIB, you immediately change direction and look for HPCENOZA HPSIIB again.

また、HPセ/す信号がない場合は、第6図の42口の
ごとく、いずれも活字ドラム五が左へ移動じ、センサを
探すものである。
If there is no HP signal, the type drum 5 moves to the left to search for the sensor, as in case 42 in FIG.

そして、セッサ信号がある場合は、そのセンサ信号がI
−I PセッサHPSIIBによるものかどうかを判断
する。
If there is a sensor signal, the sensor signal is I
- Determine whether it is caused by the IP processor HPSIIB.

その結果、HPセンサトIPSIIBによる場合は、い
ずれも、第6図の口、ノ・のどとく、左へ一定の距離d
だけ移動して、基準位置FTPのところで停止するよう
にするものである。
As a result, in the case of HP Sensat IPSIIB, the mouth and throat in Figure 6 are fixed a certain distance d to the left.
, and then stops at the reference position FTP.

しかして、HPセンサI−(PSIIBによるセンサ信
号以外の場合、すなわち左端センサL S 18のセ/
す信号の場合は、第6図のイに示すごとく、左への移動
から反転して右へ移動し、HPセンサI−IPSIIB
 を探すものであり、そしてHPセンサHPSIIBを
見つけると、当該HP セ:y”jHPS IIBの幅
を抜は出るまで右へ移動し、抜は出したところで、直ち
に反転し、一定の距離dだけ移動し、基準位IHPのと
ころで停止するようにしたものである。
Therefore, in the case of a sensor signal other than the sensor signal from HP sensor I-(PSIIB, that is, the sensor signal of the left end sensor L S 18
In the case of a signal of
When it finds the HP sensor HPSIIB, it moves to the right until it exits the width of the HP sensor HPSIIB, then immediately reverses itself and moves a certain distance d. and stops at the reference position IHP.

第6図は、既述のように、前記HP動作のシーケンスを
活字プリンタの活字ドラムDのスライド方向の制御に適
応した場合の活字ドラムDの動き、すなわち、スライド
方向1駆動用DCモータ17の動きを示す状態変遷図で
ある。
As described above, FIG. 6 shows the movement of the type drum D when the HP operation sequence is adapted to control the sliding direction of the type drum D of a type printer, that is, the movement of the DC motor 17 for driving the first slide direction. It is a state transition diagram showing movement.

同図において、イは、フォトインタラフタ−(X)12
Bが、HI)セ/すHPSIIB と、反転させるだめ
の左端センサL818との間にある場合で、Slは、そ
の位置を示し、■〜■の変遷となり、また口は、フォト
インタラフター(X) 12 Bが、1■PセンサHP
SIIB より右側の82の位置にある場合の■〜■に
係る変遷を示し、次にハは、フォトインタラフター(X
) 12 Bが、HPセ/すHPSIIB 内における
S3の位置にある場合の■〜■に係る変遷を示すもので
ある。
In the same figure, A is a photointerrupter (X) 12
In the case where B is between HI) SE/SHPSIIB and the left end sensor L818 to be inverted, Sl indicates its position and changes from ■ to ■. ) 12 B is 1■P sensor HP
The transitions related to ■ to ■ in the case of position 82 on the right side of SIIB are shown, and then C is the photointerrupter (X
) 12B is at the position of S3 in HP SE/HPSIIB, and shows the transitions related to (1) to (2).

以上に述べたところにより、本実施例においては、さき
に述べたスライド方向駆動用DCモータ17、このDC
モータ17に接続されたエンコーダ(X)E2、このエ
ンコーダからの信号により前記のDCモータ17の制御
を行なう制御回路、上記のDCモータ17により駆動さ
れるとともにフォトインタラフター(X)12Bを有す
る駆動部に係るを決める位置検出器に係るHPセンサト
IPsIIB同上の活字ドラム6の動作を反転させるだ
めの位置検出器に係る左端セッサLS18を有する駆動
系において、少なくとも、その活字ドラムDの基準位置
HPを決める動作を、次のように制御するようにしたも
のである。
As described above, in this embodiment, the slide direction drive DC motor 17 described earlier, this DC
An encoder (X) E2 connected to the motor 17, a control circuit that controls the DC motor 17 based on a signal from the encoder, and a drive that is driven by the DC motor 17 and includes a photointerrupter (X) 12B. In a drive system having a left end sensor LS18 related to a position detector for reversing the operation of the type drum 6, at least the reference position HP of the type drum D is determined. The deciding operation is controlled as follows.

すなわち、活字ドラムDに設けられた位置検出器相対部
に係るフォトインクラフター(X) 12 Bが、基準
位置HPを決める位置検出器HPセンサHPS’llB
 を通過して抜は出すと、直ちに反転して、所定の距離
dを動いた点を基準位置HPとするようなシーケンス制
御を行なうようにしたものであり、第6図に示すイ、ハ
のごとくである。
That is, the photo ink crafter (X) 12B related to the position detector relative portion provided on the type drum D is the position detector HP sensor HPS'llB that determines the reference position HP.
After passing through and pulling out, the system immediately reverses itself and performs sequence control such that the point after moving a predetermined distance d is set as the reference position HP. That's it.

たとえば、第6図イのごとく、その動作開始時に、左端
セ/すLS18の方へ進み、次に、左端センサLS18
により、その反転させるだめの位置を検出すると反転動
作をさせたのち、その基準位置HPを決めるHPセンサ
HPSklB を通過すると、直ちに、ある設定された
方向である基準位置IPの方向に再反転し、一定の距離
dを動いた点を基準位置HPとするようにシーケンス制
御をするようにしだものであり、HPセンサHP811
Bを通過したあとの制御態様は、第6図ノ・の場合も同
様である。
For example, as shown in FIG. 6A, at the start of the operation, the left end sensor LS18 is moved,
When the position of the stop to be reversed is detected, the reverse operation is performed, and when it passes the HP sensor HPSklB which determines the reference position HP, it is immediately reversed again in the direction of the reference position IP, which is a certain set direction. It is designed to perform sequence control so that a point moved a certain distance d is set as the reference position HP, and the HP sensor HP811
The control mode after passing through B is the same as in the case of FIG.

なお、フォトインタラフタ−(X) 12 Bが、HP
センサHP811 B の、左端センサLS18側でな
い外側に位置する口の場合は、従来例と同様にして、一
定の距離dだけ移動して基準位置HPのところで停止さ
せるようにするものである。
In addition, the photointerrupter (X) 12B is
In the case of the mouth of the sensor HP811B located on the outside, not on the left end sensor LS18 side, it is moved by a certain distance d and stopped at the reference position HP, as in the conventional example.

上記によって、本実施例に係るものにおいては、従来例
のように、HPセンサHPSIIB と左端センサL8
18との距離を特定する必要がないから、その右方向の
移動距離のプログラムを変更するようなことは行なう必
要がなく、また、スライド方向駆動用DCモータ17の
位置検出を行なう工7コーダ(x)E2のパルス数が変
っても、プログラムを変更、移動距離の修正を行なう必
要がないものである。
According to the above, in this embodiment, as in the conventional example, the HP sensor HPSIIB and the left end sensor L8
18, there is no need to change the program for the movement distance in the right direction. x) Even if the number of pulses of E2 changes, there is no need to change the program or correct the moving distance.

しかして、上記実施例においては、活字ドラムBの移動
速度、すなわちDCモータの回転速度は、外部指令の速
度指令で可変にすることができるようにしたもので、H
P動作の速度を自由に選ぶことができるものである。
Therefore, in the above embodiment, the moving speed of the type drum B, that is, the rotational speed of the DC motor, can be made variable by an external speed command.
The speed of P operation can be freely selected.

すなわち、制御部分にダイヤル、押釦弁などを設け、そ
の操作によって速度指令を出してCPU23のプログラ
ム構成により、速度を可変にするように調整するもので
あり、これは、位置決め動作の時間を短縮させるような
場合に有効である。
That is, a dial, a push button valve, etc. are provided in the control part, and by operating the dial, a speed command is issued, and the speed is adjusted to be variable by the program configuration of the CPU 23. This reduces the time for positioning operation. It is effective in such cases.

また、本実施例は、活字プリンタに係るものであるが、
本発明は、このようなものにおけるDCモータのみの制
御方式に限定されるものではなく、同態様の、たとえば
、大小の活字プリンタ、あるいは搬送機器、広くは一定
位置に停止させる機器など、その組込まれる機器に応じ
たシーケンス制御を行なう汎用的なものである。
Furthermore, although this embodiment relates to a type printer,
The present invention is not limited to the control method of only the DC motor in such devices, but is applicable to the same type of type printers, large and small type printers, conveyance equipment, broadly speaking, equipment that stops at a fixed position, etc. It is a general-purpose device that performs sequence control according to the equipment being used.

以上に述べたところをも総合して、本発明によるときは
、基準位置センサ、移動範囲を示すリミットスイッチな
どの位置変更、DCモータに取り付けられるエンコーダ
のパルス数の変更などかあつても、そのプログラムの変
更がないこと、またDCモータが組込まれる機器が変わ
っても、同じF■P動作シーケ/スが行なえるので、ソ
フトウェア開発を新たにする必要がないなどの効果を奏
するものであり、すぐれた実用的効果を奏する発明とい
うことができる。
Taking all of the above into consideration, the present invention allows the user to easily adjust the position of the reference position sensor, the limit switch that indicates the movement range, etc. even if the position of the sensor is changed, or the number of pulses of the encoder attached to the DC motor is changed. This has the advantage that there is no need to change the program, and even if the device in which the DC motor is installed changes, the same F■P operation sequence can be performed, so there is no need to develop new software. It can be said that this invention has excellent practical effects.

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

第1図は、活字プリンタの要部説明構成図、第2図は、
そのDCモータ制御回路の例示ブロック図、第3図は、
従来の基準位置検出動作を示すフローチャート図、第4
図は、活字ドラムの動きを示す状態変遷図、第5図は、
本発明の一実施例に係る制御方式における基準位置検出
動作を示すフローチャート図、第6図は、その活字ドラ
ムの動きを示す状態変遷図である。 1・・・回転方向駆動用DCモータ、7・・・活字バー
、11B・・・HP検出フォトセンサ(X)、12B・
・・フォトイ/タラクター(X)、17・・・スライド
方向駆動用DCモータ、18・・・左端センサLS、2
3・・・CPU、24・・・ドライバー、25・・・モ
ータ、26・・・エンコーダ、27・・・回転方向判別
器、28・・・パルス変換器、29・・・位置検出部、
30・・・速度検出器、D・・・活字トラム、E、・・
・エンコーダ(0)、E2・・・エンコーダ(X)。 L′ツメ・ (ほか1名)“ 第  2 図 第  、3  口 第  4  図 第  5  図
Figure 1 is an explanatory configuration diagram of the main parts of a type printer, and Figure 2 is a
An exemplary block diagram of the DC motor control circuit, FIG. 3, is as follows:
Flowchart diagram showing conventional reference position detection operation, No. 4
The figure is a state transition diagram showing the movement of the type drum, and Figure 5 is:
FIG. 6 is a flowchart showing the reference position detection operation in the control method according to an embodiment of the present invention, and is a state transition diagram showing the movement of the type drum. 1... DC motor for rotational direction drive, 7... Type bar, 11B... HP detection photosensor (X), 12B...
...Photoy/Taractor (X), 17...DC motor for driving the slide direction, 18...Left end sensor LS, 2
3... CPU, 24... Driver, 25... Motor, 26... Encoder, 27... Rotation direction discriminator, 28... Pulse converter, 29... Position detection unit,
30... Speed detector, D... Type tram, E,...
- Encoder (0), E2...Encoder (X). L'Tsume (and 1 other person) "Figures 2, 3, 4, 5

Claims (1)

【特許請求の範囲】 1、DCモータ、このDCモータに接続されたエンコー
ダ、このエンコーダからの信号により前記DCモータの
制御を行々う制御回路、上記DCモータにより駆動され
るとともに位置検出器相対部を有する駆動部、この駆動
部の基準位置を決める位置検出器、同上駆動部の動作を
反転させるだめの位置検出器を有する駆動系において、
当該駆動部の基準位置を決める動作を、少なくとも、駆
動部に設けられた位置検出器相対部が、その基準位置を
決める位置検出器を通過して抜は出すと、直ちに反転し
て所定の距離を動いた点を基準位置とするようなシーケ
ンス制御によるようにしたことを特徴とするDCモータ
制御方式。 2、特許請求の範囲第1項記載りものにおいて、動作開
始時に駆動部が反転させるための位置検出器の方へ進み
、次に、その位置検出器相対部を介し、反転させるだめ
の位置を検出すると反転動作をさせたのち、当該位置検
出相対部が、その基準位置を決める位置検出器を通過し
て抜は出すと、直ちに再反転して所定の距離を動いた点
を基準位置とするよう々シーケンス制御によるものとし
たものであるDCモータ制御方式。 3、特許請求の範囲第1項記載のものにおいて、その基
準位置決めをする動作速度は、外部よりの設定で任意に
行えるようにするものであるDCモータ制御方式。
[Claims] 1. A DC motor, an encoder connected to the DC motor, a control circuit that controls the DC motor based on a signal from the encoder, and a position sensor relative to the DC motor driven by the DC motor. In a drive system having a drive part having a section, a position detector for determining a reference position of this drive part, and a position detector for reversing the operation of the same drive part,
The operation of determining the reference position of the drive part is performed at least when the position detector relative part provided in the drive part passes through the position detector that determines the reference position and is immediately reversed and moves a predetermined distance. A DC motor control method is characterized in that the DC motor control method is controlled by sequence control such that a point at which the motor moves is set as a reference position. 2. In the accessory described in claim 1, at the start of the operation, the driving part advances toward the position detector for reversing, and then determines the position of the reversing target via the position detector relative part. When it is detected, it performs a reversal operation, and when the relative position detecting part passes through a position detector that determines its reference position and pulls out, it immediately reverses itself again and sets the point at which it has moved a predetermined distance as its reference position. A DC motor control method that uses sequence control. 3. The DC motor control method according to claim 1, in which the operating speed for determining the reference position can be set arbitrarily from the outside.
JP57037297A 1982-03-11 1982-03-11 Control system for dc motor Granted JPS58157383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57037297A JPS58157383A (en) 1982-03-11 1982-03-11 Control system for dc motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57037297A JPS58157383A (en) 1982-03-11 1982-03-11 Control system for dc motor

Publications (2)

Publication Number Publication Date
JPS58157383A true JPS58157383A (en) 1983-09-19
JPH0215886B2 JPH0215886B2 (en) 1990-04-13

Family

ID=12493763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57037297A Granted JPS58157383A (en) 1982-03-11 1982-03-11 Control system for dc motor

Country Status (1)

Country Link
JP (1) JPS58157383A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60167002A (en) * 1984-02-09 1985-08-30 Hitachi Seiki Co Ltd Automatic origin return system of machine tool
JPS6360647U (en) * 1986-10-08 1988-04-22
EP0482356A2 (en) * 1990-09-21 1992-04-29 Canon Kabushiki Kaisha Recording apparatus
JP2005336862A (en) * 2004-05-27 2005-12-08 Matsushita Electric Ind Co Ltd Sanitary cleaning device
JP2021035749A (en) * 2019-08-30 2021-03-04 寿原株式会社 Ink pot blade adjustment device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS547078A (en) * 1977-06-16 1979-01-19 Oki Electric Ind Co Ltd Automatic positioning method to inherent position of machine in numerical control

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS547078A (en) * 1977-06-16 1979-01-19 Oki Electric Ind Co Ltd Automatic positioning method to inherent position of machine in numerical control

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60167002A (en) * 1984-02-09 1985-08-30 Hitachi Seiki Co Ltd Automatic origin return system of machine tool
JPS6360647U (en) * 1986-10-08 1988-04-22
JPH0512053Y2 (en) * 1986-10-08 1993-03-26
EP0482356A2 (en) * 1990-09-21 1992-04-29 Canon Kabushiki Kaisha Recording apparatus
US6015202A (en) * 1990-09-21 2000-01-18 Canon Kabushiki Kaisha Recording apparatus
JP2005336862A (en) * 2004-05-27 2005-12-08 Matsushita Electric Ind Co Ltd Sanitary cleaning device
JP2021035749A (en) * 2019-08-30 2021-03-04 寿原株式会社 Ink pot blade adjustment device

Also Published As

Publication number Publication date
JPH0215886B2 (en) 1990-04-13

Similar Documents

Publication Publication Date Title
US5584589A (en) Graphics printer roller transport apparatus and method
US5605407A (en) Printer and its control method
EP0291099B1 (en) Apparatus for indexing an origin of a moving member
JPS58157383A (en) Control system for dc motor
US7135831B2 (en) Method and device for controlling motor
EP1201446B1 (en) Recording apparatus
JPS6239110B2 (en)
JPS6411469B2 (en)
JPWO2003011602A1 (en) Tape printer
US3857471A (en) Tapeless paper motion control system providing sensing circuits to govern motor incrementing
JP2769893B2 (en) Recording device
JPH05338308A (en) Control method for carriage motor of printer
JPS60236781A (en) Serial printer controlling system
JPS58219079A (en) Home position setting system for carriage in serial printer
JPH06286255A (en) Apparatus for detecting abnormality in operation of head carriage of printer
JPS61227076A (en) Detection of absolute position of each printing head in multi-head printer
JPH02122966A (en) Automatic printing head adjustment mechanism of printer
JPS5935042B2 (en) Positioning method in phototypesetting machines and similar machines
JPS625870A (en) Printer
JP2786376B2 (en) Printer
JPH04163180A (en) Medium printer
JPH05155080A (en) Printing position control circuit
JPH04255370A (en) Printing region enlarging apparatus of printer
JPH03280612A (en) Frequency controller
JPH01247179A (en) Serial dot matrix printer