JP2009017670A - Controller for stepping motor - Google Patents
Controller for stepping motor Download PDFInfo
- Publication number
- JP2009017670A JP2009017670A JP2007176169A JP2007176169A JP2009017670A JP 2009017670 A JP2009017670 A JP 2009017670A JP 2007176169 A JP2007176169 A JP 2007176169A JP 2007176169 A JP2007176169 A JP 2007176169A JP 2009017670 A JP2009017670 A JP 2009017670A
- Authority
- JP
- Japan
- Prior art keywords
- stepping motor
- motor
- origin
- reference position
- steps
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P8/00—Arrangements for controlling dynamo-electric motors of the kind having motors rotating step by step
- H02P8/24—Arrangements for stopping
- H02P8/30—Holding position when stopped
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02K—DYNAMO-ELECTRIC MACHINES
- H02K37/00—Motors with rotor rotating step by step and without interrupter or commutator driven by the rotor, e.g. stepping motors
- H02K37/22—Damping units
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P3/00—Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters
- H02P3/02—Details
- H02P3/025—Details holding the rotor in a fixed position after deceleration
Abstract
Description
本発明は、ステッピングモータ制御装置に関する。 The present invention relates to a stepping motor control device.
従来、ステッピングモータを使った送り機構において、位置検出器を用いることなくモータの原点位置を検出するため、可動部を機械的稼動範囲の端(メカリミット)に突き当てて脱調させて、その位置の相励磁パターンを記憶することにより原点位置を規定することによって、その後の原点検出の際に、その記憶した相励磁パターンでステッピングモータの回転を停止させる技術が知られている(例えば、特許文献1参照。)。 Conventionally, in a feed mechanism using a stepping motor, in order to detect the origin position of the motor without using a position detector, the movable part is abutted against the end of the mechanical operating range (mechanical limit) and stepped out. A technique is known in which the origin position is defined by storing the phase excitation pattern of the position, and the rotation of the stepping motor is stopped at the stored phase excitation pattern at the time of subsequent origin detection (for example, patent Reference 1).
また、送り機構等の原点位置として、ステッピングモータが原点検索方向に回転した際に、原点センサがONした場所から更に規定のステップ数だけ進んだ位置を原点とする技術も知られている。
しかしながら、上記特許文献1の場合、送り機構をメカリミットに突き当てて脱調させる際に、工業用ミシンのようにモータトルクが大きいと、異常音が生じてしまうことや、最悪の場合には送り機構が故障しまうことがあるという問題があった。
However, in the case of the above-mentioned
また、上記原点センサを用いる従来技術によってステッピングモータを駆動した場合、モータを駆動させる励磁相(駆動相)と、実際に駆動する負荷(ロータ)には位相遅れの関係が生じている。つまり、所定の励磁パターンでモータを励磁していても、負荷(ロータ)は、それより数ステップ前の位置を移動するように遅れているのが通常である。
そして、この位相遅れが常に一定であればよいが、位相遅れはステッピングモータの経時変化や使用環境温度変化などによって異なるため、位相遅れの変化に伴い原点位置がずれてしまうという問題があった。
Further, when the stepping motor is driven by the conventional technique using the origin sensor, there is a phase delay relationship between the excitation phase (driving phase) for driving the motor and the load (rotor) that is actually driven. That is, even when the motor is excited with a predetermined excitation pattern, the load (rotor) is usually delayed so as to move a position several steps before that.
The phase delay may be constant at all times. However, since the phase delay varies depending on the time-dependent change of the stepping motor, the use environment temperature, and the like, there is a problem that the origin position is shifted with the change of the phase delay.
具体的には、5相ステッピングモータのフルステップ駆動を使用した送り機構の場合、励磁パターンは10通り(例えば、0〜9の10通り)ある。そして、モータの制御装置が、その励磁パターンを順番に繰り返してモータに与えていくことにより、モータが回転するようになっている。
そして、例えば、モータの励磁相(A)と、負荷の位置(B)の刻みを、図6(a)、(b)に示すように表して、励磁が矢印Cの方向に切り替えられていく場合、図6(a)に示すように、励磁位置に対して3ステップ遅れて追従する負荷が原点センサ位置を通過し、その時の励磁位置(図中“0”の位置;第0ステップ)から規定の5ステップ分、励磁を進めて停止すると“5”の位置(第5ステップ)が原点位置となる。一方、図6(b)に示すように、励磁位置に対して4ステップ遅れて追従する負荷が原点センサ位置を通過し、その時の励磁位置(図中“1”の位置;第1ステップ)から規定の5ステップ分、励磁を進めて停止すると“6”の位置(第6ステップ)が原点位置となる。すなわち、この位相遅れの変化によって、原点位置が1ステップ分ずれてしまっている。
このように、上記従来技術の場合、位相遅れの変化によって、原点位置の再現性が得られないという問題がある。
Specifically, in the case of a feed mechanism that uses full-step driving of a five-phase stepping motor, there are 10 excitation patterns (for example, 10 patterns of 0 to 9). Then, the motor controller rotates the motor by repeatedly applying the excitation pattern to the motor in order.
Then, for example, the excitation phase (A) of the motor and the increment of the load position (B) are represented as shown in FIGS. 6 (a) and 6 (b), and the excitation is switched in the direction of arrow C. In this case, as shown in FIG. 6A, the load that follows the excitation position with a delay of 3 steps passes through the origin sensor position, and from the excitation position at that time (position “0” in the figure; 0th step). When excitation is advanced and stopped for the specified 5 steps, the position “5” (fifth step) becomes the origin position. On the other hand, as shown in FIG. 6B, a load that follows the excitation position with a delay of 4 steps passes through the origin sensor position, and from the excitation position (position “1” in the figure; first step) at that time. When excitation is advanced and stopped for the prescribed 5 steps, the position “6” (sixth step) becomes the origin position. That is, the origin position is shifted by one step due to the change in the phase delay.
As described above, the conventional technique has a problem that the reproducibility of the origin position cannot be obtained due to the change in the phase delay.
本発明の目的は、ステッピングモータの原点位置合わせの精度を向上させるステッピングモータ制御装置を提供することである。 An object of the present invention is to provide a stepping motor control device that improves the accuracy of alignment of the origin of a stepping motor.
以上の課題を解決するため、請求項1に記載の発明は、ステッピングモータを駆動制御するステッピングモータ制御装置であって、ステッピングモータの回転基準位置を検知する基準位置検知手段と、ステッピングモータに駆動電流を供給するモータドライバと、モータドライバに所定の励磁パターンに応じた駆動電流を出力させるモータ制御部と、を備え、ステッピングモータを原点位置で停止させる際、基準位置検知手段によりステッピングモータの回転基準位置が検知された後、モータ制御部が、所定の励磁パターンにおける規定のステップまでモータドライバに駆動電流を出力させることで、ステッピングモータを規定ステップに応じた原点位置で停止させることを特徴とする。
In order to solve the above problems, the invention described in
請求項1に記載の発明によれば、ステッピングモータ制御装置は、基準位置検知手段によりステッピングモータの回転基準位置が検知された後、所定の励磁パターンにおける規定のステップまでモータドライバに駆動電流を出力させることによって、回転基準位置の通過後に最初に現れる励磁パターンの規定ステップでモータ停止させて、ステッピングモータを規定ステップに応じた所定の原点位置で停止させることができる。 According to the first aspect of the present invention, the stepping motor control device outputs a driving current to the motor driver until a predetermined step in a predetermined excitation pattern after the reference position detecting means detects the rotation reference position of the stepping motor. Thus, the motor is stopped at the specified step of the excitation pattern that appears first after passing through the rotation reference position, and the stepping motor can be stopped at the predetermined origin position corresponding to the specified step.
請求項2に記載の発明は、請求項1に記載のステッピングモータ制御装置において、ステッピングモータを停止させる原点位置の調整時に、基準位置検知手段が、ステッピングモータの回転基準位置を検知した後、所定の励磁パターンの全ステップ数に対する半分程度のステップ数分励磁を進めた位置のステップを、原点位置に相当する規定ステップとしてモータ制御部が記憶し、モータ制御部が、その記憶した規定ステップまでモータドライバに駆動電流を出力させることで、ステッピングモータを原点位置で停止させることを特徴とする。 According to a second aspect of the present invention, in the stepping motor control device according to the first aspect, the reference position detecting means detects the rotation reference position of the stepping motor after the reference position detecting means detects the rotation reference position at the time of adjusting the origin position for stopping the stepping motor. The motor control unit memorizes the step at the position where the excitation has been advanced by about half of the total number of steps of the excitation pattern as the specified step corresponding to the origin position, and the motor control unit stores the motor up to the stored specified step. The stepping motor is stopped at the origin position by causing the driver to output a driving current.
請求項2に記載の発明によれば、請求項1に記載の発明と同様の作用を奏するとともに、ステッピングモータ制御装置は、ステッピングモータを停止させる原点位置を設定する調整時に、基準位置検知手段がステッピングモータの回転基準位置を検知した後、所定の励磁パターンの全ステップ数に対する半分程度のステップ数分励磁を進めた位置のステップを、原点位置に相当する規定ステップとして記憶して設定することができる。 According to the second aspect of the present invention, the same effect as that of the first aspect of the invention can be obtained, and the stepping motor control device can perform the adjustment of the reference position detecting means at the time of adjusting the origin position for stopping the stepping motor. After detecting the rotation reference position of the stepping motor, it is possible to store and set a step at a position where excitation has been advanced by about half of the total number of steps of a predetermined excitation pattern as a specified step corresponding to the origin position. it can.
請求項1に記載の発明によれば、ステッピングモータ制御装置は、基準位置検知手段によりステッピングモータの回転基準位置が検知された後、所定の励磁パターンにおける規定のステップまでモータドライバに駆動電流を出力させることによって、回転基準位置の通過後に最初に現れる励磁パターンの規定ステップでモータ停止させて、ステッピングモータを規定ステップに応じた所定の原点位置で停止させることができるので、経時変化や温度変化等の負荷変動(例えば、位相遅れ)が発生しても、ステッピングモータが必ず同じ原点位置に停止することが可能になる。
よって、このステッピングモータ制御装置により、高精度の原点検索が可能となり、モータの停止位置ズレによる不具合をなくすことができ、ステッピングモータの原点位置合わせの精度を向上させることが可能になる。
According to the first aspect of the present invention, the stepping motor control device outputs a driving current to the motor driver until a predetermined step in a predetermined excitation pattern after the reference position detecting means detects the rotation reference position of the stepping motor. By doing so, the motor can be stopped at the specified step of the excitation pattern that appears first after passing through the rotation reference position, and the stepping motor can be stopped at the predetermined origin position according to the specified step. Even if a load fluctuation (for example, phase delay) occurs, the stepping motor can always stop at the same origin position.
Therefore, this stepping motor control device enables high-accuracy origin search, eliminates problems due to motor stop position deviation, and improves the accuracy of stepping motor origin alignment.
請求項2に記載の発明によれば、ステッピングモータ制御装置は、ステッピングモータを停止させる原点位置を設定する調整時に、基準位置検知手段がステッピングモータの回転基準位置を検知した後、所定の励磁パターンの全ステップ数に対する半分程度のステップ数分励磁を進めた位置のステップを、原点位置に相当する規定ステップとして記憶して設定することができる。
そして、ステッピングモータ制御装置は、その記憶した規定ステップまでモータドライバに駆動電流を出力させることによって、ステッピングモータを原点位置で停止させることができる。
According to the second aspect of the present invention, the stepping motor control device has a predetermined excitation pattern after the reference position detecting means detects the rotation reference position of the stepping motor during the adjustment for setting the origin position for stopping the stepping motor. The step at the position where the excitation has been advanced by about half the number of all the steps can be stored and set as the specified step corresponding to the origin position.
Then, the stepping motor control device can stop the stepping motor at the origin position by causing the motor driver to output a drive current up to the stored specified step.
ここで、所定の励磁パターンの全ステップ数に対する半分程度のステップ数とは、例えば、全ステップ数が「10」である場合には、半分のステップ数「5」や、その「5」の前後である、約半分の「4」や「6」のステップ数のことである。全ステップ数が「10」のように偶数となる場合には、半分のステップ数が「5」と定まるが、基準位置検知手段や回転基準位置の配置によっては、約半分の「4」や「6」のステップ数の方が規定ステップとして好適となることがあり、また、全ステップ数が奇数となるような場合には、きっちり半分のステップ数を定めることができないため、規定ステップを全ステップ数に対する半分程度のステップとする。 Here, the number of steps that is about half of the total number of steps of the predetermined excitation pattern is, for example, when the total number of steps is “10”, half the number of steps “5” or around “5”. The number of steps is about half of “4” and “6”. When the total number of steps is an even number such as “10”, the half number of steps is determined as “5”. However, depending on the arrangement of the reference position detection means and the rotation reference position, about half “4” and “ The step number of “6” may be more preferable as the specified step. In addition, when the total number of steps is an odd number, it is not possible to set exactly half the number of steps. The number of steps is about half of the number.
以下、図を参照して本発明に係るステッピングモータ制御装置の実施形態を説明する。
本実施の形態では、分解能0.72°の5相ステッピングモータのフルステップ駆動に対する制御を行うステッピングモータ制御装置を例に説明する。
なお、発明の範囲は、図示例に限定されない。
Hereinafter, an embodiment of a stepping motor control apparatus according to the present invention will be described with reference to the drawings.
In the present embodiment, a stepping motor control device that performs control for full-step driving of a 5-phase stepping motor having a resolution of 0.72 ° will be described as an example.
The scope of the invention is not limited to the illustrated example.
ステッピングモータ制御装置10は、図1に示すように、ステッピングモータ1と、そのステッピングモータ1に駆動電流を供給するモータドライバ2と、そのモータドライバ2に所定の励磁パターンに応じた駆動電流を出力させるモータ制御部3と、ステッピングモータ1の回転基準位置を検知する基準位置検知手段4等を備えて構成されている。
As shown in FIG. 1, the stepping
ステッピングモータ1は、例えば、5相ステッピングモータであって、5相HBモータである場合、コイルを10個、歯を50枚有する構成をとっている。そして、1ステップでは0.72°回転し、10ステップでロータ(負荷)は歯1枚分移動するようになっている。
For example, when the stepping
モータドライバ2は、例えば、励磁順序を決定する励磁回路2aと、モータに供給する電力を制御する駆動回路2bとを備えている。
The
モータ制御部3は、例えば、各種の演算処理等を行うCPUと、CPUのワークエリアとして使用されるRAMと、CPUにより実行される各種制御プログラム及び各種データ等が格納されるROMと、を備えている。
そして、モータ制御部3は、例えば、ROMに格納されている所定の励磁パターンに対応する指令パルス信号をモータドライバ2に出力することによって、そのモータドライバ2に励磁パターンに対応する駆動電流を出力させ、その駆動電流をステッピングモータ1に供給させることにより、ステッピングモータ1を駆動させる制御を行う。
なお、励磁パターンは複数のステップからなり、5相ステッピングモータのフルステップ駆動の場合、所定の励磁パターンは10ステップ(例えば、0〜9の10ステップ)からなる。そして、モータ制御部3の制御処理によって、モータドライバ2が励磁パターンの各ステップに応じた駆動電流を順番にステッピングモータ1に与えていくことにより、ステッピングモータ1を回転駆動させることができる。
また、モータ制御部3は、ステッピングモータ1を停止させる原点位置を設定する調整処理に関する制御や、その設定した原点位置でステッピングモータ1を停止させる処理に関する制御を実行する。
The
The
The excitation pattern is composed of a plurality of steps, and in the case of full-step driving of a five-phase stepping motor, the predetermined excitation pattern is composed of 10 steps (for example, 10 steps from 0 to 9). The stepping
In addition, the
基準位置検知手段4は、例えば、ステッピングモータ1のロータ(負荷)に施されている回転基準位置を検知する原点センサであって、その回転基準位置を検知した際に、検知信号をモータ制御部3に出力する。
The reference position detection means 4 is an origin sensor that detects, for example, a rotation reference position applied to the rotor (load) of the
そして、ステッピングモータ1を停止させる原点位置の調整処理を行う際、ステッピングモータ制御装置10のモータ制御部3は、基準位置検知手段4がステッピングモータ1の回転基準位置を検知した後、所定の励磁パターンの全ステップ数(本実施形態では、10ステップ)に対する半分程度のステップ数(本実施形態では、例えば、4ステップ、5ステップ)分、励磁を進めた位置のステップを原点位置に相当する規定ステップとして、モータ制御部3のRAMに記憶する制御を実行する。
When the origin position adjustment process for stopping the stepping
また、ステッピングモータ1を原点位置で停止させる原点復帰動作を行う際、ステッピングモータ制御装置10のモータ制御部3は、基準位置検知手段4によりステッピングモータ4の回転基準位置が検知された後、モータ制御部3が、所定の励磁パターンにおける規定のステップであって、RAMに記憶された規定ステップまでモータドライバ2に駆動電流を出力させることで、ステッピングモータ1を規定ステップに応じた原点位置で停止させる制御を実行する。
Further, when performing the origin return operation for stopping the stepping
次に、本実施の形態におけるステッピングモータ制御装置10による、ステッピングモータ1を停止させる原点位置を設定する調整処理について、図2に示すフローチャートに基づき説明する。
Next, an adjustment process for setting an origin position for stopping the stepping
まず、ステッピングモータ1を停止させる原点位置を設定するための原点検索信号がモータ制御部3に入力されると、モータ制御部3は、基準位置検知手段4が回転基準位置を検知したことに伴う検知信号が入力されたか否かを判断する(ステップS101)。
First, when an origin search signal for setting an origin position for stopping the stepping
モータ制御部3が、基準位置検知信号が入力されたと判断すると(ステップS101;Yes)、モータ制御部3は、0〜9の10ステップからなる励磁パターンにおける、基準位置検知信号が入力されたタイミングのステップから、全ステップ数の約半数分である5ステップ、励磁を進めた位置のステップを取得する(ステップS102)。
なお、具体的には、図3(a)に示すように、励磁位置に対して3ステップ遅れて負荷が追従している場合、基準位置検知手段4が回転基準位置に対応する第7ステップを検知した際、励磁相は第0ステップに達しているので、その第0ステップから5ステップ分、励磁を進めた位置の第5ステップを、モータ制御部3が取得する。
When the
Specifically, as shown in FIG. 3A, when the load follows the excitation position with a delay of 3 steps, the reference
そして、モータ制御部3は、取得した第5ステップを原点位置に相当する規定ステップとしてRAMに記憶して設定する(ステップS103)。
なお、この取得した第5ステップに不都合や不具合がある場合、全ステップ数の約半数である4ステップや6ステップ励磁を進めた位置のステップを取得するようにして、より適切な規定ステップを記憶し格納するようにする。
このようにして、ステッピングモータ制御装置10のモータ制御部3は、ステッピングモータ1を停止させる原点位置に関する規定ステップを設定する。そして、その規定ステップに応じた原点位置調整がなされる。
Then, the
If there is an inconvenience or problem in the acquired fifth step, a more appropriate specified step is stored by acquiring the step at the position where the four-step excitation or the six-step excitation is advanced, which is about half of the total number of steps. And store it.
In this way, the
次に、本実施の形態におけるステッピングモータ制御装置10による、ステッピングモータ1を原点位置で停止させる原点復帰動作処理について、図4に示すフローチャートに基づき説明する。
Next, the origin return operation processing for stopping the stepping
まず、ステッピングモータ1を停止させるためのモータ停止信号がモータ制御部3に入力されると、モータ制御部3は、基準位置検知手段4が回転基準位置を検知したことに伴う検知信号が入力されたか否かを判断する(ステップS201)。
First, when a motor stop signal for stopping the stepping
モータ制御部3が、基準位置検知信号が入力されたと判断すると(ステップS201;Yes)、モータ制御部3は、RAMに記憶された規定ステップまでモータドライバ2に駆動電流を出力させる(ステップS202)。
When the
そして、モータの励磁相が規定ステップに達すると(ステップS203;Yes)、ステッピングモータ1は、その規定ステップに応じた原点位置に停止する(ステップS204)。
なお、具体的には、図3(b)に示すように、原点位置設定時における3ステップ遅れの位相遅れと異なり、励磁位置に対して4ステップ遅れの位相遅れで負荷が追従している場合であっても、回転基準位置の通過後に最初に現れる規定ステップである第5ステップでモータが停止するようになり、ステッピングモータ1の位相遅れが変化しても、ステッピングモータ1の停止位置が安定することとなる。
When the excitation phase of the motor reaches the specified step (Step S203; Yes), the stepping
Specifically, as shown in FIG. 3 (b), when the load follows the excitation position with a phase delay of 4 steps, unlike the phase delay of 3 steps when the origin position is set. Even so, the motor stops at the fifth step, which is the first defined step that appears after passing the rotation reference position, and even if the phase delay of the stepping
ここで、原点位置に相当する規定ステップを、励磁パターンの全ステップ数に対する半分程度のステップ数分、励磁を進めた位置のステップとする訳について説明する。 Here, the reason why the prescribed step corresponding to the origin position is set to a step at a position where excitation is advanced by about half the number of steps of the excitation pattern is explained.
図5(a)に示すように、励磁位置に対して3ステップ遅れて負荷が追従している場合に、基準位置検知手段4が回転基準位置に対応する第7ステップを検知した際の第0ステップから1ステップ分、励磁を進めた位置の第1ステップを原点位置に相当する規定ステップとして設定したとする。
そして、ステッピングモータ1を原点位置で停止させる原点復帰動作の際に、図5(b)に示すように、励磁位置に対して5ステップ遅れて負荷が追従していると、回転基準位置の通過後に最初に現れる規定ステップである第1ステップでモータを停止させると、その停止位置は励磁パターンの1サイクル分ずれた位置、つまり、10ステップ分ずれた第1ステップに応じた位置になってしまうという問題が生じることになる。
As shown in FIG. 5A, when the load follows the excitation position with a delay of 3 steps, the 0th step when the reference position detection means 4 detects the seventh step corresponding to the rotation reference position. It is assumed that the first step at the position where excitation has been advanced by one step from the step is set as a specified step corresponding to the origin position.
Then, during the origin return operation in which the stepping
これに対して本発明のように、励磁パターンの全ステップ数に対する半分程度のステップ数である5ステップ分、励磁を進めた位置のステップを原点位置に相当する規定ステップとすることによれば、位相遅れの程度によらず、モータの停止位置が励磁パターンの1サイクル分ずれてしまうようなことなく、所定の原点位置に停止させることが可能になるのである。つまり、規定ステップは、励磁パターンの全ステップ数に対して多過ぎず、少な過ぎず、中間程度の約半分程度が好ましい。
なお、励磁パターンの全ステップ数に対する半分のステップ数を規定ステップとするのではなく、ほぼ中間である半分程度のステップ数を規定ステップとする訳は、全ステップ数が「10」のように偶数となる場合には、半分のステップ数が「5」と定まるが、基準位置検知手段4の位置やステッピングモータ1の回転基準位置の配置によっては、約半分の「4」や「6」のステップ数の方が規定ステップとして好適となることがあるためであり、また、全ステップ数が奇数となるような場合には、きっちり半分のステップ数を定めることができないためである。
On the other hand, according to the present invention, according to the step of the position where the excitation is advanced by 5 steps, which is about half the total number of steps of the excitation pattern, as the specified step corresponding to the origin position, Regardless of the degree of phase delay, the motor stop position can be stopped at a predetermined origin position without being shifted by one cycle of the excitation pattern. That is, the prescribed steps are not too many and not too small with respect to the total number of steps of the excitation pattern, and are preferably about half of the middle.
It should be noted that half the number of steps in the excitation pattern is not the specified step, but the half number of steps, which is almost in the middle, is the specified step because the total number of steps is an even number such as “10”. In this case, half the number of steps is determined to be “5”, but depending on the position of the reference
このように、本発明に係るステッピングモータ制御装置10は、基準位置検知手段4によりステッピングモータ1の回転基準位置が検知された後、所定の励磁パターンにおける規定のステップ(第5ステップ)までモータドライバ2に駆動電流を出力させることによって、その回転基準位置の通過後に最初に現れる励磁パターンの規定ステップ(第5ステップ)でモータ停止し、ステッピングモータ1を所定の原点位置で停止させることができるので、経時変化や温度変化等の負荷変動(例えば、位相遅れ)が発生しても、ステッピングモータ1は必ず同じ原点位置に停止することとなって、高精度の原点検索が可能となり、モータの停止位置ズレによる不具合をなくすことができる。つまり、ステッピングモータ1の原点位置合わせの精度を向上させることが可能になる。
特に、回転基準位置の通過後に励磁を進めるステップ数を、励磁パターン数の半分程度とすることによって、経時変化や温度変化等の負荷変動が発生しても、励磁パターンにおける規定ステップを誤認識してしまい、モータの停止位置が励磁パターンの1サイクル分ずれてしまうようなことはなく、より高精度の原点検索が可能となる。
As described above, the stepping
In particular, by setting the number of steps of excitation after passing the rotation reference position to about half of the number of excitation patterns, even if load fluctuations such as changes over time or temperature changes occur, the specified steps in the excitation pattern are erroneously recognized. Therefore, the motor stop position is not shifted by one cycle of the excitation pattern, and the origin search can be performed with higher accuracy.
なお、以上の実施の形態においては、分解能0.72°の5相ステッピングモータのフルステップ駆動の場合を例に説明したが、本発明はこれに限定されるものではなく、例えば、ハーフステップ駆動(全20ステップからなる励磁パターン)や、1.8°の2相ステッピングモータのフルステップ駆動(全4ステップの励磁パターン)や、ハーフステップ駆動(全8ステップの励磁パターン)等、その他のステッピングモータの駆動制御に適用してもよい。 In the above embodiment, the case of full-step driving of a 5-phase stepping motor with a resolution of 0.72 ° has been described as an example. However, the present invention is not limited to this, for example, half-step driving. Other stepping such as (excitation pattern consisting of 20 steps in total), full-step drive of 1.8 ° 2-phase stepping motor (excitation pattern of all 4 steps), half-step drive (excitation pattern of all 8 steps), etc. You may apply to the drive control of a motor.
また、その他、具体的な細部構造等についても適宜に変更可能であることは勿論である。 In addition, it is needless to say that other specific detailed structures can be appropriately changed.
1 ステッピングモータ
2 モータドライバ
3 モータ制御部
4 基準位置検知手段
10 ステッピングモータ制御装置
DESCRIPTION OF
Claims (2)
前記ステッピングモータの回転基準位置を検知する基準位置検知手段と、
前記ステッピングモータに駆動電流を供給するモータドライバと、
前記モータドライバに所定の励磁パターンに応じた駆動電流を出力させるモータ制御部と、を備え、
前記ステッピングモータを原点位置で停止させる際、
前記基準位置検知手段により前記ステッピングモータの回転基準位置が検知された後、前記モータ制御部が、所定の励磁パターンにおける規定のステップまで前記モータドライバに駆動電流を出力させることで、前記ステッピングモータを前記規定ステップに応じた原点位置で停止させることを特徴とするステッピングモータ制御装置。 A stepping motor control device for driving and controlling a stepping motor,
A reference position detecting means for detecting a rotation reference position of the stepping motor;
A motor driver for supplying a driving current to the stepping motor;
A motor control unit for causing the motor driver to output a drive current according to a predetermined excitation pattern,
When stopping the stepping motor at the origin position,
After the rotation reference position of the stepping motor is detected by the reference position detection means, the motor control unit causes the motor driver to output a drive current until a predetermined step in a predetermined excitation pattern, thereby causing the stepping motor to A stepping motor control device that stops at an origin position corresponding to the prescribed step.
前記モータ制御部が、その記憶した規定ステップまで前記モータドライバに駆動電流を出力させることで、前記ステッピングモータを原点位置で停止させることを特徴とする請求項1に記載のステッピングモータ制御装置。 At the time of adjusting the origin position for stopping the stepping motor, the reference position detection means detects the rotation reference position of the stepping motor, and then proceeds with excitation by about half of the number of steps of the predetermined excitation pattern. The step of the position is stored by the motor control unit as a specified step corresponding to the origin position,
2. The stepping motor control device according to claim 1, wherein the motor control unit stops the stepping motor at an origin position by causing the motor driver to output a driving current until the stored specified step. 3.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007176169A JP2009017670A (en) | 2007-07-04 | 2007-07-04 | Controller for stepping motor |
CNA200810127849XA CN101340171A (en) | 2007-07-04 | 2008-07-04 | Pecking motor control device |
KR1020080064875A KR20090004749A (en) | 2007-07-04 | 2008-07-04 | Stepping motor controlling device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007176169A JP2009017670A (en) | 2007-07-04 | 2007-07-04 | Controller for stepping motor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009017670A true JP2009017670A (en) | 2009-01-22 |
Family
ID=40214154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007176169A Pending JP2009017670A (en) | 2007-07-04 | 2007-07-04 | Controller for stepping motor |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP2009017670A (en) |
KR (1) | KR20090004749A (en) |
CN (1) | CN101340171A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012144372A (en) * | 2011-01-11 | 2012-08-02 | Oerlikon Textile Gmbh & Co Kg | Method for calibrating pivoting stroke of yarn feeder arranged on yarn splicing device and yarn splicing device for implementing the method |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101932715B1 (en) * | 2011-11-14 | 2018-12-27 | 삼성전자주식회사 | Apparatus and method for controlling stepping motor |
WO2018002883A1 (en) | 2016-06-29 | 2018-01-04 | 3M Innovative Properties Company | A method of retrofitting a hearing protector, and a hearing protector |
WO2018146774A1 (en) * | 2017-02-09 | 2018-08-16 | 株式会社Fuji | Motor control device and feeder |
JP7001044B2 (en) * | 2018-11-28 | 2022-01-19 | オムロン株式会社 | Control system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60200799A (en) * | 1984-03-26 | 1985-10-11 | Canon Inc | Control system for motor |
-
2007
- 2007-07-04 JP JP2007176169A patent/JP2009017670A/en active Pending
-
2008
- 2008-07-04 KR KR1020080064875A patent/KR20090004749A/en not_active Application Discontinuation
- 2008-07-04 CN CNA200810127849XA patent/CN101340171A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60200799A (en) * | 1984-03-26 | 1985-10-11 | Canon Inc | Control system for motor |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012144372A (en) * | 2011-01-11 | 2012-08-02 | Oerlikon Textile Gmbh & Co Kg | Method for calibrating pivoting stroke of yarn feeder arranged on yarn splicing device and yarn splicing device for implementing the method |
Also Published As
Publication number | Publication date |
---|---|
KR20090004749A (en) | 2009-01-12 |
CN101340171A (en) | 2009-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9527176B2 (en) | Control device for machine tool including rotary indexing device | |
JP2009017670A (en) | Controller for stepping motor | |
EP2555068A1 (en) | Synchronization control apparatus | |
JP2010098923A (en) | Driving device and electronic apparatus | |
JP2005313280A (en) | Numerical control device | |
JPS61150699A (en) | Step motor controller | |
JP4901912B2 (en) | Stepping motor drive device and controller | |
JP2015159709A (en) | Motor controller and correction data creation method | |
JP6484954B2 (en) | Motor control device, motor control system, motor control method, and motor control program | |
JP2017093071A (en) | Motor control device and optical device | |
JPH07266190A (en) | Numerical control system | |
JP2000081912A (en) | Method for detecting present location | |
JP2020052829A (en) | Servo control device | |
JP2003088184A (en) | Multiaxial controller and method for synchronizing among these axes | |
JP2014033586A (en) | Motor controller and motor control method | |
JP2009125815A (en) | Screw tightening device and its control method | |
JPS5866121A (en) | Deviation phase modulator for numerical controlling device | |
JP6565774B2 (en) | Stepping motor control device and stepping motor control method | |
JP2008079395A (en) | Drive controller of vibration actuator, lens barrel and camera | |
JP2009011087A (en) | Micro step control method of stepping motor, and dynamo-electric apparatus | |
JP2016187299A (en) | Motor control device and motor control method | |
JP2023152086A (en) | Driver and drive system | |
JPWO2023112303A5 (en) | ||
JP6137973B2 (en) | Stepping motor control device, optical apparatus, stepping motor control method, and program | |
JP2006262961A (en) | Motor controller for sewing machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100604 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120413 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120605 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20121106 |