JP2019161844A - Motor drive device - Google Patents

Motor drive device Download PDF

Info

Publication number
JP2019161844A
JP2019161844A JP2018045321A JP2018045321A JP2019161844A JP 2019161844 A JP2019161844 A JP 2019161844A JP 2018045321 A JP2018045321 A JP 2018045321A JP 2018045321 A JP2018045321 A JP 2018045321A JP 2019161844 A JP2019161844 A JP 2019161844A
Authority
JP
Japan
Prior art keywords
motor
oscillation
unit
time
control unit
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
JP2018045321A
Other languages
Japanese (ja)
Other versions
JP7006398B2 (en
Inventor
康友 川西
Yasutomo Kawanishi
康友 川西
守 恵木
Mamoru Egi
守 恵木
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2018045321A priority Critical patent/JP7006398B2/en
Priority to PCT/JP2019/002745 priority patent/WO2019176338A1/en
Publication of JP2019161844A publication Critical patent/JP2019161844A/en
Application granted granted Critical
Publication of JP7006398B2 publication Critical patent/JP7006398B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/02Providing protection against overload without automatic interruption of supply
    • H02P29/024Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/12Improving ICE efficiencies

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

To provide a motor drive device that can detect satisfactorily whether or not a motor is oscillating without depending on the control content performed on the motor.SOLUTION: A motor drive device comprises: a motor control unit for driving a motor by supplying a drive current to the motor; an oscillation detection unit that counts the number of times the current value of the drive current exceeds an oscillation amplitude threshold value within a unit time, and determines that oscillation has been detected when the count result is equal to or greater than the oscillation frequency threshold value; and a setting unit that calculates a time to be used as the unit time based on a parameter value set in the motor control unit, and sets the calculated time in the oscillation detection unit as the unit time.SELECTED DRAWING: Figure 1

Description

本発明は、モータ駆動装置に関する。   The present invention relates to a motor drive device.

モータ駆動装置により駆動されているモータが発振しているか否かを判定する技術として、モータ駆動電流の電流値が単位時間内に発振振幅閾値を超える回数をカウントし、当該回数のカウント結果が発振回数閾値以上であった場合に、発振を検出したと判定する技術(例えば、特許文献1参照)が知られている。   As a technology for determining whether or not the motor driven by the motor drive device is oscillating, the number of times that the current value of the motor drive current exceeds the oscillation amplitude threshold value within a unit time is counted, and the count result of that number oscillates. A technique (for example, refer to Patent Document 1) that determines that oscillation is detected when the number of times is equal to or greater than the threshold value is known.

特開平3−284180号公報JP-A-3-284180

上記技術は、単位時間が適切に設定されていないと、検出したい周波数の発振を検出できない場合や、モータの意図した動作が発振として誤認定される場合があるものとなっている。さらに、適切な単位時間は、モータに対して行われている制御内容によって変化するため、上記技術で、各種の制御が行われ得るモータの発振を検出することは困難であった。   In the above technique, if the unit time is not set appropriately, oscillation at a frequency to be detected cannot be detected, or the intended operation of the motor may be erroneously recognized as oscillation. Furthermore, since the appropriate unit time varies depending on the control content being performed on the motor, it has been difficult to detect the oscillation of the motor in which various types of control can be performed with the above technique.

本発明は、上記問題に鑑みてなされたものであり、モータが発振しているか否かを、モータに対して行われている制御内容に依らず、良好に検出できるモータ駆動装置を提供することを目的とする。   The present invention has been made in view of the above problems, and provides a motor drive device that can satisfactorily detect whether or not the motor is oscillating regardless of the control content performed on the motor. With the goal.

上記目的を達成するために、本発明の一観点に係るモータ駆動装置は、モータに駆動電流を供給することで前記モータを駆動するモータ制御部と、前記駆動電流の電流値が単位時間内に発振振幅閾値を超える回数をカウントし、前記回数のカウント結果が発振回数閾値以上であった場合に、発振を検出したと判定する発振検出部と、前記モータ制御部に設定されているパラメータの値に基づき前記単位時間として使用されるべき時間を算出し、算出した時間を前記単位時間として前記発振検出部に設定する設定部と、を備える。   In order to achieve the above object, a motor driving device according to an aspect of the present invention includes a motor control unit that drives the motor by supplying a driving current to the motor, and the current value of the driving current is within a unit time. An oscillation detection unit that counts the number of times that exceeds the oscillation amplitude threshold value and determines that oscillation is detected when the count result is equal to or greater than the oscillation frequency threshold value, and a parameter value set in the motor control unit A setting unit configured to calculate a time to be used as the unit time based on the time and set the calculated time in the oscillation detection unit as the unit time.

すなわち、本発明の上記観点に係るモータ駆動装置は、モータ制御部に設定されているパラメータの値から適切な単位時間を算出して『前記駆動電流の電流値が単位時間内に発振振幅閾値を超える回数をカウントし、前記回数のカウント結果が発振回数閾値以上であった場合に、発振を検出したことを示す発振検出信号を出力する発振検出部』に設定する構成を有する。従って、このモータ制御装置によれば、モータが発振しているか否かを、モータに対して行われている制御内容に依らず、良好に検出することができる。   That is, the motor drive device according to the above aspect of the present invention calculates an appropriate unit time from the parameter values set in the motor control unit, and reads: “The current value of the drive current sets the oscillation amplitude threshold value within the unit time. The number of times of exceeding is counted, and when the count result of the number of times is equal to or greater than the oscillation frequency threshold, the oscillation detection unit is configured to output an oscillation detection signal indicating that oscillation has been detected. Therefore, according to this motor control device, whether or not the motor is oscillating can be satisfactorily detected regardless of the content of control performed on the motor.

モータ駆動装置の設定部は、位置比例ゲイン、速度比例ゲイン、トルク指令用ローパスフィルタの遮断周波数のいずれかについての前記モータ制御部の設定値に基づき前記単位時間として使用されるべき時間を算出し、算出した時間を前記単位時間として前記発振検出部に設定するものであっても良い。   The setting unit of the motor driving device calculates a time to be used as the unit time based on the setting value of the motor control unit for any of the position proportional gain, the speed proportional gain, and the cutoff frequency of the torque command low pass filter. The calculated time may be set in the oscillation detection unit as the unit time.

モータ駆動装置に、前記発振回数閾値及び前記発振振幅閾値の少なくとも一方の値を、前記モータ制御部の動作状態に応じた値に変更する閾値変更部を付加しておいても良い。
なお、この閾値変更部における“モータ制御部の動作状態”としては、モータ制御部の制御モードや、モータ制御部への指令の入力の有無を採用することが出来る。
A threshold value changing unit that changes at least one of the oscillation frequency threshold value and the oscillation amplitude threshold value to a value corresponding to the operating state of the motor control unit may be added to the motor drive device.
As the “operation state of the motor control unit” in the threshold value changing unit, the control mode of the motor control unit and the presence / absence of command input to the motor control unit can be employed.

本発明によれば、モータが発振しているか否かを、モータに対して行われている制御内容に依らず、良好に検出できるモータ駆動装置を提供することが出来る。   ADVANTAGE OF THE INVENTION According to this invention, the motor drive device which can detect satisfactorily whether the motor is oscillating irrespective of the control content currently performed with respect to the motor can be provided.

図1は、本発明の第1実施形態に係るモータ駆動装置の構成及び使用形態の説明図である。FIG. 1 is an explanatory diagram of the configuration and usage of the motor drive device according to the first embodiment of the present invention. 図2は、第1実施形態に係るモータ駆動装置内の発振検出部の機能ブロック図である。FIG. 2 is a functional block diagram of an oscillation detection unit in the motor drive device according to the first embodiment. 図3Aは、単位時間が適切ではない場合における発振検出部の動作の説明図である。FIG. 3A is an explanatory diagram of the operation of the oscillation detection unit when the unit time is not appropriate. 図3Bは、発振回数閾値/位置比例ゲインが単位時間として使用されている場合における発振検出部の動作の説明図である。FIG. 3B is an explanatory diagram of the operation of the oscillation detection unit when the oscillation frequency threshold value / position proportional gain is used as a unit time. 図4は、第1実施形態に係るモータ駆動装置内の発振検出部が実行する発振検出処理の流れ図である。FIG. 4 is a flowchart of the oscillation detection process executed by the oscillation detection unit in the motor drive device according to the first embodiment. 図5は、第2実施形態に係るモータ駆動装置内の発振検出部の機能ブロック図である。FIG. 5 is a functional block diagram of an oscillation detection unit in the motor drive device according to the second embodiment. 図6は、第2実施形態に係るモータ駆動装置内の発振検出部が実行する第2発振検出処理の流れ図(その1)である。FIG. 6 is a flowchart (No. 1) of the second oscillation detection process executed by the oscillation detection unit in the motor drive device according to the second embodiment. 図7は、第2実施形態に係るモータ駆動装置内の発振検出部が実行する第2発振検出処理の流れ図(その2)である。FIG. 7 is a flowchart (part 2) of the second oscillation detection process executed by the oscillation detection unit in the motor drive device according to the second embodiment.

以下、図面に基づいて、本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

《第1実施形態》
図1に、本発明の第1実施形態に係るモータ駆動装置20の概略構成及び使用形態を示す。本実施形態に係るモータ駆動装置20は、モータ41を駆動するための装置であり、モータ駆動回路22と制御部23とを備える。
<< First Embodiment >>
FIG. 1 shows a schematic configuration and a usage pattern of the motor drive device 20 according to the first embodiment of the present invention. The motor drive device 20 according to the present embodiment is a device for driving a motor 41 and includes a motor drive circuit 22 and a control unit 23.

モータ駆動回路22は、制御部23の制御下、モータ41に駆動電流を供給する回路である。   The motor drive circuit 22 is a circuit that supplies a drive current to the motor 41 under the control of the control unit 23.

制御部23は、プロセッサ(マイクロコントローラ、CPU等)とその周辺素子から構成されたユニットである。この制御部23は、モータ制御部25と発振検出部26として機能するように構成(プログラミング)されている。   The control unit 23 is a unit composed of a processor (microcontroller, CPU, etc.) and its peripheral elements. The control unit 23 is configured (programmed) so as to function as the motor control unit 25 and the oscillation detection unit 26.

モータ制御部25は、PLC等の外部装置から入力される指令、またはモータ駆動装置内で生成する指令に従って、各種制御モード(位置制御モード、速度制御モード、トルク制御モード)でモータ41(モータ駆動回路22)を制御するユニット(機能ブロック)である。このモータ制御部25は、位置検出器43によるモータ41の位置の検出結果を用いて、モータ41(モータ駆動回路22)を制御する。   The motor control unit 25 performs motor 41 (motor drive) in various control modes (position control mode, speed control mode, torque control mode) in accordance with a command input from an external device such as a PLC or a command generated in the motor drive device. It is a unit (functional block) that controls the circuit 22). The motor control unit 25 controls the motor 41 (motor drive circuit 22) using the detection result of the position of the motor 41 by the position detector 43.

発振検出部26は、モータ41に振動が発生しているか否かを検出するためのユニットである。   The oscillation detection unit 26 is a unit for detecting whether vibration is generated in the motor 41.

以下、発振検出部26について具体的に説明する。
図2に、発振検出部26の機能ブロック図を示す。
Hereinafter, the oscillation detection unit 26 will be specifically described.
FIG. 2 shows a functional block diagram of the oscillation detection unit 26.

図示してあるように、発振検出部26は、タイマー31、発振回数計数部32、発振判断部33及び設定部34を備える。   As illustrated, the oscillation detection unit 26 includes a timer 31, an oscillation number counting unit 32, an oscillation determination unit 33, and a setting unit 34.

タイマー31は、経過時間を計数するためのユニットである。発振回数計数部32は、モータ駆動電流値と、設定部34(詳細は後述)が算出・設定する単位時間と、予め設定されている発振振幅閾値と、タイマー31による計測時間とに基づき、モータ駆動電流値が単位時間内に発振振幅閾値を超える回数を計数するユニットである。なお、モータ駆動電流値とは、モータ制御部25によって周期的に測定されているモータ駆動電流の電流値のことである。   The timer 31 is a unit for counting elapsed time. The oscillation number counting unit 32 is based on the motor drive current value, the unit time calculated and set by the setting unit 34 (details will be described later), a preset oscillation amplitude threshold, and the measurement time by the timer 31. This unit counts the number of times that the drive current value exceeds the oscillation amplitude threshold within a unit time. The motor drive current value is a current value of the motor drive current that is periodically measured by the motor control unit 25.

発振回数計数部32は、モータ駆動電流値が、正の発振振幅閾値及び負の発振振幅閾値のいずれかを超える回数を計数するものであっても、モータ駆動電流値が、正又は負の発振振幅閾値を超える回数だけを計数するものであっても良い。   The oscillation number counting unit 32 counts the number of times that the motor drive current value exceeds either the positive oscillation amplitude threshold value or the negative oscillation amplitude threshold value, and the motor drive current value is positive or negative oscillation. Only the number of times exceeding the amplitude threshold may be counted.

発振判断部33は、発振回数計数部32による上記回数の計数結果が、予め定められている発振回数閾値以上となったときに、モータ41が発振していることを示す発振検出信号を出力するユニットである。設定部34は、モータ制御部25のゲイン設定Grefの逆数と発振回数閾値との乗算結果を算出し、算出結果を発振回数計数部32に単位時間として使用させるユニットである。なお、モータ制御部25のゲイン設定Grefとしては、位置比例ゲイン、速度比例ゲイン、トルク指令用ローパスフィルタの遮断周波数のいずれかを採用しておくことが好ましい。   The oscillation determination unit 33 outputs an oscillation detection signal indicating that the motor 41 is oscillating when the counting result of the number of times by the oscillation number counting unit 32 is equal to or greater than a predetermined oscillation frequency threshold. Is a unit. The setting unit 34 is a unit that calculates a multiplication result of the reciprocal of the gain setting Gref of the motor control unit 25 and the oscillation frequency threshold value and causes the oscillation frequency counting unit 32 to use the calculation result as a unit time. As the gain setting Gref of the motor control unit 25, it is preferable to employ any of a position proportional gain, a speed proportional gain, and a cutoff frequency of the torque command low pass filter.

以上の説明から明らかなように、発振検出部26は、基本的には、モータ駆動電流値が単位時間内に発振振幅閾値を超える回数をカウントし、当該回数のカウント結果が発振回数閾値以上であった場合に、発振を検出したと判定するユニットである。ただし、発振検出部26は、単位時間を、ゲイン設定Grefの逆数と発振回数閾値との乗算結果に変更する機能を有している。   As is apparent from the above description, the oscillation detection unit 26 basically counts the number of times that the motor drive current value exceeds the oscillation amplitude threshold within a unit time, and the count result of the number is equal to or greater than the oscillation frequency threshold. In this case, the unit determines that oscillation has been detected. However, the oscillation detection unit 26 has a function of changing the unit time to a multiplication result of the reciprocal of the gain setting Gref and the oscillation frequency threshold.

そして、ゲイン設定Grefの逆数と発振回数閾値との乗算結果は、単位時間としての使用に適した値となる。   The multiplication result of the reciprocal of the gain setting Gref and the oscillation frequency threshold is a value suitable for use as a unit time.

具体的には、1[Hz]の動作指令に対する応答波形に10[Hz]の発振が含まれている場合を考える。なお、位置比例ゲイン=5[Hz]、発振振幅閾値=5[%]、発振回数閾値=4[回]であるとする。   Specifically, a case is considered where the response waveform to the operation command of 1 [Hz] includes 10 [Hz] oscillation. It is assumed that the position proportional gain = 5 [Hz], the oscillation amplitude threshold value = 5 [%], and the oscillation frequency threshold value = 4 [times].

上記場合において、単位時間=0.1[sec]であった場合には、図3Aに示したように、発振回数カウント値が変化する。従って、発振検出部26(発振判断部33)は、発振を検出することが出来ない。一方、単位時間を、位置比例ゲインの逆数と発振回数閾値との乗算結果(この場合、0.8[sec])とすれば、図3Bに示したように、発振回数カウント値が変化することになるため、適切に発振を検出することが出来る。   In the above case, when the unit time = 0.1 [sec], the oscillation count value changes as shown in FIG. 3A. Therefore, the oscillation detection unit 26 (oscillation determination unit 33) cannot detect oscillation. On the other hand, if the unit time is the result of multiplying the reciprocal of the position proportional gain and the oscillation frequency threshold (in this case, 0.8 [sec]), the oscillation frequency count value changes as shown in FIG. 3B. Therefore, oscillation can be detected appropriately.

最後に、発振検出部26の各部により行われる処理(以下、発振検出処理と表記する)の内容を、流れ図を用いて説明しておくことにする。   Finally, the contents of processing (hereinafter referred to as oscillation detection processing) performed by each unit of the oscillation detection unit 26 will be described with reference to a flowchart.

図4に、発振検出処理の流れ図を示す。
図示してあるように、この発振検出処理を開始した発振検出部26は、まず、モータ制御部25の現在のゲイン設定を把握する(ステップS101)。次いで、発振検出部26は、ゲイン設定が前回把握したゲイン設定と同じであるか否かを判断する(ステップS1
02)。そして、発振検出部26は、ゲイン設定が変わっていなかった場合(ステップS102;YES)には、現ゲイン設定から単位時間を算出する(ステップS104)。なお、ゲイン設定が変わっていなかった場合(ステップS102;YES)、ステップS104の処理にて、前回算出されたものと同じ単位時間が算出されることになる。
FIG. 4 shows a flowchart of the oscillation detection process.
As shown in the figure, the oscillation detection unit 26 that has started this oscillation detection process first grasps the current gain setting of the motor control unit 25 (step S101). Next, the oscillation detection unit 26 determines whether or not the gain setting is the same as the gain setting grasped last time (step S1).
02). If the gain setting has not changed (step S102; YES), the oscillation detection unit 26 calculates a unit time from the current gain setting (step S104). If the gain setting has not changed (step S102; YES), the same unit time as that calculated last time is calculated in the process of step S104.

発振検出部26は、ゲイン設定が変わっていた場合(ステップS102;NO)には、発振回数カウント値及びタイマーを“0”リセット(ステップS103)してから、現ゲイン設定から単位時間を算出する(ステップS104)。すなわち、ゲイン設定が変わっていた場合(ステップS102;NO)には、単位時間が変更される(ステップS104)。そのため、変更後の単位時間で発振回数がはじめからカウントされるようにするために、発振回数カウント値及びタイマーが“0”リセットされる(ステップS103)。   If the gain setting has changed (step S102; NO), the oscillation detection unit 26 resets the oscillation count value and the timer to “0” (step S103), and then calculates the unit time from the current gain setting. (Step S104). That is, when the gain setting has been changed (step S102; NO), the unit time is changed (step S104). Therefore, the oscillation count value and the timer are reset to “0” so that the oscillation count is counted from the beginning in the unit time after the change (step S103).

ステップS104の処理を終えた発振検出部26は、タイマーをカウントアップする(ステップS105)。その後、発振検出部26は、前回にモータ駆動電流値(図4では、電流値)が発振振幅閾値を超えておらず、且つ、今回にモータ駆動電流値が発振振幅閾値を超えているかを判断する(ステップS106)。この発振検出閾値は、例えば正の閾値と負の閾値というように2つの発振振幅閾値を取ることもできる。その場合は、それぞれの閾値で、または、その閾値の組み合わせでステップS106の処理を行う。そして、発振検出部26は、前回にモータ駆動電流値が発振振幅閾値を超えている、または、今回にモータ駆動電流値が発振振幅閾値を超えていない場合(ステップS106;NO)には、ステップS101以降の処理を再び開始する。   The oscillation detector 26 that has finished the process of step S104 counts up the timer (step S105). Thereafter, the oscillation detection unit 26 determines whether the motor drive current value (current value in FIG. 4) has not exceeded the oscillation amplitude threshold value last time, and this time the motor drive current value has exceeded the oscillation amplitude threshold value. (Step S106). As the oscillation detection threshold, for example, two oscillation amplitude thresholds such as a positive threshold and a negative threshold can be taken. In that case, the process of step S106 is performed with each threshold value or a combination of the threshold values. Then, if the motor drive current value has exceeded the oscillation amplitude threshold value last time or the motor drive current value has not exceeded the oscillation amplitude threshold value this time (step S106; NO), the oscillation detection unit 26 performs step. The processing after S101 is started again.

一方、前回にモータ駆動電流値が発振振幅閾値を超えておらず、且つ、今回にモータ駆動電流値が発振振幅閾値を超えている場合(ステップS106;YES)、発振検出部26は、発振回数カウント値をカウントアップ(ステップS107)してから、タイマーによる計測時間が単位時間を超えているか否かを判断する(ステップS108)。   On the other hand, if the motor drive current value has not exceeded the oscillation amplitude threshold value last time and the motor drive current value has exceeded the oscillation amplitude threshold value this time (step S106; YES), the oscillation detection unit 26 determines the number of oscillations. After counting up the count value (step S107), it is determined whether or not the time measured by the timer exceeds the unit time (step S108).

発振検出部26は、タイマーによる計測時間が単位時間を超えていなかった場合(ステップS108;NO)には、ステップS101に戻る。また、発振検出部26は、計測時間が単位時間を超えていた場合(ステップS108;YES)には、発振回数カウント値が発振回数閾値以上となっているか否かを判断する(ステップS109)。   If the measurement time by the timer does not exceed the unit time (step S108; NO), the oscillation detection unit 26 returns to step S101. In addition, when the measurement time exceeds the unit time (step S108; YES), the oscillation detection unit 26 determines whether or not the oscillation count value is equal to or greater than the oscillation count threshold (step S109).

発振回数カウント値が発振回数閾値以上となっていなかった場合(ステップS109;NO)、発振検出部26は、発振回数カウント値及びタイマーを“0”リセット(ステップS110)してから、ステップS101に戻る。また、発振検出部26は、発振回数カウント値が発振回数閾値以上となっていた場合(ステップS109;YES)には、所定の発振検出信号を出力(ステップS111)してから、この発振検出処理を終了する。   When the oscillation frequency count value is not equal to or greater than the oscillation frequency threshold value (step S109; NO), the oscillation detection unit 26 resets the oscillation frequency count value and the timer to “0” (step S110), and then proceeds to step S101. Return. In addition, when the oscillation count value is equal to or greater than the oscillation count threshold (step S109; YES), the oscillation detection unit 26 outputs a predetermined oscillation detection signal (step S111) and then performs this oscillation detection process. Exit.

《第2実施形態》
以下、第1実施形態のモータ駆動装置20の説明時に用いたものと同じ符号を用いて、第2実施形態に係るモータ駆動装置20の構成及び動作を、第1実施形態のモータ駆動装置20と異なる部分を中心に説明する。なお、説明の便宜上、以下では、第N(N=1,2)実施形態に係るモータ駆動装置20、当該モータ駆動装置20内の発振検出部26のことを、それぞれ、第Nモータ駆動装置20、第N発振検出部26とも表記する。
<< Second Embodiment >>
Hereinafter, the configuration and operation of the motor drive device 20 according to the second embodiment are the same as those used in the description of the motor drive device 20 of the first embodiment, with the motor drive device 20 of the first embodiment. The description will focus on the different parts. For convenience of explanation, hereinafter, the motor driving device 20 according to the Nth (N = 1, 2) embodiment and the oscillation detection unit 26 in the motor driving device 20 are respectively referred to as the Nth motor driving device 20. The Nth oscillation detector 26 is also expressed.

第2モータ駆動装置20(第2実施形態に係るモータ駆動装置20)は、第1モータ駆動装置20の第1発振検出部26を、第2発振検出部26に置き換えた装置である。   The second motor drive device 20 (the motor drive device 20 according to the second embodiment) is a device in which the first oscillation detection unit 26 of the first motor drive device 20 is replaced with a second oscillation detection unit 26.

図5に、第2発振検出部26の機能ブロック図を示す。
この図5と図2とを比較すれば明らかなように、第2発振検出部26は、第1発振検出
部26(図2)に変更部35を追加した構成を有している。
FIG. 5 shows a functional block diagram of the second oscillation detection unit 26.
As apparent from a comparison between FIG. 5 and FIG. 2, the second oscillation detection unit 26 has a configuration in which a change unit 35 is added to the first oscillation detection unit 26 (FIG. 2).

変更部35は、モータ制御部25の制御モードや、モータ制御部25への指令の入力の有無により、発振回数閾値及び発振振幅閾値の値を変更するユニットである。   The changing unit 35 is a unit that changes the values of the oscillation frequency threshold value and the oscillation amplitude threshold value depending on the control mode of the motor control unit 25 and whether or not a command is input to the motor control unit 25.

以下、流れ図を用いて、変更部35の機能を説明する。
図6及び図7に、第2発振検出部26の各部により行われる第2発振検出処理の流れ図を示す。
Hereinafter, the function of the changing unit 35 will be described with reference to a flowchart.
6 and 7 are flowcharts of the second oscillation detection process performed by each unit of the second oscillation detection unit 26. FIG.

この第2発振検出処理のステップS211〜S220の処理は、それぞれ、発振検出処理(図4)のステップS102〜S111の処理と同じ処理である。第2発振検出処理のステップS201の処理では、発振検出処理(図4)のステップS101と同様に、モータ制御部25の現在のゲイン設定が把握される。ただし、ステップS201の処理では、モータ制御部25の現在の制御モードも把握される。また、モータ制御部25への指令の入力の有無も把握(判定)される。   The processes of steps S211 to S220 of the second oscillation detection process are the same as the processes of steps S102 to S111 of the oscillation detection process (FIG. 4), respectively. In the process of step S201 of the second oscillation detection process, the current gain setting of the motor control unit 25 is grasped as in step S101 of the oscillation detection process (FIG. 4). However, in the process of step S201, the current control mode of the motor control unit 25 is also grasped. Further, the presence / absence of a command input to the motor control unit 25 is also grasped (determined).

変更部35は、第2発振検出処理のステップS202〜S207の処理を担当するユニットである。   The changing unit 35 is a unit that takes charge of the processes of steps S202 to S207 of the second oscillation detection process.

すなわち、第2発振検出部26は、ステップS201の処理後、変更部35としての動作を開始する。そして、変更部35としての動作を開始した第2発振検出部26は、モータ制御部25の制御モードが前回把握した制御モードと同じであるか否かを判断する(ステップS202)。   That is, the second oscillation detection unit 26 starts the operation as the changing unit 35 after the process of step S201. Then, the second oscillation detection unit 26 that has started the operation as the changing unit 35 determines whether or not the control mode of the motor control unit 25 is the same as the control mode grasped last time (step S202).

発振検出部26は、制御モードが変わっていた場合(ステップS202;NO)には、発振回数カウント値及びタイマーを“0”リセットする(ステップS203)。そして、発振検出部26は、発振回数閾値及び発振振幅閾値の値を、現制御モード用のものとして用意されている値に変更(ステップS204)してから、指令の入力の有無が前回と同じであるか否かを判断する(ステップS205)。   When the control mode has changed (step S202; NO), the oscillation detection unit 26 resets the oscillation count value and the timer to “0” (step S203). Then, the oscillation detection unit 26 changes the values of the oscillation frequency threshold value and the oscillation amplitude threshold value to values prepared for the current control mode (step S204), and whether or not a command is input is the same as the previous time. It is determined whether or not (step S205).

また、発振検出部26は、制御モードが変わっていなかった場合(ステップS202;YES)には、ステップS203及びS204の処理を行うことなく、ステップS205の判断を行う。   Further, when the control mode has not changed (step S202; YES), the oscillation detection unit 26 performs the determination in step S205 without performing the processes in steps S203 and S204.

指令の入力の有無が前回と同じであった場合(ステップS205;YES)、発振検出部26は、ステップS211以降の処理を開始する。一方、指令の入力の有無が前回と同じではなかった場合(ステップS205;NO)、すなわち、指令の入力が再開された場合や指令の入力が停止された場合、発振検出部26は、発振回数カウント値及びタイマーを“0”リセットする(ステップS206)。そして、発振検出部26は、発振回数閾値及び発振振幅閾値の値を、各状況(指令入力無し、指令入力有り)用のものとして用意されている値に変更(ステップS207)してから、ステップS211以降の処理を開始する。   When the presence / absence of command input is the same as the previous time (step S205; YES), the oscillation detection unit 26 starts the processing from step S211 onward. On the other hand, when the presence / absence of the command input is not the same as the previous time (step S205; NO), that is, when the command input is resumed or the command input is stopped, the oscillation detection unit 26 counts the number of oscillations. The count value and the timer are reset to “0” (step S206). Then, the oscillation detection unit 26 changes the values of the oscillation frequency threshold value and the oscillation amplitude threshold value to values prepared for each situation (no command input, command input) (step S207), and then the step The processing after S211 is started.

以上、説明したように、本実施形態に係るモータ駆動装置20は、単位時間を変更する機能に加えて、発振回数閾値及び発振振幅閾値の値を、モータ制御部25の動作状態(制御モード、モータ制御部25への指令入力の有無)に応じた値に変更する機能を有している。そして、発振回数閾値及び発振振幅閾値の適正値は、モータ制御部25の動作状態によって変化するのであるから、本実施形態に係るモータ駆動装置20によれば、上記した第1実施形態に係るモータ駆動装置20よりも良好にモータ41の発振を検出することが可能となる。   As described above, in addition to the function of changing the unit time, the motor drive device 20 according to the present embodiment sets the oscillation frequency threshold value and the oscillation amplitude threshold value to the operation state (control mode, It has a function of changing to a value according to whether or not a command is input to the motor control unit 25. The appropriate values of the oscillation frequency threshold value and the oscillation amplitude threshold value vary depending on the operation state of the motor control unit 25. Therefore, according to the motor drive device 20 according to the present embodiment, the motor according to the first embodiment described above. It becomes possible to detect the oscillation of the motor 41 better than the drive device 20.

《変形形態》
上記した各実施形態に係るモータ駆動装置20は、各種の変形を行えるものである。例えば、第2実施形態に係るモータ駆動装置20から、ステップS202〜S204の処理を実行する機能や、ステップS205〜S206の処理を実行する機能を取り除いておいても良い。第2実施形態に係るモータ駆動装置20を、発振回数閾値及び発振振幅閾値の中のいずれか一方のみの値を変更する装置に変形しても良い。
<Deformation>
The motor driving device 20 according to each of the above-described embodiments can perform various modifications. For example, the function of executing the processes of steps S202 to S204 and the function of executing the processes of steps S205 to S206 may be removed from the motor drive device 20 according to the second embodiment. The motor drive device 20 according to the second embodiment may be modified to a device that changes only one of the oscillation frequency threshold value and the oscillation amplitude threshold value.

《付記》
モータ(41)に駆動電流を供給することで前記モータ(41)を駆動するモータ制御部(25)と、
前記駆動電流の電流値が単位時間内に発振振幅閾値を超える回数をカウントし、前記回数のカウント結果が発振回数閾値以上であった場合に、発振を検出したと判定する発振検出部(32,33)と、
前記モータ制御部に設定されているパラメータの値に基づき前記単位時間として使用されるべき時間を算出し、算出した時間を前記単位時間として前記発振検出部に設定する設定部(34)と、
を備えることを特徴とするモータ駆動装置(20)。
《Appendix》
A motor controller (25) for driving the motor (41) by supplying a drive current to the motor (41);
An oscillation detector (32, 32) that counts the number of times the current value of the drive current exceeds the oscillation amplitude threshold value within a unit time and determines that oscillation has been detected when the count result is equal to or greater than the oscillation frequency threshold 33)
A setting unit (34) for calculating a time to be used as the unit time based on a parameter value set in the motor control unit, and setting the calculated time in the oscillation detection unit as the unit time;
A motor drive device (20) comprising:

20 モータ駆動装置
22 モータ駆動回路
23 制御部
25 モータ制御部
26 発振検出部
32 発振回数計数部
33 発振判断部
34 設定部
35 変更部
41 モータ
43 位置検出器
DESCRIPTION OF SYMBOLS 20 Motor drive device 22 Motor drive circuit 23 Control part 25 Motor control part 26 Oscillation detection part 32 Oscillation frequency count part 33 Oscillation judgment part 34 Setting part 35 Change part 41 Motor 43 Position detector

Claims (5)

モータに駆動電流を供給することで前記モータを駆動するモータ制御部と、
前記駆動電流の電流値が単位時間内に発振振幅閾値を超える回数をカウントし、前記回数のカウント結果が発振回数閾値以上であった場合に、発振を検出したと判定する発振検出部と、
前記モータ制御部に設定されているパラメータの値に基づき前記単位時間として使用されるべき時間を算出し、算出した時間を前記単位時間として前記発振検出部に設定する設定部と、
を備えることを特徴とするモータ駆動装置。
A motor controller for driving the motor by supplying a driving current to the motor;
An oscillation detection unit that counts the number of times the current value of the drive current exceeds an oscillation amplitude threshold within a unit time, and determines that oscillation is detected when the count result is equal to or greater than the oscillation frequency threshold;
A setting unit that calculates a time to be used as the unit time based on a parameter value set in the motor control unit, and sets the calculated time in the oscillation detection unit as the unit time;
A motor drive device comprising:
前記設定部は、位置比例ゲイン、速度比例ゲイン、トルク指令用ローパスフィルタの遮断周波数のいずれかについての前記モータ制御部の設定値に基づき前記単位時間として使用されるべき時間を算出し、算出した時間を前記単位時間として前記発振検出部に設定する、
ことを特徴とする請求項1に記載のモータ駆動装置。
The setting unit calculates a time to be used as the unit time based on a setting value of the motor control unit for any one of a position proportional gain, a speed proportional gain, and a cutoff frequency of a torque command low pass filter, Set time in the oscillation detection unit as the unit time,
The motor driving apparatus according to claim 1.
前記発振回数閾値及び前記発振振幅閾値の少なくとも一方の値を、前記モータ制御部の動作状態に応じた値に変更する閾値変更部を、さらに備える、
ことを特徴とする請求項1又は2に記載のモータ駆動装置。
A threshold change unit that changes at least one of the oscillation frequency threshold and the oscillation amplitude threshold to a value according to an operation state of the motor control unit;
The motor drive device according to claim 1 or 2, wherein
前記モータ制御部は、前記モータを駆動するための複数の制御モードを有し、
前記モータ制御部の前記動作状態が、前記モータ制御部の制御モードである、
ことを特徴とする請求項3に記載のモータ駆動装置。
The motor control unit has a plurality of control modes for driving the motor,
The operation state of the motor control unit is a control mode of the motor control unit;
The motor driving device according to claim 3.
前記モータ制御部の前記動作状態が、前記モータ制御部への指令の入力の有無である、
ことを特徴とする請求項3又は4に記載のモータ駆動装置。
The operation state of the motor control unit is the presence or absence of input of a command to the motor control unit,
The motor drive device according to claim 3 or 4, wherein
JP2018045321A 2018-03-13 2018-03-13 Motor drive Active JP7006398B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018045321A JP7006398B2 (en) 2018-03-13 2018-03-13 Motor drive
PCT/JP2019/002745 WO2019176338A1 (en) 2018-03-13 2019-01-28 Motor drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018045321A JP7006398B2 (en) 2018-03-13 2018-03-13 Motor drive

Publications (2)

Publication Number Publication Date
JP2019161844A true JP2019161844A (en) 2019-09-19
JP7006398B2 JP7006398B2 (en) 2022-01-24

Family

ID=67906625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018045321A Active JP7006398B2 (en) 2018-03-13 2018-03-13 Motor drive

Country Status (2)

Country Link
JP (1) JP7006398B2 (en)
WO (1) WO2019176338A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113541541B (en) * 2020-04-22 2023-12-05 柯尼卡美能达株式会社 Control method and control system for image forming apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09200901A (en) * 1996-01-22 1997-07-31 Toyota Motor Corp Abnormality diagnostic device for drive system
JPH09247982A (en) * 1996-03-11 1997-09-19 Mitsubishi Electric Corp Controller of refrigerator with freezer
JP2001178188A (en) * 1999-12-21 2001-06-29 Japan Servo Co Ltd Device for detecting oscillations of servomotor and detecting method therefor
WO2009136639A1 (en) * 2008-05-09 2009-11-12 株式会社 明電舎 System stabilizing device
JP2014183651A (en) * 2013-03-19 2014-09-29 Panasonic Corp Motor driver

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09200901A (en) * 1996-01-22 1997-07-31 Toyota Motor Corp Abnormality diagnostic device for drive system
JPH09247982A (en) * 1996-03-11 1997-09-19 Mitsubishi Electric Corp Controller of refrigerator with freezer
JP2001178188A (en) * 1999-12-21 2001-06-29 Japan Servo Co Ltd Device for detecting oscillations of servomotor and detecting method therefor
WO2009136639A1 (en) * 2008-05-09 2009-11-12 株式会社 明電舎 System stabilizing device
JP2014183651A (en) * 2013-03-19 2014-09-29 Panasonic Corp Motor driver

Also Published As

Publication number Publication date
JP7006398B2 (en) 2022-01-24
WO2019176338A1 (en) 2019-09-19

Similar Documents

Publication Publication Date Title
US11919129B2 (en) Adaptive impact blow detection
US10613240B2 (en) Seismic sensor and threshold adjusting method
US11422272B2 (en) Seismic sensor and earthquake determination method
CN111052595A (en) Servo driver and state change detection method
WO2019176338A1 (en) Motor drive device
JP2011063231A (en) Electronic control device for vehicle
CN108370152B (en) Overload detection in a power tool
CN111493741B (en) Dust box detection method and device, electronic equipment and computer readable storage medium
JP2008022649A (en) Device for removing noise from pulse signal
JP2011091940A (en) Battery voltage monitoring method
JP5674844B2 (en) Duty ratio detection circuit and method for PWM signal
JP2023016889A (en) Touch sensor, control apparatus, and computer program
CN211554238U (en) Key detection circuit, touch screen and heating and ventilation equipment
JP5521233B2 (en) Motor drive device and operation method thereof
US11933644B2 (en) Touch detecting apparatus
JP7200056B2 (en) Touch sensors, controllers, and computer programs
US20230387839A1 (en) Rotation angle detecting method, recording medium storing rotation angle detecting program, and rotation angle detecting device
JP6348860B2 (en) Vehicle control device
JP3027090B2 (en) Induction heating device
JP2012125038A (en) Motor control device
RU2021112836A (en) Personal hygiene device
CN116923429A (en) Vehicle speed calculation method, vehicle, and computer-readable storage medium
CN111971894A (en) Method for operating a power converter, power converter for permanently excited electrical machines, vehicle and computer program product
JP2018117467A5 (en)
JP2007166769A (en) Method and apparatus for driving and controlling brushless motor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210518

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210716

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211220

R150 Certificate of patent or registration of utility model

Ref document number: 7006398

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150