JP2010284016A - Two-phase stepping motor drive device - Google Patents

Two-phase stepping motor drive device Download PDF

Info

Publication number
JP2010284016A
JP2010284016A JP2009135997A JP2009135997A JP2010284016A JP 2010284016 A JP2010284016 A JP 2010284016A JP 2009135997 A JP2009135997 A JP 2009135997A JP 2009135997 A JP2009135997 A JP 2009135997A JP 2010284016 A JP2010284016 A JP 2010284016A
Authority
JP
Japan
Prior art keywords
phase
current
stepping motor
phase coil
excitation
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
JP2009135997A
Other languages
Japanese (ja)
Other versions
JP5016636B2 (en
Inventor
Naoyoshi Yubazaki
直養 湯場崎
Akira Muto
章 武藤
Tomoaki Shikada
智明 鹿田
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.)
MYCOM Inc
Original Assignee
MYCOM 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 MYCOM Inc filed Critical MYCOM Inc
Priority to JP2009135997A priority Critical patent/JP5016636B2/en
Publication of JP2010284016A publication Critical patent/JP2010284016A/en
Application granted granted Critical
Publication of JP5016636B2 publication Critical patent/JP5016636B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To readily drive a two-phase stepping motor at a step angle unit smaller compared to a half step angle. <P>SOLUTION: The drive device 1, a device for driving a two-phase stepping motor M of common type with a common AB phase, includes a bipolar type switching section 10, and an excitation control section 20 for turning on and off each of switching elements Q1-Q8 in accordance with an input pulse α. The excitation control section 20 is configured to turn on and off the switching elements Q1-Q8, in a predetermined pattern per split step (0.45°) obtained by dividing a basic step into four. The control section is configured to control some of the switching elements Q1-Q8 for the current change phase coils per microstep in a period of split step, and to bring the other switching elements into an active state or an inactive state in the period of the split step. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は2相ステッピングモータを低コストで高分解及び高精度で駆動させることが可能な2相ステッピングモータ駆動装置に関する。   The present invention relates to a two-phase stepping motor driving apparatus capable of driving a two-phase stepping motor at low cost with high resolution and high accuracy.

ステッピングモータは、位置センサを使用せずにオープンループで位置決め制御と確認 が容易に行うことができる等の特性を生かして各種機器に広く利用されている。ステッピ ングモータを相数で分類した場合、現在、最も多く利用されているのは2相ステッピングモータである。その主たる理由は駆動装置(ドライバ)を含めたモータ装置全体のコストを低く抑えることが可能だからである。   Stepping motors are widely used in various devices by taking advantage of the characteristics that positioning control and confirmation can be easily performed in an open loop without using a position sensor. When stepping motors are categorized by the number of phases, the two-phase stepping motors that are most frequently used at present are. The main reason is that the cost of the entire motor device including the driving device (driver) can be kept low.

2相ステッピングモータの場合、その励磁方式の代表例として1相励磁方式、2相励磁方式及び1−2 相励磁方式がある。1相励磁方式又は2相励磁方式によりフルステップ駆動(基本ステップ角:1.8°)が実現され、1−2相励磁方式によりハーフステップ駆動(ハーフステップ角:0.9°)が実現される。また、ステップ角を微細化することが可能なマイクロステップ駆動方式については、常時2相のコイルに電流を流し、その電流レベルを微細に変化させることから、原理的に2相励磁方式を発展させたものである。   In the case of a two-phase stepping motor, representative examples of the excitation method include a one-phase excitation method, a two-phase excitation method, and a 1-2 phase excitation method. Full-step drive (basic step angle: 1.8 °) is realized by the 1-phase excitation method or 2-phase excitation method, and half-step drive (half-step angle: 0.9 °) is realized by the 1-2 phase excitation method. The In addition, the micro-step drive method, which can reduce the step angle, has developed a two-phase excitation method in principle because a current is always passed through a two-phase coil and the current level is changed finely. It is a thing.

2相ステッピングモータ駆動装置については、励磁方式だけでなくモータのコイル接続法によっても回路構成が大きく異なる。例えば、AB相コモン共通型の2相ステッピング モータに使用される駆動装置の一例として特許文献1等に示すものがある。   The circuit configuration of the two-phase stepping motor drive device differs greatly depending not only on the excitation method but also on the motor coil connection method. For example, as an example of a drive device used for an AB-phase common common type two-phase stepping motor, there is one disclosed in Patent Document 1 or the like.

特開平10−174416号公報JP-A-10-174416

しかしながら、上記従来例によると、マイクロステップ駆動方式を採用しない限り、2 相ステッピングモータをハーフステップ角に比べて小さなステップ角単位で駆動させることは困難である。それ故、高い位置決め精度が要求されるときは、2相ステッピングモータではなく5相ステッピングモータ等を使用するのが現状であり、大幅なコスト高を招来するという問題があった。また、マイクロステップ駆動方式を用いると、同モータを高分解能で駆動することが可能であるが、実際には角度分割の均等性が保たれておらず、高精度化を図ることが困難という別の問題も指摘されている。   However, according to the above conventional example, it is difficult to drive the two-phase stepping motor in units of a step angle smaller than the half step angle unless the microstep driving method is adopted. Therefore, when high positioning accuracy is required, the current situation is that a 5-phase stepping motor or the like is used instead of the 2-phase stepping motor, resulting in a significant increase in cost. If the microstep drive method is used, it is possible to drive the motor with high resolution. However, in reality, the uniformity of angle division is not maintained, and it is difficult to achieve high accuracy. The problem is also pointed out.

本発明は上記した背景の下で創作されたものであって、その目的とするところは、2相 ステッピングモータを容易にハーフステップ角に比べて小さなステップ角単位で駆動させることが可能な2相ステッピングモータ駆動装置を提供することにある。   The present invention has been created under the above-described background, and the object of the present invention is to provide a two-phase stepping motor that can be easily driven by a step angle unit smaller than a half step angle. It is to provide a stepping motor driving device.

上記課題を解決するために、本発明の2相ステッピングモータ駆動装置は、A相コイルの正側端子Aと負側端子/Aとの間の中点aとB相コイルの正側端子Bと負側端子/Bと の間の中点bとが互いに共通に電気接続されたコイル結線構造を有した2相ステッピングモータを駆動させる装置であって、スイッチング素子のフルブリッジ回路を2組用いて同 モータのA相、B相コイルに流れる各電流を生成するバイポーラ型のスイッチング部と、 入力パルスに従ってスイッチング部を構成する各スイッチング素子を、基本ステップを4分割した分割ステップ毎に所定のパターンでオンオフさせる励磁制御部とを備えている。 特に励磁制御部については、(1) 基本ステップnの期間にてA相コイルに流れる電流を正方向から負方向にかけて順次変化させ、B相コイルに流れる電流を正方向のHレベルに維持し、基本ステップn+1にてA相コイルに流れる電流を負方向のHレベルに維持し、B相コイルに流れる電流を正方向から負方向にかけて順次変化させ、基本ステップn+2の 期間にてA相コイルに流れる電流を負方向から正方向にかけて順次変化させ、B相コイルに流れる電流を負方向のHレベルに維持し、基本ステップn+3にてA相コイルに流れる電流を正方向のHレベルに維持し、B相コイルに流れる電流を負方向から正方向にかけて 順次変化させるようにし、(2)A相コイルに流れる電流を正方向から負方向に変化させる過程で、B相コイルの中点bを通じて中点aから負側端子/Aに、同様に中点aから正側端子Aに順次的に電流が流れるようにし、A相コイルに流れる電流を負方向から正方向に変化させる過程で、B相コイルの中点bを通じて中点aから正側端子Aに、同様に中点aから負側端子/Aに順次的に電流が流れるようにする一方、B相コイルに流れる電流を正方向から負方向に変化させる過程で、A相コイルの中点aを通じて中点bから負側端子/ Bに、同様に中点bから正側端子Bに順次的に電流が流れるようにし、B相コイルに流れる電流を負方向から正方向に変化させる過程で、A相コイルの中点aを通じて中点bから正側端子Bに、同様に中点bから負側端子/Bに順次的に電流が流れるようにした構成となっている。   In order to solve the above problems, the two-phase stepping motor driving device of the present invention includes a midpoint a between the positive terminal A and the negative terminal / A of the A phase coil and the positive terminal B of the B phase coil. A device for driving a two-phase stepping motor having a coil connection structure in which a midpoint b between the negative terminal / B and a common terminal is electrically connected to each other, using two sets of full bridge circuits of switching elements A bipolar switching unit that generates currents flowing in the A-phase and B-phase coils of the motor, and each switching element that constitutes the switching unit according to the input pulse is divided into four basic steps in a predetermined pattern. And an excitation control unit for turning on and off. Especially for the excitation controller, (1) The current flowing in the A phase coil is changed sequentially from the positive direction to the negative direction in the period of the basic step n, and the current flowing in the B phase coil is maintained at the H level in the positive direction. The current flowing through the A phase coil at the basic step n + 1 is maintained at the H level in the negative direction, the current flowing through the B phase coil is sequentially changed from the positive direction to the negative direction, and flows through the A phase coil during the basic step n + 2. The current is sequentially changed 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, the current flowing through the A phase coil is maintained at the H level in the positive direction at basic step n + 3, and B The current flowing in the phase coil is changed sequentially from the negative direction to the positive direction. (2) In the process of changing the current flowing in the A phase coil from the positive direction to the negative direction, In the process of changing the current flowing through the A-phase coil from the negative direction to the positive direction, the current flows sequentially from the middle point a to the negative terminal / A and similarly from the middle point a to the positive terminal A. , The current flowing through the B-phase coil from the middle point a through the middle point b to the positive terminal A, and from the middle point a to the negative terminal / A sequentially, In the process of changing from the negative direction to the negative direction, a current flows sequentially from the middle point b to the negative terminal / B through the middle point a of the A-phase coil, and similarly from the middle point b to the positive terminal B. In the process of changing the current flowing through the phase coil from the negative direction to the positive direction, the middle point b is changed from the middle point a through the middle point a to the positive terminal B, and similarly from the middle point b to the negative terminal / B sequentially. The configuration is such that a current flows.

上記した発明によると、2相ステッピングモータがA相コイルの中点aとB相コイルの中点bとが互いに共通に電気接続されたコイル結線構造を有しながら、励磁シーケンスを変更するだけで1/4ステップ励磁パターンで駆動させることが可能になる。それ故、同モータを含めた構成全体の低コスト化及び同モータの駆動の高分解化を図る上で大きな意義がある。   According to the above-described invention, the two-phase stepping motor has a coil connection structure in which the middle point a of the A-phase coil and the middle point b of the B-phase coil are electrically connected to each other in common. It is possible to drive with a 1/4 step excitation pattern. Therefore, it is very significant in reducing the cost of the entire configuration including the motor and increasing the resolution of driving of the motor.

2相ステッピングモータをマイクロステップ駆動させる場合、励磁制御部については、電流変化相コイルに係るスイッチング素子のうち一部のスイッチング素子を分割ステップ の期間にてマイクロステップ毎に制御し、他のスイッチング素子を当該分割ステップの期間にてアクティブ状態又は非アクティブ状態にさせる構成とすると良い。ここで言う電流維持相コイルとは、A相、B相コイルのうち基本ステップの期間にてHレベル又はLレベ ルに電流を維持させる側のコイルをいうものとする。   When the two-phase stepping motor is driven by microsteps, the excitation control unit controls some switching elements among the switching elements related to the current change phase coil for each microstep during the division step, and other switching elements. May be configured to be in an active state or an inactive state during the division step. The current maintenance phase coil referred to here is a coil on the side of the A phase and B phase coils that maintains the current at the H level or the L level during the basic step.

上記した下位概念の発明によると、マイクロステップ駆動の前提となる励磁シーケンスパターンのステップ数が従来に比べて倍増していることから、同モータの高分解化を一層 を図ることが可能になる。しかもマイクロステップ駆動に必要な微細電流制御に係るスイ ッチング素子が全相ではなく一部だけであるので、微細電流制御に関する構成が簡素化さ れ、この点でも低コスト化を図ることが可能になる。   According to the above-described invention of the subordinate concept, the number of steps of the excitation sequence pattern, which is a premise of microstep drive, is doubled compared to the prior art, so that it is possible to further increase the resolution of the motor. Moreover, since the switching elements related to the fine current control required for microstep drive are only a part rather than all phases, the structure related to the fine current control is simplified, and this also makes it possible to reduce the cost. Become.

この場合の励磁制御部の具体例としては、電流変化相コイルに係る一部のスイッチング素子の出力電流をパルス幅変調(PWM)制御するのに必要なPWM波形のデューティ比 のデータがマイクロステップ角毎に予め記録されたメモリ部と、入力パルスに従ってメモリ部上のデータを順次読み出すアドレス生成部と、当該メモリ部上のデータに基づいてP WM信号を生成するPWM信号生成部と、前記入力パルスを計数して励磁シーケンスのステップ数を求める相励磁カウンタ部と、相励磁カウンタ部が示すステップ数に対応した相 分配パターンでもってPWM信号生成部から出力されたPWM信号、Hレベルの信号、Lレベルの信号を相分配するとともに相分配された信号により前記スイッチング部を構成する各スイッチング素子をオンオフさせる相分配回路部とを有した構成のものがある。   As a specific example of the excitation control unit in this case, the duty ratio data of the PWM waveform necessary for pulse width modulation (PWM) control of the output current of some switching elements related to the current changing phase coil is the microstep angle. A memory unit pre-recorded every time, an address generation unit that sequentially reads data on the memory unit according to an input pulse, a PWM signal generation unit that generates a PWM signal based on the data on the memory unit, and the input pulse The phase excitation counter unit that calculates the number of steps of the excitation sequence by counting the PWM signal output from the PWM signal generation unit with the phase distribution pattern corresponding to the number of steps indicated by the phase excitation counter unit, the H level signal, L Level signals are phase-distributed and the switching elements constituting the switching unit are turned on by the phase-distributed signals. There is a structure having a phase distribution circuit section for off.

定電流制御方式の上記装置において、励磁制御部については、他のスイッチング素子がアクティブ状態、非アクティブ状態であるときのHレベル、Lレベルの各電流値が微調整可能な構成とすることが好ましい。   In the above-described constant current control system, the excitation control unit is preferably configured so that the current values of the H level and the L level can be finely adjusted when the other switching elements are in the active state and the inactive state. .

上記した下位概念の発明によると、他のスイッチング素子がアクティブ状態、非アクティブ状態であるときのHレベル、Lレベルの各電流値、即ち、電流維持相に係る電流が正又は負方向に微調整されると、これに伴って電流変化相に係る電流も反対方向に変化する。よって、2相ステッピングモータや駆動装置の出力段の特性等にバラツキがあっても、電流維持相に係る電流と電流変化相に係る電流とのバランスを適切にすることで同モータの進み角が正確になり、その結果、マイクロステップ駆動の高精度化を図ることが可能になる。   According to the subordinate concept invention described above, 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, that is, the current related to the current maintenance phase are finely adjusted in the positive or negative direction. As a result, the current related to the current changing phase also changes 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, the lead angle of the motor can be adjusted by appropriately balancing the current related to the current maintaining phase and the current related to the current changing phase. As a result, it becomes possible to increase the precision of microstep drive.

上記装置において、励磁制御部のメモリ部については、基本ステップ角を均等に微細分割した角度単位で前記ステッピングモータをマイクロステップ駆動が可能なようにPWM 波形のデューティ比のデータが基本ステップ角又は分割ステップ角の全範囲についてマイ クロステップ角毎に微調整されていることが好ましい。   In the above apparatus, the duty ratio data of the PWM waveform is divided into basic step angles or divisions so that the stepping motor can be microstep driven in units of angles obtained by equally finely dividing the basic step angle. It is preferable that the entire range of the step angle is finely adjusted for each micro step angle.

上記した下位概念の発明によると、メモリ部に記録されたPWM波形のデューティ比のデータが基本ステップ角又は分割ステップ角の全範囲についてマイクロステップ角毎に微調整されていることから、2相ステッピングモータをマイクロステップ駆動させるに当たり、角度分割の均等性が保たれ、これに伴って、マイクロステップ駆動の駆動の高精度化を図ることが可能になる。   According to the invention of the subordinate concept described above, since the data of the duty ratio of the PWM waveform recorded in the memory unit is finely adjusted for each microstep angle for the entire range of the basic step angle or the divided step angle, the two-phase stepping When the motor is micro-step driven, the uniformity of the angle division is maintained, and accordingly, it is possible to increase the accuracy of the micro-step drive.

本発明の実施の形態に係る2相ステッピングモータ駆動装置の構成図である。1 is a configuration diagram of a two-phase stepping motor driving apparatus according to an embodiment of the present invention. 同装置に採用される励磁シーケンスを示す図である。It is a figure which shows the excitation sequence employ | adopted as the same apparatus. 同装置の励磁制御部に含まれるメモリ部に記録されたデータの内容を説明すための図である。It is a figure for demonstrating the content of the data recorded on the memory part contained in the excitation control part of the apparatus. 図2に示す励磁シーケンスパターンの1/4ステップ毎の進行に伴って2相ステッピングモータの各相コイルに流れる電流の変化を模式的に示した図である。It is the figure which showed typically the change of the electric current which flows into each phase coil of a two-phase stepping motor with progress of every 1/4 step of the excitation sequence pattern shown in FIG. 同2相ステッピングモータの各相コイルに流れる電流の変化を示すタイミングチャートである。It is a timing chart which shows the change of the electric current which flows into each phase coil of the 2 phase stepping motor. 第1変形例に係る図であって、同装置に採用される別の励磁シーケンスを示す図である。It is a figure which concerns on a 1st modification, Comprising: It is a figure which shows another 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. 図6に示す励磁シーケンスパターンの1/4ステップ毎の進行に伴って2相ステッピングモータの各相コイルに流れる電流の変化を示した図である。It is the figure which showed the change of the electric current which flows into each phase coil of a two-phase stepping motor with progress of every 1/4 step of the excitation sequence pattern shown in FIG. 第2変形例に係る図であって、同装置の別の励磁シーケンスを示す図である。It is a figure which concerns on a 2nd modification, Comprising: It is a figure which shows another excitation sequence of the apparatus. 同装置の各スイッチング素子をオンオフする各種励磁信号を波形を示す図である。It is a figure which shows the waveform of the various excitation signals which turn on / off each switching element of the apparatus. 第3変形例に係る図であって、同装置に採用される別の励磁シーケンスパターンを示す図である。It is a figure which concerns on a 3rd modification, Comprising: It is a figure which shows another excitation sequence pattern employ | adopted as the same apparatus. 図11に示す励磁シーケンスパターンの1/4ステップ毎の進行に伴って2相ステッピングモータの各相コイルに流れる電流の変化を模式的に示した図である。It is the figure which showed typically the change of the electric current which flows into each phase coil of a two-phase stepping motor with progress of every 1/4 step of the excitation sequence pattern shown in FIG.

以下、本発明の実施の形態に係る2相ステッピングモータ駆動装置( 以下、単に駆動装置と称する。)を図1乃至図8を参照して説明する。なお、特許請求の範囲に記載された発明特定事項と同装置の構成要素との間で対応関係が不明なものについては後記する符号の説明の欄において併せて示すものとする。   Hereinafter, a two-phase stepping motor driving apparatus (hereinafter simply referred to as a driving apparatus) according to an embodiment of the present invention will be described with reference to FIGS. It should be noted that those for which the correspondence between the invention-specifying matters described in the claims and the components of the apparatus is unknown are shown together in the description of reference numerals described later.

ここに例として挙げる駆動装置1については、図1に示すように2相ステッピングモータM( 以下、単にステッピングモータMと称する。)を入力パルスαに応じて定電流パルス幅変調(PWM)制御方式によりマイクロステップ駆動する装置である。図中10はスイッチング部、20は励磁制御部、30は電源回路部、40は定電流回路部である。これらの各部により駆動装置1が構成されている。   For the driving apparatus 1 exemplified here, as shown in FIG. 1, a two-phase stepping motor M (hereinafter simply referred to as a stepping motor M) is controlled by a constant current pulse width modulation (PWM) control system in accordance with an input pulse α. This is a device for microstep driving. In the figure, 10 is a switching unit, 20 is an excitation control unit, 30 is a power supply circuit unit, and 40 is a constant current circuit unit. The drive device 1 is configured by these units.

ステッピングモータMについては、相数が2、HB型のモータ構造を有したステッピングモータであり、駆動装置1に対して4 本のリード線を用いて外付けされている。コイル 結線構造はAB 相コモン共通型であり、A相コイルの正側端子Aと負側端子/Aとの間の中点aと、B相コイルの正側端子Bと負側端子/Bとの間の中点bとの間が共通に電気接続されている。   The stepping motor M is a stepping motor having an HB type motor structure with two phases, and is externally attached to the driving device 1 using four lead wires. The coil connection structure is an AB phase common common type, a midpoint a between the positive terminal A and the negative terminal / A of the A phase coil, the positive terminal B and the negative terminal / B of the B phase coil, The middle point b is electrically connected in common.

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

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

スイッチング部10については、NPN型のトランジスタであるスイッチング素子Q1〜Q8を用いたバイポーラ型の駆動回路であって、スイッチング素子Q1〜Q4のフルブリッジ回路11 とスイッチング素子Q1〜Q 4のフルブリッジ回路12との2組を用いて、ステッピングモータMのA相、B相コイルに流れる各電流を生成している。   The switching unit 10 is a bipolar drive circuit using switching elements Q1 to Q8 which are NPN type transistors, and is a full bridge circuit 11 of switching elements Q1 to Q4 and a full bridge circuit of switching elements Q1 to Q4. 12 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−, / Expressed as B +, / B-.

励磁制御部20については、入力パルスαに従ってスイッチング素子Q1〜Q8をオンオフさせる励磁信号A+,A−,/A+,/A−,B+,B−,/B+,/B−を各々生 成する回路であって、スイッチング素子Q1〜Q8を、基本ステップ(基本ステップ角:1.8°)を4分割した分割ステップ(分割ステップ角:0.45° )毎に所定のパターンでオンオフさせることが可能な構成となっている。また、後記する電流変化相コイルに係るスイッチング素子Q1〜Q8のうち一部のスイッチング素子を分割ステップの期間にてマイクロステップ毎に制御し、他のスイッチング素子を当該分割ステップの期間にてアクティブ状態又は非アクティブ状態にさせる構成となっている。   The excitation control unit 20 generates excitation signals A +, A-, / A +, / A-, B +, B-, / B +, / B- to turn on and off the switching elements Q1 to Q8 according to the input pulse α. The switching elements Q1 to Q8 can be turned on / off in a predetermined pattern every divided step (divided step angle: 0.45 °) obtained by dividing the basic step (basic step angle: 1.8 °) into four. It has become a structure. In addition, some switching elements among the switching elements Q1 to Q8 related to the current changing phase coil to be described later are controlled for each microstep during the division step, and the other switching elements are in the active state during the division step. Alternatively, it is configured to be in an inactive state.

スイッチング素子Q1〜Q8 をオンオフさせる励磁シーケンスは図2に示す通りであり、この励磁シーケンスによりステッピングモータMのA相コイル、B相コイルに実際に流れる電流は図5に示す通りである。図2及び図5中の上段に示された「0」〜「3」については、基本ステップのステップ数を示しており、その下段に示された「0−0」〜「3−3」については、分割ステップのステップ数を示している。図2中の「H」については、Hレベルの信号が分割ステップ毎に各励磁信号に分配されたことを示し、図2中の「L」については、Lレベルの信号が分割ステップ毎に各励磁信号に分配されたことを示している。図6、図9及び図12についても同様である。図2中の「PWM(I)」〜「PWM(IV)」については、4種類のパターンのPWM信号が各励磁信号に分配されることを示している。   The excitation sequence for turning on / off the switching elements Q1 to Q8 is as shown in FIG. 2, and 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 FIG. 2 and FIG. 5, “0” to “3” shown in the upper part indicate the number of basic steps, and “0-0” to “3-3” shown in the lower part thereof. Indicates the number of division steps. “H” in FIG. 2 indicates that an H level signal is distributed to each excitation signal for each division step. For “L” in FIG. 2, an L level signal is provided for each division step. This shows that the excitation signal is distributed. The same applies to FIG. 6, FIG. 9 and FIG. “PWM (I)” to “PWM (IV)” in FIG. 2 indicates that four types of patterns of PWM signals are distributed to each excitation signal.

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

このように基本ステップ0、2においては、ステッピングモータMのA相コイルに流れる電流の大きさ及び方向が変化し、B相コイルに流れる電流の大きさがHレベル又はLレベルに維持される。一方、基本ステップ1、3においては、A相コイルに流れる電流の大きさがLレベル又はHレベルに維持され、B相コイルに流れる電流の大きさ及び方向が変化する。   As described above, 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 are changed, 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 defined as the current maintaining phase coil. The coil that changes the current in the period is a current changing phase coil.

上記した励磁シーケンスを実現する機能を有した励磁制御部20の具体的な構成は以下の通りである。   A specific configuration of the excitation control unit 20 having a function for realizing the above-described excitation sequence is as follows.

励磁制御部20は、本実施形態においては、図1に示す通りアドレス生成部21、メモリ部22、PWM信号生成部23、相分配回路部24、相励磁カウンタ部25及び分解能設定部26を有した構成となっている。   In this embodiment, the excitation control unit 20 includes an address generation unit 21, a memory unit 22, a PWM signal generation unit 23, a phase distribution circuit unit 24, a phase excitation counter unit 25, and a resolution setting unit 26 as shown in FIG. It has become the composition.

メモリ部22については、電流変化相コイルに係る一部のスイッチング素子の出力電流をPWM制御するのに必要なPWM波形のデューティ比のデータが基本ステップに該当する全角度領域においてマイクロステップ角毎に予め記録されている。   For the memory unit 22, the duty ratio data of the PWM waveform necessary for PWM control of the output current of some of the switching elements related to the current changing phase coil is every microstep angle in all angle regions corresponding to the basic step. Pre-recorded.

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

図3中「I」,「II」,「III」及び「IV」で示した各データ群は、図2に示す「PWM (I)」,「PWM(II)」,「PWM(III)」及び「PWM(IV)」に係るPWM 信号の波形を作成するのに必要なデータである。従来のデータは直線式で表されるようなものであったが、本発明で使用されるデータは図3中の部分拡大図に示されるようにバラツキが見られる。具体的には、メモリ部22上のPWM波形のデューティ比のデータは、ステッピングモータMを実際にマイクロステップ駆動させてその進み角を測定して得た実験データであって、基本ステップ角を均等に微細分割された角度単位でステッピングモータMがマイクロステップ駆動が可能なように基本ステップの全角度範囲(基本ステップ角)についてマイクロステップ角(図示例では0.018°) 毎に微調整されたものである。   Each data group indicated by “I”, “II”, “III”, and “IV” in FIG. 3 includes “PWM (I)”, “PWM (II)”, and “PWM (III)” shown in FIG. And data necessary for creating a waveform of a PWM signal related to “PWM (IV)”. Conventional data is represented by a linear expression, but the data used in the present invention varies as shown in the partially enlarged view of FIG. Specifically, the duty ratio data of the PWM waveform on the memory unit 22 is experimental data obtained by actually driving the stepping motor M by microstep driving and measuring the advance angle, and the basic step angle is equalized. The total angular range (basic step angle) of the basic step is finely adjusted every microstep angle (0.018 ° in the illustrated example) so that the stepping motor M can be microstep driven in units of finely divided angles. Is.

分解能設定部26については、マイクロステップ角の分解能を設定入力するためのスイッチ等であって、本実施形態においては3段階に設定可能になっている。例えば、マイクロステップ角の最大が上記例のとおり0.018°であるとすると、分解能設定部26を通じて0.018°(分解能:1/100) 、0.036°(分解能1/50) 、0.072°(分解能:1/25) の分解能が設定可能になっている。   The resolution setting unit 26 is a switch or the like for setting and inputting the resolution of the microstep angle, and can be set in three stages in this embodiment. For example, if the maximum microstep angle is 0.018 ° as in the above example, 0.018 ° (resolution: 1/100), 0.036 ° (resolution 1/50), 0 through the resolution setting unit 26. .072 ° (resolution: 1/25) can be set.

アドレス生成部21については、図1に示すように入力パルスαに従ってメモリ部22上のデータを順次読み出す回路部である。具体的には、入力パルスαをカウンタ等を用い て計数し、当該計数値及び分解能設定部26 の設定値に基づいてメモリ部22上のデータを順次的に読み出すためのアドレス信号を生成する構成となっている。   The address generation unit 21 is a circuit unit that sequentially reads data on the memory unit 22 in accordance with the input pulse α as shown in FIG. Specifically, the input pulse α is counted using a counter or the like, and an address signal for sequentially reading data on the memory unit 22 based on the count value and the setting value of the resolution setting unit 26 is generated. It has become.

図3で示す例を用いて具体的な動作を説明する。分解能設定値26の設定値が0.018°である場合、入力パルスαが24個入力されると、アドレスが0から25に順次的に変化してカウントアップされ、この過程でメモリ部22上の「PWM(I)」の各データの全てが読み出される。引き続いて、入力パルスαが25個入力されると、アドレスが25から49に順次的に変化し、この過程でメモリ部22上の「PWM(II)」の各データが全て読み出される。メモリ部22上の「PWM(III)」、「PWM(IV)」のデータについても全く同様にして各々読み出される。以後はこの繰り返しである。方向信号が負方向であるときは上記と全く逆に読み出される。   A specific operation will be described using the example shown in FIG. When the set value of the resolution setting value 26 is 0.018 °, when 24 input pulses α are input, the address is sequentially changed from 0 to 25 and counted up. All the data of “PWM (I)” is read out. Subsequently, when 25 input pulses α are input, the address is sequentially changed from 25 to 49, and all the data of “PWM (II)” on the memory unit 22 is read in this process. The data of “PWM (III)” and “PWM (IV)” on the memory unit 22 are read out in the same manner. This is repeated thereafter. When the direction signal is in the negative direction, it is read out in the opposite manner to the above.

分解能設定値26の設定値が0.036°である場合、入力パルスαが12個入力されると、アドレスが0から24に2つ飛ばしで順次的に変化して、即ち、上記に比べて2倍の速さでカウントアップされ、この過程でメモリ部22上の「PWM(I)」の一部のデータが読み出される。引き続いて、アドレスが26から48に2つ飛ばしで順次的に変化してカウントアップされ、この過程でメモリ部22上の「PWM(II)」の一部のデータが読み出される。メモリ部22上の「PWM(III)」、「PWM(IV)」の各データについても全く同様にして読み出される。以後はこの繰り返しである。方向信号が負方向であるときは上記と全く逆に読み出される。   When the set value of the resolution setting value 26 is 0.036 °, when twelve input pulses α are input, the address is sequentially changed by skipping two addresses from 0 to 24, that is, compared with the above. Counting up at twice the speed, and in this process, a part of the data of “PWM (I)” on the memory unit 22 is read out. Subsequently, two addresses are skipped from 26 to 48, and the addresses are sequentially changed and counted up. In this process, a part of the data of “PWM (II)” on the memory unit 22 is read. The data “PWM (III)” and “PWM (IV)” on the memory unit 22 are read in exactly the same way. This is repeated thereafter. When the direction signal is in the negative direction, it is read out in the opposite manner to the above.

分解能設定値26の設定値が0.072°である場合、入力パルスαが6個入力されると、アドレスが0から24に4つ飛ばしで順次的に変化して、即ち、上記に比べて4倍の速さでカウントアップされ、この過程でメモリ部22上の「PWM(I)」の一部のデータが読み出される。引き続いて、アドレスが28から48に4つ飛ばしで順次的に変化してカウントアップされ、この過程でメモリ部22上の「PWM(II)」の一部のデータが読み出される。メモリ部22上の「PWM(III)」、「PWM(IV)」の各データについても全く同様にして読み出される。以後はこの繰り返しである。方向信号が負方向であるときは上記と全く逆に読み出される。   When the set value of the resolution setting value 26 is 0.072 °, when six input pulses α are input, the address is changed sequentially from four to four from 0 to 24, that is, compared with the above. The data is counted up four times faster, and in this process, a part of the data of “PWM (I)” on the memory unit 22 is read. Subsequently, four addresses are skipped from 28 to 48 and sequentially changed and counted up. In this process, a part of the data of “PWM (II)” on the memory unit 22 is read. The data “PWM (III)” and “PWM (IV)” on the memory unit 22 are read in exactly the same way. This is repeated thereafter. When the direction signal is in the negative direction, it is read out in the opposite manner to the above.

相励磁カウンタ部25は、入力パルスαを分解能設定値26の設定値に従って計数するカウンタであり、励磁シーケンスのステップ数、即ち、基本ステップ数0〜3又は分解ステップ数0−0〜3−3を計数している。   The phase excitation counter unit 25 is a counter that counts the input pulse α in accordance with the set value of the resolution setting value 26. The number of steps of the excitation sequence, that is, the number of basic steps 0 to 3 or the number of decomposition steps 0-0 to 3-3. Are counted.

図3で示す例を用いて具体的な動作を説明する。分解能設定値26の設定値が0.018°である場合、入力パルスαが24個(又は25個)入力される度にカウントされ、その計数値が分解ステップ0−0,0−1,0−2,0−3,1−0・・・3−3を順次的に示す。以後はこの繰り返しである。分解能設定値26の設定値が0.036である場合、入力パルスαが12個入力される度にカウントされ、その計数値が分解ステップ0−0,0−2,1−0,1−2・・・3−3を順次的に示す。以後はこの繰り返しである。分解能設定値26の設定値が0.072である場合、入力パルスαが6個入力される度にカウントされ、その計数値が基本ステップ0,1,2,3又は分解ステップ0−0,1−0,2−0,3−0を順次的に示す。以後はこの繰り返しである。   A specific operation will be described using the example shown in FIG. When the set value of the resolution setting value 26 is 0.018 °, it is counted each time 24 (or 25) input pulses α are input, and the counted value is divided into decomposition steps 0-0, 0-1, 0. -2, 0-3, 1-0 ... 3-3 are shown sequentially. This is repeated thereafter. When the set value of the resolution setting value 26 is 0.036, it is counted every time 12 input pulses α are input, and the counted value is divided into decomposition steps 0-0, 0-2, 1-0, 1-2. ... 3-3 are shown sequentially. This is repeated thereafter. When the set value of the resolution setting value 26 is 0.072, it is counted every time six input pulses α are input, and the counted value is the basic step 0, 1, 2, 3 or the decomposition step 0-0, 1 -0, 2-0, 3-0 are shown sequentially. This is repeated thereafter.

PWM信号生成部23については、図1に示すようにアドレス生成部21により読み出されたメモリ部22上のデータに基づいてPWM信号を生成する回路部である。具体的には、メモリ部22上のデータが読み出されると、読み出されたデータに等しいデューティ比を有したPWM波形を有したPWM 信号を生成するようになっている。   The PWM signal generation unit 23 is a circuit unit that generates a PWM signal based on data on the memory unit 22 read by the address generation unit 21 as shown in FIG. Specifically, when the data on the memory unit 22 is read, a PWM signal having a PWM waveform having a duty ratio equal to the read data is generated.

相分配回路部24は、相励磁カウンタ部25が示すステップ数に対応した図2中に示す相分配パターンでもってPWM信号生成部23から出力されたPWM信号、Hレベルの信号、Lレベルの信号を相分配するとともに相分配された励磁信号A+,A−,/A+,/A−,B+,B−,/B+,/B−をスイッチング素子Q1,Q2,Q3,Q4,Q5,Q6,Q7,Q8をオンオフさせる構成となっている。   The phase distribution circuit unit 24 outputs a PWM signal, an H level signal, and an L level signal output from the PWM signal generation unit 23 with the phase distribution pattern shown in FIG. 2 corresponding to the number of steps indicated by the phase excitation counter unit 25. And the phase-distributed excitation signals A +, A-, / A +, / A-, B +, B-, / B +, / B- with switching elements Q1, Q2, Q3, Q4, Q5, Q6, Q7 , Q8 is turned on and off.

図2中の「PWM(I)」,「PWM(II)」,「PWM(III)」及び「PWM(IV)」については、図3に示す「I」,「II」,「III」及び「IV」のデータ群により作成されるPWM信号が割り当てられることを示している。図2中の「H」及び「L」については、相分配回路部24により作成されたHレベル、L レベルの信号が割り当てられることを示している。図6、図9及び図11についても同様である。ここでいうHレベルの信号とは、スイッチング素子Q1等を完全にアクティブ状態にするレベルの電圧を有した信号をいい、Lレベルの信号とは、スイッチング素子Q1等を完全に非アクティブ状態にするレベルの電圧を有した信号をいう。   “PWM (I)”, “PWM (II)”, “PWM (III)”, and “PWM (IV)” in FIG. 2 are “I”, “II”, “III” and “III” shown in FIG. It shows that a PWM signal created by the data group “IV” is assigned. “H” and “L” in FIG. 2 indicate that signals of H level and L level created by the phase distribution circuit unit 24 are assigned. The same applies to FIG. 6, FIG. 9 and FIG. 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.

相分配回路部24の具体的な動作は以下の通りである。   The specific operation of the phase distribution circuit unit 24 is as follows.

相励磁カウンタ部25 が示す励磁シーケンスのステップ数が0−0である場合、その期間では、図2に示す「PWM(I)」に係るPWM信号が励磁信号A+に分配され、Hレベルの信号が励磁信号/A−,B+,/B−に各々分配され、Lレベルの信号が励磁信号A−,/A+,B−,/B+に各々分配される。この場合、スイッチング素子Q1のみがマイクロステップ毎に制御され、スイッチング素子Q2〜Q8はアクティブ状態又は非アクティブ状態である。相励磁カウンタ部25が励磁シーケンスのステップ数が0−1,0−2,0−3である場合も同様であり、スイッチング素子Q4,Q2,Q3のみがマイクロステップ毎に各々制御され、他のスイッチング素子はアクティブ状態又は非アクティブ状態である。即ち、基本ステップ0の期間においては、A相コイルが電流変化相コイルであり、B相コイルが電流維持相コイルである。   When the number of steps of the excitation sequence indicated by the phase excitation counter unit 25 is 0-0, during that period, the PWM signal related to “PWM (I)” shown in FIG. 2 is distributed to the excitation signal A +, and the H level signal Are distributed to the excitation signals / A-, B +, / B-, respectively, and L level signals are respectively distributed to the excitation signals A-, / A +, B-, / B +. In this case, only the switching element Q1 is controlled for each microstep, and the switching elements Q2 to Q8 are in an active state or an inactive state. The same applies to the case where the number of steps of the excitation sequence of the phase excitation counter unit 25 is 0-1, 0-2, 0-3, and only the switching elements Q4, Q2, Q3 are controlled for each microstep, The switching element is in an active state or an inactive state. That is, in the period of the basic step 0, the A phase coil is a current changing phase coil, and the B phase coil is a current maintaining phase coil.

相励磁カウンタ部25が示す励磁シーケンスのステップ数が1−0である場合、その期間では、図2に示す「PWM(I)」に係るPWM 信号が励磁信号B+ に分配され、Hレベルの信号が励磁信号/B−,/B−に各々分配され、Lレベルの信号が励磁信号A+,A−,/A+,B−,/B+に各々分配される。この場合、スイッチング素子Q5のみがマイクロステップ毎に制御され、スイッチング素子Q2〜Q8はアクティブ状態又は非アクティブ状態である。相励磁カウンタ部25が励磁シーケンスのステップ数が1−1,1−2,1−3である場合も上記と同様であり、スイッチング素子Q8,Q6,Q7のみがマイクロステップ毎に各々制御され、他のスイッチング素子はアクティブ状態又は非アクティブ状態である。即ち、基本ステップ1の期間においては、B相コイルが電流変化相コイルであり、A相コイルが電流維持相コイルである。   When the number of steps of the excitation sequence indicated by the phase excitation counter unit 25 is 1-0, during that period, the PWM signal related to “PWM (I)” shown in FIG. 2 is distributed to the excitation signal B +, and the H level signal Are distributed to the excitation signals / B− and / B−, respectively, and L level signals are respectively distributed to the excitation signals A +, A−, / A +, B− and / B +. In this case, only the switching element Q5 is controlled for each microstep, and the switching elements Q2 to Q8 are in an active state or an inactive state. The same applies to the case where the number of steps of the excitation sequence of the phase excitation counter unit 25 is 1-1, 1-2, 1-3, and only the switching elements Q8, Q6, Q7 are controlled for each microstep, Other switching elements are active or inactive. That is, during the basic step 1, the B phase coil is a current change phase coil, and the A phase coil is a current maintaining phase coil.

なお、相励磁カウンタ部25が示す励磁シーケンスのステップ数が2−0〜3−3である場合も上記と全く同様に分配される。   In addition, when the number of steps of the excitation sequence indicated by the phase excitation counter unit 25 is 2-0 to 3-3, the distribution is performed in the same manner as described above.

分解能設定値26の設定値が上記した通りに0.018°である場合である、励磁シーケンスが分割ステップ0−0、0−1・・・と順次的に変化して、スイッチング素子Q1〜Q8が励磁信号A+等によりスイッチングされる結果、ステッピングモータMのA相、 B相コイルに各々流れる電流の大きさとその変化については図4及び図5に示す通りとなる。図4中の矢印は各相コイルの電流の流れを示している。図中示す実線は電流維持相に係る電流である。図中示す破線は電流変化相に係る電流であり、マイクロステップ制御されてマイクロステップ毎に刻々と変化していることを示している。   When the set value of the resolution set value 26 is 0.018 ° as described above, the excitation sequence is sequentially changed to the division steps 0-0, 0-1,. As a result of switching by the excitation signal A + and the like, the magnitudes of currents flowing through the A-phase and B-phase coils of the stepping motor M and the changes thereof are as shown in FIGS. The arrow in FIG. 4 has shown the flow of the electric current of each phase coil. The solid line in the figure is the current related to the current maintenance phase. The broken line shown in the figure is the current related to the current changing phase, and indicates that it is changing every microstep under microstep control.

図2に示す励磁シーケンスは分解能設定値26 の設定値が0.036°である場合、励磁シーケンスが分割ステップ0−0,0−2,1−0・・・と順次的に変化し、分解能設定値26の設定値が0.072 °である場合、分解ステップのステップ数0−0,1−0,2−0 ,3−0・・・と順次的に変化する。これらの場合のステッピングモータMのA相、B相コイルに各々流れる電流の大きさとその変化についても図4及び図5の該当ステップに示すもの同一である。   In the excitation sequence shown in FIG. 2, when the set value of the resolution setting value 26 is 0.036 °, the excitation sequence is sequentially changed into divided steps 0-0, 0-2, 1-0. When the setting value of the setting value 26 is 0.072 °, the number of decomposition steps changes sequentially as 0-0, 1-0, 2-0, 3-0. The magnitudes of the currents flowing through the A-phase and B-phase coils of the stepping motor M in these cases and the changes thereof are the same as those shown in the corresponding steps of FIGS.

上記のように構成された駆動装置1による場合、マイクロステップ駆動の前提となる励磁シーケンスが1/ 4ステップ励磁パターンであり、そのステップ数が従来に比べて倍増していることから、ステッピングモータMの駆動の高分解化を一層を図ることが可能になる。また、マイクロステップ駆動に必要な微細電流制御に係るスイッチング素子が全相ではなく一部だけであるので、PWM 信号生成部23の構成が簡素化され、低コスト化を図ることが可能になる。さらに、メモリ部22 に記録されたPWM波形のデューティ比のデータが基本ステップの全角度範囲についてマイクロステップ角毎に微調整されていることから、ステッピングモータMをマイクロステップ駆動させるに当たり、角度分割の均等性が保たれ、これに伴って、同モータの駆動の高精度化を図ることが可能になる。それ故、ステッピングモータMを含めた構成全体の低コスト化及び同モータの駆動の高分解化を図る上で大きな意義がある。   In the case of the driving apparatus 1 configured as described above, the excitation sequence which is a premise of microstep driving is a 1/4 step excitation pattern, and the number of steps is doubled compared to the conventional stepping motor M. It is possible to further increase the drive resolution. Further, since the switching elements related to the fine current control necessary for the microstep drive are not all phases but only a part, the configuration of the PWM signal generation unit 23 is simplified, and the cost can be reduced. Further, since the duty ratio data of the PWM waveform recorded in the memory unit 22 is finely adjusted for each microstep angle for the entire angle range of the basic step, when the stepping motor M is driven by the microstep, the angle division is performed. Uniformity is maintained, and accordingly, it is possible to increase the accuracy of driving the motor. Therefore, it is very significant in reducing the cost of the entire configuration including the stepping motor M and increasing the resolution of driving of the motor.

次に、駆動装置1の励磁シーケンスの第1変形例を図6〜図8を参照して説明する。図1等で示す例と異なる点を中心として説明するものとし、共通する部分についてはその説明を省略する。なお、図6、図8は上記例の図2、図4に対応した図である。   Next, a first 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. 6 and 8 correspond to FIGS. 2 and 4 in the above example.

相分配回路部24において採用されている励磁シーケンスは図6に示す通りであり、分割ステップ0−0の期間中の所定タイミングでの各励磁信号の波形は図7に示す通りである。図6中の「PWM」及び「/PWM」については、2種類のパターンのPWM信号が割り当てられることを示している。「PWM」に係る励磁信号については、図7に示すように1/2T(T:PWM周期)でのポイントを基準としてミラー状に反転させたのが「/PWM」に係る励磁信号となっている。   The excitation sequence employed in the phase distribution circuit unit 24 is as shown in FIG. 6, and the waveforms of the excitation signals at the predetermined timing during the division step 0-0 are as shown in FIG. “PWM” and “/ PWM” in FIG. 6 indicate that two types of PWM signals are assigned. As for the excitation signal related to “PWM”, as shown in FIG. 7, the excitation signal related to “/ PWM” is inverted in a mirror shape with a point at 1 / 2T (T: PWM cycle) as a reference. Yes.

相励磁カウンタ部25 が示す励磁シーケンスのステップ数が0−0である場合、その期間では、PWM 、/PWMとして示したパターンのPWM信号が励磁信号A+、A−に各々分配され、Hレベルの信号が励磁信号/A−,B+,/B−に各々分配され、Lレベルの信号が励磁信号/A+,B−,/B+に各々分配される。この場合、スイッチング素子 Q1、Q2 がマイクロステップ毎に制御され、スイッチング素子Q3〜Q8はアクティブ状態又は非アクティブ状態である。   When the number of steps of the excitation sequence indicated by the phase excitation counter section 25 is 0-0, during that period, the PWM signals of the pattern shown as PWM and / PWM are respectively distributed to the excitation signals A + and A- Signals are distributed to excitation signals / A-, B +, / B-, respectively, and L level signals are distributed to excitation signals / A +, B-, / B +. In this case, the switching elements Q1 and Q2 are controlled for each microstep, and the switching elements Q3 to Q8 are in an active state or an inactive state.

相励磁カウンタ部25 が示す励磁シーケンスのステップ数が0−1である場合、/PWM、PWMとして示したパターンのPWM信号が励磁信号A+、A−に各々分配され、Hレベルの信号が励磁信号B+,/B−に各々分配され、Lレベルの信号が励磁信号A+,A−,B−,/B+に各々分配される。この場合、スイッチング素子Q3 ,Q4がマイクロステップ毎に制御され、スイッチング素子Q1,Q2,Q4〜Q8はアクティブ状態又は非アクティブ状態である。相励磁カウンタ部25が励磁シーケンスのステップ数が0−2,0−3である場合も上記と同様である。なお、相励磁カウンタ部25 が示す励磁シーケンスのステップ数が1−0〜3−3である場合も上記と全く同様に分配される。   When the number of steps of the excitation sequence indicated by the phase excitation counter unit 25 is 0-1, the PWM signal of the pattern shown as / PWM and PWM is distributed to the excitation signals A + and A-, respectively, and the H level signal is the excitation signal. The signals are distributed to B + and / B-, respectively, and the L level signal is distributed to the excitation signals A +, A-, B- and / B +. In this case, the switching elements Q3 and Q4 are controlled for each microstep, and the switching elements Q1, Q2, and Q4 to Q8 are in an active state or an inactive state. The same applies to the case where the number of steps of the excitation sequence of the phase excitation counter unit 25 is 0-2, 0-3. Even when the number of steps of the excitation sequence indicated by the phase excitation counter unit 25 is 1-0 to 3-3, the distribution is performed in the same manner as described above.

励磁シーケンスが分割ステップ0−0 、0−1 ・・・と順次的に変化して、スイッチング素子Q1〜Q8が励磁信号A+等によりスイッチングされる結果、ステッピングモータMのA相、B相コイルに各々流れる電流の大きさとその変化については図8に示す通りとなる。   The excitation sequence is sequentially changed into divided steps 0-0, 0-1,... And the switching elements Q1 to Q8 are switched by the excitation signal A +. As a result, the A phase and B phase coils of the stepping motor M are switched. FIG. 8 shows the magnitude of the current flowing and the change thereof.

相分配回路部24 において上記した励磁シーケンスが採用されていることから、メモリ部22、アドレス生成部21及びPWM 信号生成部23についても以下のような相違点がある。上記例と相違する部分についてのみ説明し、共通する部分については説明を省略する。   Since the above-described excitation sequence is employed in the phase distribution circuit unit 24, the memory unit 22, the address generation unit 21, and the PWM signal generation unit 23 also have the following differences. Only the parts different from the above example will be described, and the description of the common parts will be omitted.

メモリ部22については、図6に示す「PWM」に係るPWM信号の波形を作成するのに必要なデータが分割ステップに該当する角度領域においてマイクロステップ角毎に予め記録されている。図3で示す例で説明すると、メモリ部22には図3中に示す「I」に相当するデータ群だけが記録されている。   In the memory unit 22, data necessary for creating the waveform of the PWM signal related to “PWM” shown in FIG. 6 is recorded in advance for each microstep angle in the angle region corresponding to the division step. In the example shown in FIG. 3, only a data group corresponding to “I” shown in FIG. 3 is recorded in the memory unit 22.

アドレス生成部21については、図3で示す例を用いて具体的な動作を説明すると、分解能設定値26 が0.018°である場合、入力パルスαが24個(又は25個)入力されると、この過程でメモリ部22から図3中に示す「I」に相当するデータ群の全てが読み出される。以後はこの繰り返しである。分解能設定値26 が0.036、0.072°である場合、入力パルスαが12個、6個入力されると、この過程でメモリ部22から図3中に示す「I」に相当するデータ群の一部が読み出される。以後はこの繰り返しである。なお、方向信号が負方向であるときは上記と全く逆に読み出される。   The specific operation of the address generator 21 will be described with reference to the example shown in FIG. 3. When the resolution setting value 26 is 0.018 °, 24 (or 25) input pulses α are input. In this process, all data groups corresponding to “I” shown in FIG. 3 are read from the memory unit 22. This is repeated thereafter. When the resolution setting value 26 is 0.036 and 0.072 °, when 12 or 6 input pulses α are input, data corresponding to “I” shown in FIG. A part of the group is read out. This is repeated thereafter. When the direction signal is in the negative direction, it is read out in the opposite manner to the above.

PWM信号生成部23については、図3で示す例を用いて具体的な動作を説明すると、 メモリ部22から図3中の「I」に相当するデータ群により「PWM」に係るPWM 信号を作成するだけでなく、このPWM 信号を上記したようにミラー状に反転させる方法により「/PWM」に係るPWM信号を作成可能になっている。   The specific operation of the PWM signal generation unit 23 will be described using the example shown in FIG. 3. A PWM signal related to “PWM” is generated from the memory unit 22 by a data group corresponding to “I” in FIG. 3. In addition, the PWM signal related to “/ PWM” can be created by the method of inverting the PWM signal in a mirror shape as described above.

上記のように構成された第1変形例に係る駆動装置1による場合、メモリ部22の容量が上記例の1/4で良く、予め用意しておくデータの点数も少ないことから、超高分解能のマイクロステップ駆動を行うに当たり大きなメリットがある。   In the case of the driving apparatus 1 according to the first modified example configured as described above, the capacity of the memory unit 22 may be ¼ that of the above example, and the number of data points prepared in advance is small, so that the super high resolution is achieved. There is a great merit in performing micro step drive.

次に、駆動装置1の励磁シーケンスの第2変形例を図9及び図10を参照して説明する。第1変形例と異なる点を中心として説明するものとし、共通する部分についてはその説明を省略する。なお、図9、図10 は上記例の図6、図7に各々対応した図である。   Next, a second 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 first modification, and the description of common parts will be omitted. 9 and 10 correspond to FIGS. 6 and 7 in the above example, respectively.

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

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

相励磁カウンタ部25 が示す励磁シーケンスのステップ数が0−1である場合、/PWM、PWM として示したパターンのPWM信号が励磁信号/A+ 、/A−に各々分配され、Lレベルの信号が励磁信号A+,A−に各々分配され、「Had」の信号が励磁信号B+,/B−に各々分配され、「Lad」の信号が励磁信号B−,/B+ に各々分配される。この場合、スイッチング素子Q3、Q4がマイクロステップ毎に制御され、スイッチング素子Q1,Q2は非アクティブ状態であり、スイッチング素子Q5〜Q8はアクティブ又は非アクティブに近い状態である。相励磁カウンタ部25が励磁シーケンスのステップ数が0−2,0−3である場合も上記と同様である。なお、相励磁カウンタ部25が示す励磁シーケンスのステップ数が1−0〜3−3である場合も上記と全く同様に分配される。   When the number of steps of the excitation sequence indicated by the phase excitation counter unit 25 is 0-1, the PWM signals of the pattern shown as / PWM and PWM are respectively distributed to the excitation signals / A + and / A-, and the L level signal is The excitation signals 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 elements Q3 and Q4 are controlled for each microstep, the switching elements Q1 and Q2 are in an inactive state, and the switching elements Q5 to Q8 are in an active or nearly inactive state. The same applies to the case where the number of steps of the excitation sequence of the phase excitation counter unit 25 is 0-2, 0-3. Even when the number of steps of the excitation sequence indicated by the phase excitation counter unit 25 is 1-0 to 3-3, the distribution is performed in exactly the same manner as described above.

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

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

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

上記のように構成された第2変形例に係る駆動装置1による場合、上記した効果に加えて、次のような効果がある。ステッピングモータMの各相コイルの残留磁気特性、巻線抵抗及びインダクタンス等の特性のバラツキや駆動装置1の出力段の特性のバラツキにより、ステッピングモータMの電流変化相に係る電流と電流維持相に係る電流との間のバランスを適切にすることができず、その結果、電流変化相に係る電流を制御するだけでは所望のステップ角が得られない場合がある。この点、第2変形例に係る駆動装置1による場合、定電流制御であり且つ電流維持相に係る電流が微調整可能であることから、電流維持相に係る電流を正又は負方向に微調整すると、これに応じて電流変化相に係る電流が反対方向に変化する。これはステッピングモータMの中点の接続の有無に無関係である。その結果、電流変化相に係る電流と電流維持相に係る電流との間のバランスを適切にすることができ、その結果、マイクロステップ駆動時の進み角が正確になる。よって、ステッピングモータMの特性や駆動装置1の出力段のバラツキに大きく左右されず、マイクロステップ駆動の高精度化を図ることが可能になる。   In the case of the drive device 1 according to the second modified example configured as described above, in addition to the above-described effects, the following effects can be obtained. 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 current related to the current changing phase of the stepping motor M and the current maintenance phase are changed. As a result, the desired step angle may not be obtained simply by controlling the current related to the current changing phase. In this regard, in the case of the driving device 1 according to the second modification, since the current related to the current maintenance phase can be finely adjusted in the constant current control, the current related to the current maintenance phase is finely adjusted in the positive or negative direction. Then, according to this, the electric current which concerns on an electric current change phase changes to an opposite direction. This is independent of 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.

次に第3変形例に係る駆動装置1を図11及び図12を参照して説明する。第3変形例は上記した例とは異なりマイクロステップ駆動ではなく、フルステップ駆動(基本ステップ角:1.8°)、ハーフステッフ駆動(ハーフステップ角:0.9°)、1 /4ステップ駆動(1/4ステップ角:0.45°)である。図1等で示す例と異なる点を中心として説明するものとし、共通する部分についてはその説明を省略する。なお、図11、図12は上記例の図2、図4に各々対応した図である。   Next, a driving device 1 according to a third modification will be described with reference to FIGS. 11 and 12. Unlike the above example, the third modification is not a microstep drive, but a full step drive (basic step angle: 1.8 °), a half step drive (half step angle: 0.9 °), and a 1/4 step drive. (¼ step angle: 0.45 °). 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. 11 and 12 correspond to FIGS. 2 and 4 of the above example, respectively.

励磁制御部20のうちアドレス生成部21 、メモリ部22 、PWM信号生成部23に相当するものが省略されている。分解能設定部26 は、本実施形態では、1.8°(フルステップ駆動)、0.9°( ハーフステッフ駆動)、0.45°(1/ 4ステップ駆動)の3段階に設定可能になっている。相分配回路部24において採用されている励磁シーケンスは図11 に示す通りである。   Of the excitation control unit 20, those corresponding to the address generation unit 21, the memory unit 22, and the PWM signal generation unit 23 are omitted. In this embodiment, the resolution setting unit 26 can be set in three stages of 1.8 ° (full step drive), 0.9 ° (half step drive), and 0.45 ° (1/4 step drive). ing. The excitation sequence employed in the phase distribution circuit unit 24 is as shown in FIG.

分解能設定値26の設定値が0.45 °である場合、入力パルスαが入力される度に相励磁カウンタ25がカウントされ、その計数値が分解ステップ0−0,0−1,0−2,0−3,1−0・・・3−3を順次的に示す。以後はこの繰り返しである。励磁シーケンスが上記の通り順次的に変化して、スイッチング素子Q1〜Q8 が励磁信号A+等に従ってスイッチングされると、ステッピングモータMのA相、B相コイルに各々流れる電流の大きさとその変化については図12に示す通りとなる。   When the set value of the resolution set value 26 is 0.45 °, the phase excitation counter 25 is counted each time the input pulse α is input, and the counted value is determined as the decomposition steps 0-0, 0-1, 0-2. , 0-3, 1-0... 3-3 are sequentially shown. This is repeated thereafter. When the excitation sequence changes sequentially as described above and the switching elements Q1 to Q8 are switched according to the excitation signal A +, etc., the magnitude of the current flowing through the A-phase and B-phase coils of the stepping motor M and its change are as follows. As shown in FIG.

分解能設定値26 の設定値が0.9 °である場合、入力パルスαが入力される度に相励磁カウンタ25がカウントされ、その計数値が分解ステップ0−0,0−2,0−2,1−0,1−2・・・3−2 を順次的に示す。以後はこの繰り返しである。分解能設定値26の設定値が1.8 °である場合、入力パルスαが入力される度に相励磁カウンタ25がカウントされ、その計数値が分解ステップ0−0,1−0,2−0,3−0を順次的に示す。以後はこの繰り返しである。励磁シーケンスが上記の通り順次的に変化して、スイッチング素子Q1〜Q8が励磁信号A+等に従ってスイッチングされると、ステッピングモータMのA相、B相コイルに各々流れる電流の大きさとその変化については図12の該当ステップに示すものと同一となる。   When the set value of the resolution setting value 26 is 0.9 °, the phase excitation counter 25 is counted each time the input pulse α is input, and the counted value is determined as the decomposition steps 0-0, 0-2, 0-2. , 1-0, 1-2... 3-2 are sequentially shown. This is repeated thereafter. When the set value of the resolution setting value 26 is 1.8 °, the phase excitation counter 25 is counted each time the input pulse α is input, and the counted value is determined as the decomposition steps 0-0, 1-0, 2-0. , 3-0 sequentially. This is repeated thereafter. When the excitation sequence is sequentially changed as described above and the switching elements Q1 to Q8 are switched in accordance with the excitation signal A + or the like, the magnitude of current flowing through the A-phase and B-phase coils of the stepping motor M and the change thereof are as follows. This is the same as that shown in the corresponding step of FIG.

上記のように構成された第3変形例に係る駆動装置1による場合、ステッピングモータMを1/4 ステップ励磁パターンで駆動させることが可能であり、基本的に励磁シーケンスを変更するだけで良いことから簡単に実現することが可能となる。それ故、同モータM を含めた構成全体の低コスト化及び同モータの駆動の高分解化を図る上で大きな意義がある。   In the case of the driving apparatus 1 according to the third modification configured as described above, the stepping motor M can be driven with a 1/4 step excitation pattern, and basically only the excitation sequence needs to be changed. It can be realized easily. Therefore, it is significant in reducing the cost of the entire configuration including the motor M 1 and increasing the drive resolution of the motor.

なお、本発明に係る2相ステッピングモータ駆動装置は、A相コイルの中点aとB相コイルの中点bとが互いに共通に電気接続されたコイル結線構造を有する限り、適用可能な2相ステッピングモータの種類が問われない。スイッチング部については、同モータのA相、B相コイルに流れる各電流を生成するバイポーラ型のものである限り、回路構成が問われない。励磁制御部については、入力パルスに従ってスイッチング部を構成する各スイッチング素子を、基本ステップを4分割した分割ステップ毎に所定のパターンでオンオフさせる構成である限り、その構成が問われない。分解能設定部の設定可能範囲、定電流制御方式の種類等についても適宜設計変更すれば良い。   The two-phase stepping motor driving apparatus according to the present invention is applicable to two-phase as long as it has a coil connection structure in which the middle point a of the A-phase coil and the middle point b of the B-phase coil are electrically connected to each other in common. The type of stepping motor is not questioned. About a switching part, as long as it is a bipolar type which produces | generates each electric current which flows into the A phase and B phase coil of the motor, a circuit structure is not ask | required. The configuration of the excitation control unit is not limited as long as each switching element configuring the switching unit according to the input pulse is configured to be turned on and off in a predetermined pattern for each divided step obtained by dividing the basic step into four. The settable range of the resolution setting unit, the type of the constant current control method, and the like may be appropriately changed.

1 駆動装置(2相ステッピングモータ駆動装置)
10 スイッチング部
20 電流制御部
21 アドレス生成部
22 メモリ部
23 PWM 信号生成部
24 相分配回路部
M ステッピングモータ(2相ステッピングモータ)
1 Drive device (2-phase stepping motor drive device)
10 Switching section
20 Current controller
21 Address generation unit 22 Memory unit 23 PWM signal generation unit 24 Phase distribution circuit unit M Stepping motor (two-phase stepping motor)

Claims (5)

A相コイルの正側端子Aと負側端子/Aとの間の中点aとB相コイルの正側端子Bと負側端子/B との間の中点bとが互いに共通に電気接続されたコイル結線構造を有した2相ステッピングモータを駆動させる装置であって、同モータのA相、B相コイルに流れる各電流を生成するバイポーラ型のスイッチング部と、入力パルスに従ってスイッチング部を構成する各スイッチング素子を、基本ステップを4分割した分割ステップ毎に所定のパターンでオンオフさせる励磁制御部とを備え、前記励磁制御部は、(1) 基本ステップnの期間にてA相コイルに流れる電流を正方向から負方向にかけて順次変化させ、B相コイルに流れる電流を正方向のHレベルに維持し、基本ステップn+1にてA相コイルに流れる電流を負方向のHレベルに維持し、B相コイルに流れる電流を正方向から負方向にかけて順次変化させ、基本ステップn+2の期間にてA相コイルに流れる電流を負方向から正方向にかけて順次変化させ、B相コイルに流れる電流を負方向のHレベルに維持し、基本ステップn+3にてA相コイルに流れる電流を正方向のHレベルに維持し、B相コイルに流れる電流を負方向から正方向にかけて順次変化させるようにし、(2) A相コイルに流れる電流を正方向から負方向に変化させる過程で、B相コイルの中点bを通じて中点aから負側端子/Aに、同様に中点aから正側端子Aに順次的に電流が流れるようにし、A相コイルに流れる電流を負方向から正方向に変化させる過程で、B相コイルの中点bを通じて中点aから正側端子Aに、同様に中点aから負側端子/A に順次的に電流が流れるようにする一方、B相コイルに流れる電流を正方向から負方向に変化させる過程で、A相コイルの中点aを通じて中点bから負側端子/Bに、同様に中点bから正側端子Bに順次的に電流が流れるようにし、B相コイルに流れる電流を負方向から正方向に変化させる過程で、A相コイルの中点aを通じて中点bから正側端子Bに、同様に中点bから負側端子/B に順次的に電流が流れるようにした構成となっていることを特徴とする2相ステッピングモータ駆動装置。   The midpoint a between the positive terminal A and the negative terminal / A of the A phase coil and the midpoint b between the positive terminal B and the negative terminal / B of the B phase coil are electrically connected to each other in common. A device for driving a two-phase stepping motor having a coil connection structure, wherein a bipolar type switching unit for generating currents flowing in the A-phase and B-phase coils of the motor and a switching unit according to an input pulse are configured. Each of the switching elements to be turned on and off in a predetermined pattern for each divided step obtained by dividing the basic step into four, and the excitation controller flows to the A-phase coil during the period of (1) basic step n The current is sequentially changed from the positive direction to the negative direction, the current flowing through the B-phase coil is maintained at the H level in the positive direction, and the current flowing through the A-phase coil is maintained at the negative H level at the basic step n + 1. The current flowing in the B-phase coil is sequentially changed from the positive direction to the negative direction, the current flowing in the A-phase coil is sequentially changed from the negative direction to the positive direction in the basic step n + 2, and the current flowing in the B-phase coil is negatively changed. The current flowing through the A phase coil at the basic step n + 3 is maintained at the H level in the positive direction, and the current flowing through the B phase coil is sequentially changed from the negative direction to the positive direction. (2) In the process of changing the current flowing through the A-phase coil from the positive direction to the negative direction, the intermediate point a is changed from the middle point b through the middle point b to the negative terminal / A, and similarly from the middle point a to the positive terminal A sequentially. In the process of changing the current flowing in the A-phase coil from the negative direction to the positive direction, the middle point a is changed from the middle point b to the positive terminal A in the same way. Sequential to side terminal / A In the process of changing the current flowing in the B-phase coil from the positive direction to the negative direction while allowing the current to flow, the middle point b is similarly changed from the middle point b to the negative terminal / B through the middle point a of the A-phase coil. In the process of causing current to flow sequentially from the positive terminal B to the positive terminal B and changing the current flowing through the B phase coil from the negative direction to the positive direction, the middle point b is changed from the middle point a to the positive terminal B. Similarly, the two-phase stepping motor driving device is configured such that current flows sequentially from the middle point b to the negative terminal / B. 2相ステッピングモータをマイクロステップ駆動させる場合の請求項1記載の2相ステッピングモータ駆動装置において、A相、B相コイルのうち基本ステップの期間にてHレベル又はLレベルに電流を維持させる側のコイルを電流維持相コイルとし、当該基本ステップの期間にて電流を変化させる側のコイルを電流変化相コイルとした場合、前記励磁制御部は、電流変化相コイルに係るスイッチング素子のうち一部のスイッチング素子を分割ステップの期間にてマイクロステップ毎に制御し、他のスイッチング素子を当該分割ステップの期間にてアクティブ状態又は非アクティブ状態にさせる構成となっていることを特徴とする2相ステッピングモータ駆動装置。   2. The two-phase stepping motor driving apparatus according to claim 1, wherein the two-phase stepping motor is driven by microstep driving, wherein the current is maintained at the H level or the L level during the basic step of the A phase and B phase coils. When the coil is a current sustaining phase coil and the current changing phase coil is a current changing phase coil during the basic step, the excitation control unit is configured to switch some of the switching elements related to the current changing phase coil. A two-phase stepping motor characterized in that the switching element is controlled for each micro step during the division step and the other switching elements are made active or inactive during the division step. Drive device. 請求項2記載の2相ステッピングモータ駆動装置において、前記励磁制御部は、電流変化相コイルに係る一部のスイッチング素子の出力電流をパルス幅変調(PWM)制御するのに必要なPWM波形のデューティ比のデータがマイクロステップ角毎に予め記録されたメモリ部と、入力パルスに従ってメモリ部上のデータを順次読み出すアドレス生成部と、 当該メモリ部上のデータに基づいてPWM信号を生成するPWM信号生成部と、前記入力パルスを計数して励磁シーケンスのステップ数を求める相励磁カウンタ部と、相励磁カウンタ部が示すステップ数に対応した相分配パターンでもってPWM信号生成部から出力されたPWM信号、Hレベルの信号、Lレベルの信号を相分配するとともに相分配された信号により前記スイッチング部を構成する各スイッチング素子をオンオフさせる相分配回路部とを有した構成となっていることを特徴とする2相ステッピングモータ駆動装置。   3. The two-phase stepping motor drive device according to claim 2, wherein the excitation control unit has a duty of a PWM waveform necessary for pulse width modulation (PWM) control of an output current of a part of the switching elements related to the current change phase coil. A memory unit in which ratio data is recorded in advance for each microstep angle, an address generation unit that sequentially reads data on the memory unit according to an input pulse, and a PWM signal generation that generates a PWM signal based on the data on the memory unit A phase excitation counter that calculates the number of steps in the excitation sequence by counting the input pulses, a PWM signal output from the PWM signal generator with a phase distribution pattern corresponding to the number of steps indicated by the phase excitation counter, The H level signal and the L level signal are phase-distributed and the switching unit is controlled by the phase-distributed signal. A two-phase stepping motor drive device characterized by comprising a phase distribution circuit section for turning on and off each switching element. 定電流制御方式の請求項2記載の2相ステッピングモータ駆動装置において、前記励磁制御部は、他のスイッチング素子がアクティブ状態、非アクティブ状態であるときのHレベル、Lレベルの各電流値が微調整可能な構成となっていることを特徴とする2相ステッピングモータ駆動装置。   3. The two-phase stepping motor driving apparatus according to claim 2, wherein the excitation control unit has a small current value of H level and L level when other switching elements are in an active state and an inactive state. A two-phase stepping motor driving device characterized in that it has an adjustable configuration. 請求項3記載の2相ステッピングモータ駆動装置において、前記メモリ部は、基本ステップ角を均等に微細分割した角度単位で前記ステッピングモータをマイクロステップ駆動が可能なようにPWM波形のデューティ比のデータが基本ステップ角又は分割ステップ角の範囲についてマイクロステップ角毎に微調整されていることを特徴とする2相ステッピングモータの駆動装置。   4. The two-phase stepping motor driving apparatus according to claim 3, wherein the memory unit stores PWM waveform duty ratio data so that the stepping motor can be micro-step driven in units of angles obtained by equally dividing a basic step angle. A two-phase stepping motor drive device, wherein the basic step angle or the divided step angle range is finely adjusted for each micro step angle.
JP2009135997A 2009-06-05 2009-06-05 Two-phase stepping motor drive device Expired - Fee Related JP5016636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009135997A JP5016636B2 (en) 2009-06-05 2009-06-05 Two-phase stepping motor drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009135997A JP5016636B2 (en) 2009-06-05 2009-06-05 Two-phase stepping motor drive device

Publications (2)

Publication Number Publication Date
JP2010284016A true JP2010284016A (en) 2010-12-16
JP5016636B2 JP5016636B2 (en) 2012-09-05

Family

ID=43540245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009135997A Expired - Fee Related JP5016636B2 (en) 2009-06-05 2009-06-05 Two-phase stepping motor drive device

Country Status (1)

Country Link
JP (1) JP5016636B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61147798A (en) * 1984-12-17 1986-07-05 Sony Corp Drive circuit of stepping motor
JPH0591797A (en) * 1991-05-10 1993-04-09 Maikomu Kk Four-phase stepping motor
JP2006246695A (en) * 2006-05-08 2006-09-14 Mycom Inc Micro-step drive method for stepping motor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61147798A (en) * 1984-12-17 1986-07-05 Sony Corp Drive circuit of stepping motor
JPH0591797A (en) * 1991-05-10 1993-04-09 Maikomu Kk Four-phase stepping motor
JP2006246695A (en) * 2006-05-08 2006-09-14 Mycom Inc Micro-step drive method for stepping motor

Also Published As

Publication number Publication date
JP5016636B2 (en) 2012-09-05

Similar Documents

Publication Publication Date Title
US5841261A (en) System for controlling stepping motor for dividing a single step of the motor into plural sections and applying voltages whose levels are determined in accordance with the sections
JP4959460B2 (en) Motor starting device and motor starting method
JP2002199778A (en) Motor drive
Aranjo et al. Stepper motor drives for robotic applications
KR20070083178A (en) Apparatus and method for driving a stepping motor and electronic apparatus using the same
JP5016636B2 (en) Two-phase stepping motor drive device
JPS5843200A (en) Exciting system for step motor
JP5490461B2 (en) Stepping motor drive device
Baluta et al. Precision microstepping system for bipolar stepper motor control
JPH06343294A (en) Drive controller of stepping motor
JP2008278643A (en) Stepping motor driving device
JPH03139197A (en) Driving method and device for stepping motor
JP6818662B2 (en) Motor drive control device and motor drive control method
JP2007028839A (en) Drive circuit of three-phase stepping motor
JP4394086B2 (en) Stepping motor drive device
JP6425305B2 (en) Driving device for stepping motor and driving method of stepping motor
KR101778967B1 (en) Apparatus for driving stepper motor
JP4653692B2 (en) Micro-step drive device for stepping motor
JPH06165594A (en) Step motor driver
JP4178058B2 (en) Stepping motor microstep method and stepping motor
JPS61128796A (en) Stepping motor drive circuit
JP2008099477A (en) Drive circuit for two-phase stepping motor
Chin et al. A stepper motor controller
JP3720688B2 (en) Stepping motor drive method
JPH06284792A (en) Motor driving circuit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110719

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: 20120605

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120608

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

Free format text: PAYMENT UNTIL: 20150615

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees