JP5490461B2 - Stepping motor drive device - Google Patents

Stepping motor drive device Download PDF

Info

Publication number
JP5490461B2
JP5490461B2 JP2009184453A JP2009184453A JP5490461B2 JP 5490461 B2 JP5490461 B2 JP 5490461B2 JP 2009184453 A JP2009184453 A JP 2009184453A JP 2009184453 A JP2009184453 A JP 2009184453A JP 5490461 B2 JP5490461 B2 JP 5490461B2
Authority
JP
Japan
Prior art keywords
stepping motor
phase
unit
resolution
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009184453A
Other languages
Japanese (ja)
Other versions
JP2011041369A (en
Inventor
直養 湯場崎
章 武藤
智明 鹿田
裕之 三輪
英一 北村
Original Assignee
マイコム株式会社
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 マイコム株式会社 filed Critical マイコム株式会社
Priority to JP2009184453A priority Critical patent/JP5490461B2/en
Publication of JP2011041369A publication Critical patent/JP2011041369A/en
Application granted granted Critical
Publication of JP5490461B2 publication Critical patent/JP5490461B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明はステッピングモータをマイクロステップ駆動させるステッピングモータ駆動装
置に関する。
The present invention relates to a stepping motor driving apparatus that microsteps a stepping motor.

ステッピングモータは、位置センサを使用せずにオープンループで位置決め制御と確認が容易に行うことができる等の特性を生かして各種機器に広く利用されている。ステッピングモータを駆動する手法の一つとして、モータ巻線に供給する駆動電流を微細に増減させて、モータ固有の基本ステップ角に比べて微小な角度単位で駆動可能なマイクロステップ駆動方式がある。マイクロステップ駆動方式の駆動装置の従来例として、特許文献1等に開示されたものがある。   Stepping motors are widely used in various devices by taking advantage of characteristics such as easy positioning control and confirmation in an open loop without using a position sensor. As one of the methods for driving the stepping motor, there is a microstep driving method in which the driving current supplied to the motor winding is finely increased / decreased so that it can be driven in a minute angle unit compared to the basic step angle unique to the motor. As a conventional example of a microstep drive type drive device, there is one disclosed in Patent Document 1 or the like.

特開2001−197783号公報JP 2001-197783 A

しかしながら、上記従来例による場合、ステッピングモータを高分解能で駆動することが可能であるが、実際には角度分割の均等性が保たれておらず、高精度化を図ることが困難という問題が指摘されている。また、使用するステッピングモータの相数については、機構系の減速比や制御対象の座標系により決定されるのが一般的であり、これに関連して他のものに比べて相対的に安価な2相、3相のステッピングモータを使用することができことがあり、この点で低コスト化を図ることが困難という別の問題も指摘されている。   However, in the case of the above conventional example, it is possible to drive the stepping motor with high resolution. However, in reality, the uniformity of the angle division is not maintained, and it is difficult to achieve high accuracy. Has been. Further, the number of phase of the stepping motor to be used is generally determined by the reduction ratio of the mechanical system and the coordinate system to be controlled, and in this connection, it is relatively inexpensive compared to other motors. A two-phase or three-phase stepping motor may be used, and another problem is pointed out that it is difficult to reduce the cost.

本発明は上記した背景の下で創作されたものであって、その目的とするところは、ステッピングモータを含めた装置の高精度化及び低コスト化を図ることが可能なステッピングモータ駆動装置を提供することにある。   The present invention was created under the above-described background, and an object of the present invention is to provide a stepping motor driving device capable of achieving high accuracy and low cost of the device including the stepping motor. There is to do.

上記課題を解決するために、本発明のステッピングモータ駆動装置は、PWM電流制御方式のステッピングモータ駆動装置において、ステッピングモータをマイクロステップ駆動させるのに必要な電流データがマイクロステップ角毎に順次的に予め記録されたメモリ部と、入力パルスの入力に従ってメモリ部上の電流データを順次読み出すアドレス生成部と、メモリ部から読み出された電流データに対応したデューティ比を有したPWM信号を生成するPWM信号生成部と、入力パルスの入力に従って励磁シーケンスのステップ数を計数する相励磁カウンタ部と、相励磁カウンタ部が示すステップ数に対応した相分配パターンで当該PWM信号を相分配して各相励磁信号を生成する相分配回路部と、複数のスイッチング素子を有し且つ各スイッチング素子を前記相励磁信号に応じてオンオフさせてステッピングモータの各相電流を生成するスイッチング部と、前記スイッチング素子がアクティブ状態、非アクティブ状態であるときのHレベル、Lレベルの各電流値を微調整可能にする電流バランス調整部とを備え、前記メモリ部は、実際に使用されるステッピングモータが均等分割角で回転可能するように電流データがマイクロステップ角毎に予め微調整されている。 In order to solve the above-described problems, the stepping motor driving device of the present invention is a PWM current control type stepping motor driving device in which current data necessary for microstep driving of the stepping motor is sequentially obtained for each microstep angle. A pre-recorded memory unit, an address generation unit that sequentially reads out current data on the memory unit in accordance with an input pulse, and a PWM that generates a PWM signal having a duty ratio corresponding to the current data read from the memory unit A signal generator, a phase excitation counter that counts the number of steps in the excitation sequence according to the input pulse input, and a phase distribution pattern corresponding to the number of steps indicated by the phase excitation counter for phase-distributing the PWM signal and exciting each phase. A phase distribution circuit section for generating a signal, a plurality of switching elements, and each switch; A switching unit for generating each phase current of the stepping motor a quenching device turns on and off in response to the phase excitation signal, the switching element is in an active state, H-level when it is inactive, the current values of L level A current balance adjustment section that enables fine adjustment , and the memory section is finely adjusted in advance for each microstep angle so that a stepping motor that is actually used can rotate at an equal division angle.

上記した本発明によると、メモリ部に記録された電流データがマイクロステップ角毎に微調整されていることから、その結果、ステッピングモータをマイクロステップ駆動させるに当たり、角度分割の均等性が保たれ、これに伴って、同モータの駆動の高精度化を図ることが可能になる。また、電流バランス調整部を備えることから、他のスイッチング素子がアクティブ状態、非アクティブ状態であるときのHレベル、Lレベルの電流値が±方向に微調整されると、これに伴って微細電流制御に係るスイッチング素子の電流値も反対方向に微調整される。よって、2相ステッピングモータや駆動装置の出力段の特性等にバラツキがあっても、各スイッチング素子の間の電流のバランスを適切にすることが可能になる。それ故、同モータの進み角を正確にすることかでき、その結果、マイクロステップ駆動の高精度化を図ることが可能になる。 According to the present invention described above, since the current data recorded in the memory unit is finely adjusted for each microstep angle, as a result, when the stepping motor is driven by a microstep, the uniformity of the angle division is maintained, Along with this, it becomes possible to increase the accuracy of driving the motor. In addition, since the current balance adjusting unit is provided, when the current values of the H level and the L level when the other switching elements are in the active state and the inactive state are finely adjusted in the ± direction, The current value of the switching element related to the control is also finely adjusted in the opposite direction. Therefore, even if there are variations in the characteristics of the output stage of the two-phase stepping motor or the driving device, it is possible to appropriately balance the current between the switching elements. Therefore, the advance angle of the motor can be made accurate, and as a result, it is possible to improve the precision of microstep drive.

上記装置の相分配回路部については、相励磁カウンタ部が示すステップ数に対応した相分配パターンでもってPWM信号生成部にて生成されたPWM信号の他、Hレベルの信号、Lレベルの信号を相分配して各相励磁信号を生成する構成とするのが好ましい。   As for the phase distribution circuit unit of the above-mentioned device, in addition to the PWM signal generated by the PWM signal generation unit with the phase distribution pattern corresponding to the number of steps indicated by the phase excitation counter unit, an H level signal and an L level signal are output. It is preferable that the phase excitation signal is generated by phase distribution.

上記した下位概念の発明によると、マイクロステップ駆動に必要な微細電流制御に係るスイッチング素子が全相ではなく一部だけであるので、微細電流制御に関する構成が簡素化される。また、他のスイッチング素子については、Hレベル又はLレベルの信号が分配されているので、この点で高トルクが得られるという別の効果も奏する。   According to the invention of the subordinate concept described above, since the switching elements related to the fine current control necessary for the micro step drive are not all phases but only a part, the configuration relating to the fine current control is simplified. Further, since the H level or L level signal is distributed to the other switching elements, there is another effect that high torque can be obtained in this respect.

上記装置において、ステッピングモータをマイクロステップ駆動するに当たっての分解能を設定入力するための分解能設定部を有した構成としても良い。この場合のアドレス生成部については、メモリ部から電流データを順次読み出すに当たり、読み出しアドレスを当該分解能に対応した飛び数Cだけ入力パルスの入力毎に変化させる構成とするものを使用すると良い。   The above-described apparatus may have a configuration having a resolution setting unit for setting and inputting a resolution when the stepping motor is micro-step driven. In this case, as the address generation unit, it is preferable to use a configuration in which when reading current data sequentially from the memory unit, the read address is changed for each input pulse by the number C of jumps corresponding to the resolution.

上記した下位概念の発明によると、上記した角度分割の均等性を容易に実現することが可能となり、コスト面でメリットが得ちれる。   According to the above-described invention of the subordinate concept, it is possible to easily realize the uniformity of the angle division described above, and to obtain a merit in terms of cost.

ステッピングモータ( フルステップ角:x)の相数がN(N≧2)相である場合、分解能設定部については、N相ステッピングモータ(フルステップ角:y)との間でステップ当たりの進み角が共通するM(M≠N)相ステッピングモータの当該進み角に対応する分解能RMが設定入力可能である構成とすると良い。アドレス生成部については、メモリ部から電流データを順次読み出すに当たり、読み出しアドレスを、分解能RMにx/yを乗じて得た分解能RNに対応した飛び数Cだけ入力パルスの入力毎に変化させる構成とする。   When the number of phases of the stepping motor (full step angle: x) is N (N ≧ 2), the resolution setting unit has an advance angle per step with the N phase stepping motor (full step angle: y). It is preferable that the resolution RM corresponding to the advance angle of the M (M ≠ N) phase stepping motors having the same can be set and inputted. The address generation unit is configured to change the read address for each input pulse input by the number of jumps C corresponding to the resolution RN obtained by multiplying the resolution RM by x / y when sequentially reading current data from the memory unit. To do.

上記した下位概念の発明によると、N相ステッピングモータを実際に使用しながらM相ステッピングモータの進み角が実現される構成となっているので、従来とは異なり制御対象の座標系や機械系の減速比等に応じて同モータの相数を選定する必要がなくなる。しかもあらゆる制御対象等に他のものに比べて相対的に安価な2相、3相のステッピングモータを使用することが可能となり、コスト面で大きなメリットが得られる。   According to the invention of the subordinate concept described above, the lead angle of the M-phase stepping motor is realized while actually using the N-phase stepping motor. There is no need to select the number of phases of the motor according to the reduction ratio or the like. In addition, it is possible to use a relatively inexpensive two-phase and three-phase stepping motor for all controlled objects and the like, and a great merit is obtained in terms of cost.

上記装置のメモリ部については、電流データの数WがMの倍数であり且つ分解能設定部の分解能に対応した飛び数Cで割り切ることが可能な値に設定されているものを用いると良い。好ましくは、電流データの数WがMとNとの公倍数であり且つWの整数倍が分解能設定部の分解能に対応した飛び数Cで割り切ることが可能な値に設定されているものを用いると良い。   As the memory unit of the above-described device, it is preferable to use a memory unit in which the number W of current data is a multiple of M and is set to a value that can be divided by the number C of jumps corresponding to the resolution of the resolution setting unit. Preferably, the number W of current data is a common multiple of M and N, and an integer multiple of W is set to a value that can be divided by the number of jumps C corresponding to the resolution of the resolution setting unit. good.

上記した下位概念の発明によると、メモリ部の容量を大きくすることなく分解能の設定範囲を大きくすることが可能になり、コスト面で大きなメリットが得られる。   According to the invention of the subordinate concept described above, the resolution setting range can be increased without increasing the capacity of the memory unit, and a great merit can be obtained in terms of cost.

本発明の実施の形態に係るステッピングモータ駆動装置の構成図である。It is a block diagram of the stepping motor drive device concerning an embodiment of the invention. 同装置のメモリ部に記録されたデータ内容を説明するための図である。It is a figure for demonstrating the data content recorded on the memory part of the apparatus. 同装置のアドレス設定部の動作を説明するためのステッピングモータの分解能と進み角等の関係を示す図である。It is a figure which shows the relationship between the resolution of a stepping motor, a lead angle, etc. for demonstrating operation | movement of the address setting part of the apparatus. 同装置に採用される励磁シーケンスを示す図である。It is a figure which shows the excitation sequence employ | adopted as the same apparatus. 同装置の各スイッチング素子をオンオフする各種励磁信号の波形を示す図である。It is a figure which shows the waveform of the various excitation signals which turn on / off each switching element of the apparatus. スイッチングモータに流れる電流の方向等をステップ毎に示す説明図である。It is explanatory drawing which shows the direction etc. of the electric current which flows into a switching motor for every step. 同ステッピングモータの各相コイルに流れる電流の変化を模式的に示した図である。It is the figure which showed typically the change of the electric current which flows into each phase coil of the stepping motor. 同装置の変形例に係るステッピングモータ駆動装置を説明するための図であって図4に対応する図である。It is a figure for demonstrating the stepping motor drive device which concerns on the modification of the apparatus, Comprising: It is a figure corresponding to FIG. 同装置の図5に対応する図である。It is a figure corresponding to FIG. 5 of the same apparatus.

以下、本発明の実施の形態に係るステッピングモータ駆動装置( 以下、単に駆動装置と称する。)を図1乃至図7を参照して説明する。   A stepping motor driving device (hereinafter simply referred to as a driving device) according to an embodiment of the present invention will be described below with reference to FIGS.

ここに例として挙げる駆動装置1については、図1に示すようにステッピングモータmを入力パルスαに応じてPWM(パルス幅変調)電流方式によりマイクロステップ駆動する装置である。本実施形態においては、ステッピングモータmとして2相ステッピングモータ(相数N=2、フルステップ角x=1.8 °)を用いて5相ステッピングモータ(相数M=5,フルステップ角y=0.72°) の進み角が得られるようになっている。図中10はスイッチング部、20はメモリ部、30はアドレス生成部、40はPWN信号生成部、50は相分配回路部、60は相励磁カウンタ部、70は分解能設定部、91は電流電源回路部、92は定電流回路部である。これらの各部により駆動装置1が構成されている。   As shown in FIG. 1, the driving device 1 exemplified here is a device that microsteps the stepping motor m by a PWM (pulse width modulation) current method in accordance with the input pulse α. In this embodiment, a two-phase stepping motor (phase number N = 2, full step angle x = 1.8 °) is used as the stepping motor m, and a five-phase stepping motor (phase number M = 5, full step angle y = 0.72 °). ) Lead angle can be obtained. In the figure, 10 is a switching unit, 20 is a memory unit, 30 is an address generation unit, 40 is a PWN signal generation unit, 50 is a phase distribution circuit unit, 60 is a phase excitation counter unit, 70 is a resolution setting unit, and 91 is a current power supply circuit. Reference numeral 92 denotes a constant current circuit section. The drive device 1 is configured by these units.

ステッピングモータmについては、ロータ磁極数が50、HBのモータ構造を有した2相ステッピングモータであって、コイル接続方式がA,B相独立型であり、駆動装置1に対し4 本のリード線を用いて外付けされている。   The stepping motor m is a two-phase stepping motor having a motor structure with a rotor magnetic pole number of 50 and HB, the coil connection method is A and B phase independent type, and four lead wires for the driving device 1 Is attached externally.

電源回路部91については、電源トランスや整流用ダイオードブリッジ等を組み合わせた回路であって、入力された商用交流を所定レベルの直流電圧に変換して各回路構成部に供給している。   The power supply circuit unit 91 is a circuit in which a power transformer, a rectifying diode bridge, and the like are combined. The input commercial AC is converted into a predetermined level of DC voltage and supplied to each circuit component.

定電流回路部92については、電源回路部91とスイッチング部10との間に接続された回路であって、電源回路部91からスイッチング部10に供給される電源電流をトランジスタ等を用いて負帰還制御して定電流化している。   The constant current circuit unit 92 is a circuit connected between the power circuit unit 91 and the switching unit 10, and the power source current supplied from the power circuit unit 91 to the switching unit 10 is negatively fed back using a transistor or the like. The current is controlled and constant.

スイッチング部10については、NPN型のトランジスタであるスイッチング素子Q1〜Q8を用いたバイポーラ型の駆動回路であって、スイッチング素子Q1〜Q4のフルブリッジ回路11とスイッチング素子Q1〜Q4のフルブリッジ回路12との2組を用いて、ステッピングモータMのA相、B相コイルに流れる各電流を生成している。   The switching unit 10 is a bipolar drive circuit using switching elements Q1 to Q8 which are NPN transistors, and includes a full bridge circuit 11 of switching elements Q1 to Q4 and a full bridge circuit 12 of switching elements Q1 to Q4. Are used to generate each current flowing in the A-phase and B-phase coils of the stepping motor M.

なお、スイッチング素子Q1,Q2,Q3,Q4,Q5,Q6,Q7,Q8の各ベース
に入力される各励磁信号を図中A+,A−,/A+,/A−,B+,B−,/B+,/B
−として表している。
The excitation signals input to the bases of the switching elements Q1, Q2, Q3, Q4, Q5, Q6, Q7, and Q8 are represented by A +, A−, / A +, / A−, B +, B−, / B +, / B
-Is represented as-.

スイッチング素子Q1〜Q8をオンオフさせる励磁シーケンスは図4に示す通りである。この励磁シーケンスによりステッピングモータmのA相コイル、B相コイルに実際に流れる電流は図6及び図7に示す通りとなる。   An excitation sequence for turning on / off the switching elements Q1 to Q8 is as shown in FIG. The current actually flowing through the A phase coil and the B phase coil of the stepping motor m by this excitation sequence is as shown in FIGS.

図4、図6及び図7中の上段に示された「0」〜「3」については、基本ステップのステップ数を示しており、その下段に示された「0−1」〜「3−2」については、ハーフステップのステップ数を示している。   4, 6, and 7, “0” to “3” shown in the upper part indicate the number of basic steps, and “0-1” to “3-” shown in the lower part thereof. “2” indicates the number of half steps.

図6中の「PWM A相→/A相」については、A相コイルのA端子から/A端子に流れる電流がPWM制御されて刻々と変化していることを示している。「PWM /A相→A相」、「PWM B相→/B相」及び「PWM /B相→B相」についても同様の表現法となっている。図6中の「A相→/A相」は、A相コイルのA端子から/A端子に流れる電流が一定に制御されることを意味している。「/A相→A相」、「B相→/B相」及び「/B相→B相」についても同様の表現法となっている。図6にはステッピングモータmの電気角が示されている。    “PWM A phase → / A phase” in FIG. 6 indicates that the current flowing from the A terminal of the A phase coil to the / A terminal is changed every moment by PWM control. “PWM / A phase → A phase”, “PWM B phase → / B phase” and “PWM / B phase → B phase” are also expressed in a similar manner. “A phase → / A phase” in FIG. 6 means that the current flowing from the A terminal of the A phase coil to the / A terminal is controlled to be constant. “/ A phase → A phase”, “B phase → / B phase” and “/ B phase → B phase” are also expressed in a similar manner. FIG. 6 shows the electrical angle of the stepping motor m.

即ち、図7に示すように基本ステップ0の期間にてA相コイルに流れる電流を正方向から負方向にかけて順次変化させ、B相コイルに流れる電流を正方向のHレベルに維持し、基本ステップ1にてA相コイルに流れる電流を負方向のHレベルに維持し、B相コイルに流れる電流を正方向から負方向にかけて順次変化させ、基本ステップ2の期間にてA相コイルに流れる電流を負方向から正方向にかけて順次変化させ、B相コイルに流れる電流を負方向のHレベルに維持し、基本ステップ3にてA相コイルに流れる電流を正方 向のHレベルに維持し、B相コイルに流れる電流を負方向から正方向にかけて順次変化させるようになっている。    That is, as shown in FIG. 7, during the period of basic step 0, the current flowing through the A-phase coil is sequentially changed from the positive direction to the negative direction, and the current flowing through the B-phase coil is maintained at the H level in the positive direction. 1, the current flowing in the A phase coil is maintained at the H level in the negative direction, the current flowing in the B phase coil is sequentially changed from the positive direction to the negative direction, and the current flowing in the A phase coil in the basic step 2 period It is changed sequentially from the negative direction to the positive direction, the current flowing through the B phase coil is maintained at the H level in the negative direction, and the current flowing through the A phase coil at the basic step 3 is maintained at the H level in the positive direction. The current flowing through is sequentially changed from the negative direction to the positive direction.

このように基本ステップ0、2においては、ステッピングモータmのA相コイルに流れる電流の大きさ及び方向が変化し、B相コイルに流れる電流の大きさがHレベル又はLレベルに維持される。一方、基本ステップ1、3においては、A相コイルに流れる電流の大きさがLレベル又はHレベルに維持され、B相コイルに流れる電流の大きさ及び方向が変化する。   Thus, in the basic steps 0 and 2, the magnitude and direction of the current flowing through the A phase coil of the stepping motor m change, and the magnitude of the current flowing through the B phase coil is maintained at the H level or the L level. On the other hand, in basic steps 1 and 3, the magnitude of the current flowing through the A-phase coil is maintained at the L level or the H level, and the magnitude and direction of the current flowing through the B-phase coil changes.

なお、ステッピングモータmのA相、B相コイルのうち基本ステップ0〜3の各期間にてHレベル又はLレベルに電流を維持させる側のコイルを電流維持相コイルとし、基本ステップ0〜3の期間にて電流を変化させる側のコイルを電流変化相コイルとしている。   Of the A-phase and B-phase coils of the stepping motor m, the coil on the side that maintains the current at the H level or the L level in each period of the basic steps 0 to 3 is a current maintaining phase coil, and the basic steps 0 to 3 The coil that changes the current in the period is a current changing phase coil.

メモリ部20については、ステッピングモータmをマイクロステップ駆動させるのに必要な電流データがマイクロステップ角毎に順次的に予め記録されている。本実施形態においては、電流変化相に係るスイッチング素子Q1〜Q8の出力電流をPWM制御するのに必要なPWM波形のデューティ比のデータがマイクロステップ角毎に記録されている。   In the memory unit 20, current data necessary for driving the stepping motor m in microsteps is sequentially recorded in advance for each microstep angle. In the present embodiment, the duty ratio data of the PWM waveform necessary for PWM control of the output current of the switching elements Q1 to Q8 related to the current changing phase is recorded for each microstep angle.

図2はステッピングモータmをフルステップ角(1.8 °)に対して1000で角度分割したマイクロステップ駆動を行う場合のメモリ20に記録されたデータの内容を示したものである。図2中のグラフの横軸はマイクロステップ角、縦軸はPWM波形のデューティ比を各々示している。   FIG. 2 shows the contents of data recorded in the memory 20 when microstep driving is performed by dividing the stepping motor m by 1000 with respect to the full step angle (1.8 °). The horizontal axis of the graph in FIG. 2 indicates the microstep angle, and the vertical axis indicates the duty ratio of the PWM waveform.

図2中「I」及び「II」で示した各データ群については、図4に示す「PWM(I)」及び「PWM(II)」に係るPWM信号を生成するのに必要なデータであり、読み出しアドレス0〜499に記録された電流データが「I」のデータ群(マイクロステップ角θN=0.000°〜0.900°の電流データ)に属する一方、読み出しアドレス500〜999に記録された電流データが「II」のデータ群(マイクロステップ角θN=0.918°〜1.800°の電流データ)に属している。図6中には「PWM(I)」及び「PWM(II)」に係るPWM信号を生成するのに必要なメモリ20上の電流データの読み出しアドレスが示されている。   The data groups indicated by “I” and “II” in FIG. 2 are data necessary for generating the PWM signals related to “PWM (I)” and “PWM (II)” shown in FIG. The current data recorded in the read addresses 0 to 499 belong to the data group “I” (current data of microstep angle θN = 0.000 ° to 0.900 °), while the current data recorded in the read addresses 500 to 999 It belongs to the data group of “II” (current data of microstep angle θN = 0.918 ° to 1.800 °). FIG. 6 shows read addresses of current data on the memory 20 necessary for generating PWM signals related to “PWM (I)” and “PWM (II)”.

メモリ部20に記録された電流データは従来のような直線式で表されるようなものではなく、図2中の部分拡大図に示されるようにバラツキが見られる。具体的には、メモリ部20上のPWM波形のデューティ比のデータについては、ステッピングモータmを実際にマイクロステップ駆動させてその進み角を測定して得た実験データであって、ステッピングモータmが実際上均等分割角で回転可能なようにマイクロステップ角(図示例では0.0018°)毎に微調整されたものである。   The current data recorded in the memory unit 20 is not represented by a linear formula as in the prior art, but varies as shown in the partially enlarged view of FIG. Specifically, the duty ratio data of the PWM waveform on the memory unit 20 is experimental data obtained by actually driving the stepping motor m by microstep driving and measuring the advance angle. It is finely adjusted every microstep angle (0.0018 ° in the illustrated example) so that it can be rotated with an even division angle in practice.

メモリ部20上の電流データの数Wについては、メモリ容量や分解能設定部70の分解能設定範囲の関係で決まり、本実施形態においては1000としている。   The number W of current data on the memory unit 20 is determined by the relationship between the memory capacity and the resolution setting range of the resolution setting unit 70, and is 1000 in this embodiment.

分解能設定部70については、ステッピングモータmをマイクロステップ駆動するに当たっての分解能を設定入力するためのスイッチ等である。本実施形態においては、2相ステッピングモータとの間でフルステップ当たりの進み角が共通する5相ステッピングモータの当該進み角に対応する分解能RMが設定入力可能であり、図3に示すように1 から400 まで多段階に設定入力可能になっている。図3中には5相ステッピングモータの分解能RMに対応する2相ステッピングモータの分解能RN及び進み角等が併せて示されている。   The resolution setting unit 70 is a switch or the like for setting and inputting a resolution when the stepping motor m is micro-step driven. In this embodiment, the resolution RM corresponding to the lead angle of a five-phase stepping motor having the same lead angle per full step with the two-phase stepping motor can be set and input. As shown in FIG. From 400 to 400 can be set and input in multiple steps. FIG. 3 also shows the resolution RN and lead angle of the two-phase stepping motor corresponding to the resolution RM of the five-phase stepping motor.

アドレス生成部30については、図1に示すように入力パルスαの入力に従ってメモリ部22上の電流データを順次読み出す回路部である。本実施形態においては、メモリ部20から電流データを順次読み出すに当たり、読み出しアドレスを、分解能設定部70により設定された分解能RMに2.5(x/y=5/2)を乗じて得た分解能RNに対応した飛び数C(=W/RN)だけ入力パルスの入力毎に変化させる構成となっている。読み出しアドレスについては、方向信号βが正転を示すときには入力パルスαの入力に従って増加させる一方、方向信号βが逆転を示すときには入力パルスαの入力に従って減少させる。また、メモリ部20の電流データの個数Wが1000であることから、読み出しアドレスのカウンタについても入力パルスαの1000個の入力によりオーバーフローするようになっている。   The address generation unit 30 is a circuit unit that sequentially reads current data on the memory unit 22 in accordance with the input of the input pulse α as shown in FIG. In the present embodiment, when sequentially reading the current data from the memory unit 20, the read address is set to the resolution RN obtained by multiplying the resolution RM set by the resolution setting unit 70 by 2.5 (x / y = 5/2). A corresponding number of jumps C (= W / RN) is changed for each input pulse. The read address is increased according to the input of the input pulse α when the direction signal β indicates normal rotation, while it is decreased according to the input of the input pulse α when the direction signal β indicates reverse rotation. In addition, since the number W of current data in the memory unit 20 is 1000, the read address counter overflows due to 1000 inputs of the input pulse α.

ところで、分解能設定部70の分解能設定範囲とメモリ部20の電流データの数Wとの間には密接な関係がある。メモリ部20の電流データの数Wについては、a)5(=M)の倍数であり且つ分解能設定部70の分解能RM(又は分解能RN)に対応した飛び数Cで割り切ることが可能な値に設定されている、又は、b)5(=M)と2(=N)との公倍数であり且つWの整数倍(その整数値をAとする)を分解能設定部70の分解能RM(又は分解能RN)に対応した飛び数Cで割り切ることが可能な値に設定されている、というルールに沿って決定されている。逆に、メモリ部20の電流データの数Wがメモリ容量等の関係で最初に決定された場合、分解設定部70の分解能RM(又は分解能RN)の範囲については、上記a)又はb)のルールに沿って決定されることになる。   Incidentally, there is a close relationship between the resolution setting range of the resolution setting unit 70 and the number W of current data in the memory unit 20. The number W of current data in the memory unit 20 is a) a value that is a multiple of 5 (= M) and is divisible by the number of jumps C corresponding to the resolution RM (or resolution RN) of the resolution setting unit 70. Or b) a common multiple of 5 (= M) and 2 (= N) and an integer multiple of W (the integer value is A), the resolution RM (or resolution) of the resolution setting unit 70 It is determined according to the rule that it is set to a value that can be divided by the number of skips C corresponding to (RN). On the contrary, when the number W of current data in the memory unit 20 is first determined in relation to the memory capacity or the like, the resolution RM (or resolution RN) range of the decomposition setting unit 70 is the same as that in a) or b) above. It will be decided according to the rules.

本実施形態において、図3で示された分解能RM=2,4,8,10,16,20,40,50,80,100,200及び400については、上記a)のルールに沿って決定されたものであり、分解能RM=1,2.5,5及び25については、上記b)のルールに沿って決定されたものである。   In this embodiment, the resolution RM = 2, 4, 8, 10, 16, 20, 40, 50, 80, 100, 200, and 400 shown in FIG. 3 is determined according to the rule a). The resolutions RM = 1, 2.5, 5 and 25 are determined according to the rule b).

図3で示す分解能RMについては一例であるが、上記a)のルールだけでなくb)のルールに従って決定することが可能であることから、この点で分解能設定部70の分解能設定範囲が格段に広くなった。    The resolution RM shown in FIG. 3 is an example, but it can be determined not only according to the rule a) but also according to the rule b). Therefore, the resolution setting range of the resolution setting unit 70 is remarkably increased in this respect. It became wide.

なお、電流データの数W=1000である場合、上記a)又はb)のルールの下では分解能RM=3を対象に含めることが不可能となる。実現すべきステップ角の関係上、分解能RM=3を対象に含めることが必要であるときには、メモリ部20上の電流データの数W=600又900 等に変更すると良い。   When the number W of current data is 1000, it is impossible to include the resolution RM = 3 as a target under the rule a) or b). When the resolution RM = 3 needs to be included in the target because of the step angle to be realized, the number of current data on the memory unit 20 is preferably changed to W = 600 or 900.

アドレス生成部30の動作については次の通りである。例えば、分解能設定部70を通じて分解能RM=10が設定されたとすると、図3に示すようにステッピングモータmの進み角が0.072°であり、読み出しアドレスの飛び数Cが40 となる。方向信号βが正転を示すときには、メモリ部20の読み出しアドレスが入力パルスαの入力毎に飛び数C=40だけ増加する。この過程でマイクロステップ角θNが0.072°,0.144°,0.216°,0.288°・・である電流データがメモリ部20から順次読み出される。その後、マイクロステップ角θNが1.8°、3.6°、5.4°及び7.2°を超えた時点で、読み出しアドレスがリセットされる。一方、方向信号βが逆転を示すときには、メモリ部20の読み出しアドレスが入力パルスαの入力毎に飛び数C=40だけ減少し、上記と全く同様の動作となる。   The operation of the address generator 30 is as follows. For example, if the resolution RM = 10 is set through the resolution setting unit 70, the advance angle of the stepping motor m is 0.072 ° and the read address jump number C is 40 as shown in FIG. When the direction signal β indicates normal rotation, the read address of the memory unit 20 increases by the jump number C = 40 for each input of the input pulse α. In this process, current data having microstep angles θN of 0.072 °, 0.144 °, 0.216 °, 0.288 °,... Are sequentially read from the memory unit 20. Thereafter, when the microstep angle θN exceeds 1.8 °, 3.6 °, 5.4 °, and 7.2 °, the read address is reset. On the other hand, when the direction signal β indicates reverse rotation, the read address of the memory unit 20 is decreased by the number of jumps C = 40 every time the input pulse α is input, and the same operation as described above is performed.

相励磁カウンタ部60は、入力パルスαの入力及び分解能設定値70を通じて設定された分解能RMに従って図4、図6及び図7に示すステッピングモータmの励磁シーケンスのハーフステップ数0−1〜3−2を計数するカウンタである。計数方向は方向信号βが示す方向であり、計数結果はPWM信号生成部40及び相分配回路部50に出力している。   The phase excitation counter unit 60 has the number of half steps 0-1 to 3- of the excitation sequence of the stepping motor m shown in FIGS. 4, 6 and 7 according to the resolution RM set through the input of the input pulse α and the resolution setting value 70. 2 is a counter that counts two. The counting direction is the direction indicated by the direction signal β, and the counting result is output to the PWM signal generation unit 40 and the phase distribution circuit unit 50.

PWM信号生成部40については、メモリ部20から読み出された電流データに対応したデューティ比を有したPWM信号を生成する回路部である。即ち、アドレス生成部30によりメモリ部20上の電流データが読み出されると、読み出されたデータに等しいデューティ比を有したPWM波形を有したPWM信号(「PWM(I)」又は「PWM(II)」に係るPWM信号)を生成して相分配回路部50に出力するようになっている。   The PWM signal generation unit 40 is a circuit unit that generates a PWM signal having a duty ratio corresponding to the current data read from the memory unit 20. That is, when the current data on the memory unit 20 is read by the address generation unit 30, a PWM signal ("PWM (I)" or "PWM (II) having a PWM waveform having a duty ratio equal to the read data is obtained. ) ") Is generated and output to the phase distribution circuit unit 50.

相分配回路部50は、相励磁カウンタ部60が示す励磁シーケンスのハーフステップ数0−1〜3−2に対応した図4中に示す相分配パターンでPWM信号生成部23から出力されたPWM信号の他、Hレベルの信号、Lレベルの信号を相分配するとともに相分配された励磁信号A+,A−,/A+,/A−,B+,B−,/B+,/B−によりスイッチング素子Q1,Q2,Q3,Q4,Q5,Q6,Q7,Q8をオンオフさせる構成となっている。Hレベルの信号、Lレベルの信号については相分配回路部50にて生成している。   The phase distribution circuit unit 50 outputs the PWM signal output from the PWM signal generation unit 23 in the phase distribution pattern shown in FIG. 4 corresponding to the half step numbers 0-1 to 3-2 of the excitation sequence indicated by the phase excitation counter unit 60. In addition, the switching element Q1 is divided by the phase-distributed excitation signals A +, A-, / A +, / A-, B +, B-, / B +, / B- while distributing the H level signal and the L level signal. , Q2, Q3, Q4, Q5, Q6, Q7, and Q8 are turned on and off. The H level signal and the L level signal are generated by the phase distribution circuit unit 50.

ここでいうHレベルの信号とは、スイッチング素子Q1等を完全にアクティブ状態にするレベルの電圧を有した信号をいい、Lレベルの信号とは、スイッチング素子Q1等を完全に非アクティブ状態にするレベルの電圧を有した信号をいう。   Here, the H level signal means a signal having a voltage level at which the switching element Q1 and the like are completely activated, and the L level signal completely brings the switching element Q1 and the like into an inactive state. A signal having a level voltage.

図4中の「H」については、Hレベルの信号がハーフステップ毎に各励磁信号に分配されることを示し、図2中の「L」については、Lレベルの信号がハーフステップ毎に各励磁信号に分配されることを示している。図4中の「PWM(I)」及び「PWM(II)」については、PWM信号生成部40により生成された「PWM(I)」及び「PWM(II)」に係るPWM信号が各励磁信号に分配されることを示している。図5はハーフステップ0−1の期間中の所定タイミングの各励磁信号の波形を示したものである。図5中のTはPWM周期を示している。    “H” in FIG. 4 indicates that an H level signal is distributed to each excitation signal for each half step, and for “L” in FIG. 2, an L level signal is provided for each half step. It shows that the excitation signal is distributed. As for “PWM (I)” and “PWM (II)” in FIG. 4, the PWM signals related to “PWM (I)” and “PWM (II)” generated by the PWM signal generation unit 40 are the excitation signals. To be distributed. FIG. 5 shows the waveform of each excitation signal at a predetermined timing during the half step 0-1. T in FIG. 5 indicates a PWM cycle.

上記のように構成された駆動装置1による場合、メモリ部20に記録された電流データがマイクロステップ角毎に微調整されていることから、その結果、ステッピングモータmをマイクロステップ駆動させるに当たり、角度分割の均等性が保たれ、これに伴って、同モータの駆動の高精度化を図ることが可能になる。また、マイクロステップ駆動に必要な微細電流制御に係るスイッチング素子Q1〜Q8のうちPWM信号が分配されているのが一部だけであり、その他についてはHレベル又はLレベルの信号が分配されているので、微細電流制御に関する構成が簡素化されるとともに高トルクが得られる。さらに、2相ステッピングモータを実際に使用しながら5相ステッピングモータの進み角が実現されることから、ステッピングモータを含めた装置全体の大幅な低コスト化を図ることが可能になる。   In the case of the driving device 1 configured as described above, the current data recorded in the memory unit 20 is finely adjusted for each microstep angle. As a result, when the stepping motor m is driven by the microstep, the angle The uniformity of the division is maintained, and accordingly, it becomes possible to increase the accuracy of driving the motor. Of the switching elements Q1 to Q8 related to the fine current control necessary for microstep driving, only a part of the PWM signal is distributed, and an H level or L level signal is distributed for the other parts. Therefore, the configuration relating to the fine current control is simplified and high torque can be obtained. Furthermore, since the advance angle of the five-phase stepping motor is realized while actually using the two-phase stepping motor, it is possible to achieve a significant cost reduction of the entire apparatus including the stepping motor.

次に、駆動装置1の励磁シーケンスの変形例を図8及び図9 を参照して説明する。図1等で示す例と異なる点を中心として説明するものとし、共通する部分についてはその説明を省略する。なお、図8、図9 は上記例の図4、図5に各々対応した図である。   Next, a modification of the excitation sequence of the drive device 1 will be described with reference to FIGS. The description will focus on differences from the example shown in FIG. 1 and the like, and the description of common parts will be omitted. 8 and 9 correspond to FIGS. 4 and 5 in the above example, respectively.

相分配回路部50 において採用されている励磁シーケンスは図8に示す通りであり、ハーフステップ0−0の期間中の所定タイミングでの各励磁信号の波形は図9に示す通りで ある。図9中TはPWM周期を示している。図8中の「Had 」,「Lad 」については、Hレベルの信号、Lレベルの信号に近い信号であって、電圧のレベルが微調整された信号が割り当てられることを示している。   The excitation sequence employed in the phase distribution circuit unit 50 is as shown in FIG. 8, and the waveforms of the excitation signals at the predetermined timing during the half step 0-0 are as shown in FIG. In FIG. 9, T represents the PWM cycle. “Had” and “Lad” in FIG. 8 indicate that signals having an H level signal and a signal close to an L level signal and having a finely adjusted voltage level are assigned.

相励磁カウンタ部60 が示す励磁シーケンスのハーフステップ数が0−0である場合、その期間では、「PWM(I)」に係るPWM信号が励磁信号A+に分配され、Lレベルの信号が励磁信号A−,/A+及び/A−に各々分配され、「Had」の信号が励磁信号B−,/B+に各々分配され、「Lad 」の信号が励磁信号B+,/B−に各々分配される。この場合、スイッチング素子Q1がマイクロステップ毎に制御され、スイッチング素子Q2〜Q4はアクティブ状態又は非アクティブ状態であり、スイッチング素子Q5〜Q8はアクティブ又は非アクティブに近い状態である。   When the half step number of the excitation sequence indicated by the phase excitation counter 60 is 0-0, during that period, the PWM signal related to “PWM (I)” is distributed to the excitation signal A +, and the L level signal is the excitation signal. A-, / A + and / A- are respectively distributed, "Had" signals are respectively distributed to excitation signals B- and / B +, and "Lad" signals are respectively distributed to excitation signals B + and / B-. . In this case, the switching element Q1 is controlled for each microstep, the switching elements Q2 to Q4 are in an active state or inactive state, and the switching elements Q5 to Q8 are in an active state or near inactive state.

相励磁カウンタ部60 が示す励磁シーケンスのハーフステップ数が0−1である場合、その期間では、「PWM(II)」に係るPWM信号が励磁信号/A+に分配され、Lレベルの信号が励磁信号A+,A−及び/A−に各々分配され、「Had」の信号が励磁信号B−,/B+に各々分配され、「Lad 」の信号が励磁信号B+,/B−に各々分配される。この場合、スイッチング素子Q3がマイクロステップ毎に制御され、スイッチング素子Q1、Q2及びQ4はアクティブ状態又は非アクティブ状態であり、スイッチング素子Q5〜Q8はアクティブ又は非アクティブに近い状態である。相励磁カウンタ部60が示す励磁シーケンスのハーフスステップ数が1−1〜3−2である場合も上記と全く同様である。   When the number of half steps of the excitation sequence indicated by the phase excitation counter unit 60 is 0-1, during that period, the PWM signal related to “PWM (II)” is distributed to the excitation signal / A +, and the L level signal is excited. The signals A +, A− and / A− are respectively distributed, the “Had” signal is respectively distributed to the excitation signals B− and / B +, and the “Lad” signal is respectively distributed to the excitation signals B + and / B−. . In this case, the switching element Q3 is controlled for each microstep, the switching elements Q1, Q2, and Q4 are in an active state or inactive state, and the switching elements Q5 to Q8 are in an active state or nearly inactive state. The same applies to the case where the number of half steps of the excitation sequence indicated by the phase excitation counter unit 60 is 1-1 to 3-2.

励磁シーケンスがハーフステップ0−1 、0−2 ・・・と順次的に変化して、スイッチング素子Q1〜Q8が励磁信号A+等によりスイッチングされる結果、ステッピングモータMのA相、B相コイルに各々流れる電流の大きさとその変化については図6及び図7に示すものと全く同様になる。   The excitation sequence is sequentially changed to half steps 0-1, 0-2, etc., and the switching elements Q1 to Q8 are switched by the excitation signal A + or the like. As a result, the A phase and B phase coils of the stepping motor M are switched. The magnitude of the current flowing and its change are exactly the same as those shown in FIGS.

このように相分配回路部50については、図8に示すようにHレベル、Lレベルの信号だけでなく、「Had 」,「Lad 」の各信号も出力している。本実施形態においては、「Had 」,「Lad 」の信号は「PWM」と同じくPWM信号であるが、そのデューティ比がマイクロステップ角毎に調整されない点で「PWM」の信号とは異なっている。「Had 」,「Lad 」の各信号のデューティ比を図1中に示す電流バランス調整部80により調整可能にしている。   As described above, the phase distribution circuit unit 50 outputs not only H level and L level signals but also “Had” and “Lad” signals as shown in FIG. In the present embodiment, the signals “Had” and “Lad” are PWM signals as in “PWM”, but are different from the signals in “PWM” in that the duty ratio is not adjusted for each microstep angle. . The duty ratios of the signals “Had” and “Lad” can be adjusted by a current balance adjusting unit 80 shown in FIG.

電流バランス調整部80については、「Had」,「Lad 」の各信号のデューティ比を各々微調整するためのスイッチ等である。即ち、電流バランス調整部80を通じて相分配回路部50にて生成される「Had 」,「Lad 」の各信号のデューティ比が微調整され、その結果、ステッピングモータmのA相コイル又はB相コイルの電流維持相に係る電流の大きさが微調整可能になっている。   The current balance adjusting unit 80 is a switch or the like for finely adjusting the duty ratio of each signal of “Had” and “Lad”. That is, the duty ratio of each signal of “Had” and “Lad” generated by the phase distribution circuit unit 50 through the current balance adjustment unit 80 is finely adjusted. As a result, the A phase coil or B phase coil of the stepping motor m The magnitude of the current related to the current maintenance phase can be finely adjusted.

上記のように構成された変形例による場合、次のような効果が得られる。図1等に示す駆動装置1については、ステッピングモータmの各相コイルの残留磁気特性、巻線抵抗及びインダクタンス等の特性のバラツキや駆動装置1の出力段の特性のバラツキにより、ステッピングモータmの電流変化相に係る電流と電流維持相に係る電流との間のバランスが適切にすることができず、その結果、電流変化相に係る電流を制御するだけでは所望のステップ角が得られない場合がある。この点、変形例に係る駆動装置1による場合、定電流制御であり且つ電流維持相に係る電流が微調整可能であることから、電流維持相に係る電流を±方向に微調整すると、これに応じて電流変化相に係る電流が反対方向に変化する。これはステッピングモータmの中点の接続の有無に無関係である。その結果、電流変化相に係る電流と電流維持相に係る電流との間のバランスを適切にすることができ、その結果、マイクロステップ駆動時の進み角が正確になる。よって、ステッピングモータmの特性や駆動装置1の出力段のバラツキに大きく左右されず、マイクロステップ駆動の高精度化を図ることが可能になる。   According to the modification configured as described above, the following effects can be obtained. In the driving device 1 shown in FIG. 1 and the like, the stepping motor m has different characteristics due to variations in characteristics such as residual magnetic characteristics, winding resistance, and inductance of each phase coil of the stepping motor m and variations in characteristics of the output stage of the driving device 1. The balance between the current related to the current changing phase and the current related to the current maintaining phase cannot be made appropriate, and as a result, the desired step angle cannot be obtained simply by controlling the current related to the current changing phase. There is. In this regard, in the case of the driving device 1 according to the modification, since the current related to the current maintaining phase is fine-tunable with constant current control, when the current related to the current maintaining phase is finely adjusted in the ± direction, Accordingly, the current related to the current changing phase changes in the opposite direction. This is irrelevant whether or not the midpoint of the stepping motor m is connected. As a result, the balance between the current related to the current changing phase and the current related to the current maintaining phase can be made appropriate, and as a result, the advance angle at the time of microstep driving becomes accurate. Therefore, it is possible to improve the accuracy of the micro step drive without being greatly affected by the characteristics of the stepping motor m and the variations in the output stage of the drive device 1.

なお、本発明に係るステッピングモータ駆動装置は、ステッピングモータの相数や相コイルの結線方法、励磁シーケンス等が問われず、駆動対象等に応じて適宜変更すれば良い。特に2相ステッピングモータを用いて3相ステッピングモータの進み角を上記と同様の方法で実現することが可能である。即ち、使用するステッピングモータとは異なる相数を有したステッピングモータの進み角も同様に実現することが可能である。メモリ部については、ステッピングモータをマイクロステップ駆動させるのに必要な電流データがマイクロステップ角毎に順次的に予め記録されている限り、電流データの数及び電流値等を適宜設計変更すれば良い。分解能設定部については、ステッピングモータをマイクロステップ駆動するに当たっての分解能を設定入力することが可能である構成である限り、設定入力法が問われず、相数が異なる2種類以上のステッピングモータの分解能が設定入力可能なようにしても良い。アドレス生成部については、入力パルスの入力に従ってメモリ部上の電流データを順次読み出す構成である限り、回路構成が問われずソフトウエアを用いて同様の機能を実現しても良い。また、実際に使用するステッピングモータの進み角を実現するときは、読み出しアドレスを、分解能設定部を通じて設定された分解能に対応した飛び数だけ入力パルスの入力毎に変化させる構成であっても良い。PWM信号生成部については、メモリ部から読み出された電流データに対応したデューティ比を有したPWM信号を生成する限り、信号波形や回路構成が問われずソフトウエアを用いて同様の機能を実現しても良い。相励磁カウンタ部については、入力パルスの入力に従って励磁シーケンスのフルステップ、ハーフステップ又は分割ステップ等のステップ数を計数する限り、回路構成が問われずソフトウエアを用いて同様の機能を実現しても良い。相分配回路部については、相励磁カウンタ部が示すステップ数に対応した相分配パターンで当該PWM信号を相分配して各相励磁信号を生成する限り、相分配する信号の種類、相分配パターン、回路構成が問われずソフトウエアを用いて同様の機能を実現しても良い。スイッチング部については、スイッチング素子を有し且つ各スイッチング素子を相励磁信号に応じてオンオフさせてステッピングモータの各相電流を生成することが可能である限り、スイッチング素子の種類や回路構成が問われない。   Note that the stepping motor driving apparatus according to the present invention may be appropriately changed according to the object to be driven, regardless of the number of phases of the stepping motor, the phase coil connection method, the excitation sequence, and the like. In particular, the lead angle of the three-phase stepping motor can be realized by the same method as described above using a two-phase stepping motor. That is, the advance angle of a stepping motor having a phase number different from that of the stepping motor to be used can be realized in the same manner. For the memory unit, the number of current data, the current value, and the like may be appropriately changed as long as current data necessary to drive the stepping motor in microsteps is sequentially recorded in advance for each microstep angle. As long as the resolution setting unit is configured to be able to set and input the resolution for driving the stepping motor in microsteps, the resolution of two or more types of stepping motors having different numbers of phases can be used regardless of the setting input method. Setting input may be made possible. As long as the address generation unit is configured to sequentially read current data on the memory unit according to the input of the input pulse, the same function may be realized using software regardless of the circuit configuration. In order to realize the lead angle of the stepping motor that is actually used, the read address may be changed for each input pulse by the number of jumps corresponding to the resolution set through the resolution setting unit. As long as the PWM signal generation unit generates a PWM signal having a duty ratio corresponding to the current data read from the memory unit, the same function is realized using software regardless of the signal waveform or circuit configuration. May be. For the phase excitation counter unit, the same function can be realized using software regardless of the circuit configuration as long as the number of steps such as full step, half step, or division step of the excitation sequence is counted according to the input of the input pulse. good. As for the phase distribution circuit unit, as long as the phase distribution pattern corresponding to the number of steps indicated by the phase excitation counter unit distributes the PWM signal to generate each phase excitation signal, the type of signal to be phase distributed, the phase distribution pattern, The same function may be realized using software regardless of the circuit configuration. As long as the switching unit has a switching element and can generate each phase current of the stepping motor by turning on and off each switching element according to the phase excitation signal, the type and circuit configuration of the switching element are questioned. Absent.

1 駆動装置(ステッピングモータ駆動装置)
10 スイッチング部
Q1〜Q8 スイッチング素子
20 メモリ部
30 アドレス生成部
40 PWM信号生成部
50 相分配回路部
60 相励磁カウンタ部
70 分解能設定部
80 電流バランス調整部
m ステッピングモータ
1 Drive unit (Stepping motor drive unit)
DESCRIPTION OF SYMBOLS 10 Switching part Q1-Q8 Switching element 20 Memory part 30 Address generation part 40 PWM signal generation part 50 Phase distribution circuit part 60 Phase excitation counter part 70 Resolution setting part 80 Current balance adjustment part m Stepping motor

Claims (6)

PWM電流制御方式のステッピングモータ駆動装置において、ステッピングモータをマイクロステップ駆動させるのに必要な電流データがマイクロステップ角毎に順次的に予め記録されたメモリ部と、入力パルスの入力に従ってメモリ部上の電流データを順次読み出すアドレス生成部と、メモリ部から読み出された電流データに対応したデューティ比を有したPWM信号を生成するPWM信号生成部と、入力パルスの入力に従って励磁シーケンスのステップ数を計数する相励磁カウンタ部と、相励磁カウンタ部が示すステップ数に対応した相分配パターンで当該PWM信号を相分配して各相励磁信号を生成する相分配回路部と、複数のスイッチング素子を有し且つ各スイッチング素子を前記相励磁信号に応じてオンオフさせてステッピングモータの各相電流を生成するスイッチング部と、前記スイッチング素子がアクティブ状態、非アクティブ状態であるときのHレベル、Lレベルの各電流値を微調整可能にする電流バランス調整部とを備え、前記メモリ部は、実際に使用されるステッピングモータが均等分割角で回転可能するように電流データがマイクロステップ角毎に予め微調整されていることを特徴とするステッピングモータ駆動装置。 In a PWM current control type stepping motor driving device, current data necessary for microstep driving of the stepping motor is sequentially recorded in advance for each microstep angle, and on the memory unit according to input pulse input. An address generator for sequentially reading current data, a PWM signal generator for generating a PWM signal having a duty ratio corresponding to the current data read from the memory, and counting the number of steps of the excitation sequence according to the input pulse input A phase excitation counter unit, a phase distribution circuit unit for phase-distributing the PWM signal in a phase distribution pattern corresponding to the number of steps indicated by the phase excitation counter unit to generate each phase excitation signal, and a plurality of switching elements In addition, each switching element is turned on / off according to the phase excitation signal to change the stepping mode. Comprising a switching unit for generating each phase current of motor, the switching element is in an active state, H-level when it is inactive, and a current balance adjustment unit that enables fine adjustment of the respective current values of the L level, the The stepping motor driving apparatus characterized in that the memory unit finely adjusts current data in advance for each microstep angle so that a stepping motor that is actually used can rotate at an equal division angle. 請求項1記載のステッピングモータ駆動装置において、前記相分配回路部は、前記相励磁カウンタ部が示すステップ数に対応した相分配パターンでもってPWM信号生成部にて生成されたPWM信号の他、Hレベルの信号、Lレベルの信号を相分配して各相励磁信号を生成する構成となっていることを特徴とするステッピングモータ駆動装置。   2. The stepping motor drive device according to claim 1, wherein the phase distribution circuit unit includes an H signal in addition to the PWM signal generated by the PWM signal generation unit with a phase distribution pattern corresponding to the number of steps indicated by the phase excitation counter unit. A stepping motor driving apparatus characterized in that a phase excitation signal is generated by phase-distributing a level signal and an L level signal. 請求項1記載のステッピングモータ駆動装置において、前記ステッピングモータをマイクロステップ駆動するに当たっての分解能を設定入力するための分解能設定部を有し、前記アドレス生成部は、前記メモリ部から電流データを順次読み出すに当たり、読み出しアドレスを当該分解能に対応した飛び数Cだけ入力パルスの入力毎に変化させる構成となっていることを特徴とするステッピングモータ駆動装置。 2. The stepping motor driving apparatus according to claim 1, further comprising a resolution setting unit for setting and inputting a resolution for microstep driving of the stepping motor, wherein the address generation unit sequentially reads current data from the memory unit. The stepping motor driving apparatus is characterized in that the read address is changed for each input pulse by the number C of jumps corresponding to the resolution . 前記ステッピングモータの相数がN(N≧2)相である場合の請求項3記載のステッピングモータ駆動装置において、前記分解能設定部は、N相ステッピングモータとの間でステップ当たりの進み角が共通するM(M≠N)相ステッピングモータの当該進み角に対応する分解能RMが設定入力可能である構成となっており、N相ステッピングモータのフルステップ角をxとし、M相ステッピングモータのフルステップ角をyとするとき、前記アドレス生成部は、メモリ部から電流データを順次読み出すに当たり、読み出しアドレスを、分解能RMにx/yを乗じて得た分解能RNに対応した飛び数Cだけ入力パルスの入力毎に変化させる構成としたことを特徴とするステッピングモータ駆動装置。 4. The stepping motor drive device according to claim 3, wherein the stepping motor has N (N ≧ 2) phases, and the resolution setting unit has a common lead angle per step with the N-phase stepping motor. The resolution RM corresponding to the lead angle of the M (M ≠ N) phase stepping motor to be set can be set and input. The full step angle of the N phase stepping motor is set to x, and the full step of the M phase stepping motor is set. When the angle is y, the address generation unit reads the current data from the memory unit in order to read the input address by the number of jumps C corresponding to the resolution RN obtained by multiplying the resolution RM by x / y. A stepping motor driving device characterized in that it is configured to change for each input . 請求項4記載のステッピングモータ駆動装置において、前記メモリ部は、電流データの数WがMの倍数であり且つ分解能設定部の分解能に対応した飛び数Cで割り切ることが可能な値に設定されていることを特徴とするステッピングモータ駆動装置。 5. The stepping motor driving apparatus according to claim 4, wherein the memory unit is set to a value that allows the number W of current data to be a multiple of M and to be divisible by a jump number C corresponding to the resolution of the resolution setting unit. stepping motor driving apparatus characterized by there. 請求項4記載のステッピングモータ駆動装置において、前記メモリ部は、電流データの数WがMとNとの公倍数であり且つWの整数倍が分解能設定部の分解能に対応した飛び数Cで割り切ることが可能な値に設定されていることを特徴とするステッピングモータ駆動装置。 5. The stepping motor driving apparatus according to claim 4, wherein the memory unit is configured such that the number W of current data is a common multiple of M and N, and an integer multiple of W is divisible by a jump number C corresponding to the resolution of the resolution setting unit. Is set to a possible value . A stepping motor driving apparatus characterized in that
JP2009184453A 2009-08-07 2009-08-07 Stepping motor drive device Expired - Fee Related JP5490461B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009184453A JP5490461B2 (en) 2009-08-07 2009-08-07 Stepping motor drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009184453A JP5490461B2 (en) 2009-08-07 2009-08-07 Stepping motor drive device

Publications (2)

Publication Number Publication Date
JP2011041369A JP2011041369A (en) 2011-02-24
JP5490461B2 true JP5490461B2 (en) 2014-05-14

Family

ID=43768535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009184453A Expired - Fee Related JP5490461B2 (en) 2009-08-07 2009-08-07 Stepping motor drive device

Country Status (1)

Country Link
JP (1) JP5490461B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6248296A (en) * 1985-08-27 1987-03-02 Matsushita Electric Works Ltd Drive circuit for stepping motor
JPH03270696A (en) * 1990-03-16 1991-12-02 Canon Inc Drive control system for step-motor
JP2001197783A (en) * 1999-11-05 2001-07-19 Oriental Motor Co Ltd Microstep driver for five-phase stepping motor
JP2001333598A (en) * 2000-05-23 2001-11-30 Japan Servo Co Ltd Stepping motor driver
JP2003070295A (en) * 2001-08-24 2003-03-07 Mycom Kk Microstep driver and driving method of stepping motor

Also Published As

Publication number Publication date
JP2011041369A (en) 2011-02-24

Similar Documents

Publication Publication Date Title
JP2002199778A (en) Motor drive
US7342330B2 (en) Hybrid type double three-phase electric rotating machine
JP5490461B2 (en) Stepping motor drive device
JP6423745B2 (en) Stepping motor driving device and timepiece
JPS5843200A (en) Exciting system for step motor
JP5016636B2 (en) Two-phase stepping motor drive device
Baluta et al. Precision microstepping system for bipolar stepper motor control
JP2008278643A (en) Stepping motor driving device
JPH06343294A (en) Drive controller of stepping motor
Zhao et al. Study and implementation of SPWM microstepping controller for stepper motor
JP2007028839A (en) Drive circuit of three-phase stepping motor
JP6425305B2 (en) Driving device for stepping motor and driving method of stepping motor
JP4394086B2 (en) Stepping motor drive device
KR101778967B1 (en) Apparatus for driving stepper motor
KR102271805B1 (en) Apparatus for driving step motor
JP3720688B2 (en) Stepping motor drive method
JP2008099477A (en) Drive circuit for two-phase stepping motor
JPH06165594A (en) Step motor driver
Chin et al. A stepper motor controller
JP4178058B2 (en) Stepping motor microstep method and stepping motor
KR100583452B1 (en) Signal generator for controlling rotor location of Brushless DC motor
JP6337786B2 (en) Control device for rotating electrical machine
JPS61147798A (en) Drive circuit of stepping motor
JP2000116173A (en) Brushless dc motor and its speed-control method
JPS61128796A (en) Stepping motor drive circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131029

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140226

R150 Certificate of patent or registration of utility model

Ref document number: 5490461

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees