JP2009213244A - Stepping motor drive controller and control method - Google Patents

Stepping motor drive controller and control method Download PDF

Info

Publication number
JP2009213244A
JP2009213244A JP2008053104A JP2008053104A JP2009213244A JP 2009213244 A JP2009213244 A JP 2009213244A JP 2008053104 A JP2008053104 A JP 2008053104A JP 2008053104 A JP2008053104 A JP 2008053104A JP 2009213244 A JP2009213244 A JP 2009213244A
Authority
JP
Japan
Prior art keywords
drive
sensorless
stepping motor
current
load
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
JP2008053104A
Other languages
Japanese (ja)
Other versions
JP5078676B2 (en
Inventor
Makoto Yoneda
真 米田
Hideo Domeki
英雄 百目鬼
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.)
Oriental Motor Co Ltd
Original Assignee
Oriental Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oriental Motor Co Ltd filed Critical Oriental Motor Co Ltd
Priority to JP2008053104A priority Critical patent/JP5078676B2/en
Publication of JP2009213244A publication Critical patent/JP2009213244A/en
Application granted granted Critical
Publication of JP5078676B2 publication Critical patent/JP5078676B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently drive a stepping motor, without having to use a complex excitation sequence, or the like, by changing the drive method of the stepping motor, and to attain stabilized drive by controlling transient phenomenon, when the drive method is changed. <P>SOLUTION: A stepping motor drive controller 1 controls a stepping motor 2, by changing the drive method between microstep drive and sensorless drive. The drive controller 1 estimates the load at the time of microstep drive by means of a load estimator 11, and controls the drive of the stepping motor 2, such that a current corresponding to the value of the load flows through the stepping motor 2, when the drive method is changed from microstep drive to sensorless drive by using a value of the load which is appropriate. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ステッピングモータ駆動制御装置及びステッピングモータ駆動制御方法に関し、特に、複数の駆動方法を選択的に切り替えて実行するように制御するステッピングモータ駆動制御装置及びステッピングモータ駆動制御方法に関する。   The present invention relates to a stepping motor drive control device and a stepping motor drive control method, and more particularly to a stepping motor drive control device and a stepping motor drive control method for performing control by selectively switching a plurality of drive methods.

従来、ステッピングモータの駆動方法としては、定電流マイクロステップ駆動が一般的に知られている。しかしながら、この駆動方法では負荷に因らず一定電流を流してモータを駆動するため、効率が悪いという問題があった。そこで、効率の良い制御を行なうために、センサレス制御を適用することが考えられている。センサレス制御とは、回転子位置及び/又は速度を検出するセンサ(位置検出センサ、回転速度センサ等)を用いないで実行するモータ駆動制御方法である。ステッピングモータのモータモデルは一般の同期電動機のモデルと同一である。したがって、同期電動機全般に提案されているセンサレス制御を適用することができる。   Conventionally, constant current micro-step driving is generally known as a stepping motor driving method. However, this driving method has a problem that the efficiency is poor because the motor is driven by supplying a constant current regardless of the load. Therefore, in order to perform efficient control, it is considered to apply sensorless control. The sensorless control is a motor drive control method executed without using a sensor (position detection sensor, rotation speed sensor, etc.) that detects the rotor position and / or speed. The motor model of the stepping motor is the same as that of a general synchronous motor. Therefore, it is possible to apply sensorless control that has been proposed for general synchronous motors.

センサレス制御を利用したステッピングモータの駆動方法としては、例えば特許文献1が挙げられる。特許文献1の制御方法においては、低速領域ではオープンループ制御とし、高速領域ではステッピングモータ内に生成される逆起電力をドライバからの電圧と電流により算出し、この算出された逆起電力を利用してロータとステータの位置関係を求め、この位置関係を利用してロータの位置を制御するクローズドループ制御を採用している。   As a method for driving a stepping motor using sensorless control, for example, Patent Document 1 can be cited. In the control method of Patent Document 1, open loop control is performed in the low speed region, and the back electromotive force generated in the stepping motor is calculated from the voltage and current from the driver in the high speed region, and the calculated back electromotive force is used. Thus, a closed loop control is used in which the positional relationship between the rotor and the stator is obtained and the position of the rotor is controlled using this positional relationship.

特許文献2に開示された駆動制御装置では、ステッピングモータの回転速度を基準値と比較し、基準値より低いときはオープンループによる駆動系統を選択し、基準値より高いときはクローズドループによる駆動系を選択するように構成されている。   In the drive control device disclosed in Patent Document 2, the rotation speed of the stepping motor is compared with a reference value, and when it is lower than the reference value, an open loop drive system is selected, and when it is higher than the reference value, a closed loop drive system is selected. Is configured to select.

特許文献3に開示された駆動制御装置は、チョッパオフ直後に開放相のスイッチング素子を短期間オンさせ、スイッチング素子の出力静電容量を速やかに充放電するように構成されている。
特開平9−322592号公報 特開平5−103500号公報 特開平10−42594号公報
The drive control device disclosed in Patent Document 3 is configured to turn on an open phase switching element for a short period of time immediately after the chopper is turned off, and to quickly charge and discharge the output capacitance of the switching element.
JP-A-9-322592 Japanese Patent Laid-Open No. 5-103500 Japanese Patent Laid-Open No. 10-42594

しかしながら、上記特許文献1〜3に開示されたステッピングモータの駆動制御においては、それぞれ次のような問題点がある。特許文献1及び特許文献2に開示された駆動制御装置では、モータが負荷を負った場合に、オープンループ制御とクローズドループ制御とを切り替えると、切替時に大きな過渡現象が生じてしまう。また、特許文献3に開示された駆動制御では、複雑な励磁シーケンスを用いて逆起電力を検出する必要がある。   However, the drive control of the stepping motor disclosed in Patent Documents 1 to 3 has the following problems. In the drive control devices disclosed in Patent Literature 1 and Patent Literature 2, when the motor is loaded, when switching between open loop control and closed loop control, a large transient phenomenon occurs at the time of switching. In the drive control disclosed in Patent Document 3, it is necessary to detect the back electromotive force using a complicated excitation sequence.

これらの従来技術の問題点に鑑みて、本発明の目的は、ステッピングモータの駆動方法を切り替えることにより、複雑な励磁シーケンス等を用いずにステッピングモータを効率よく駆動すると共に、前記駆動方法の切替時における過渡現象を抑制して安定した駆動を実現することを目的とする。   In view of these problems of the prior art, the object of the present invention is to drive the stepping motor efficiently without using a complicated excitation sequence by switching the driving method of the stepping motor, and to switch the driving method. The purpose is to realize a stable drive by suppressing the transient phenomenon at the time.

上記目的を達成するために、本発明は、マイクロステップ駆動とセンサレス駆動とを切り替えてステッピングモータを制御するステッピングモータ駆動制御装置であって、前記ステッピングモータに流れる実電流を検出する電流検出器と、前記センサレス駆動を実行するために、位置指示と前記検出した実電流に基づいて、前記ステッピングモータの各相に流す駆動電流を決定するためのセンサレス駆動指令を形成するセンサレス制御手段と、前記マイクロステップ駆動時における前記ステッピングモータの負荷を推定して第1の負荷推定値を得る負荷推定器とを備え、前記センサレス制御手段は、マイクロステップ駆動からセンサレス駆動に切り替えたときに、前記推定した負荷に見合う前記駆動電流を決定するための前記センサレス駆動指令を前記第1の負荷推定値を用いて形成するように構成されている。   In order to achieve the above object, the present invention provides a stepping motor drive control device for controlling a stepping motor by switching between micro-step driving and sensorless driving, and a current detector for detecting an actual current flowing through the stepping motor; A sensorless control means for forming a sensorless drive command for determining a drive current to be passed through each phase of the stepping motor based on the position instruction and the detected actual current to execute the sensorless drive; A load estimator that estimates a load of the stepping motor at the time of step driving to obtain a first load estimated value, and the sensorless control means switches the estimated load when switching from microstep driving to sensorless driving. The sensorless drive for determining the drive current to meet It is configured to the decree formed using the first load estimate.

上記ステッピングモータ駆動制御装置は、前記位置指示に基づいて速度指示を形成する速度指示器をさらに備え、前記センサレス制御手段は、前記速度指示と前記実電流に基づいて推定された推定速度との偏差にPI補償を施すことによって得られるトルク分電流指示を用いて前記センサレス駆動指令を形成するように、かつ前記センサレス駆動に切り替えたときに、前記第1の負荷推定値を用いて前記PI補償のための積分要素の初期値を設定するように構成してもよい。   The stepping motor drive control device further includes a speed indicator that forms a speed instruction based on the position instruction, and the sensorless control means includes a deviation between the speed instruction and an estimated speed estimated based on the actual current. When the sensorless drive command is generated using the torque component current instruction obtained by applying PI compensation to the sensor, and when the sensorless drive is switched, the PI compensation is calculated using the first load estimated value. An initial value of the integral element for setting may be set.

また、前記マイクロステップ駆動を実行するために、前記位置指示に基づいて、前記ステッピングモータの各相に流す駆動電流を決定するためのマイクロステップ駆動指令を形成するマイクロステップ制御手段を備え、前記センサレス制御手段は、前記センサレス駆動時における前記ステッピングモータの負荷を推定して第2の負荷推定値を算出し、前記マイクロステップ制御手段は、前記センサレス駆動からマイクロステップ駆動に切り替えたときに、前記推定したセンサレス駆動時の負荷に見合う前記駆動電流を決定するための前記マイクロステップ駆動指令を形成するように構成してもよい。   In order to execute the micro-step drive, the sensor-less control unit includes a micro-step control unit that forms a micro-step drive command for determining a drive current to be passed through each phase of the stepping motor based on the position instruction. The control means estimates a load of the stepping motor at the time of the sensorless drive and calculates a second load estimated value, and the microstep control means performs the estimation when switching from the sensorless drive to the microstep drive. The micro-step drive command for determining the drive current corresponding to the load at the time of sensorless drive may be formed.

さらに、前記位置指示に基づいて電気角指示を形成する電気角指示器をさらに備え、該電気角指示器は、センサレス駆動からマイクロステップ駆動に切り替えたときに、前記第2の負荷推定値を用いて電気角指示を形成し、前記マイクロステップ制御手段は、前記電気角指示に基づいて、前記マイクロステップ駆動指令を形成するように構成してもよい。   Furthermore, an electrical angle indicator that forms an electrical angle indication based on the position indication is further provided, and the electrical angle indicator uses the second load estimated value when switching from sensorless driving to microstep driving. An electrical angle instruction may be formed, and the microstep control means may be configured to form the microstep drive command based on the electrical angle instruction.

例えば、前記センサレス制御手段は、予め設定され又は算出された推定励磁分電流指示と、前記トルク分電流指示と、前記実電流に基づいて推定された推定電気角とに基づいて、前記センサレス駆動指令を形成する。   For example, the sensorless control means is configured to generate the sensorless drive command based on an estimated excitation current instruction that is set or calculated in advance, a torque current instruction, and an estimated electrical angle that is estimated based on the actual current. Form.

一例として、前記センサレス制御手段は、速度・電気角推定器を備え、速度・電気角推定器は、前記実電流とモータモデルから算出された推定電流との差分から前記推定速度と前記推定電気角を算出する。   As an example, the sensorless control means includes a speed / electrical angle estimator, and the speed / electrical angle estimator calculates the estimated speed and the estimated electrical angle from a difference between the actual current and an estimated current calculated from a motor model. Is calculated.

他の例として、前記センサレス制御手段は、電流制御器と適応オブザーバを備え、前記電流制御器は、前記実電流から算出されたdq軸電流と、前記推定励磁分電流指示と、前記トルク分電流指示とからdq軸電圧指示を形成し、前記適応オブザーバは、前記dq軸電流と前記dq軸電圧指示とから前記推定速度と前記推定電気角を算出する。   As another example, the sensorless control means includes a current controller and an adaptive observer, and the current controller includes a dq axis current calculated from the actual current, the estimated excitation current instruction, and the torque current. A dq axis voltage instruction is formed from the instruction, and the adaptive observer calculates the estimated speed and the estimated electrical angle from the dq axis current and the dq axis voltage instruction.

さらに、前記位置指示と前記推定電気角とを比較して、両者の偏差を算出する位置誤差調整器を備え、前記電気角指示器は、前記センサレス駆動からマイクロステップ駆動に切り替えたときに、前記偏差を前記位置指示に加算して、該偏差を加算した位置指示と前記第2の負荷推定値とから前記電気角指示を形成するように構成してもよい。   Further, it comprises a position error adjuster that compares the position indication with the estimated electrical angle and calculates a deviation between the two, and when the electrical angle indicator is switched from the sensorless drive to the microstep drive, A deviation may be added to the position instruction, and the electrical angle instruction may be formed from the position instruction obtained by adding the deviation and the second estimated load value.

また、本発明は、マイクロステップ駆動とセンサレス駆動とを切り替えてステッピングモータを制御するステッピングモータ駆動制御方法であって、前記ステッピングモータに流れる実電流を検出する電流検出ステップと、前記センサレス駆動を実行するために、位置指示と前記検出した実電流に基づいて、前記ステッピングモータの各相に流す駆動電流を決定するためのセンサレス駆動指令を形成するセンサレス制御ステップと、前記マイクロステップ駆動時における前記ステッピングモータの負荷を推定して第1の負荷推定値を得る第1の負荷推定ステップとを含み、前記センサレス制御ステップは、マイクロステップ駆動からセンサレス駆動に切り替えたときに、前記推定した負荷に見合う前記駆動電流を決定するための前記センサレス駆動指令を前記第1の負荷推定値を用いて形成するステップを含む。   The present invention is also a stepping motor drive control method for controlling a stepping motor by switching between micro-step driving and sensorless driving, wherein a current detection step for detecting an actual current flowing through the stepping motor and the sensorless driving are executed. A sensorless control step for forming a sensorless driving command for determining a driving current to be passed through each phase of the stepping motor based on the position indication and the detected actual current; and the stepping at the time of the microstep driving. A first load estimating step for estimating a load of the motor to obtain a first load estimated value, and the sensorless control step corresponds to the estimated load when the microstep driving is switched to the sensorless driving. The sensor for determining the drive current; A drive command comprises forming with said first load estimate.

上記ステッピングモータ駆動制御方法は、前記マイクロステップ駆動を実行するために、前記位置指示に基づいて、前記ステッピングモータの各相に流す駆動電流を決定するためのマイクロステップ駆動指令を形成するマイクロステップ制御ステップと、前記センサレス駆動時の前記ステッピングモータの負荷を推定して第2の負荷推定値を得る第2の負荷推定ステップとを含み、前記マイクロステップ制御ステップは、前記センサレス駆動からマイクロステップ駆動に切り替えたときに、前記推定したセンサレス制御時の負荷に見合う前記駆動電流を決定するための前記マイクロステップ駆動指令を形成するように構成してもよい。   The stepping motor drive control method includes a microstep control for forming a microstep drive command for determining a drive current to be passed through each phase of the stepping motor based on the position instruction in order to execute the microstep drive. And a second load estimating step of obtaining a second load estimated value by estimating a load of the stepping motor at the time of the sensorless driving, and the microstep control step is changed from the sensorless driving to the microstep driving. When the switching is performed, the micro-step drive command for determining the drive current corresponding to the estimated load at the time of the sensorless control may be formed.

本発明に係るステッピングモータ駆動制御装置及びステッピングモータ駆動制御方法では、マイクロステップ駆動とセンサレス駆動とを切り替えてステッピングモータを制御する。マイクロステップ駆動は、一般的にすべての回転速度領域において有効ではなく低速領域において優位性が高いという性質がある。一方、センサレス駆動は、一般的にステッピングモータの停止時及び低速領域よりも中・高速領域において優位性が高いという性質がある。   In the stepping motor drive control device and the stepping motor drive control method according to the present invention, the stepping motor is controlled by switching between microstep drive and sensorless drive. The micro-step drive generally has a property that it is not effective in all rotation speed regions but has a superiority in low speed regions. On the other hand, the sensorless drive generally has a property that it is superior in the middle and high speed regions than when the stepping motor is stopped and in the low speed region.

本発明では、複雑な励磁シーケンス等を用いずに、マイクロステップ駆動とセンサレス駆動とを切り替えてステッピングモータを制御するため、停止時及び低速領域においてマイクロステップ駆動を実行し、中・高速領域においてセンサレス駆動を実行することによって、精度が高く効率の良い制御を行なうことが可能となっている。   In the present invention, since the stepping motor is controlled by switching between micro-step driving and sensorless driving without using a complicated excitation sequence or the like, microstep driving is executed at the time of stop and in the low speed region, and sensorless in the middle / high speed region. By executing the drive, it is possible to perform highly accurate and efficient control.

さらに、本発明は、マイクロステップ駆動からセンサレス駆動に切り替えたときに、マイクロステップ駆動時におけるステッピングモータの負荷を推定して得られた負荷推定値を用いて、モータ駆動電流を決定するためのセンサレス駆動指令を形成している。したがって、マイクロステップ駆動からセンサレス駆動に切り替えた瞬間及び直後において、前記センサレス駆動指令にマイクロステップ駆動時の負荷推定値が反映されるため、マイクロステップ駆動時の負荷に見合う電流が前記ステッピングモータに流れる。したがって、マイクロステップ駆動からセンサレス駆動に切り替えたときに生じる速度変動等の過渡現象を抑制して安定した駆動を実現することができる。   Furthermore, the present invention provides a sensorless method for determining a motor drive current using a load estimation value obtained by estimating a load of a stepping motor at the time of microstep drive when switching from microstep drive to sensorless drive. A drive command is formed. Therefore, since the load estimated value at the time of microstep driving is reflected in the sensorless driving command immediately and immediately after switching from microstep driving to sensorless driving, a current corresponding to the load at the time of microstep driving flows to the stepping motor. . Therefore, it is possible to realize stable driving by suppressing transient phenomena such as speed fluctuations that occur when switching from microstep driving to sensorless driving.

以下、本発明の第1の実施形態を添付の図により説明する。図1に本実施形態に係るステッピングモータ駆動制御装置の回路図を模式的に示す。ステッピングモータ駆動制御装置1は、外部から与えられた位置指示θに基づいてN相HB形ステッピングモータ2の回転子位置制御を実行している。この位置制御に際しては、マイクロステップ駆動とセンサレス駆動とが選択的に切り替えられて実行される。本実施形態において、ステッピングモータ駆動制御装置1は、ステッピングモータ2の停止時と低速領域においてマイクロステップ駆動を実行し、中・高速領域においてセンサレス駆動を実行するように構成されている。 Hereinafter, a first embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 schematically shows a circuit diagram of a stepping motor drive control device according to the present embodiment. The stepping motor drive control device 1 executes rotor position control of the N-phase HB type stepping motor 2 based on a position instruction θ * given from the outside. In this position control, microstep driving and sensorless driving are selectively switched and executed. In the present embodiment, the stepping motor drive control device 1 is configured to perform micro-step driving when the stepping motor 2 is stopped and in a low speed region, and to perform sensorless driving in a middle / high speed region.

まず、停止時はマイクロステップ駆動で位置を保持し、位置指示θが入力されると、マイクロステップ駆動で始動する。その後、速度が中高速になると、位置指示θを入力とする駆動方法切替器3によりセンサレス駆動に駆動方法を切り替える。停止位置に近づくと、ステッピングモータ2は減速し、低速となったところで駆動方法切替器3によってマイクロステップ駆動に切り替え、停止位置で停止する。 First, when stopping, the position is held by microstep driving, and when the position instruction θ * is input, the microstep driving is started. Thereafter, when the speed becomes medium to high, the driving method is switched to the sensorless driving by the driving method switching unit 3 that receives the position instruction θ * . When approaching the stop position, the stepping motor 2 decelerates, and when the speed becomes low, the drive method switcher 3 switches to microstep drive and stops at the stop position.

マイクロステップ駆動とセンサレス駆動を切り替える基準値である速度閾値は予め設定されている。駆動方法切替器3は、位置指示θから速度を算出し、算出した速度と予め設定された速度閾値とを比較して、マイクロステップ駆動を実行するか、センサレス駆動を実行するかを判定して、切替信号を出力し、スイッチ4を介してマイクロステップ駆動とセンサレス駆動とを切り替えている。 A speed threshold value that is a reference value for switching between microstep driving and sensorless driving is set in advance. The drive method switching unit 3 calculates a speed from the position instruction θ * , compares the calculated speed with a preset speed threshold value, and determines whether to perform microstep driving or sensorless driving. Thus, a switching signal is output, and microstep driving and sensorless driving are switched via the switch 4.

[センサレス駆動時]
定常状態におけるセンサレス駆動について以下に説明する。
速度指示器5は位置指示θから速度指示ωを算出してセンサレス制御部6に出力する。センサレス制御部6は、速度指示ωと、ステッピングモータ2に流れている実電流iとに基づいて、センサレス駆動用指令VsNを算出して、PWMインバータ7に出力する。ステッピングモータ2に流れている実電流iは、電流検出器8で検出される。前記センサレス駆動用指令VsNは、ステッピングモータ2の各相に流す駆動電流を決定するための指令値である。
[When sensorless drive]
The sensorless driving in the steady state will be described below.
The speed indicator 5 calculates a speed instruction ω s from the position instruction θ * and outputs it to the sensorless control unit 6. The sensorless control unit 6 calculates a sensorless drive command V sN based on the speed instruction ω s and the actual current i N flowing in the stepping motor 2, and outputs it to the PWM inverter 7. The actual current i N flowing through the stepping motor 2 is detected by the current detector 8. The sensorless driving command V sN is a command value for determining a driving current to be passed through each phase of the stepping motor 2.

本実施形態おけるセンサレス制御部6は、定常状態においてセンサレス制御を行なってセンサレス駆動用指令VsNを形成する手段であればよく、特定のセンサレス制御を行なう手段に限定されるものではない。 The sensorless control unit 6 in the present embodiment may be any means that performs sensorless control in the steady state to form the sensorless driving command VsN , and is not limited to means for performing specific sensorless control.

センサレス制御部6の一例を以下に簡単に説明する。センサレス制御部6は、(図示しない)PI制御器を有する速度制御器を備えている。この速度制御器は、速度指示器5から出力された速度指示と実電流iに基づいて推定された推定速度との差分を算出し、該差分に対してPI制御を行ない、トルク分電流指示を形成する。センサレス制御部6は、形成されたトルク分電流指示と、予め設定され又は算出された推定励磁分電流指示と、実電流iに基づいて推定された推定電気角とから、前記センサレス駆動用指令VsNを算出して、PWMインバータ7に出力する。PWMインバータ7は前記センサレス駆動用指令VsNを電力増幅し、ステッピングモータ2をセンサレス駆動する。 An example of the sensorless control unit 6 will be briefly described below. The sensorless control unit 6 includes a speed controller having a PI controller (not shown). The speed controller calculates a difference between the speed instruction output from the speed indicator 5 and an estimated speed estimated based on the actual current i N , performs PI control on the difference, and outputs a current component for torque. Form. The sensorless control unit 6 generates the sensorless driving command from the formed torque component current instruction, the pre-set or calculated estimated excitation component current instruction, and the estimated electrical angle estimated based on the actual current i N. V sN is calculated and output to the PWM inverter 7. The PWM inverter 7 amplifies the power of the sensorless driving command VsN and drives the stepping motor 2 sensorlessly.

なお、センサレス制御部6は、センサレス駆動を実行している間、センサレス駆動時の負荷の値を示す負荷推定値Tを算出している。この負荷推定値は後述のようにセンサレス駆動からマイクロステップ駆動への切替時において、駆動制御に用いられる。該負荷推定値Tsの算出については、後の[センサレス駆動からマイクロステップ駆動への切替時]において詳述する。 Incidentally, the sensorless control unit 6, while performing sensorless drive, and calculates the load estimated value T s indicative of the value of the load during the sensorless drive. This load estimated value is used for drive control when switching from sensorless drive to microstep drive, as will be described later. The calculation of the estimated load value Ts will be described in detail later [when switching from sensorless drive to microstep drive].

[マイクロステップ駆動時]
定常状態におけるマイクロステップ駆動について以下に説明する。入力された位置指示θから電気角指示器9が電気角指示θを算出する。電気角指示θはステッピングモータ2の励磁電気角を指示する値である。マイクロステップ制御部10は、算出された電気角指示θと電流検出器8によって検出したステッピングモータ2の実電流iと外部から与えられたマイクロステップ電流指示(マイクロステップ駆動用設定電流値)に基づいて、マイクロステップ駆動用指令VmNを形成して出力する。マイクロステップ駆動用指令VmNは、ステッピングモータ2の各相に流す駆動電流を決定するための指令値である。算出されたマイクロステップ駆動用指令VmNは、PWMインバータ7に出力され、PWMインバータ7はマイクロステップ駆動用指令VmNを電力増幅し、ステッピングモータ2をマイクロステップ駆動する。
[In micro step drive]
The microstep drive in the steady state will be described below. The electrical angle indicator 9 calculates an electrical angle instruction θ m from the input position instruction θ * . The electrical angle instruction θ m is a value that indicates the excitation electrical angle of the stepping motor 2. Micro step control unit 10, the calculated electrical angle instruction theta m and the actual current i N a micro step current instruction given from the outside of the stepping motor 2 detected by the current detector 8 (micro-step drive set current value) Based on the above, a micro-step driving command V mN is formed and output. The microstep drive command V mN is a command value for determining a drive current to be passed through each phase of the stepping motor 2. The calculated micro-step driving command V mN is output to the PWM inverter 7, and the PWM inverter 7 amplifies the power of the micro-step driving command V mN and drives the stepping motor 2 by micro-step driving.

なお、負荷推定器11は、マイクロステップ駆動を実行している間、マイクロステップ駆動時の負荷の値を示す負荷推定値Tを算出している。この負荷推定値Tは後述のようにマイクロステップ駆動からセンサレス駆動への切替時において、駆動制御に用いられる。該負荷推定値Tの算出については、後の[マイクロステップ駆動からセンサレス駆動への切替時]において詳述する。 The load estimator 11, while performing the micro step drive, and calculates the load estimated value T m indicative of the value of the load during the micro step drive. This estimated load value Tm is used for drive control when switching from microstep drive to sensorless drive, as will be described later. The calculation of the load estimated value T m is described in detail in [when switching from the micro step drive to sensorless driving] after.

[マイクロステップ駆動からセンサレス駆動への切替時]
以下に、マイクロステップ駆動からセンサレス駆動へ切り替えるときのステッピングモータ駆動制御装置1の動作について説明する。
ステッピングモータの駆動において、負荷のない場合には、マイクロステップ駆動とセンサレス駆動の両駆動方式における電気角を合致させて切り替えを行うことで、速度変動のない切り替え動作を行うことが出来る。しかしながら、負荷がある場合には、過渡現象として速度変動が生じる。特にマイクロステップ駆動からセンサレス駆動に切り替える場合には大きな速度変動を生じ、場合によっては制御不能となる。
[When switching from microstep drive to sensorless drive]
The operation of the stepping motor drive control device 1 when switching from microstep drive to sensorless drive will be described below.
In the driving of the stepping motor, when there is no load, the switching operation with no speed fluctuation can be performed by switching by matching the electrical angle in both the microstep driving and the sensorless driving. However, when there is a load, speed fluctuation occurs as a transient phenomenon. In particular, when switching from microstep driving to sensorless driving, a large speed fluctuation occurs, and in some cases, control becomes impossible.

多くのセンサレス制御は、積分器を備えた速度制御器を用いて、要求トルクに応じた電流を流すように電流を制御する。駆動方法切り替え時点ではセンサレス駆動を行っていないため、切替時のトルク分電流指示は、速度制御器における積分器の初期値によって決定される。すなわち、積分器の初期値がゼロに設定されている場合、切替時のトルク分電流指示はゼロになる。したがって、有負荷の場合、負荷に見合ったトルク分電流指示が形成されるまでに速度変動が生じる。   Many sensorless controls use a speed controller with an integrator to control the current so that a current corresponding to the required torque flows. Since sensorless driving is not performed at the time of switching the drive method, the torque current instruction at the time of switching is determined by the initial value of the integrator in the speed controller. That is, when the initial value of the integrator is set to zero, the torque current instruction at the time of switching is zero. Therefore, in the case of a load, speed fluctuation occurs until a torque component current instruction corresponding to the load is formed.

図3は、ステッピングモータが負荷を負った場合における、マイクロステップ駆動からセンサレス駆動へ切り替えたときの時間と速度の関係を示す実験結果である。
図3においては、時間0の時点でマイクロステップ駆動からセンサレス駆動に切り替わっている。図3から明らかなように、マイクロステップ駆動からセンサレス駆動に切り替えた直後から0.4秒を超える間において大きな速度変動が生じている。
FIG. 3 is an experimental result showing the relationship between time and speed when switching from microstep driving to sensorless driving when the stepping motor is loaded.
In FIG. 3, the microstep drive is switched to the sensorless drive at time 0. As is clear from FIG. 3, a large speed fluctuation occurs in the period exceeding 0.4 seconds immediately after switching from the micro step drive to the sensorless drive.

そこで、本発明においては、マイクロステップ駆動時の定常状態の負荷を推定し、マイクロステップ駆動からセンサレス駆動へ切り替えたときに、推定した負荷に見合った電流がステッピングモータに流れるように制御を行なうことによって、マイクロステップ駆動からセンサレス駆動への切替時における速度変動を抑制している。   Therefore, in the present invention, a steady state load at the time of microstep driving is estimated, and control is performed so that a current corresponding to the estimated load flows to the stepping motor when switching from microstep driving to sensorless driving. Therefore, the speed fluctuation at the time of switching from the micro step drive to the sensorless drive is suppressed.

本実施形態では、マイクロステップ駆動からセンサレス駆動に切り替えたときに、マイクロステップ駆動時の負荷に見合った積分初期値を速度制御器の積分器に設定することによって、前記負荷に見合った電流がステッピングモータに流れるように制御している。   In this embodiment, when switching from micro-step driving to sensorless driving, the initial value of integration corresponding to the load during micro-step driving is set in the integrator of the speed controller, so that the current corresponding to the load is stepped. It is controlled to flow to the motor.

先に述べたようにマイクロステップ駆動時の負荷の値を示す負荷推定値Tは、マイクロステップ駆動時に負荷推定器11によって算出される。
図2に負荷推定器11の回路図を模式的に示す。以下、図2を参照して負荷Tの算出方法を説明する。ステッピングモータ2の発生トルクTは鎖交磁束数φと電流Iと磁束位置(回転子位置)θreと励磁位置(励磁電気角)θから次式で求めることが出来る。

Figure 2009213244
鎖交磁束数φはモータ定数、電流Iは相電流のピーク値であって、予め設定値として与えられている。励磁位置θは電気角指示θに対応する指示値であるため既知である。したがって、磁束位置(回転子位置)θreを推定できれば、負荷T(発生トルクT)を推定することが出来る。 As described above, the load estimation value T m indicating the load value during microstep driving is calculated by the load estimator 11 during microstep driving.
FIG. 2 schematically shows a circuit diagram of the load estimator 11. Hereinafter, with reference to FIG. 2 illustrating a method of calculating the load T m. Generated torque T of the stepping motor 2 can be determined from the flux linkage number phi a and current I a and the magnetic flux position (rotor position) theta re and excitation position (energized electrical angle) theta by the following equation.
Figure 2009213244
Flux linkage number phi a motor constant, a peak value of the current I a is the phase current, given as a preset value. The excitation position theta known for an instruction value corresponding to the electrical angle instruction theta m. Therefore, if the magnetic flux position (rotor position) θ re can be estimated, the load T m (generated torque T) can be estimated.

負荷推定器11に備えられた誘起起電圧推定演算装置20は、電流検出器8で検出した実電流iとマイクロステップ駆動指令VmNから各相の誘起起電圧eを推定する。誘起起電圧推定演算装置20には、N相2相変換装置21が接続されている。N相2相変換装置21は、推定された各相の誘起起電圧eを2相交流に変換して誘起起電圧eα、eβを求める。 The induced electromotive force estimation calculation device 20 provided in the load estimator 11 estimates the induced electromotive force e N of each phase from the actual current i N detected by the current detector 8 and the microstep drive command V mN . An N-phase to two-phase conversion device 21 is connected to the induced electromotive voltage estimation calculation device 20. N-two phase converter 21, the induced electromotive voltage eα converts the estimated phases of the induced electromotive force e N 2-phase AC, seek Ibeta.

負荷推定器11は、さらに、sin関数発生器22とcos関数発生器23とを備えている。sin関数発生器22は、あらかじめ求め又は推定しておいた回転子位置推定電気角θest reを入力としてsinθest reを算出する。乗算器24は、算出されたsinθest reと推定した2相交流誘起起電圧の1相分eβとを入力として乗算を行う。 The load estimator 11 further includes a sin function generator 22 and a cos function generator 23. sin function generator 22 calculates the sin [theta est re previously determined or estimated to rotor position estimated electrical angle theta est re had as input. The multiplier 24 multiplies the calculated sin θ est re and the estimated one-phase portion eβ of the two-phase AC induced electromotive voltage as inputs.

同様に、cos関数発生器23は、あらかじめ求め又は推定しておいた回転子位置推定電気角θest reを入力としてcosθest reを算出する。乗算器26は、算出したcosθest reと推定した2相交流誘起起電圧の1相分eαとを入力として乗算を行う。ここで求めたeβ×sinθest reとeα×cosθest reとの値を減算器25に入力して、その差であるeα×cosθest re−eβ×sinθest reを求める。 Similarly, cos function generator 23 calculates a cos [theta] est re previously determined or estimated to rotor position estimated electrical angle theta est re had as input. The multiplier 26 multiplies the calculated cos θ est re and the estimated two-phase AC induced electromotive voltage eα for one phase as inputs. The values of eβ × sinθ est re and eα × cosθ est re obtained here are input to the subtracter 25 obtains a eα × cosθ est re -eβ × sinθ est re is the difference.

求めたeα×cosθest re−eβ×sinθest reを第1の増幅器27に入力して、これを増幅する。第1の増幅器27で増幅した出力を第1の積分器28に入力して積分する。該第1の積分器28により積分した出力結果を、さらに第2の積分器29に入力して積分するとともに、前記第1の積分器28からの出力を、前記第2の積分器29に並列に接続される前記第2の増幅器30に入力して増幅する。そして第2の積分器29からの積分結果と第2の増幅器30からの増幅結果とを、加算器31に入力して積分出力と増幅出力とを加算する。 The obtained eα × cos θ est re −eβ × sin θ est re is input to the first amplifier 27 and amplified. The output amplified by the first amplifier 27 is input to the first integrator 28 and integrated. The output result integrated by the first integrator 28 is further input to the second integrator 29 for integration, and the output from the first integrator 28 is paralleled to the second integrator 29. The second amplifier 30 is connected to the second amplifier 30 for amplification. Then, the integration result from the second integrator 29 and the amplification result from the second amplifier 30 are input to the adder 31 to add the integration output and the amplification output.

加算器31からの算出出力θest reをステッピングモータ2の回転子の推定位置にすると共に、該算出出力を、前記あらかじめ求められ又は推定されて入力された回転子位置に代えるように、sin関数発生器22とcos関数発生器23にフィードバックして、繰り返し演算する。 The sin function is used so that the calculated output θ est re from the adder 31 is the estimated position of the rotor of the stepping motor 2 and the calculated output is replaced with the rotor position that has been obtained or estimated in advance. It feeds back to the generator 22 and the cos function generator 23 and repeats the calculation.

この動作を繰り返すことにより、前記加算器31からの算出出力をステッピングモータ2の推定される回転子位置θest reとしている。負荷推定値算出部32は、推定された回転子位置θest reと電気角指示器9から出力された電気角指示(励磁電気角)θとを入力としてマイクロステップ駆動時の負荷推定値Tを算出する。 By repeating this operation, the calculated output from the adder 31 is used as the estimated rotor position θ est re of the stepping motor 2. The estimated load value calculator 32 receives the estimated rotor position θ est re and the electrical angle instruction (excitation electrical angle) θ m output from the electrical angle indicator 9 as inputs, and the estimated load value T during microstep driving. m is calculated.

次に、上記に説明した負荷推定器11の作用を数式を用いてより詳細に説明する。
各相の印加電圧をV、電流をI、誘起起電圧をE、インピーダンスをZとおけば、N相ステッピングモータの電流電圧方程式は次式となる。
Next, the operation of the load estimator 11 described above will be described in more detail using mathematical expressions.
If the applied voltage of each phase is V, the current is I, the induced electromotive voltage is E, and the impedance is Z, the current-voltage equation of the N-phase stepping motor is as follows.

Figure 2009213244
ここで、V、I、EはN列の行列、ZはN行N列の行列である。
電圧Vにはマイクロステップ駆動指令VmNを、電流Iには電流検出器8で検出した実電流iを、N相ステッピングモータのインピーダンスZにはあらかじめ測定しておいた値(各相のインダクタンス値と抵抗値)を用いれば、誘起起電圧Eは次式から求められる。
Figure 2009213244
Here, V, I, and E are N-column matrices, and Z is an N-row N-column matrix.
The micro step drive command V mN to the voltage V, and the actual current i N detected by the current detector 8 to the current I, the value measured in advance in the impedance Z of the N-phase stepping motor (phases of inductance Value and resistance value), the induced electromotive force E can be obtained from the following equation.

Figure 2009213244
この計算を行う部分を誘起起電圧推定演算装置20とする。求めた誘起起電圧の推定値を2相交流に変換する。例えば、3相交流を2相交流に変換する変換行列cは次式となる。
Figure 2009213244
The part that performs this calculation is referred to as an induced electromotive force estimation calculation device 20. The obtained estimated value of the induced electromotive voltage is converted into a two-phase alternating current. For example, a conversion matrix c that converts a three-phase alternating current into a two-phase alternating current is as follows.

Figure 2009213244
対象となるモータが3相であった場合は上式を用いる。相数により変換行列を変更する。N相2相変換装置21は、誘起起電圧推定演算装置20で求めたN相の誘起起電圧推定結果を変換行列で2相交流に変換し、2相交流の誘起起電圧の瞬時値を算出する。
Figure 2009213244
When the target motor has three phases, the above equation is used. Change the transformation matrix according to the number of phases. The N-phase to two-phase converter 21 converts the N-phase induced electromotive force estimation result obtained by the induced electromotive force estimation arithmetic unit 20 into a two-phase alternating current using a conversion matrix, and calculates an instantaneous value of the induced electromotive voltage of the two-phase alternating current. To do.

次に、推定した誘起電圧情報から位置情報を得る方法を説明する。
前記誘起電圧eα、eβを誘起させる、界磁のα、β相の電機子巻線鎖交磁束数ψfα、ψfβは、その最大値をψ′とすると次式で表される。

Figure 2009213244
Next, a method for obtaining position information from the estimated induced voltage information will be described.
The α and β phase armature winding interlinkage magnetic flux numbers ψ and ψ for inducing the induced voltages eα and eβ are expressed by the following equations, where the maximum value is ψ f ′.
Figure 2009213244

ここで、θreは、α相電機子巻線を基準として時計回りに取った界磁の角度(電気角)であり、ωreを電気角速度とすると次式で表される。

Figure 2009213244
このときの各相の誘起電圧eα、eβは次式となる。
Figure 2009213244
Here, θ re is a field angle (electrical angle) taken clockwise with respect to the α-phase armature winding, and is represented by the following equation where ωre is an electrical angular velocity.
Figure 2009213244
The induced voltages eα and eβ of each phase at this time are as follows.
Figure 2009213244

ステッピングモータ2の回転子の推定位置演算結果θest reの正弦(sin)値及び余弦(cos)値を求め、それぞれの値と誘起電圧eα、eβとを乗算すると次式となる。

Figure 2009213244
この計算を行う部分は、sin関数発生器22、cos関数発生器23及び乗算器24,26である。 A sine (sin) value and a cosine (cos) value of the estimated position calculation result θ est re of the rotor of the stepping motor 2 are obtained, and the respective values are multiplied by the induced voltages eα and eβ to obtain the following equation.
Figure 2009213244
The parts that perform this calculation are a sin function generator 22, a cos function generator 23, and multipliers 24 and 26.

前記(10)式から前記(11)式を減算すると次式となる。

Figure 2009213244
ここで、θest re≒θreであれば、次式の関係が成り立つ。
Figure 2009213244
When the equation (11) is subtracted from the equation (10), the following equation is obtained.
Figure 2009213244
Here, if θ est re ≈ θ re , the following relationship is established.
Figure 2009213244

前記(13)式を前記(12)式に代入すると次式となる。

Figure 2009213244
前記(14)式は、推定結果θest reと実測値θreの偏差に比例した値となることが分かる。この計算を行う部分が減算器25である。 Substituting the equation (13) into the equation (12) yields the following equation.
Figure 2009213244
It can be seen that the equation (14) is a value proportional to the deviation between the estimation result θ est re and the actual measurement value θ re . The part that performs this calculation is a subtractor 25.

すなわち、図2における減算器25からの出力結果は、θre−θest reの計算を行ったこととなる。そこで、第1の増幅器27の増幅率をA1、第2の増幅器30の増幅率をA2、第1、第2の積分器27,28の伝達関数を1/sとおき、図2における誘起起電圧推定演算装置20以後の伝達関数を求めると次式となる。

Figure 2009213244
前記(15)式は、ステッピングモータ2の回転子の推定位置θest reと実位置θreとは、時間∽(無限大)で一致するトラッキングフィルタとなっていることを示している。 That is, the output result from the subtractor 25 in FIG. 2 is the calculation of θ re −θ est re . Therefore, the amplification factor of the first amplifier 27 is A1, the amplification factor of the second amplifier 30 is A2, the transfer functions of the first and second integrators 27 and 28 are 1 / s, and the induction in FIG. When the transfer function after the voltage estimation calculation device 20 is obtained, the following equation is obtained.
Figure 2009213244
The equation (15) indicates that the estimated position θ est re and the actual position θ re of the rotor of the stepping motor 2 are tracking filters that coincide with each other at time ∽ (infinite).

また、前記回転子の推定位置を、所望のダンピングファクタや固有振動数の応答で求めようとするために、前記第1の増幅器27の増幅率A1、前記第2の増幅器30の増幅率A2を設定することができる。   Further, in order to obtain the estimated position of the rotor by a response of a desired damping factor or natural frequency, the amplification factor A1 of the first amplifier 27 and the amplification factor A2 of the second amplifier 30 are set as follows. Can be set.

負荷推定値算出部32は(図示しない)減算器で、推定された回転子位置(電気角)θest reと電気角指示器9から出力された電気角指示(励磁電気角)θとの差を算出する。ここで、求めた回転子推定位置θest reは、α相電機子巻線を基準として時計回りに取った誘起電圧の電気角の推定結果である。従って、界磁位置は90゜進んだ角度となる。したがって、前記減算器で算出された差にπ/2を(図示しない)加算器で加算して、負荷角θ−θreを推定する。 Load estimated value calculating section 32 with (not illustrated) the subtractor, the estimated rotor position (electrical angle) theta est re output electrical angle instruction from the electrical angle indicator 9 (excitation electrical angle) between theta m Calculate the difference. Here, the obtained rotor estimated position θ est re is an estimation result of the electrical angle of the induced voltage taken clockwise with respect to the α-phase armature winding. Therefore, the field position is an angle advanced by 90 °. Therefore, π / 2 is added to the difference calculated by the subtracter by an adder (not shown) to estimate the load angle θ− θre .

負荷推定値算出部32は、推定した負荷角θ−θreと予め設定されている相電流のピーク電流値iとモータ定数φから前記(1)式を用いて負荷推定値Tを算出する。負荷推定器11は、前述のように、前記(15)式によって表されるトラッキングフィルタによって推定された回転子位置を用いて負荷推定値Tを算出している。該トラッキングフィルタは高周波成分をカットするフィルタ機能を有しているため、負荷推定器11による負荷推定値Tの算出に際して、検出ノイズによる負荷推定値の変動を除去することができる。 The estimated load value calculator 32 calculates the estimated load value T m from the estimated load angle θ−θ re , the preset peak current value i a of the phase current and the motor constant φ a using the equation (1). calculate. As described above, the load estimator 11 calculates the load estimated value T m using the rotor position estimated by the tracking filter represented by the equation (15). Since the tracking filter has a filter function for cutting high-frequency components, when the load estimator 11 calculates the load estimated value Tm , it is possible to remove fluctuations in the load estimated value due to detection noise.

マイクロステップ駆動からセンサレス制御に切り替えられると、センサレス制御部は、負荷推定値算出部32で推定された負荷推定値Tを取得して、速度制御器に備えられた積分器の初期値を負荷推定値Tに見合う値に設定する。ここで、負荷推定値Tは、マイクロステップ駆動からセンサレス駆動へ切り替えられる直前に算出された負荷推定値Tである。前記積分初期値は、負荷推定値Tをトルク定数で除算して電流に換算し、さらに制御ゲインで除算することにより決定される。 When switched from the micro step drive for the sensorless control, sensorless control unit acquires the estimated load estimated value calculating section 32 load estimated value T m, load the initial value of the integrator provided in the speed controller set to a value appropriate to estimate T m. Here, load estimated value The T m is the load estimated value T m calculated immediately before is switched from the micro step drive to sensorless driving. The initial integral value is determined by dividing the estimated load value Tm by a torque constant, converting it to a current, and further dividing by a control gain.

このように、速度制御器の積分器の初期値をマイクロステップ駆動時の負荷の値に見合う値に設定することによって、マイクロステップ駆動からセンサレス駆動へ切り替えた瞬間及び直後にマイクロステップ駆動時の負荷に見合う電流がステッピングモータに流れるように制御され、マイクロステップ駆動からセンサレス駆動へ切り替えたときの速度変動を抑制することができる。   In this way, by setting the initial value of the integrator of the speed controller to a value commensurate with the load value at the time of microstep driving, the load at the time of microstep driving immediately after and immediately after switching from microstep driving to sensorless driving. Is controlled so that a current commensurate with the current flows in the stepping motor, and speed fluctuations when switching from microstep driving to sensorless driving can be suppressed.

図4は、ステッピングモータ駆動制御装置1において、マイクロステップ駆動からセンサレス駆動へ切り替えたときの時間と速度の関係を示す実験結果である。
図4からも明らかなように、本実施形態においては、マイクロステップ駆動からセンサレス駆動へ切り替えたときの過渡現象が抑制されて、切替時の速度変動はほとんど生じていない。
FIG. 4 shows experimental results showing the relationship between time and speed when the stepping motor drive control device 1 is switched from microstep drive to sensorless drive.
As is apparent from FIG. 4, in this embodiment, the transient phenomenon when switching from the microstep drive to the sensorless drive is suppressed, and the speed fluctuation at the time of switching hardly occurs.

[センサレス駆動からマイクロステップ駆動への切替時]
センサレス駆動からマイクロステップ駆動への切替時においては、電気角指示器9が、センサレス駆動時におけるモータ2の負荷の値を示す負荷推定値Tを、センサレス制御部6から取得し、該推定負荷値Tと入力された位置指示θとに基づいて、該推定負荷値Tに見合う電流をステッピングモータ2に流すように電気角指示θを形成する。
[When switching from sensorless drive to microstep drive]
At the time of switching from the sensorless drive to the microstep drive, the electrical angle indicator 9 obtains the load estimated value T s indicating the load value of the motor 2 at the time of the sensorless drive from the sensorless control unit 6, and the estimated load Based on the value T s and the input position instruction θ * , an electrical angle instruction θ m is formed so that a current corresponding to the estimated load value T s flows through the stepping motor 2.

センサレス制御では、一般的にオブザーバやモータ逆モデルを使用して磁束位置を推定し、推定した磁束位置に基づいてトルク分電流の大きさを制御している。したがって、センサレス制御部6は、トルク定数とトルク分電流から負荷推定値Tを算出している。 In sensorless control, the position of the magnetic flux is generally estimated using an observer or a motor inverse model, and the magnitude of the torque component current is controlled based on the estimated magnetic flux position. Therefore, the sensorless control unit 6 calculates the load estimated value T s from the torque constant and the torque current.

センサレス駆動からマイクロステップ駆動への切替時に、電気角指示器9が取得する負荷推定値Tは、センサレス駆動からマイクロステップ駆動へ切り替えられる直前にセンサレス制御部6で算出された負荷推定値Tである。 When switching from the sensorless drive to the micro step drive, load estimate electrical angle indicator 9 obtains T s, the load estimated value T s to just before is switched from the sensorless drive to the micro step drive calculated by the sensorless control unit 6 It is.

上記のように、センサレス駆動からマイクロステップ駆動へ切り替えられるときに、推定負荷値Tに見合う電流がステッピングモータ2に流れるため、センサレス駆動からマイクロステップ駆動への切替時における速度変動を抑制することができる。 As described above, when switched from the sensorless drive to the micro step drive, the current commensurate with the estimated load value T s flows through the stepping motor 2, to suppress the velocity fluctuation at the time of switching to the micro step drive from the sensorless drive Can do.

以上に説明したように、本実施形態では、マイクロステップ駆動とセンサレス駆動とを選択的に切り替えることによって効率の良い位置制御を実現すると共に、マイクロステップ駆動とセンサレス駆動とを切り替えるときに、それぞれ切替前の負荷の値に見合う電流をステッピングモータ2に流すように制御しているため、切替時の速度変動を抑制して安定した制御を実現している。
さらに、負荷推定器11における負荷推定方法として、前述の方法を実行しているため、モータに検出巻線等を用いないので、特別なモータを必要としない。また検出巻線等を使わないので、特別な検出回路を必要とせず、CPUで演算が可能である。
As described above, in the present embodiment, efficient position control is realized by selectively switching between microstep driving and sensorless driving, and switching is performed when switching between microstep driving and sensorless driving. Since the current corresponding to the value of the previous load is controlled to flow to the stepping motor 2, the speed fluctuation at the time of switching is suppressed and stable control is realized.
Furthermore, since the above-described method is executed as the load estimation method in the load estimator 11, no detection winding or the like is used for the motor, so that no special motor is required. In addition, since no detection winding or the like is used, a special detection circuit is not required, and the calculation can be performed by the CPU.

[第2の実施形態]
図5に第2の実施形態を示す。ステッピングモータ駆動制御装置40は、第1の実施形態と同様に、N相HB形ステッピングモータ39の停止時と低速領域においてマイクロステップ駆動を実行し、中・高速領域においてセンサレス駆動を実行するように構成されている。駆動方法の切替は、第1の実施形態と同様に、駆動方法切替器42によって実行される。駆動方法切替器42から出力された切替信号に応じてスイッチ43,44が切り替えられることによって、上記駆動方法が切り替えられる。図5においては、スイッチ43,44はマイクロステップ駆動を選択している。
[Second Embodiment]
FIG. 5 shows a second embodiment. As in the first embodiment, the stepping motor drive control device 40 performs microstep driving when the N-phase HB type stepping motor 39 is stopped and in the low speed region, and performs sensorless driving in the middle and high speed regions. It is configured. The switching of the driving method is executed by the driving method switching unit 42 as in the first embodiment. By switching the switches 43 and 44 according to the switching signal output from the driving method switching device 42, the driving method is switched. In FIG. 5, the switches 43 and 44 have selected micro-step driving.

速度指示器45に接続された減算器46、速度制御器47、電流制御器48、モータモデル49、速度・電気角推定器50及び座標変換器51は、第1の実施形態におけるセンサレス制御部6に対応する。電気角指示器52に接続された座標変換器53、減算器54、電流制御器55は、第1の実施形態におけるマイクロステップ制御部10に対応する。負荷推定器56は、第1の実施形態における負荷推定器11と同様の処理を実行する。   The subtractor 46, the speed controller 47, the current controller 48, the motor model 49, the speed / electrical angle estimator 50, and the coordinate converter 51 connected to the speed indicator 45 are the sensorless control unit 6 in the first embodiment. Corresponding to A coordinate converter 53, a subtractor 54, and a current controller 55 connected to the electrical angle indicator 52 correspond to the microstep control unit 10 in the first embodiment. The load estimator 56 performs the same processing as that of the load estimator 11 in the first embodiment.

定常状態におけるセンサレス駆動では、位置指示θを入力とする速度指示器45から出力された速度指示ωと、電流検出器41によって検出された実電流iに基づいて推定された推定速度とが減算器46に入力されて、速度指示ωと推定速度との差分が速度制御器47に入力される。速度制御器47は、PI制御器を備え、入力された差分に対してPI制御を行なってトルク分電流指示として電流制御器48に出力する。 In sensorless driving in the steady state, the speed instruction ω s output from the speed indicator 45 that receives the position instruction θ * and the estimated speed estimated based on the actual current i N detected by the current detector 41 Is input to the subtractor 46, and the difference between the speed instruction ω s and the estimated speed is input to the speed controller 47. The speed controller 47 includes a PI controller, performs PI control on the input difference, and outputs it to the current controller 48 as a torque component current instruction.

電流制御器48は、予め設定され又は算出された推定励磁分電流指示とトルク分電流指示とから、dq軸電圧指示Vdqsをスイッチ43を介して座標変換器58に出力する。座標変換器58には、さらに、電流検出器41によって検出された実電流iに基づいて算出された推定電気角がスイッチ44を介して入力される。 The current controller 48 outputs a dq axis voltage instruction V dqs to the coordinate converter 58 via the switch 43 from the estimated excitation current instruction and the torque current instruction that are set or calculated in advance. The coordinate converter 58 is further estimated electrical angle calculated based on the actual current i N detected by the current detector 41 is inputted through the switch 44.

座標変換器58は、dq軸電圧指示Vdqsと推定電気角とを入力としてdq−3相変換を実行し、センサレス駆動用指令VsNをPWMインバータ59に出力する。PWMインバータ59はセンサレス駆動用指令VsNを電力増幅し、ステッピングモータ2をセンサレス駆動する。 The coordinate converter 58 performs dq-3 phase conversion with the dq axis voltage instruction V dqs and the estimated electrical angle as inputs, and outputs a sensorless drive command V sN to the PWM inverter 59. The PWM inverter 59 amplifies the power of the sensorless drive command V sN and drives the stepping motor 2 sensorlessly.

前記推定速度及び前記推定電気角は、速度・電気角推定器50によって算出される。速度・電気角推定器50には、モータモデル49から取得されたモデル電流と、座標変換器51を介して軸変換された実電流とが入力される。モータモデル49は、モータの数学モデルであって、電圧速度から電流値を推定するものである。座標変換器51は、電流検出器41によって検知された相電流とフィードバックされた推定電気角を入力として3相−dq変換を実行して励磁分電流とトルク分電流とを算出し、速度・電気角推定器50に出力している。   The estimated speed and the estimated electrical angle are calculated by a speed / electrical angle estimator 50. The speed / electrical angle estimator 50 receives the model current acquired from the motor model 49 and the actual current that has undergone axis conversion via the coordinate converter 51. The motor model 49 is a mathematical model of the motor, and estimates the current value from the voltage speed. The coordinate converter 51 receives the phase current detected by the current detector 41 and the estimated electrical angle that is fed back, performs a three-phase-dq conversion, calculates the excitation current and the torque current, and calculates the speed / electricity. This is output to the angle estimator 50.

速度・電気角推定器50はモデル電流と実電流(3相−dq変換された前記励磁分電流とトルク分電流)との差分(誤差)から速度及び電気角を算出して、推定速度及び前記推定電気角を出力している。   The speed / electrical angle estimator 50 calculates the speed and the electrical angle from the difference (error) between the model current and the actual current (the excitation current and the torque current that have been subjected to the three-phase-dq conversion). The estimated electrical angle is output.

定常状態におけるマイクロステップ駆動では、電気角指示器52が位置指示θを入力として電気角指示(励磁電気角)θを出力する。座標変換器53は電気角指示θと電流検出器41によって検出された実電流iとを入力として3相−dq変換を実行して直流電流を算出し、該直流電流を減算器54に出力する。減算器54は、入力されたマイクロステップ電流指示と前記直流電流との差分を算出して電流制御器55に出力する。電流制御器55は、入力値に対してPI制御を行なって、dq軸電圧指示Vdqmを出力する。 In the micro step drive in the steady state, the electrical angle indicator 52 receives the position instruction θ * and outputs an electrical angle instruction (excitation electrical angle) θ m . The coordinate converter 53 receives the electrical angle instruction θ m and the actual current i N detected by the current detector 41 as input, performs a three-phase-dq conversion, calculates a DC current, and sends the DC current to the subtractor 54. Output. The subtractor 54 calculates a difference between the input microstep current instruction and the direct current and outputs the difference to the current controller 55. Current controller 55 performs PI control on the input value and outputs dq axis voltage instruction V dqm .

出力されたdq軸電圧指示Vdqmはスイッチ43を介して座標変換器58に出力される。座標変換器58には、さらに、電気角指示器52から出力された電気角指示θがスイッチ44を介して入力される。座標変換器58はdq軸電圧指示Vdqmと電気角指示θとを入力としてdq−3相変換を実行し、マイクロステップ駆動用指令VmNをPWMインバータ59に入力する。PWMインバータ59はマイクロステップ駆動用指令VmNを電力増幅し、ステッピングモータ39をマイクロステップ駆動する。 The output dq axis voltage instruction V dqm is output to the coordinate converter 58 via the switch 43. Further, the electrical angle instruction θ m output from the electrical angle indicator 52 is input to the coordinate converter 58 via the switch 44. The coordinate converter 58 receives the dq axis voltage instruction V dqm and the electrical angle instruction θ m as input, performs dq-3 phase conversion, and inputs a microstep drive command V mN to the PWM inverter 59. The PWM inverter 59 amplifies the power of the microstep drive command V mN and drives the stepping motor 39 by microstep.

マイクロステップ駆動からセンサレス駆動に切り替わるときには、第1の実施形態と同様に、負荷推定器56で推定された推定負荷値Tに見合った積分初期値が速度制御器47の積分器に設定される。したがって、マイクロステップ駆動からセンサレス駆動に切り替わるときの速度変動を抑制することができる。なお、本実施形態では、モータ逆モデルを用いてdq軸電圧指示Vdqsを算出しているため、電流制御器48おいてPI制御器を設ける必要がない。よって、マイクロステップ駆動からセンサレス駆動に切り替えるときに電流制御器48において積分初期値を設定する必要はない。 When switching from micro-step driving to sensorless driving, an integral initial value corresponding to the estimated load value T m estimated by the load estimator 56 is set in the integrator of the speed controller 47 as in the first embodiment. . Accordingly, it is possible to suppress speed fluctuations when switching from microstep driving to sensorless driving. In this embodiment, since the dq axis voltage instruction V dqs is calculated using the motor inverse model, it is not necessary to provide a PI controller in the current controller 48. Therefore, there is no need to set an integral initial value in the current controller 48 when switching from microstep driving to sensorless driving.

センサレス駆動からマイクロステップ駆動に切り替わるときには、センサレス駆動時の負荷の値を示す負荷推定値Tが速度制御器47から電気角指示器52に出力される。速度制御器47は前記速度指示ωと推定速度との差分に基づいて算出したトルク分電流に対して、予め与えられているモータ定数を乗じて負荷推定値Tを算出している。 When the sensorless drive is switched to the microstep drive, the estimated load value T s indicating the load value during the sensorless drive is output from the speed controller 47 to the electrical angle indicator 52. The speed controller 47 calculates a load estimated value T s by multiplying a torque component current calculated based on the difference between the speed instruction ω s and the estimated speed by a motor constant given in advance.

電気角指示器52には、さらに位置指示θが入力される。この位置指示θは、前記マイクロステップ駆動に切り替わる際に位置誤差調整器57にも入力される。以下、位置誤差調整器57について説明する。速度・電気角推定器50で推定された推定電気角が位置誤差調整器57に入力される。位置誤差調整器57は、推定電気角と位置指示θとを入力として両者の偏差を算出し、該偏差を電気角指示器52に出力する。電気角指示器52は入力された偏差を位置指示θに加算する。電気角指示器52は、前記偏差を加算した位置指示θと負荷推定値Tとから、センサレス駆動時の負荷に見合う電流がモータ39に流れるように、電気角指示(励磁電気角)θを形成して、座標変換器53に出力している。 The electrical angle indicator 52 further receives a position instruction θ * . This position instruction θ * is also input to the position error adjuster 57 when switching to the microstep drive. Hereinafter, the position error adjuster 57 will be described. The estimated electrical angle estimated by the speed / electrical angle estimator 50 is input to the position error adjuster 57. The position error adjuster 57 receives the estimated electrical angle and the position instruction θ * as input, calculates a deviation between the two, and outputs the deviation to the electrical angle indicator 52. The electrical angle indicator 52 adds the input deviation to the position instruction θ * . The electrical angle indicator 52 uses the electrical angle instruction (excitation electrical angle) θ so that the current corresponding to the load during sensorless driving flows to the motor 39 from the position indication θ * obtained by adding the deviation and the load estimated value T s. m is formed and output to the coordinate converter 53.

前記位置誤差調整器57は、速度制御系であるセンサレス駆動と位置制御系であるマイクロステップ駆動とを切り替えるときに生じる演算誤差を解消する目的を有している。すなわち、センサレス駆動では、速度指示器45を介して位置指示θから速度指示ωを算出する等、位置と速度の変換を実行している。したがって、このような変換の過程で生じた演算誤差によって速度指示と位置指示の整合がとれなくなる可能性がある。 The position error adjuster 57 has an object of eliminating a calculation error that occurs when switching between sensorless driving as a speed control system and microstep driving as a position control system. That is, in sensorless driving, position and speed conversion is performed, for example, the speed instruction ω s is calculated from the position instruction θ * via the speed indicator 45. Therefore, there is a possibility that the speed instruction and the position instruction cannot be matched due to the calculation error generated during the conversion process.

そこで、位置誤差調整器57は、速度指示と位置指示の整合をとるために、入力された推定電気角と入力された位置指示θとの偏差を算出して、電気角指示器52に出力している。そして、電気角指示器52は該偏差を位置指示θに加算して電気角指示θを形成している。これにより、マイクロステップ駆動に切り替えたときに、演算誤差等が解消された電気角指示θが出力されることになる。 Therefore, the position error adjuster 57 calculates a deviation between the input estimated electrical angle and the input position instruction θ * and outputs the deviation to the electrical angle indicator 52 in order to match the speed instruction and the position instruction. is doing. Then, the electrical angle indicator 52 forms an electrical angle instruction theta m by adding the deviation to the position indicator theta *. Accordingly, when switching the micro step drive, a calculation error or the like so that the resolved electrical angle instruction theta m is output.

[第3の実施形態]
図6に第3の実施形態を示す。N相HB形モータ61を駆動制御するステッピングモータ駆動制御装置60において、速度指示器62に接続された減算器63、速度制御器64、電流制御器65、適応オブザーバ66、積分器67、座標変換器68は、第1の実施形態におけるセンサレス制御部6に対応する。電気角指示器69に接続された座標変換器70、(図示しない)減算器を備えた電流制御器71は第1の実施形態におけるマイクロステップ制御部10に対応する。負荷推定器72は、第1の実施形態における負荷推定器11と同様の処理を実行する。駆動方法切替器73による駆動方法の切替及び定常状態のマイクロステップ駆動については、第2の実施形態と同様であるため、説明を省略する。なお、図6においては、スイッチ74,75はマイクロステップ駆動を選択している。
[Third Embodiment]
FIG. 6 shows a third embodiment. In a stepping motor drive control device 60 that drives and controls an N-phase HB motor 61, a subtractor 63, a speed controller 64, a current controller 65, an adaptive observer 66, an integrator 67, and coordinate conversion connected to a speed indicator 62 The device 68 corresponds to the sensorless control unit 6 in the first embodiment. A coordinate converter 70 connected to the electrical angle indicator 69 and a current controller 71 including a subtracter (not shown) correspond to the microstep control unit 10 in the first embodiment. The load estimator 72 executes the same processing as that of the load estimator 11 in the first embodiment. The switching of the driving method and the steady-state microstep driving by the driving method switching unit 73 are the same as those in the second embodiment, and thus the description thereof is omitted. In FIG. 6, the switches 74 and 75 are selected to perform microstep driving.

定常状態のセンサレス駆動において、速度指示器62は位置指示θを入力として速度指示ωを算出して減算器63に入力する。減算器63は速度指示器62から出力された速度指示ωと電流検出器76によって検出された実電流に基づいて推定された推定速度との差分を算出して速度制御器64に出力する。速度制御器64は、PI制御器を備え、入力された差分に対してPI制御を行なってトルク分電流指示を形成し、該トルク分電流指示を電流制御器65に出力している。 In the sensorless driving in the steady state, the speed indicator 62 calculates the speed instruction ω s with the position instruction θ * as an input, and inputs it to the subtracter 63. The subtractor 63 calculates a difference between the speed instruction ω s output from the speed indicator 62 and the estimated speed estimated based on the actual current detected by the current detector 76 and outputs the difference to the speed controller 64. The speed controller 64 includes a PI controller, performs PI control on the inputted difference to form a torque current instruction, and outputs the torque current instruction to the current controller 65.

電流制御器65は、PI制御器を備え、予め設定され又は算出された推定励磁分電流指示及びトルク分電流指示と、電流検出器76によって検出された実電流から算出された励磁分電流及びトルク分電流との差分を算出してPI制御を実行し、dq軸電圧指示Vdqsを形成して出力している。dq軸電圧指示Vdqsはスイッチ74を介して座標変換器77に入力される。座標変換器77には、さらにスイッチ75を介して、電流検出器76によって検出された実電流に基づいて推定された推定電気角が入力される。 The current controller 65 includes a PI controller, and an excitation current and torque calculated from an estimated excitation current instruction and a torque current instruction that are set or calculated in advance and an actual current detected by the current detector 76. The PI control is executed by calculating the difference from the divided current, and the dq axis voltage instruction V dqs is formed and output. The dq axis voltage instruction V dqs is input to the coordinate converter 77 via the switch 74. Further, an estimated electrical angle estimated based on the actual current detected by the current detector 76 is input to the coordinate converter 77 via the switch 75.

座標変換器77はdq軸電圧指示Vdqsと推定電気角とを入力としてdq−3相変換を実行し、センサレス駆動用指令VsNをPWMインバータ78に入力する。PWMインバータ78はセンサレス駆動用指令VsNを電力増幅し、ステッピングモータ61をセンサレス駆動する。 The coordinate converter 77 receives the dq axis voltage instruction V dqs and the estimated electrical angle as input, performs dq-3 phase conversion, and inputs a sensorless driving command V sN to the PWM inverter 78. The PWM inverter 78 amplifies the power of the sensorless drive command V sN and drives the stepping motor 61 sensorlessly.

前記推定速度及び前記推定電気角は、適応オブザーバ66によって算出される。適応オブザーバ66には電流検出器76によって検出された実電流が座標変換器68を介して入力される。座標変換器68はフィードバックされた推定電気角と入力された実電流(相電流)とから、3相−dq変換を実行して、励磁分電流とトルク分電流(dq軸電流)とを算出して、適応オブザーバ66に入力している。   The estimated speed and the estimated electrical angle are calculated by the adaptive observer 66. The actual current detected by the current detector 76 is input to the adaptive observer 66 via the coordinate converter 68. The coordinate converter 68 performs a three-phase-dq conversion from the estimated electrical angle fed back and the input actual current (phase current) to calculate an excitation current and a torque current (dq axis current). To the adaptive observer 66.

適応オブザーバ66は、入力された実電流(dq軸電流)と、電流制御器65から出力されたdq軸電圧指示Vdqsの電圧とから推定速度を算出し、該推定速度を積分器67を介して積分することによって推定電気角を算出している。
本実施形態のように、センサレス制御手段として適応オブザーバ66を使用すると、各制御部分のゲイン設定が容易になる。
The adaptive observer 66 calculates an estimated speed from the input actual current (dq axis current) and the voltage of the dq axis voltage instruction V dqs output from the current controller 65, and uses the estimated speed via the integrator 67. The estimated electrical angle is calculated by integrating.
If the adaptive observer 66 is used as the sensorless control means as in the present embodiment, the gain setting of each control part is facilitated.

マイクロステップ駆動からセンサレス駆動に切り替えるときは、上記第2の実施形態と同様に、負荷推定器72で算出した負荷推定値Tに見合う積分初期値を速度制御器64の積分器に設定する。加えて、本実施形態では、電流制御器65においてもPI制御を実行しているため、電流制御器65の積分器においても、負荷推定器72で算出した負荷推定値Tに見合う積分初期値を設定する。 When switching from the micro step drive in the sensorless drive, as in the second embodiment, setting the integration initial value commensurate with the load estimated value T m calculated by the load estimator 72 to the integrator of the speed controller 64. In addition, in the present embodiment, since the PI control is also executed in the current controller 65, the integral initial value corresponding to the load estimated value T m calculated by the load estimator 72 also in the integrator of the current controller 65. Set.

センサレス駆動からマイクロステップ駆動に切り替えるときは、上記第2の実施形態と同様に、速度制御器64から出力されたセンサレス駆動時の負荷推定値Tを電気角指示器69に入力する。位置誤差調整器79は、位置指示θと適応オブザーバ66で推定された推定電気角とを入力として、両者の偏差を電気角指示器69に出力する。電気角指示器69は、該偏差を加算した位置指示θと負荷推定値Tとから、センサレス駆動時の負荷に見合った電流がステッピングモータ61に流れるように、電気角指示(励磁電気角)θを形成している。 When switching from the sensorless drive the micro step drive inputs said as in the second embodiment, the load estimated value T s during sensorless drive output from the speed controller 64 to the electrical angle indicator 69. The position error adjuster 79 receives the position instruction θ * and the estimated electrical angle estimated by the adaptive observer 66 and outputs the deviation between them to the electrical angle indicator 69. The electrical angle indicator 69 uses an electrical angle instruction (excited electrical angle) so that a current corresponding to the load at the time of sensorless driving flows to the stepping motor 61 from the position instruction θ * obtained by adding the deviation and the load estimated value T s. ) Θ m is formed.

[他の実施形態]
以上、本発明の実施形態について述べたが、本発明は既述の実施形態に限定されるものではなく、本発明の技術的思想に基づいて各種の変形及び変更が可能である。
例えば、上記実施形態における定常時のセンサレス制御及びマイクロステップ制御は上記実施形態に限定されない。他の構成要素及び制御によって実行される様々なセンサレス制御及びマイクロステップ制御を本発明に適用することができる。
また、上記第1の実施形態における負荷推定器ではトラッキングフィルタを用いて回転子推定位置を算出しているがこれに限定されない。例えば、逆正接関を用いて回転子推定位置θest reを算出することもできる。この場合、前記N相2相変換装置21によって2相交流に変換して求められた誘起起電圧eα、eβを、逆正接関数に入力し、該逆正接関数からの出力をフィルタに入力し、該フィルタからの出力を回転子推定位置θest reとして前記負荷推定値算出部32に出力するように構成しても良い。
既述の実施形態では、N相HB形ステッピングモータを駆動対象のモータとして採用しているがこれに限定されず、他のタイプのステッピングモータを駆動対象としても良い。
[Other Embodiments]
As mentioned above, although embodiment of this invention was described, this invention is not limited to above-mentioned embodiment, Various deformation | transformation and change are possible based on the technical idea of this invention.
For example, sensorless control and microstep control during steady state in the above embodiment are not limited to the above embodiment. Various sensorless control and microstep control performed by other components and controls can be applied to the present invention.
In the load estimator in the first embodiment, the estimated rotor position is calculated using a tracking filter, but the present invention is not limited to this. For example, the rotor estimated position θ est re can be calculated using an arctangent. In this case, induced electromotive voltages eα and eβ obtained by converting into two-phase alternating current by the N-phase to two-phase converter 21 are input to an arc tangent function, and an output from the arc tangent function is input to a filter, it may be configured to output the output from the filter to the load estimated value calculating section 32 as the rotor position estimate theta est re.
In the above-described embodiment, the N-phase HB type stepping motor is employed as the motor to be driven. However, the present invention is not limited to this, and another type of stepping motor may be the driving object.

上記第2及び第3の実施形態では、位置誤差調整器は、センサレス駆動からマイクロステップ駆動へ切り替えたときに動作している。しかしながら、位置誤差調整器57,79はセンサレス駆動中に動作して位置誤差を調整することもできる。この場合、位置誤差調整器57,79は、センサレス駆動中において、位置指示θと推定電気角の偏差を算出して速度指示器45,62に出力する。速度指示器45,62は該偏差を位置指示θに加算して該偏差を加算した位置指示θから速度指示を算出することによって、演算誤差等が補正された速度指示を出力する。このように、センサレス駆動中に速度指示器45,62から出力される速度指示が位置誤差調整器57,79を介してすでに調整されている場合には、マイクロステップ駆動へ切り替える際に、推定電気角の位置指示θに対する誤差等を補正する必要はない。したがって、上記第2及び第3の実施形態において、センサレス駆動中に位置誤差調整器57,79を介して上記速度指示を調整した場合には、位置誤差調整器57,79は、前記偏差を電気角指示器52,69に出力する必要はない。 In the second and third embodiments, the position error adjuster operates when switching from sensorless driving to microstep driving. However, the position error adjusters 57 and 79 can also operate during sensorless driving to adjust the position error. In this case, the position error adjusters 57 and 79 calculate a deviation between the position instruction θ * and the estimated electrical angle during the sensorless drive and output the deviation to the speed indicators 45 and 62. Speed indicator 45,62 is by calculating the speed instruction from the position indicator theta * obtained by adding the deviation by adding the deviation to the position indicator theta *, and outputs a speed instruction operation error or the like is corrected. As described above, when the speed instruction output from the speed indicators 45 and 62 during the sensorless driving is already adjusted via the position error adjusters 57 and 79, the estimated electric power is changed when switching to the microstep driving. It is not necessary to correct an error with respect to the corner position instruction θ * . Therefore, in the second and third embodiments, when the speed instruction is adjusted via the position error adjusters 57 and 79 during sensorless driving, the position error adjusters 57 and 79 There is no need to output to the angle indicators 52 and 69.

上記第2及び第3の実施形態において、センサレス制御時の負荷推定値Tは速度制御器47,64においてトルク分電流に基づいて算出されているが、これに限定されない。例えば、座標変換器51,68から出力されるトルク分電流に、任意の演算手段を介してモータ定数を乗じることによってセンサレス制御時の負荷推定値Tを算出し、該算出した負荷推定値Tを電気角指示器52,69に入力するように構成しても良い。 In the second and third embodiments, the load estimated value T s during sensorless control is calculated based on the torque current in the speed controller 47,64, not limited to this. For example, the load estimated value T s at the time of sensorless control is calculated by multiplying the torque component current output from the coordinate converters 51 and 68 by a motor constant via an arbitrary calculation means, and the calculated load estimated value T You may comprise so that s may be input into the electrical angle indicator 52,69.

第1の実施形態に係るステッピングモータ駆動制御装置の模式的な回路図である。1 is a schematic circuit diagram of a stepping motor drive control device according to a first embodiment. 第1の実施形態に係る負荷推定器の模式的な回路図である。It is a typical circuit diagram of a load estimator according to the first embodiment. マイクロステップ駆動とセンサレス駆動とを切り替えたときの速度変動を示すグラフである。It is a graph which shows the speed fluctuation | variation when switching microstep drive and sensorless drive. 第1の実施形態に係るステッピングモータ駆動制御装置によってマイクロステップ駆動とセンサレス駆動とを切り替えたときの速度変動を示すグラフである。It is a graph which shows the speed fluctuation | variation when a microstep drive and a sensorless drive are switched by the stepping motor drive control apparatus which concerns on 1st Embodiment. 第2の実施形態に係るステッピングモータ駆動制御装置の模式的な回路図である。It is a typical circuit diagram of a stepping motor drive control device according to a second embodiment. 第3の実施形態に係るステッピングモータ駆動制御装置の模式的な回路図である。FIG. 10 is a schematic circuit diagram of a stepping motor drive control device according to a third embodiment.

符号の説明Explanation of symbols

1,40,60 ステッピングモータ駆動制御装置
2,39,61 ステッピングモータ
3,42,73 駆動方法切替器
5,45,62 速度指示器
6 センサレス制御部
8,41,76 電流検出器
9,52,69 電気角指示器
10 マイクロステップ制御部
11,56,72 負荷推定器
47,64 速度制御器
48,65 電流制御器
49 モータモデル
50 速度・電気角推定器
57,79 位置誤差調整器
66 適応オブザーバ
1, 40, 60 Stepping motor drive control device 2, 39, 61 Stepping motor 3, 42, 73 Drive method switching device 5, 45, 62 Speed indicator 6 Sensorless control unit 8, 41, 76 Current detector 9, 52, 69 Electrical angle indicator 10 Microstep controller 11, 56, 72 Load estimator 47, 64 Speed controller 48, 65 Current controller 49 Motor model 50 Speed / electrical angle estimator 57, 79 Position error adjuster 66 Adaptive observer

Claims (10)

マイクロステップ駆動とセンサレス駆動とを切り替えてステッピングモータを制御するステッピングモータ駆動制御装置であって、
前記ステッピングモータに流れる実電流を検出する電流検出器と、
前記センサレス駆動を実行するために、位置指示と前記検出した実電流に基づいて、前記ステッピングモータの各相に流す駆動電流を決定するためのセンサレス駆動指令を形成するセンサレス制御手段と、
前記マイクロステップ駆動時における前記ステッピングモータの負荷を推定して第1の負荷推定値を得る負荷推定器と
を備え、
前記センサレス制御手段は、マイクロステップ駆動からセンサレス駆動に切り替えたときに、前記推定した負荷に見合う前記駆動電流を決定するための前記センサレス駆動指令を前記第1の負荷推定値を用いて形成するように構成されている、ステッピングモータ駆動制御装置。
A stepping motor drive control device for controlling a stepping motor by switching between micro-step driving and sensorless driving,
A current detector for detecting an actual current flowing through the stepping motor;
Sensorless control means for forming a sensorless drive command for determining a drive current to be passed through each phase of the stepping motor based on the position instruction and the detected actual current to execute the sensorless drive;
A load estimator that estimates a load of the stepping motor at the time of the microstep drive and obtains a first load estimated value;
The sensorless control means uses the first load estimated value to form the sensorless drive command for determining the drive current corresponding to the estimated load when the microstep drive is switched to the sensorless drive. A stepping motor drive control device configured as described above.
前記位置指示に基づいて速度指示を形成する速度指示器をさらに備え、
前記センサレス制御手段は、前記速度指示と前記実電流に基づいて推定された推定速度との偏差にPI補償を施すことによって得られるトルク分電流指示を用いて前記センサレス駆動指令を形成するように、かつ前記センサレス駆動に切り替えたときに、前記第1の負荷推定値を用いて前記PI補償のための積分要素の初期値を設定するように構成されていることを特徴とする、請求項1に記載のステッピングモータ駆動制御装置。
A speed indicator that forms a speed indication based on the position indication;
The sensorless control means forms the sensorless drive command using a torque current instruction obtained by performing PI compensation on a deviation between the speed instruction and an estimated speed estimated based on the actual current. In addition, when switching to the sensorless drive, the initial value of the integral element for the PI compensation is set using the first load estimated value. The stepping motor drive control device described.
前記マイクロステップ駆動を実行するために、前記位置指示に基づいて、前記ステッピングモータの各相に流す駆動電流を決定するためのマイクロステップ駆動指令を形成するマイクロステップ制御手段を備え、
前記センサレス制御手段は、前記センサレス駆動時における前記ステッピングモータの負荷を推定して第2の負荷推定値を算出し、
前記マイクロステップ制御手段は、前記センサレス駆動からマイクロステップ駆動に切り替えたときに、前記推定したセンサレス駆動時の負荷に見合う前記駆動電流を決定するための前記マイクロステップ駆動指令を形成するように構成されている、請求項1又は2に記載のステッピングモータ駆動制御装置。
In order to execute the microstep drive, microstep control means for forming a microstep drive command for determining a drive current to be passed through each phase of the stepping motor based on the position instruction,
The sensorless control means calculates a second load estimated value by estimating a load of the stepping motor during the sensorless driving,
The microstep control means is configured to form the microstep drive command for determining the drive current commensurate with the estimated load during the sensorless drive when the sensorless drive is switched to the microstep drive. The stepping motor drive control device according to claim 1 or 2.
前記位置指示に基づいて電気角指示を形成する電気角指示器をさらに備え、
該電気角指示器は、センサレス駆動からマイクロステップ駆動に切り替えたときに、前記第2の負荷推定値を用いて電気角指示を形成し、
前記マイクロステップ制御手段は、前記電気角指示に基づいて、前記マイクロステップ駆動指令を形成することを特徴とする、請求項3に記載のステッピングモータ駆動制御装置。
An electrical angle indicator that forms an electrical angle indication based on the position indication;
The electrical angle indicator forms an electrical angle indication using the second load estimated value when switching from sensorless drive to microstep drive,
The stepping motor drive control device according to claim 3, wherein the microstep control means forms the microstep drive command based on the electrical angle instruction.
前記センサレス制御手段は、予め設定され又は算出された推定励磁分電流指示と、前記トルク分電流指示と、前記実電流に基づいて推定された推定電気角とに基づいて、前記センサレス駆動指令を形成することを特徴とする、請求項2〜4のいずれか1項に記載のステッピングモータ駆動制御装置。   The sensorless control means forms the sensorless drive command based on an estimated excitation current instruction, preset or calculated, a torque current instruction, and an estimated electrical angle estimated based on the actual current. The stepping motor drive control device according to any one of claims 2 to 4, wherein 前記センサレス制御手段は、速度・電気角推定器を備え、
速度・電気角推定器は、前記実電流とモータモデルから算出された推定電流との差分から前記推定速度と前記推定電気角を算出することを特徴とする、請求項5に記載のステッピングモータ駆動制御装置。
The sensorless control means includes a speed / electrical angle estimator,
6. The stepping motor drive according to claim 5, wherein the speed / electrical angle estimator calculates the estimated speed and the estimated electrical angle from a difference between the actual current and an estimated current calculated from a motor model. Control device.
前記センサレス制御手段は、電流制御器と適応オブザーバを備え、
前記電流制御器は、前記実電流から算出されたdq軸電流と、前記推定励磁分電流指示と、前記トルク分電流指示とからdq軸電圧指示を形成し、
前記適応オブザーバは、前記dq軸電流と前記dq軸電圧指示とから前記推定速度と前記推定電気角を算出することを特徴とする、請求項5に記載のステッピングモータ駆動制御装置。
The sensorless control means includes a current controller and an adaptive observer.
The current controller forms a dq-axis voltage instruction from the dq-axis current calculated from the actual current, the estimated excitation current instruction, and the torque current instruction.
6. The stepping motor drive control device according to claim 5, wherein the adaptive observer calculates the estimated speed and the estimated electrical angle from the dq-axis current and the dq-axis voltage instruction.
前記位置指示と前記推定電気角とを比較して、両者の偏差を算出する位置誤差調整器をさらに備え、
前記電気角指示器は、前記センサレス駆動からマイクロステップ駆動に切り替えたときに、前記偏差を前記位置指示に加算して、該偏差を加算した位置指示と前記第2の負荷推定値とから前記電気角指示を形成することを特徴とする、請求項4に従属する請求項5〜7のいずれか1項に記載のステッピングモータ駆動制御装置。
A position error adjuster that compares the position indication with the estimated electrical angle and calculates a deviation between the two;
The electrical angle indicator adds the deviation to the position instruction when the sensorless driving is switched to the microstep driving, and the electric power is calculated from the position instruction obtained by adding the deviation and the second load estimated value. The stepping motor drive control device according to claim 5, wherein the stepping motor drive control device is dependent on claim 4.
マイクロステップ駆動とセンサレス駆動とを切り替えてステッピングモータを制御するステッピングモータ駆動制御方法であって、
前記ステッピングモータに流れる実電流を検出する電流検出ステップと、
前記センサレス駆動を実行するために、位置指示と前記検出した実電流に基づいて、前記ステッピングモータの各相に流す駆動電流を決定するためのセンサレス駆動指令を形成するセンサレス制御ステップと、
前記マイクロステップ駆動時における前記ステッピングモータの負荷を推定して第1の負荷推定値を得る第1の負荷推定ステップと
を含み、
前記センサレス制御ステップは、マイクロステップ駆動からセンサレス駆動に切り替えたときに、前記推定した負荷に見合う前記駆動電流を決定するための前記センサレス駆動指令を前記第1の負荷推定値を用いて形成するステップを含む、ステッピングモータ駆動制御方法。
A stepping motor drive control method for controlling a stepping motor by switching between micro-step drive and sensorless drive,
A current detection step of detecting an actual current flowing through the stepping motor;
A sensorless control step for forming a sensorless drive command for determining a drive current to be passed through each phase of the stepping motor based on the position instruction and the detected actual current in order to execute the sensorless drive;
A first load estimating step of estimating a load of the stepping motor during the microstep driving to obtain a first load estimated value;
The sensorless control step is a step of forming the sensorless drive command for determining the drive current corresponding to the estimated load using the first load estimated value when switching from microstep drive to sensorless drive. A stepping motor drive control method.
前記マイクロステップ駆動を実行するために、前記位置指示に基づいて、前記ステッピングモータの各相に流す駆動電流を決定するためのマイクロステップ駆動指令を形成するマイクロステップ制御ステップと、
前記センサレス駆動時の前記ステッピングモータの負荷を推定して第2の負荷推定値を得る第2の負荷推定ステップと
を含み、
前記マイクロステップ制御ステップは、前記センサレス駆動からマイクロステップ駆動に切り替えたときに、前記推定したセンサレス制御時の負荷に見合う前記駆動電流を決定するための前記マイクロステップ駆動指令を形成するように構成されている、請求項9に記載のステッピングモータ駆動制御方法。
A micro-step control step for forming a micro-step drive command for determining a drive current to be supplied to each phase of the stepping motor based on the position instruction in order to execute the micro-step drive;
A second load estimating step of estimating a load of the stepping motor during the sensorless driving to obtain a second load estimated value;
The microstep control step is configured to form the microstep drive command for determining the drive current commensurate with the estimated load during the sensorless control when the sensorless drive is switched to the microstep drive. The stepping motor drive control method according to claim 9.
JP2008053104A 2008-03-04 2008-03-04 Stepping motor drive control device and stepping motor drive control method Active JP5078676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008053104A JP5078676B2 (en) 2008-03-04 2008-03-04 Stepping motor drive control device and stepping motor drive control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008053104A JP5078676B2 (en) 2008-03-04 2008-03-04 Stepping motor drive control device and stepping motor drive control method

Publications (2)

Publication Number Publication Date
JP2009213244A true JP2009213244A (en) 2009-09-17
JP5078676B2 JP5078676B2 (en) 2012-11-21

Family

ID=41185852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008053104A Active JP5078676B2 (en) 2008-03-04 2008-03-04 Stepping motor drive control device and stepping motor drive control method

Country Status (1)

Country Link
JP (1) JP5078676B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011155810A (en) * 2010-01-28 2011-08-11 Melec:Cc Micro-step drive method of two phase stepping motor
EP2988411A1 (en) 2014-08-20 2016-02-24 Ricoh Company, Ltd. Motor drive control apparatus and motor drive control method
JPWO2014128947A1 (en) * 2013-02-25 2017-02-02 株式会社日立製作所 AC motor control device
JP2021010256A (en) * 2019-07-02 2021-01-28 株式会社日立ハイテク Stepping motor control device and stepping motor control method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016134319A1 (en) 2015-02-19 2016-08-25 Enphase Energy, Inc. Method and apparatus for time-domain droop control with integrated phasor current control

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003023785A (en) * 2001-07-05 2003-01-24 Matsushita Electric Ind Co Ltd Control device and control method of servomotor
JP2004166408A (en) * 2002-11-13 2004-06-10 Yoichi Hayashi Permanent magnet synchronous motor control method
JP2004180354A (en) * 2002-11-25 2004-06-24 Oriental Motor Co Ltd Method and apparatus for estimating rotor position of stepping motor
JP2005210786A (en) * 2004-01-20 2005-08-04 Sanmei Denshi Sangyo Kk Microstep driving unit for stepping motor, and its control method, and its operation method
JP2005210813A (en) * 2004-01-21 2005-08-04 Mitsubishi Heavy Ind Ltd Brushless dc motor system and brushless dc motor drive method
JP2007037320A (en) * 2005-07-28 2007-02-08 Oriental Motor Co Ltd Drive method and drive device for stepping motor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003023785A (en) * 2001-07-05 2003-01-24 Matsushita Electric Ind Co Ltd Control device and control method of servomotor
JP2004166408A (en) * 2002-11-13 2004-06-10 Yoichi Hayashi Permanent magnet synchronous motor control method
JP2004180354A (en) * 2002-11-25 2004-06-24 Oriental Motor Co Ltd Method and apparatus for estimating rotor position of stepping motor
JP2005210786A (en) * 2004-01-20 2005-08-04 Sanmei Denshi Sangyo Kk Microstep driving unit for stepping motor, and its control method, and its operation method
JP2005210813A (en) * 2004-01-21 2005-08-04 Mitsubishi Heavy Ind Ltd Brushless dc motor system and brushless dc motor drive method
JP2007037320A (en) * 2005-07-28 2007-02-08 Oriental Motor Co Ltd Drive method and drive device for stepping motor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011155810A (en) * 2010-01-28 2011-08-11 Melec:Cc Micro-step drive method of two phase stepping motor
JPWO2014128947A1 (en) * 2013-02-25 2017-02-02 株式会社日立製作所 AC motor control device
EP2988411A1 (en) 2014-08-20 2016-02-24 Ricoh Company, Ltd. Motor drive control apparatus and motor drive control method
JP2021010256A (en) * 2019-07-02 2021-01-28 株式会社日立ハイテク Stepping motor control device and stepping motor control method
JP7294917B2 (en) 2019-07-02 2023-06-20 株式会社日立ハイテク Stepping motor control device, stepping motor control method

Also Published As

Publication number Publication date
JP5078676B2 (en) 2012-11-21

Similar Documents

Publication Publication Date Title
JP3661642B2 (en) Motor control device and control method thereof
JP3888082B2 (en) Motor device and control method thereof
TW201830846A (en) System and method for starting synchronous motors
JP4155196B2 (en) Rotating electrical machine control device and power generation system
EP3070836B1 (en) Methods of auto tuning machine parameters and systems thereof
JP5942095B2 (en) PM motor current control gain adjustment method, current control method and control device
JP2007189766A (en) Motor drive controller and motor drive system
JP4979646B2 (en) Stepping motor drive control device
TW201601445A (en) System, method and apparatus of sensor-less field oriented control for permanent magnet motor
JP6463966B2 (en) Motor driving device, motor driving module and refrigeration equipment
JP5078676B2 (en) Stepping motor drive control device and stepping motor drive control method
JP5403243B2 (en) Control device for permanent magnet synchronous motor
JP4713973B2 (en) Driving method and driving apparatus for stepping motor
JP2015173540A (en) Drive device for motor
JP5493546B2 (en) Control device for linear permanent magnet synchronous motor
JP6562881B2 (en) Constant identification apparatus and constant identification method for permanent magnet synchronous motor
JP3971978B2 (en) Electric motor control device
JP2007116769A (en) Motor controller/driver for turbocharger with motor
JP5641774B2 (en) Method and apparatus for estimating rotor position and speed of stepping motor
WO2021200389A1 (en) Motor control device, motor system, and motor control method
JP2009142073A (en) Controller and control system of rotating machine
CN107482965B (en) Control device for synchronous motor
JP5228435B2 (en) Inverter control device and control method thereof
JP2010022189A (en) Position sensorless control circuit for motor
JP2007082380A (en) Synchronous motor control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091023

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111025

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111219

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

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

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

Free format text: PAYMENT UNTIL: 20150907

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5078676

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250