JPH0217895A - Driving of stepping motor - Google Patents

Driving of stepping motor

Info

Publication number
JPH0217895A
JPH0217895A JP16261288A JP16261288A JPH0217895A JP H0217895 A JPH0217895 A JP H0217895A JP 16261288 A JP16261288 A JP 16261288A JP 16261288 A JP16261288 A JP 16261288A JP H0217895 A JPH0217895 A JP H0217895A
Authority
JP
Japan
Prior art keywords
excitation
phase
motor
stepping motor
time
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
JP16261288A
Other languages
Japanese (ja)
Inventor
Takeshi Ono
健 小野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP16261288A priority Critical patent/JPH0217895A/en
Publication of JPH0217895A publication Critical patent/JPH0217895A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make it a high speed to start a stepping motor for rotation and to minimize the damping in stopping the motor rotation by changing exciting current, exciting time, etc., corresponding to the rotating speed and exciting phase of the motor. CONSTITUTION:A control section 100 is equipped with a built-in CPU 103. It is also furnished with a ROM 104 loaded with control programmes and various kinds of data for CPU 103, a RAM 105 used as a work area for the CPU 103, etc. The outputs 110, 121 to 124 of the control section 100 are inputted into a D/A converter 107 and drivers A and B, with which a stepping motor 125 is driven. Here, in the control section 100 the present number of steps and the exciting phases of the stepping motor 125 are detected when the motor is driven for rotation, and then the phase-exciting current value or the exciting time is changed corresponding to each exciting phase and number of steps.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はステッピングモータの駆動方式に関し、特にフ
ァクシミリ装置等の記録紙や原稿等の搬送用モータとし
て使用されるモータのように、一定でない周期で、所定
量ずつ回転駆動するときに有効なステッピングモータの
駆動方式に関するものである。
Detailed Description of the Invention [Industrial Field of Application] The present invention relates to a stepping motor drive method, and in particular, the present invention relates to a stepping motor drive method, and in particular, a stepping motor with an irregular cycle, such as a motor used as a motor for conveying recording paper or original documents in a facsimile machine, etc. The present invention relates to a stepping motor driving method that is effective when rotationally driven by a predetermined amount.

[従来の技術] 一般に、ファクシミリ装置等において記録紙や原稿等を
、原稿の読取りや記録等を行う主走査方向に直交する副
走査方向に搬送する駆動源としてステッピングモータが
使用されている。このステッピングモータの励磁方式に
は、1相励磁、2相励磁及び1−2相励磁等の方法があ
るが、細かい制御できることと、最高動作周波数が高い
ということの長所等により、ファクシミリ装置の紙送り
用のステッピングモータにはl−2励磁方式が用いられ
ている。このようなモータの駆動時には、その制御やハ
ード構成等を簡単にするために、通常、ステップ駆動レ
ートや相励磁エネルギーを固定にしており、例えば40
0ppsでモータを回転駆動する場合は、各相を2.5
msずつ同じ電流を通電してモータを駆動していた。
[Prior Art] In general, a stepping motor is used in a facsimile machine or the like as a drive source for conveying recording paper, a document, or the like in a sub-scanning direction perpendicular to a main-scanning direction in which the document is read, recorded, etc. Excitation methods for this stepping motor include 1-phase excitation, 2-phase excitation, and 1-2 phase excitation. The l-2 excitation method is used for the stepping motor for feeding. When driving such a motor, the step drive rate and phase excitation energy are usually fixed to simplify control and hardware configuration.
When rotating the motor at 0 pps, each phase should be 2.5
The motor was driven by applying the same current every ms.

[発明が解決しようとする課題] このようなファクシミリ装置における記録紙や原稿等の
搬送動作時には、原稿画像の画像パターンや符号化や復
号化等により、各主走査方向の読取りや記録に要する時
間が異なるため、副走査方向の送りは間欠的であり、し
かもその間隔が一定でない。−船釣に、ステッピングモ
ータを間欠的に駆動する場合、モータの駆動開始時に、
例えば800ppsで回転させるために400pps−
600pps−800ppsとパルスレートな上げて加
速制御を行ったり、逆に減速制御してモータを停止する
加減速制御はあった。しかし、このような制御は、通常
のプリンタ等における記録紙の搬送やキャリッジの搬送
等のように一定時間間隔で比較的長く高速でモータを回
転させるための駆動制御としては意味があるが、ファク
シミリ装置の紙送り駆動のように、間欠的でしかも不定
周期に駆動され、かつその1回の駆動ステップが4ステ
ツプや8ステツプというように、少ないステップで駆動
される場合は十分な加減速ができず、しかも加速や減速
のために余分な時間を要するためまり効果がなかった。
[Problems to be Solved by the Invention] During the operation of conveying recording paper, originals, etc. in such a facsimile machine, the time required for reading and recording in each main scanning direction is reduced due to the image pattern of the original image, encoding, decoding, etc. Since the distances are different, the feeding in the sub-scanning direction is intermittent and the intervals are not constant. - When driving a stepping motor intermittently for boat fishing, when the motor starts driving,
For example, to rotate at 800pps, 400pps-
There was acceleration/deceleration control that increased the pulse rate to 600pps-800pps to perform acceleration control, or conversely, performed deceleration control to stop the motor. However, while this kind of control is meaningful as a drive control for rotating a motor at a relatively long and high speed at fixed time intervals, such as when conveying recording paper or conveying a carriage in a normal printer, it is useful for facsimile machines. When a device is driven intermittently and at irregular intervals, such as when driving paper in a device, and when the drive is performed in small steps, such as 4 or 8 steps, sufficient acceleration and deceleration cannot be achieved. Moreover, there was no stalling effect because extra time was required for acceleration and deceleration.

このような問題を解決するためには、高速での十分なト
ルクが得られるようなある程度大きなモータを使用した
り、モータの励磁電流を大きくする等が考えられるが、
大きなモータを使用するとコスト高や回転の立上がりが
鈍くなるという問題がある。そこで、モータの立上がり
時に十分な電流を通電してモータを駆動することが考え
られるが、立上がり時の電流を印加したままでは、停止
時にダンピングが大きくなって税調してしまったり、回
転が開始された後は立上がり時のような電流は不要にな
るため、電力の無駄になるという問題がある。
In order to solve this problem, it is possible to use a somewhat larger motor that can obtain sufficient torque at high speeds, or to increase the excitation current of the motor.
When a large motor is used, there are problems such as high cost and slow start-up of rotation. Therefore, it is possible to drive the motor by applying a sufficient current when the motor starts up, but if the current is applied at the start up, the damping will increase when the motor stops and the motor will start rotating. After that, the current required during startup is no longer needed, so there is a problem that power is wasted.

本発明は上述従来例に鑑みてなされたもので、ステッピ
ングモータの回転数や励磁相に対応してその励磁電流や
励磁時間等を変更することにより、モータの回転起動を
高速にし、モータの回転停止時のダンピングを最小限に
抑えることができるステッピングモータの駆動方式を提
供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and by changing the excitation current, excitation time, etc. of the stepping motor in accordance with the rotation speed and excitation phase, the motor starts rotating at high speed, and the motor rotates. An object of the present invention is to provide a stepping motor drive method that can minimize damping when stopped.

[課題を解決するための手段] 上記目的を達成するために本発明のステッピングモータ
の駆動方式は以下の様な構成からなる。
[Means for Solving the Problems] In order to achieve the above object, the stepping motor drive system of the present invention has the following configuration.

即ち、 ステッピングモータを1回の駆動開始指示により指示さ
れたステップ数だけ回転駆動するステッピングモータの
駆動方式であって、回転駆動時、現在のステップ数と前
記ステッピングモータの励磁相を検知する検知手段と、
前記各励磁相及びステップ数に対応して相励磁電流値或
いは励磁時間を変更する励磁制御手段とを備える。
That is, the stepping motor drive method rotates the stepping motor by the number of steps specified by one drive start instruction, and includes a detection means that detects the current number of steps and the excitation phase of the stepping motor during rotational driving. and,
and excitation control means for changing the phase excitation current value or excitation time in accordance with each of the excitation phases and the number of steps.

他の請求項によれば、 前記励磁制御手段は駆動開始時は励磁時間を長くし、あ
るいはl相励磁時は2相励磁時よりも励磁時間を短くし
、最終のl相励磁時にはl相当りの励磁電流を小さくす
るようになっている。
According to another claim, the excitation control means lengthens the excitation time at the start of driving, or shortens the excitation time at the time of l-phase excitation than at the time of two-phase excitation, and at the time of final l-phase excitation, The excitation current is reduced.

[作用] 以上の構成において、回転駆動時、現在のステップ数と
ステッピングモータの励磁相を検知し、各励磁相及びス
テップ数に対応して相励磁電流値或いは励磁時間を変更
するように動作している。
[Function] In the above configuration, during rotational driving, the current number of steps and the excitation phase of the stepping motor are detected, and the phase excitation current value or excitation time is changed in accordance with each excitation phase and the number of steps. ing.

また、他の請求項の構成によれば、現在のステップ数と
ステッピングモータの励磁相を基に、駆動開始時は励磁
時間を長くし、あるいはl相励磁時は2相励磁時よりも
励磁時間を短くし、最終のl相励磁時には1相当りの励
磁電流を小さくするように動作している。
Further, according to the structure of another claim, the excitation time is made longer at the start of driving based on the current number of steps and the excitation phase of the stepping motor, or the excitation time is made longer during l-phase excitation than during two-phase excitation. It operates so that the excitation current per phase is made smaller during the final l-phase excitation.

[実施例] 以下、添付図面を参照して本発明の好適な実施例を詳細
に説明する。
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[モータ制御回路の説明 (第1図、2図)]第1図は
実施例のファクシミリ装置の記録部に採用された紙送り
用モータ制御回路の概略構成を示すブロック図である。
[Description of Motor Control Circuit (FIGS. 1 and 2)] FIG. 1 is a block diagram showing a schematic configuration of a paper feed motor control circuit employed in the recording section of the facsimile machine of the embodiment.

図中、100はマイクロプロセッサ等のCPU103を
内蔵した制御部で、図示しない、例えば”ファクシミリ
装置等の主制御部よりの制御情報やモータ駆動情報等を
信号線102を介して入力したり、主制御部にモータ駆
動終了やエラー情報等を返送するインターフェース部1
01、第5図のフローチャートで示されたCPU 10
3の制御プログラムや各種データ等を格納しているRO
Ml04、CPU103のワークエリアとして使用され
るRAM等を備えている。このRAM105には、主制
御部より指示されたモータl゛25の回転数(ステップ
数)を記憶するCNT、モータ125の現在の励磁相を
記憶しているPH等を含んでいる。
In the figure, reference numeral 100 denotes a control unit with a built-in CPU 103 such as a microprocessor. Interface unit 1 that returns information such as motor drive completion and error information to the control unit
01, CPU 10 shown in the flowchart of FIG.
RO stores the control programs and various data of 3.
It is equipped with a RAM, etc., which is used as a work area for the M104 and the CPU 103. This RAM 105 includes a CNT that stores the number of rotations (number of steps) of the motor 125 instructed by the main control section, a PH that stores the current excitation phase of the motor 125, and the like.

106はステッピングモータ125の駆動用電源で、直
流+24Vを出力している。107はD/Aコンバータ
で、制御部100より複数ビットのデジタル制御信号1
10を入力し、アナログ電圧信号に変換してドライバ回
路108と109のVR端子に出力している。108と
109は共に第2図にその詳細を示すモータ駆動用ドラ
イバ回路で、この実施例ではトムソン社製3718(S
)を使用している。
106 is a power source for driving the stepping motor 125, which outputs +24V DC. 107 is a D/A converter, which receives a multi-bit digital control signal 1 from the control unit 100;
10 is input, converted into an analog voltage signal, and outputted to the VR terminals of driver circuits 108 and 109. Both 108 and 109 are motor drive driver circuits whose details are shown in FIG.
) is used.

121は制御部100より出力されるA相の相電流方向
を制御する相信号で、A相の励磁またA相の逆相励磁(
AX)を制御している。122はA相の巻線電流を変更
して励磁エネルギーを調節する2ビツトの巻線電流制御
信号である。また同様に、123はB相の相電流方向を
制御してB相励磁やその逆相励磁(BX)を制御する相
信号、124はB相の励磁エネルギーを調節する巻線電
流制御信号である。
121 is a phase signal output from the control unit 100 to control the phase current direction of the A phase, and is used for excitation of the A phase or negative phase excitation of the A phase (
AX) is controlled. Reference numeral 122 is a 2-bit winding current control signal that changes the A-phase winding current to adjust the excitation energy. Similarly, 123 is a phase signal that controls the B-phase current direction to control B-phase excitation and its opposite phase excitation (BX), and 124 is a winding current control signal that adjusts the B-phase excitation energy. .

第2図は実施例のドライバ回路の構成を示すブロック図
で、この回路は前述したようにトムソン社製3718(
S)である。
FIG. 2 is a block diagram showing the configuration of the driver circuit of the embodiment, and as mentioned above, this circuit consists of the Thomson 3718 (
S).

この回路は、バイポーラ・チョッパ・ドライバ回路で、
基準電圧端子vRはチョッパ電流値を決定する基準電圧
で、D/Aコンバータ107の出力電圧127を入力し
ている。従って、制御部100はこの制御信号110に
よりD/Aコンバータ107の出力電圧値を制御して、
モータ125の巻線電流(励磁エネルギー)を変更する
ことができる。更に、この回路は、それぞれが2ビツト
の巻線電流制御信号122あるいは124により、それ
ぞれ4段階にモータ125の駆動電流を調節して、ステ
ッピングモータ125の励磁エネルギーを調節すること
ができるように構成されている。
This circuit is a bipolar chopper driver circuit.
The reference voltage terminal vR is a reference voltage that determines the chopper current value, and the output voltage 127 of the D/A converter 107 is input thereto. Therefore, the control unit 100 controls the output voltage value of the D/A converter 107 using this control signal 110, and
The winding current (excitation energy) of the motor 125 can be changed. Further, this circuit is configured so that the excitation energy of the stepping motor 125 can be adjusted by adjusting the driving current of the motor 125 in four stages using each of the 2-bit winding current control signals 122 or 124. has been done.

巻線電流制御信号122或いは信号124による電流制
御例を以下の表に示す。
Examples of current control using the winding current control signal 122 or signal 124 are shown in the table below.

表 このようにして、ステッピングモータ125に通電する
巻線電流の値を、端子IoIlに入力される巻線電流制
御信号122及び124により制御することができ、更
には制御信号110により基準電圧VRを変更して励磁
エネルギーを調節できる。
In this way, the value of the winding current flowing through the stepping motor 125 can be controlled by the winding current control signals 122 and 124 input to the terminal IoIl, and furthermore, the reference voltage VR can be controlled by the control signal 110. Can be changed to adjust excitation energy.

端子Pに入力する相信号121、・123は、前述した
ように相電流の流れる方向を決定する信号で、この相信
号がハイレベルになると電流はMAからモータ125の
巻線を通りMa側に流れる。
The phase signals 121, 123 input to the terminal P are signals that determine the direction in which the phase current flows, as described above, and when this phase signal becomes high level, the current flows from MA to the Ma side through the winding of the motor 125. flows.

逆に、相信号121或いは相信号123がロウレベルに
なると、電流はM、からモータ125の巻線を通りMA
側に流れる。このようにして、相信号121.123に
より、モータ125の相励磁方向を変更することができ
る。V amは電源106より+24Vを入力する電源
入力端子である。
Conversely, when the phase signal 121 or 123 becomes low level, the current flows from M to MA through the winding of the motor 125.
flows to the side. In this way, the phase excitation direction of the motor 125 can be changed by the phase signals 121, 123. V am is a power input terminal that inputs +24V from the power supply 106 .

第3図は2極ステツピングモータの1−2相励磁のトル
クモデルを示す図で、A相とB相および各その逆相励磁
をAX、BXで示している。
FIG. 3 is a diagram showing a torque model of 1-2 phase excitation of a two-pole stepping motor, and the A phase and B phase and their opposite phase excitation are indicated by AX and BX.

[ステッピングモータのダンピングの説明(第4図)] 第4図はA相を励磁して停止(ホールド)しているステ
ッピングモータを、1−2相励磁で4ステツプ駆動する
時のダンピング特性を示す図である。図中、点線45は
モータの相励磁により搬送される記録紙や原稿等の理想
的な搬送量Sを示している。
[Explanation of damping of a stepping motor (Figure 4)] Figure 4 shows the damping characteristics when a stepping motor that is stopped (held) with the A phase excited is driven in 4 steps with 1-2 phase excitation. It is a diagram. In the figure, a dotted line 45 indicates the ideal conveyance amount S of recording paper, original documents, etc. conveyed by phase excitation of the motor.

41は励磁電流等の制御や励磁時間の制御を行わない従
来の場合を示し、この時はモータの回転駆動により搬送
される記録紙等の移動量は、43の実線で示されたよう
になる。
Reference numeral 41 shows a conventional case in which the excitation current and the like and the excitation time are not controlled, and in this case, the amount of movement of the recording paper etc. conveyed by the rotational drive of the motor is as shown by the solid line 43. .

1−2相駆動の2相励磁時におけるトルクは、そのモー
タの特性により異なるが、励磁電流の制御を実施しなけ
れば1相励磁時の約2倍のトルクが発生する。従って、
41に示すような制御を行う場合、まずA相でホールド
されているモータに対し次の励磁相であるAB相を励磁
する。そしてこの励磁により、モータが摩擦負荷等でほ
とんど回転しないうちに、次のl相励磁(B)に変って
しまう。
The torque during two-phase excitation in 1-2 phase drive varies depending on the characteristics of the motor, but unless the excitation current is controlled, about twice as much torque as during one-phase excitation will be generated. Therefore,
When performing control as shown in 41, first, the motor held in the A phase is excited to the AB phase, which is the next excitation phase. Due to this excitation, the next l-phase excitation (B) occurs before the motor hardly rotates due to frictional load or the like.

このため43で示されたように、モータの回転の立上り
が鈍くなり、最終ステップのAX相を励磁しても、実際
のモータ回転の追随性が悪いため理想的な回転量に対し
てモータの回転量が少なくなってしまううえに、その後
のダンピングも大きくなってしまう。
For this reason, as shown in 43, the start-up of the motor's rotation becomes slow, and even if the AX phase of the final step is excited, the ability to follow the actual motor rotation is poor, so the motor's rotation speed becomes slower than the ideal rotation amount. Not only will the amount of rotation decrease, but the subsequent damping will also increase.

これに対し42は、この実施例の方式により4ステツプ
、ステッピングモータ125を回転駆動したときの、励
磁エネルギーと相励磁時間の制御タイミングの一例を示
したもので、まず1ステツプ目においてモータ!25が
静止している場合、或いは前回の回転後のダンピング等
により所定位置に達していない場合、また正規の回転方
向に対して逆方向の回転力が発生している場合等を考慮
して、トルクの大きい2相(AB)(あるいはパワーア
ップした相)を励磁時間を長くして励磁する。
On the other hand, 42 shows an example of the control timing of excitation energy and phase excitation time when the stepping motor 125 is rotationally driven in four steps according to the method of this embodiment. 25 is stationary, or has not reached the predetermined position due to damping after the previous rotation, or a rotational force is generated in the opposite direction to the normal rotation direction, etc. The two phases (AB) with larger torque (or the powered-up phase) are excited by increasing the excitation time.

このときのモータの回転量に基づく搬送量を示したのが
44である。このように43に比べてモータ125の立
上りが速くなり、前回のモータ回転駆動による正転方向
のダンピングが発生していても、この1回目の相励磁エ
ネルギーと相励磁時間を制御することにより対応できる
。2ステツプ目の相励1ifl(B)は、ここではトル
クの小さいl相励磁なので励磁時間を短くし、次のBA
X相の励磁時間を長くすることにより、最終相を励磁す
る前にできるだけ移動距離(回転量)を稼ぐようにして
いる。
44 shows the conveyance amount based on the rotation amount of the motor at this time. In this way, the start-up of the motor 125 is faster than that of 43, and even if damping in the forward rotation direction occurs due to the previous motor rotation drive, it can be handled by controlling the phase excitation energy and phase excitation time of this first time. can. The second step, phase excitation 1ifl (B), is l-phase excitation with small torque, so the excitation time is shortened and the next BA
By lengthening the excitation time of the X phase, the movement distance (rotation amount) is gained as much as possible before the final phase is excited.

なお、ここでは1−2相駆動で励磁するようにしている
が、2ステツプ目のB相励磁を飛ばしてここだけ2相励
磁駆動にしてもよい、また最終ステップ以外は、その駆
動系の負荷や駆動スピードに応じて適当な励磁エネルギ
ーと励磁時間を選択してよい。但し、最終ステップの相
励磁を行う時点での移動位置ができるだけ最終励磁相に
近く、かつその移動トルクが小さくなるようにする必要
がある。
Note that although excitation is performed using 1-2 phase drive here, it is also possible to skip the B-phase excitation in the second step and use 2-phase excitation drive only here.Also, except for the final step, the load of the drive system is Appropriate excitation energy and excitation time may be selected depending on the drive speed and drive speed. However, it is necessary to ensure that the moving position at the time of phase excitation in the final step is as close to the final excitation phase as possible, and that the moving torque is small.

42では最終相であるAX相励磁をパワーダウンして行
うことによりモータのダンピングを少なくしているが、
この相を励磁する時点での位置ができるだけA相に近く
、また44で示された曲線の傾きが小さい程ダンピング
量を小さくすることができる。なお、第4図において、
斜線部分はこの実施例によりモータの巻線に通電される
時間を示している。
42, the damping of the motor is reduced by powering down the AX phase excitation, which is the final phase.
The damping amount can be reduced as the position at the time of exciting this phase is as close as possible to the A phase and the slope of the curve indicated by 44 is small. In addition, in Fig. 4,
The shaded area indicates the time during which the windings of the motor are energized according to this embodiment.

[モータ駆動処理の説明(第1図〜第5図)]第第5図
、第5B図は制御部100によるモータ駆動処理を示す
フローチャートで、この処理を実行する制御プログラム
はROM104に格納されている。
[Description of motor drive processing (FIGS. 1 to 5)] FIGS. 5 and 5B are flowcharts showing motor drive processing by the control unit 100. A control program for executing this processing is stored in the ROM 104. There is.

ステップSlで主制御部よりのモータ駆動トリガの入力
を待ち、モータ駆動トリガを入力するとステップS2に
進み、その駆動トリガとともに送られてくるモータ12
5を回転駆動するステップ数nを読取り、RAM105
のCNTにセットする。ステップS3でインターフェー
ス部101により主制御部に対するとジー信号をオンに
して、モータ125の回転駆動が終了するまで、次の回
転駆動なトリガの入力を禁止する。
In step Sl, wait for the input of a motor drive trigger from the main control section, and when the motor drive trigger is input, the process proceeds to step S2, where the motor 12 that is sent together with the drive trigger is
Read the number of steps n for rotationally driving the RAM 105.
Set it to CNT. In step S3, the interface unit 101 turns on the G signal to the main control unit, and prohibits input of the next rotational drive trigger until the rotational drive of the motor 125 is completed.

ステップS4でそのトリガに対する最初のステツブ駆動
かどうか判断し、最初のステップ駆動であればステップ
S5に進み、PHに記憶されている励磁相を基に次に相
励磁される相を相信号121及び123により指示する
。それとともにPHも最新の励磁相に更新する。そして
ステップS6で巻線電流制御信号122及び124或い
は制御信号110、あるいはそれら全ての信号により、
モータ125の励磁エネルギーを高める。更にステップ
S7で最初のステップに対応する、通常の励磁時間より
も長い目の相励磁時間(Tn)の間励磁を行う、この励
磁が終了するとステップS8に進み、CNTを−1して
ステップS4に戻る。
In step S4, it is determined whether or not it is the first step drive for that trigger. If it is the first step drive, the process proceeds to step S5, and the next phase to be excited is determined based on the phase signal 121 and the phase signal 121 based on the excitation phase stored in the PH. 123. At the same time, the PH is also updated to the latest excitation phase. Then, in step S6, the winding current control signals 122 and 124 or the control signal 110, or all of these signals,
Increase the excitation energy of the motor 125. Further, in step S7, excitation is performed for a phase excitation time (Tn) that is longer than the normal excitation time, which corresponds to the first step. When this excitation is completed, the process proceeds to step S8, where CNT is -1 and step S4 Return to

この相励磁は第4図の51で示されている。This phase excitation is shown at 51 in FIG.

ステップS4で1回目の相励磁でなければステップS9
に進み、CNTが“1”、即ち最終ステップの駆動時か
どうかをみる。最終ステップの駆動でなければステップ
SIOに進み、PHに記憶されている次の相を励磁する
とともにPHを更新する。ステップSllでPHの値を
基に、その励磁相が1相か2相かをみる。1相励磁なら
ばステップS12に進み、所定の励磁エネルギーをセッ
トし、ステップS13で1相の励磁時間THの間励磁を
行う。このTN時間は、前述のTnとはT n > T
 sの関係にある。こうして1相による励磁時間が終了
するとステップS8に進む。これにより、第4図の52
で示されたように、2ステツプ目のB相励磁が短時間で
終了する。
If it is not the first phase excitation in step S4, step S9
It is checked whether CNT is "1", that is, during the final step of driving. If it is not the final step, the process proceeds to step SIO, where the next phase stored in the PH is excited and the PH is updated. In step Sll, it is determined whether the excitation phase is one phase or two phases based on the PH value. If it is one-phase excitation, the process proceeds to step S12, where a predetermined excitation energy is set, and excitation is performed for one-phase excitation time TH in step S13. This TN time is different from the above-mentioned Tn as T n > T
It is in the relationship of s. When the one-phase excitation time ends in this manner, the process proceeds to step S8. As a result, 52 in Figure 4
As shown, the second step B-phase excitation is completed in a short time.

一方、ステップSllで2相励磁のときはステップS1
4に進み、巻線電流制御信号122.124或いは制御
信号110により励磁エネルギーをセットし、ステップ
S15で任意の励磁時間(T i )を計時する。この
時間は、前述の励磁時間に比べて、T n > T i
 > T sの関係にある。これは第4図の53で示さ
れた相励磁に対応している。
On the other hand, when two-phase excitation is performed in step Sll, step S1
4, the excitation energy is set using the winding current control signals 122, 124 or the control signal 110, and an arbitrary excitation time (T i ) is measured in step S15. This time is T n > T i compared to the excitation time described above.
> T s. This corresponds to the phase excitation indicated by 53 in FIG.

ステップS9でCNTが“l”、即ち最後の相励磁なら
ばステップS16に進み、最後の相を励磁し、ステップ
S17で巻線電流制御信号122及び124あるいは制
御信号100等により、励磁エネルギーを通常の1相励
磁時よりもパワーダウンし、ステップS18で短めの相
励磁時間TJを計時する。そして、ステップS19でと
ジー信号をオフにして、主制御部よりの次のモータトリ
ガを待つ、この時間Tjは2ステツプ目の1相励磁時間
TNにほぼ等しい時間である。
If the CNT is "l" in step S9, that is, the last phase is excited, the process proceeds to step S16, where the last phase is excited, and in step S17, the excitation energy is set to normal using the winding current control signals 122 and 124 or the control signal 100, etc. The power is lowered than during one-phase excitation, and a shorter phase excitation time TJ is measured in step S18. Then, in step S19, the G signal is turned off and the next motor trigger from the main control section is waited for. This time Tj is approximately equal to the first phase excitation time TN of the second step.

ここでの励磁エネルギーの増減量、及び各相の励磁時間
であるTn、 TN 、 T i 、 T j等は、そ
れぞれの系で最も立上りが速くダンピングが小さくなる
よう任意に選択することができる。
The increase/decrease in excitation energy and the excitation time of each phase, such as Tn, TN, T i , T j , etc., can be arbitrarily selected so that the rise is fastest and the damping is small in each system.

なお、この実施例では4ステツプの場合について述べた
がこれに限定されるものでなく、複数ステップの駆動で
あれば同様にできる。また、ステッピングモータの駆動
はバイポーラ、ユニポーラまたl−2相以外のステップ
駆動の場合でも同じようにできる。
In this embodiment, the case of four steps has been described, but the invention is not limited to this, and the same can be done as long as the driving is performed in a plurality of steps. Further, the stepping motor can be driven in the same way even in the case of bipolar, unipolar, or step drive other than l-2 phase.

また、第6図に示したように最終ステップの励磁は、n
ステップ所要時間が経過した後に送出してモータの駆動
時間を短縮することもできる。即ち、第6図のタイミン
グT1でnステラプ分を励磁する所要時間が経過した後
、次の駆動トリガが直ちに入力された場合は、その前の
相励磁により正回転方向の力や移動量が大きくなってい
るため、最終相(AX)を励磁しなくてもスムーズに回
転する。
Moreover, as shown in FIG. 6, the final step of excitation is n
It is also possible to shorten the driving time of the motor by sending the signal after the time required for each step has elapsed. In other words, if the next drive trigger is input immediately after the time required to excite n thrusters at timing T1 in FIG. Therefore, it rotates smoothly without exciting the final phase (AX).

一方、タイミングT2で次のnステラプ分の励磁に要す
る時間が経過した後、次の駆動トリガが入力されていな
いため、最終ステップの励磁信号によりA相を励磁する
。こうして、次にトリガが入力されるタイミングT3ま
での間隔が長い場合は、nステップ目の相(A)が励磁
されたままで1相でホールドすることになる。
On the other hand, at timing T2, after the time required for excitation for the next n thrusts has elapsed, since the next drive trigger has not been input, the A phase is excited by the excitation signal of the final step. In this way, if the interval until timing T3 when the next trigger is input is long, the phase (A) of the n-th step remains excited and is held at one phase.

以上説明したようにこの実施例によれば、nステップ中
の各相の励磁エネルギー及び、相励磁時間を、その励磁
される相及びステップ数により決定することにより、モ
ータをスムーズに高速回転駆動できるとともに、消費電
力を少なくしてモータの駆動ができる。更には、モータ
の振動・騒音を低減できる効果がある。
As explained above, according to this embodiment, the motor can be smoothly driven at high speed by determining the excitation energy and phase excitation time of each phase during n steps depending on the phase to be excited and the number of steps. At the same time, the motor can be driven with less power consumption. Furthermore, it has the effect of reducing vibration and noise of the motor.

また、トリガ間隔が変動しても最初の相励磁を長くし、
かつその励磁電力を上げることにより、ダンピングの影
響を吸収できる。また更に、最終ステップにおける相励
磁でダンピングを最小限に押えるように制御することも
できる。
In addition, even if the trigger interval changes, the first phase excitation can be made longer,
In addition, by increasing the excitation power, the influence of damping can be absorbed. Furthermore, the phase excitation in the final step can be controlled to minimize damping.

[発明の効果] 以上説明したようにこの発明によれば、ステッピングモ
ータの回転数や励磁相に対応してその励磁電流や励磁時
間等を変更することにより、モータの回転起動を高速に
し、そ−、夕の回転停止時のダンピングを最小限に抑え
ることができる効果がある。
[Effects of the Invention] As explained above, according to the present invention, by changing the excitation current, excitation time, etc. of the stepping motor in accordance with the rotational speed and excitation phase, the motor can be started to rotate at high speed. −, it has the effect of minimizing damping when the rotation stops in the evening.

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

第1図は実施例のモータ駆動回路の概略構成を示すブロ
ック図、 第2図は実施例のドライバ回路の概略構成を示す図、 第3図はステッピングモータの1−2相励磁モデルを示
す図、 第4図はステッピングモータの励磁とそのモータにより
搬送される記録紙等の移動量Sとの関係を示す図、 第5図は実施例のモータ制御回路によるそ一タ制御動作
を示すフローチャート、そして第6図は他の実施例のモ
ータの励磁タイミングを示す図である。 図中、100・・・制御部、101・・・インターフェ
ース部、103・・・020% 104・・・ROM、
105・・・RAM% 106・・・電源、107・・
・D/Aコンバータ、108.109・・・ドライバ、
110・・・制御信号、121,123・・・相信号、
122,124・・・巻線電流制御信号、125・・・
ステッピングモータ、127・・・基準電圧である。 〜−( 第3図 第4図
Fig. 1 is a block diagram showing the schematic configuration of the motor drive circuit of the embodiment, Fig. 2 is a diagram showing the schematic configuration of the driver circuit of the embodiment, and Fig. 3 is a diagram showing the 1-2 phase excitation model of the stepping motor. , FIG. 4 is a diagram showing the relationship between the excitation of the stepping motor and the amount of movement S of recording paper etc. conveyed by the motor, FIG. 5 is a flowchart showing the motor control operation by the motor control circuit of the embodiment, FIG. 6 is a diagram showing the excitation timing of the motor in another embodiment. In the figure, 100...control unit, 101...interface unit, 103...020% 104...ROM,
105...RAM% 106...Power supply, 107...
・D/A converter, 108.109...driver,
110... Control signal, 121, 123... Phase signal,
122, 124...Winding current control signal, 125...
Stepping motor, 127...Reference voltage. ~-( Figure 3 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)ステツピングモータを1回の駆動開始指示により
指示されたステツプ数だけ回転駆動するステツピングモ
ータの駆動方式であつて、 回転駆動時、現在のステツプ数と前記ステツピングモー
タの励磁相を検知する検知手段と、前記各励磁相及びス
テツプ数に対応して相励磁電流値或いは励磁時間を変更
する励磁制御手段とを備えることを特徴とするステツピ
ングモータの駆動方式。
(1) A stepping motor driving method that rotates the stepping motor by the number of steps specified by one drive start instruction, and when driving the stepping motor, the current number of steps and the excitation phase of the stepping motor are A driving method for a stepping motor, comprising: a detection means for detecting the step; and an excitation control means for changing a phase excitation current value or excitation time in accordance with each of the excitation phases and the number of steps.
(2)前記励磁制御手段は駆動開始時は励磁時間を長く
し、あるいは1相励磁時は2相励磁時よりも励磁時間を
短くし、最終の1相励磁時には1相当りの励磁電流を小
さくするようにしたことを特徴とする請求項第1項に記
載のステツピングモータの駆動方式。
(2) The excitation control means increases the excitation time at the start of driving, or makes the excitation time shorter during one-phase excitation than during two-phase excitation, and reduces the excitation current per phase during final one-phase excitation. 2. The stepping motor driving method according to claim 1, wherein:
JP16261288A 1988-07-01 1988-07-01 Driving of stepping motor Pending JPH0217895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16261288A JPH0217895A (en) 1988-07-01 1988-07-01 Driving of stepping motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16261288A JPH0217895A (en) 1988-07-01 1988-07-01 Driving of stepping motor

Publications (1)

Publication Number Publication Date
JPH0217895A true JPH0217895A (en) 1990-01-22

Family

ID=15757908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16261288A Pending JPH0217895A (en) 1988-07-01 1988-07-01 Driving of stepping motor

Country Status (1)

Country Link
JP (1) JPH0217895A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06292396A (en) * 1992-05-11 1994-10-18 Murata Mach Ltd Driving device for motor
JPH06292395A (en) * 1992-04-30 1994-10-18 Murata Mach Ltd Driving device for motor
JP2011061967A (en) * 2009-09-09 2011-03-24 Ricoh Co Ltd Stepping motor control apparatus and carrier apparatus
JP2011120353A (en) * 2009-12-02 2011-06-16 Yamato Scale Co Ltd Combination balance and driving method for hopper gate in combination balance

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06292395A (en) * 1992-04-30 1994-10-18 Murata Mach Ltd Driving device for motor
JPH06292396A (en) * 1992-05-11 1994-10-18 Murata Mach Ltd Driving device for motor
JP2011061967A (en) * 2009-09-09 2011-03-24 Ricoh Co Ltd Stepping motor control apparatus and carrier apparatus
JP2011120353A (en) * 2009-12-02 2011-06-16 Yamato Scale Co Ltd Combination balance and driving method for hopper gate in combination balance

Similar Documents

Publication Publication Date Title
JP2928518B2 (en) Driving method of stepping motor
US4477757A (en) Phase commutator for closed loop control of a stepping motor
US5001410A (en) Driving system for stepping motor
JPH0217895A (en) Driving of stepping motor
JP2001275374A (en) Motor controller and storage medium
EP0309999B1 (en) Method and apparatus for driving stepping motor
JP3800917B2 (en) Motor control device and storage medium
JP2578099B2 (en) Driving control method of stepping motor
JPH0614597A (en) Circuit and method for driving paper feed of printer
JPS59149796A (en) Control system for stepping motor
JP3059118U (en) Stepping motor control device
JP2009011087A (en) Micro step control method of stepping motor, and dynamo-electric apparatus
JP3037851B2 (en) Drive control method of pulse motor
JPS61123556A (en) Control of stepping motor
JPS59123496A (en) Control system for step motor
JP2000102276A (en) Rotor position detector and detecting method therefor, and rotor position detector, and detecting method for sensorless switched reluctance motor
JP3733267B2 (en) Step motor drive control circuit
JPH08237982A (en) Switch type reluctance motor and its starting method
JPH0491699A (en) Drive for pulse motor
JP3187985B2 (en) Stepping motor drive
JPH0767314B2 (en) Drive control method for stepping motor
JPS63148895A (en) Pulse motor driving system
JPH08149887A (en) Drive method for stepping motor
JPH0514628A (en) Drive system for picture reader
JPS60120080A (en) Carriage drive controller