JP6307343B2 - Motor driving device and control method of motor driving device - Google Patents

Motor driving device and control method of motor driving device Download PDF

Info

Publication number
JP6307343B2
JP6307343B2 JP2014096908A JP2014096908A JP6307343B2 JP 6307343 B2 JP6307343 B2 JP 6307343B2 JP 2014096908 A JP2014096908 A JP 2014096908A JP 2014096908 A JP2014096908 A JP 2014096908A JP 6307343 B2 JP6307343 B2 JP 6307343B2
Authority
JP
Japan
Prior art keywords
value
motor
circuit
abnormality detection
signal
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.)
Active
Application number
JP2014096908A
Other languages
Japanese (ja)
Other versions
JP2015213931A (en
Inventor
善規 坂口
善規 坂口
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.)
Daihen Corp
Original Assignee
Daihen Corp
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 Daihen Corp filed Critical Daihen Corp
Priority to JP2014096908A priority Critical patent/JP6307343B2/en
Priority to CN201510169330.8A priority patent/CN105099285B/en
Publication of JP2015213931A publication Critical patent/JP2015213931A/en
Application granted granted Critical
Publication of JP6307343B2 publication Critical patent/JP6307343B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Description

モータ駆動装置及びモータ駆動装置の制御方法に関する。   The present invention relates to a motor drive device and a control method for the motor drive device.

従来、消耗電極を用いてアーク溶接を行うアーク溶接機は、消耗電極を溶接対象へ供給する供給装置を有している。供給装置は、消耗電極を送給するためのモータの回転数に応じたパルス信号を出力するロータリエンコーダを有している。アーク溶接機の制御装置は、供給装置から出力されるパルス信号に基づいて消耗電極の送給量を監視し、溶接に応じた量の消耗電極を溶接対象へ供給するように、供給装置のモータの回転を制御する(例えば、特許文献1参照)。   Conventionally, an arc welding machine that performs arc welding using a consumable electrode has a supply device that supplies the consumable electrode to a welding target. The supply device has a rotary encoder that outputs a pulse signal corresponding to the number of rotations of the motor for feeding the consumable electrode. The control device of the arc welding machine monitors the feed amount of the consumable electrode based on the pulse signal output from the supply device, and supplies the motor of the supply device so that the amount of consumable electrode corresponding to welding is supplied to the welding object. (See, for example, Patent Document 1).

特開2002−172464号公報JP 2002-172464 A

ところで、上記のパルス信号を伝達する信号線等の断線やロータリエンコーダの故障等のような異常が発生した場合、モータが最大回転数で回転するため、溶接ワイヤが過度に供給される。このため、溶接ワイヤが無駄に消費されたり、溶接品質の低下を招いたりする。   By the way, when an abnormality such as disconnection of the signal line transmitting the pulse signal or failure of the rotary encoder occurs, the motor rotates at the maximum number of rotations, so that the welding wire is supplied excessively. For this reason, the welding wire is wasted, or the welding quality is degraded.

本発明は、上記課題を解決するためになされたものであって、その目的は、消耗電極の過度な送給を低減することにある。   The present invention has been made to solve the above-described problems, and an object thereof is to reduce excessive feeding of consumable electrodes.

上記の課題を解決するモータ駆動装置は、消耗電極により溶接を行う溶接機に含まれ、前記消耗電極を送給するモータを駆動するモータ駆動装置であって、送給指令値と送給帰還値とを比較演算して制御値を生成する比較演算回路と、送給基準値を出力する基準値設定回路と、前記制御値と前記送給基準値とを第1異常検出信号に応じて選択的に切り換えて出力する切換回路と、前記切換回路の出力値に応じて前記モータを駆動する駆動信号を出力する駆動回路と、前記モータの回転に応じたパルス信号の周期を測定した結果の値を出力する周期測定回路と、前記周期測定回路の出力値を前記送給帰還値に変換する信号変換回路と、前記周期測定回路の出力値を第1基準判定値と比較し、比較結果に応じて前記第1異常検出信号を出力する異常検出回路と、を有する。   A motor driving device that solves the above problem is a motor driving device that is included in a welding machine that performs welding with a consumable electrode and drives a motor that feeds the consumable electrode, and includes a feed command value and a feed feedback value. And a reference value setting circuit for outputting a feed reference value, and the control value and the feed reference value are selectively selected according to a first abnormality detection signal. A switching circuit for switching to output, a driving circuit for outputting a driving signal for driving the motor in accordance with an output value of the switching circuit, and a value obtained as a result of measuring a cycle of a pulse signal corresponding to the rotation of the motor. Comparing the output value of the period measurement circuit, the signal conversion circuit for converting the output value of the period measurement circuit into the feeding feedback value, and the output value of the period measurement circuit with the first reference determination value, and according to the comparison result An abnormality that outputs the first abnormality detection signal Having a detection circuit.

この構成によれば、制御値が選択されたとき、送給指令値と送給帰還値に基づいて、送給指令値に応じてモータを駆動する駆動信号が生成される。送給基準値が選択されたとき、その送給基準値に応じてモータを駆動する駆動信号が生成される。パルス信号がパルス状に変化しない異常が発生したとき、制御値に換えて送給基準値を用いてモータを駆動することで、モータの最大回転数ではなく送給基準値に応じた回転数にてモータを回転させることが可能となる。モータにより消耗電極を送給するため、そのモータの回転数を低く抑えることで、消耗電極の過度な送給を抑制することができる。   According to this configuration, when the control value is selected, a drive signal for driving the motor according to the feed command value is generated based on the feed command value and the feed feedback value. When the feed reference value is selected, a drive signal for driving the motor is generated according to the feed reference value. When an abnormality occurs in which the pulse signal does not change in a pulse shape, the motor is driven using the feed reference value instead of the control value, so that the rotation speed corresponds to the feed reference value instead of the maximum motor speed. The motor can be rotated. Since the consumable electrode is fed by the motor, excessive feeding of the consumable electrode can be suppressed by keeping the rotation speed of the motor low.

上記のモータ駆動装置において、前記異常検出回路は、前記周期測定回路の出力値を前記第1基準判定値より大きな第2基準判定値と比較し、比較結果に応じて第2異常検出信号を出力し、前記消耗電極の送給開始を指示する起動信号が供給され、前記第2異常検出信号に応じて、前記比較演算回路に対する前記起動信号の供給または供給停止を切り換える第2切換回路を有し、前記比較演算回路は、前記起動信号の供給停止に応じて前記モータを停止するよう前記制御値を生成することが好ましい。   In the motor driving apparatus, the abnormality detection circuit compares the output value of the period measurement circuit with a second reference determination value larger than the first reference determination value, and outputs a second abnormality detection signal according to the comparison result. A start signal for instructing the start of feeding the consumable electrode, and a second switching circuit for switching the supply or stop of the start signal to the comparison operation circuit according to the second abnormality detection signal. The comparison operation circuit preferably generates the control value so as to stop the motor in response to the supply stop of the start signal.

この構成によれば、パルス信号がパルス状に変化しない状態が第2基準判定値まで続いたときに起動信号の供給を停止することで、モータを停止させてそのモータによる消耗電極の送給を停止することが可能となる。   According to this configuration, when the state where the pulse signal does not change in a pulse shape continues to the second reference determination value, the supply of the start signal is stopped, so that the motor is stopped and the consumable electrode is supplied by the motor. It becomes possible to stop.

上記のモータ駆動装置において、前記異常検出回路は、前記起動信号の供給を停止するように前記第2異常検出信号を生成するとき、前記比較演算回路からの制御値を前記駆動回路に供給するように前記第1異常検出信号を生成することが好ましい。   In the motor drive device, the abnormality detection circuit supplies the control value from the comparison operation circuit to the drive circuit when generating the second abnormality detection signal so as to stop the supply of the start signal. Preferably, the first abnormality detection signal is generated.

この構成によれば、起動信号の供給停止に応じて比較演算回路により生成される制御値を駆動回路に供給することで、モータを停止させてそのモータによる消耗電極の送給を停止することができる。   According to this configuration, the supply of the consumable electrode by the motor can be stopped by supplying the control value generated by the comparison operation circuit to the drive circuit in response to the supply stop of the activation signal. it can.

上記のモータ駆動装置において、前記周期測定回路は、前記パルス信号立ち上がりと立ち下がりとに基づいて前記パルス信号の半周期を測定してその測定した結果の値を出力することが好ましい。   In the above motor drive device, it is preferable that the period measurement circuit measures a half period of the pulse signal based on the rise and fall of the pulse signal and outputs a value of the measurement result.

この構成によれば、パルス信号の立ち上がりから立ち下がりまでの半周期と、立ち下がりから立ち上がりまでの半周期を測定する。したがって、パルス信号の立ち上がり後と立ち下がり後に発生する異常に応じてモータを制御することが可能となる。   According to this configuration, the half cycle from the rise to the fall of the pulse signal and the half cycle from the fall to the rise are measured. Therefore, it is possible to control the motor in accordance with the abnormality that occurs after the rise and fall of the pulse signal.

上記の課題を解決するモータ駆動装置の制御方法は、消耗電極により溶接を行う溶接機に含まれ、前記消耗電極を送給するモータを駆動するモータ駆動装置の制御方法であって、送給指令値と送給帰還値とを比較演算して制御値を生成し、前記制御値と送給基準値とを第1異常検出信号に応じて選択し、選択した前記制御値または前記送給基準値に応じて前記モータを駆動する駆動信号を生成し、前記モータの回転に応じたパルス信号の周期を測定し、前記パルス信号の周期を前記送給帰還値に変換する信号変換回路と、前記パルス信号の周期を第1基準判定値と比較し、比較結果に応じて前記第1異常検出信号を生成する。   A control method for a motor drive device that solves the above-mentioned problem is a control method for a motor drive device that is included in a welding machine that performs welding with a consumable electrode and that drives a motor that feeds the consumable electrode. A control value is generated by comparing and calculating the value and the feeding feedback value, the control value and the feeding reference value are selected according to the first abnormality detection signal, and the selected control value or the feeding reference value is selected. A signal conversion circuit for generating a drive signal for driving the motor according to the rotation, measuring a cycle of the pulse signal according to the rotation of the motor, and converting the cycle of the pulse signal into the feed feedback value; and The period of the signal is compared with the first reference determination value, and the first abnormality detection signal is generated according to the comparison result.

この構成によれば、制御値が選択されたとき、送給指令値と送給帰還値に基づいて、送給指令値に応じてモータを駆動する駆動信号が生成される。送給基準値が選択されたとき、その送給基準値に応じてモータを駆動する駆動信号が生成される。パルス信号がパルス状に変化しない異常が発生したとき、制御値に換えて送給基準値を用いてモータを駆動することで、モータの最大回転数ではなく送給基準値に応じた回転数にてモータを回転させることが可能となる。モータにより消耗電極を送給するため、そのモータの回転数を低く抑えることで、消耗電極の過度な送給を抑制することができる。   According to this configuration, when the control value is selected, a drive signal for driving the motor according to the feed command value is generated based on the feed command value and the feed feedback value. When the feed reference value is selected, a drive signal for driving the motor is generated according to the feed reference value. When an abnormality occurs in which the pulse signal does not change in a pulse shape, the motor is driven using the feed reference value instead of the control value, so that the rotation speed corresponds to the feed reference value instead of the maximum motor speed. The motor can be rotated. Since the consumable electrode is fed by the motor, excessive feeding of the consumable electrode can be suppressed by keeping the rotation speed of the motor low.

本発明によれば、消耗電極の過度な送給を低減することができる。   According to the present invention, excessive feeding of the consumable electrode can be reduced.

アーク溶接機の概略図である。It is the schematic of an arc welding machine. モータ駆動回路の電気ブロック図である。It is an electric block diagram of a motor drive circuit. モータ駆動回路の動作を説明する波形図である。It is a wave form diagram explaining operation | movement of a motor drive circuit. モータ駆動回路の動作を説明する波形図である。It is a wave form diagram explaining operation | movement of a motor drive circuit. モータ駆動回路の動作を説明する波形図である。It is a wave form diagram explaining operation | movement of a motor drive circuit. 比較例のモータ駆動回路のブロック図である。It is a block diagram of the motor drive circuit of a comparative example. 比較例のモータ駆動回路の動作を説明する波形図である。It is a wave form diagram explaining operation | movement of the motor drive circuit of a comparative example. 比較例のモータ駆動回路の動作を説明する波形図である。It is a wave form diagram explaining operation | movement of the motor drive circuit of a comparative example.

以下、一実施形態を説明する。
図1に示すように、アーク溶接機10は、溶接用電源11、供給装置12、溶接トーチ13を有している。溶接対象21は溶接用電源11に接続される。
Hereinafter, an embodiment will be described.
As shown in FIG. 1, the arc welder 10 includes a welding power source 11, a supply device 12, and a welding torch 13. The welding object 21 is connected to the welding power source 11.

溶接用電源11は、制御装置14を有している。制御装置14は、溶接用電源11から溶接トーチ13に保持される溶接ワイヤ15に供給する溶接電力を制御する。また、制御装置14は、供給装置12を制御し、供給装置12から溶接対象21へ溶接ワイヤ15を供給する。   The welding power source 11 has a control device 14. The control device 14 controls the welding power supplied from the welding power source 11 to the welding wire 15 held by the welding torch 13. Further, the control device 14 controls the supply device 12 to supply the welding wire 15 from the supply device 12 to the welding target 21.

供給装置12は、溶接ワイヤ15を溶接対象へ送給するためのモータと、そのモータの回転を検出するためのセンサを有している。例えば、モータはサーボモータであり、センサはモータ一体的に取着されたロータリエンコーダである。ロータリエンコーダは、モータの回転数に応じた周期のパルス信号を出力する。制御装置14は、パルス信号に基づいて、モータを駆動する。つまり、制御装置14は、モータに対する駆動信号を、そのモータの回線に応じたパルス信号により制御する、所謂フィードバック制御する。   The supply device 12 has a motor for feeding the welding wire 15 to the welding target and a sensor for detecting the rotation of the motor. For example, the motor is a servo motor, and the sensor is a rotary encoder attached integrally with the motor. The rotary encoder outputs a pulse signal having a cycle corresponding to the number of rotations of the motor. The control device 14 drives the motor based on the pulse signal. That is, the control device 14 performs so-called feedback control in which the drive signal for the motor is controlled by a pulse signal corresponding to the motor line.

図2に示すように、制御装置14は、図1に示す供給装置12に含まれるモータM1及びロータリエンコーダR1に接続されたモータ駆動装置30を有している。
モータ駆動装置30は、モータ制御回路31と駆動回路32を有している。モータ制御回路31は、例えば中央演算処理装置(CPU)、またはCPUに含まれるデジタル処理回路である。モータ制御回路31は、起動信号Stに基づいて動作し、送給指令値CwとロータリエンコーダR1からのパルス信号Reに基づいて、制御値Eaを出力する。駆動回路32は、制御値Eaを駆動信号Drに変換する。駆動信号Drは、モータM1を駆動するレベルの信号である。
As shown in FIG. 2, the control device 14 has a motor drive device 30 connected to the motor M1 and the rotary encoder R1 included in the supply device 12 shown in FIG.
The motor drive device 30 includes a motor control circuit 31 and a drive circuit 32. The motor control circuit 31 is, for example, a central processing unit (CPU) or a digital processing circuit included in the CPU. The motor control circuit 31 operates based on the start signal St, and outputs a control value Ea based on the feed command value Cw and the pulse signal Re from the rotary encoder R1. The drive circuit 32 converts the control value Ea into a drive signal Dr. The drive signal Dr is a signal at a level for driving the motor M1.

本実施形態において、モータ駆動装置30は、パルス幅変調(PWM)制御によりモータM1を駆動する。駆動回路32は、制御値Eaの値に応じたパルス幅の駆動信号Drを出力する。例えば、駆動回路32は、制御値Eaの値が大きいほど駆動信号Drのパルス幅を広くする。駆動信号Drのパルス幅は、モータM1に駆動電圧を加える時間に対応する。したがって、駆動信号Drのパルス幅を大きくすることは、モータM1を回転しようとする力を大きくする。また、駆動信号Drのパルス幅を大きくすることは、モータM1の回転速度を速くする。   In the present embodiment, the motor driving device 30 drives the motor M1 by pulse width modulation (PWM) control. The drive circuit 32 outputs a drive signal Dr having a pulse width corresponding to the control value Ea. For example, the drive circuit 32 increases the pulse width of the drive signal Dr as the control value Ea increases. The pulse width of the drive signal Dr corresponds to the time during which the drive voltage is applied to the motor M1. Therefore, increasing the pulse width of the drive signal Dr increases the force for rotating the motor M1. Further, increasing the pulse width of the drive signal Dr increases the rotational speed of the motor M1.

モータ制御回路31は、比較演算回路41、周期測定回路42、周期変換回路43、異常検出回路44、基準値設定回路45、スイッチSw1,Sw2を有している。
起動信号Stは、スイッチSw2を介して比較演算回路41に供給される。スイッチSw2は、後述する異常検出信号Er2に基づいてオンオフする。
The motor control circuit 31 includes a comparison operation circuit 41, a period measurement circuit 42, a period conversion circuit 43, an abnormality detection circuit 44, a reference value setting circuit 45, and switches Sw1 and Sw2.
The activation signal St is supplied to the comparison operation circuit 41 via the switch Sw2. The switch Sw2 is turned on / off based on an abnormality detection signal Er2 described later.

起動信号Stは、図1に示す溶接ワイヤ15の送給・停止、つまり供給装置12(モータM1)の起動・停止を指示する信号である。例えば、Hレベルの起動信号Stは溶接ワイヤ15の送給(モータM1の起動)に対応し、Lレベルの起動信号Stは溶接ワイヤ15の送給停止(モータM1の停止)に対応する。   The start signal St is a signal for instructing to start / stop the feeding wire 15 shown in FIG. 1, that is, the supply device 12 (motor M1). For example, the H level start signal St corresponds to feeding of the welding wire 15 (start of the motor M1), and the L level start signal St corresponds to stop of feeding of the welding wire 15 (stop of the motor M1).

スイッチSw2は、異常検出回路44からの異常検出信号Er2に基づいてオンオフする。例えば、スイッチSw2は、Lレベルの異常検出信号Er2に基づいてオンし、Hレベルの異常検出信号Er2に基づいてオフする。スイッチSw2がオンすると、起動信号Stが比較演算回路41に供給され、スイッチSw2がオフすると、起動信号Stの供給が停止される。   The switch Sw2 is turned on / off based on the abnormality detection signal Er2 from the abnormality detection circuit 44. For example, the switch Sw2 is turned on based on the L level abnormality detection signal Er2, and is turned off based on the H level abnormality detection signal Er2. When the switch Sw2 is turned on, the activation signal St is supplied to the comparison operation circuit 41. When the switch Sw2 is turned off, the supply of the activation signal St is stopped.

比較演算回路41には、送給指令値Cwが供給される。また、比較演算回路41には、後述する周期変換回路43からの送給フィードバック値Fwが供給される。
比較演算回路41は、Hレベルの起動信号Stに応答して、送給指令値Cwと送給フィードバック値Fwを演算処理して制御値Eaを生成する。比較演算回路41は、送給指令値Cwと送給フィードバック値Fwの差を最小とするように、制御値Eaを生成する。演算処理は、例えばPID演算である。比例係数をKp、微分係数をKd、積分係数をKiとする。
The comparison operation circuit 41 is supplied with a feed command value Cw. The comparison operation circuit 41 is supplied with a feed feedback value Fw from a cycle conversion circuit 43 described later.
In response to the H level activation signal St, the comparison operation circuit 41 calculates the feed command value Cw and the feed feedback value Fw to generate the control value Ea. The comparison calculation circuit 41 generates the control value Ea so as to minimize the difference between the feed command value Cw and the feed feedback value Fw. The calculation process is, for example, a PID calculation. The proportionality coefficient is Kp, the differential coefficient is Kd, and the integration coefficient is Ki.

比較演算回路41は、所定の時間毎に演算処理を行うデジタル処理回路である。比較演算回路41は、レジスタ等の記憶回路を有し、この記憶回路に演算処理毎の各値(送給指令値Cw、送給フィードバック値Fw)を記憶する。   The comparison operation circuit 41 is a digital processing circuit that performs an operation process every predetermined time. The comparison calculation circuit 41 has a storage circuit such as a register, and stores each value (feed command value Cw, feed feedback value Fw) for each calculation process.

所定時刻(t)において算出する制御値EaをEa(t)とする。比較演算回路41は、この時刻(t)における送給指令値Cw(t)と送給フィードバック値Fw(t)を記憶する。比較演算回路41は、過去の時刻(t−1),(t−2)における送給指令値Cw(t−1),Cw(t−2),送給フィードバック値Fw(t−1),Fw(t−2)を記憶している。   A control value Ea calculated at a predetermined time (t) is defined as Ea (t). The comparison operation circuit 41 stores the feed command value Cw (t) and the feed feedback value Fw (t) at this time (t). The comparison operation circuit 41 includes the feed command values Cw (t-1), Cw (t-2), the feed feedback value Fw (t-1) at the past times (t-1) and (t-2), Fw (t-2) is stored.

PID演算における演算式は、例えば次式(1)である。
Ea(t)=Kp×(e(t)−e(t-1))+Ki×e(t)
+Kd×((e(t)−e(t-1))−(e(t-1)−e(t-2)))・・・(1)
e(t)=Cw(t)−Fw(t)
e(t-1)=Cw(t-1)−Fw(t-1)
e(t-2)=Cw(t-2)−Fw(t-2)
比較演算回路41は、メモリから各値を読み出し、上記の式(1)にしたがって制御値Ea(t)の値を算出する。そして、比較演算回路41は、算出した値の制御値Eaを出力する。制御値EaはスイッチSw1に供給される。
An arithmetic expression in the PID calculation is, for example, the following expression (1).
Ea (t) = Kp × (e (t) −e (t−1)) + Ki × e (t)
+ Kd × ((e (t) −e (t−1)) − (e (t−1) −e (t−2))) (1)
e (t) = Cw (t) -Fw (t)
e (t-1) = Cw (t-1) -Fw (t-1)
e (t-2) = Cw (t-2) -Fw (t-2)
The comparison operation circuit 41 reads each value from the memory and calculates the value of the control value Ea (t) according to the above equation (1). Then, the comparison operation circuit 41 outputs the calculated control value Ea. The control value Ea is supplied to the switch Sw1.

スイッチSw1は、切換端子Ta,Tbと共通端子Tcを有している。切換端子Taには比較演算回路41からの制御値Eaが供給され、切換端子Tbには基準値設定回路45からの送給基準値Msが供給される。共通端子Tcは駆動回路32に接続される。スイッチSw1は、異常検出回路44からの異常検出信号Er1に基づいて、共通端子Tcを切換端子Taと切換端子Tbに切り替え接続する。例えば、スイッチSw1は、Lレベルの異常検出信号Er1に基づいて共通端子Tcを切換端子Taに接続する。これにより、比較演算回路41からの制御値Eaが駆動回路32に供給される。また、スイッチSw1は、Hレベルの異常検出信号Er1に基づいて共通端子Tcを切換端子Tbに接続する。これにより、基準値設定回路45からの送給基準値Msが駆動回路32に供給される。   The switch Sw1 has switching terminals Ta and Tb and a common terminal Tc. The control value Ea from the comparison operation circuit 41 is supplied to the switching terminal Ta, and the feed reference value Ms from the reference value setting circuit 45 is supplied to the switching terminal Tb. The common terminal Tc is connected to the drive circuit 32. The switch Sw1 switches and connects the common terminal Tc to the switching terminal Ta and the switching terminal Tb based on the abnormality detection signal Er1 from the abnormality detection circuit 44. For example, the switch Sw1 connects the common terminal Tc to the switching terminal Ta based on the L level abnormality detection signal Er1. As a result, the control value Ea from the comparison operation circuit 41 is supplied to the drive circuit 32. The switch Sw1 connects the common terminal Tc to the switching terminal Tb based on the H level abnormality detection signal Er1. As a result, the feed reference value Ms from the reference value setting circuit 45 is supplied to the drive circuit 32.

駆動回路32は、スイッチSw1を介して供給される制御値Eaまたは送給基準値Msに応じたパルスの駆動信号Drを出力する。モータM1は駆動信号Drにより回転する。ロータリエンコーダR1は、モータM1の回転数に応じた周期のパルス信号Reを出力する。   The drive circuit 32 outputs a drive signal Dr with a pulse corresponding to the control value Ea or the feed reference value Ms supplied via the switch Sw1. The motor M1 is rotated by the drive signal Dr. The rotary encoder R1 outputs a pulse signal Re having a period corresponding to the rotation speed of the motor M1.

周期測定回路42は、ロータリエンコーダR1からのパルス信号Reのパルス周期を測定し、その測定結果であるパルス周期の値Ps(以下、パルス周期Ps)を出力する。本実施形態では、周期測定回路42は、パルス信号Reの半周期を測定する。   The period measurement circuit 42 measures the pulse period of the pulse signal Re from the rotary encoder R1, and outputs a pulse period value Ps (hereinafter, pulse period Ps), which is the measurement result. In the present embodiment, the period measurement circuit 42 measures a half period of the pulse signal Re.

例えば、周期測定回路42はタイマ回路を有し、そのタイマ回路により計時した時間(カウント値)をパルス周期Psとして出力する。周期測定回路42は、パルス信号Reの立ち上がりと立ち下がりのそれぞれにおいて割り込みを発生する。周期測定回路42は、割り込みに基づいてタイマ回路のカウント値をホールド(保持)してそのホールドしたカウント値をパルス周期Psとして出力し、カウント値をリセット(=0)する。なお、周期測定回路42は、起動時(例えば起動信号Stに基づいて)にタイマ回路のカウント値をリセット(=0)してカウントを開始する。   For example, the period measuring circuit 42 includes a timer circuit, and outputs the time (count value) counted by the timer circuit as the pulse period Ps. The period measurement circuit 42 generates an interrupt at each rising edge and falling edge of the pulse signal Re. The period measurement circuit 42 holds (holds) the count value of the timer circuit based on the interrupt, outputs the held count value as the pulse period Ps, and resets the count value (= 0). Note that the period measurement circuit 42 resets the count value of the timer circuit (= 0) at the time of activation (for example, based on the activation signal St) and starts counting.

したがって、パルス周期Psは、パルス信号Reの立ち上がりと立ち下がりによって発生する割り込みの間隔、つまりパルス信号ReのHレベルの期間とLレベルの期間を交互に示す。   Therefore, the pulse period Ps alternately indicates the interval between interrupts generated by the rise and fall of the pulse signal Re, that is, the H level period and the L level period of the pulse signal Re.

一方、パルス信号Reが一定レベル(例えば、Lレベル)の場合、パルス周期Psの値は増加し続ける。従って、パルス信号Reが一定レベルの場合、パルス周期Psは、パルス信号Reが一定レベルである期間を示す。   On the other hand, when the pulse signal Re is at a constant level (for example, L level), the value of the pulse period Ps continues to increase. Therefore, when the pulse signal Re is at a constant level, the pulse period Ps indicates a period during which the pulse signal Re is at a constant level.

周期変換回路43は、周期測定回路42からのパルス周期Psを、送給指令値Cwに応じた送給フィードバック値Fwへ変換する。本実施形態において、送給指令値Cwは、モータM1の目標回転速度である。したがって、周期変換回路43は、パルス周期PsをモータM1の回転速度である送給フィードバック値Fwへ変換する。例えば、周期変換回路43は、次式(2)にしたがって、パルス周期Psを送給フィードバック値Fwへ変換する。
Fw=1/(Px×(2×Ps))・・・(2)
なお、上記式(2)のPxは、モータM1を1回転することによってロータリエンコーダR1により出力されるパルス信号Reのパルス数である。
The cycle conversion circuit 43 converts the pulse cycle Ps from the cycle measurement circuit 42 into a feed feedback value Fw corresponding to the feed command value Cw. In the present embodiment, the feed command value Cw is a target rotation speed of the motor M1. Therefore, the cycle conversion circuit 43 converts the pulse cycle Ps into a feed feedback value Fw that is the rotational speed of the motor M1. For example, the cycle conversion circuit 43 converts the pulse cycle Ps into the feed feedback value Fw according to the following equation (2).
Fw = 1 / (Px × (2 × Ps)) (2)
Note that Px in the above equation (2) is the number of pulses of the pulse signal Re output by the rotary encoder R1 by rotating the motor M1 once.

異常検出回路44は、レジスタ等の記憶回路を有し、この記憶回路に2つの異常検出設定時間Et1,Et2を記憶している。異常検出設定時間Et1は、異常検出設定時間Et2よりも小さな値(Et1<Et2)に設定される。例えば、異常検出設定時間Et1は100〜150ミリ秒(ms)、異常検出設定時間Et2は500〜700ミリ秒(ms)に設定される。   The abnormality detection circuit 44 has a storage circuit such as a register, and stores two abnormality detection set times Et1 and Et2 in this storage circuit. The abnormality detection set time Et1 is set to a value (Et1 <Et2) smaller than the abnormality detection set time Et2. For example, the abnormality detection set time Et1 is set to 100 to 150 milliseconds (ms), and the abnormality detection set time Et2 is set to 500 to 700 milliseconds (ms).

異常検出回路44は、周期測定回路42からのパルス周期Psを異常検出設定時間Et2と比較し、比較結果に応じた異常検出信号Er2を出力する。また、異常検出回路44は、周期測定回路42からのパルス周期Psを異常検出設定時間Et1と比較し、比較結果に応じた異常検出信号Er1を出力する。   The abnormality detection circuit 44 compares the pulse period Ps from the period measurement circuit 42 with the abnormality detection set time Et2, and outputs an abnormality detection signal Er2 corresponding to the comparison result. The abnormality detection circuit 44 compares the pulse period Ps from the period measurement circuit 42 with the abnormality detection set time Et1, and outputs an abnormality detection signal Er1 corresponding to the comparison result.

例えば、異常検出回路44は、初期設定によりLレベルの異常検出信号Er1,Er2を出力する。スイッチSw2はLレベルの異常検出信号Er2に応じてオンする。オンしたスイッチSw2を介して起動信号Stが比較演算回路41に供給される。スイッチSw1は、Lレベルの異常検出信号Er1に応じて、共通端子Tcを切換端子Taに接続する。これにより、比較演算回路41からの制御値EaがスイッチSw1を介して駆動回路32に供給される。駆動回路32は、制御値Eaに応じた駆動信号Drを出力する。モータM1は、駆動信号Drに応じて回転する。   For example, the abnormality detection circuit 44 outputs L level abnormality detection signals Er1 and Er2 by initialization. The switch Sw2 is turned on in response to the L level abnormality detection signal Er2. The activation signal St is supplied to the comparison operation circuit 41 through the switch Sw2 that is turned on. The switch Sw1 connects the common terminal Tc to the switching terminal Ta in response to the L level abnormality detection signal Er1. As a result, the control value Ea from the comparison operation circuit 41 is supplied to the drive circuit 32 via the switch Sw1. The drive circuit 32 outputs a drive signal Dr corresponding to the control value Ea. The motor M1 rotates according to the drive signal Dr.

異常検出回路44は、パルス周期Psが異常検出設定時間Et1より大きく異常検出設定時間Et2以下のとき(Et1<Ps≦Et2)にHレベルの異常検出信号Er1を出力する。このとき、異常検出回路44は、Lレベルの異常検出信号Er2を出力する。   The abnormality detection circuit 44 outputs an abnormality detection signal Er1 of H level when the pulse period Ps is greater than the abnormality detection set time Et1 and less than or equal to the abnormality detection set time Et2 (Et1 <Ps ≦ Et2). At this time, the abnormality detection circuit 44 outputs an L level abnormality detection signal Er2.

スイッチSw2は、Lレベルの異常検出信号Er2によりオン状態を継続する。スイッチSw1は、Hレベルの異常検出信号Er1により共通端子Tcを切換端子Tbに接続する。これにより、基準値設定回路45からの送給基準値MsがスイッチSw1を介して駆動回路32に供給される。駆動回路32は、送給基準値Msに応じた駆動信号Drを出力する。モータM1は駆動信号Drに応じて回転する。   The switch Sw2 is kept on by the abnormality detection signal Er2 of L level. The switch Sw1 connects the common terminal Tc to the switching terminal Tb by an H level abnormality detection signal Er1. As a result, the feed reference value Ms from the reference value setting circuit 45 is supplied to the drive circuit 32 via the switch Sw1. The drive circuit 32 outputs a drive signal Dr corresponding to the feeding reference value Ms. The motor M1 rotates according to the drive signal Dr.

そして、異常検出回路44は、パルス周期Psが異常検出設定時間Et2より大きい(Et2<Ps)ときに例えばHレベルの異常検出信号Er2とLレベルの異常検出信号Er1を出力する。スイッチSw2は、Hレベルの異常検出信号Er2に応じてオフする。これにより、比較演算回路41に対して起動信号Stの供給が停止される。スイッチSw1は、Lレベルの異常検出信号Er1に応じて共通端子Tcを切換端子Taに接続する。これにより、比較演算回路41からの制御値EaがスイッチSw1を介して駆動回路32に供給される。   The abnormality detection circuit 44 outputs, for example, an H level abnormality detection signal Er2 and an L level abnormality detection signal Er1 when the pulse period Ps is longer than the abnormality detection set time Et2 (Et2 <Ps). The switch Sw2 is turned off in response to the H level abnormality detection signal Er2. As a result, the supply of the activation signal St to the comparison operation circuit 41 is stopped. The switch Sw1 connects the common terminal Tc to the switching terminal Ta in response to the L level abnormality detection signal Er1. As a result, the control value Ea from the comparison operation circuit 41 is supplied to the drive circuit 32 via the switch Sw1.

スイッチSw2のオフにより、起動信号Stが比較演算回路41に供給されなくなるため、比較演算回路41はモータM1を停止するよう制御値Eaを生成する。スイッチSw1は、Lレベルの異常検出信号Er1に基づいて、共通端子Tcを切換端子Taに接続する。これにより、制御値Eaが駆動回路32に供給され、モータM1が停止される。したがって、パルス信号Reがパルス状に変化していない無パルス状態が異常検出設定時間Et2を越えると、モータM1を停止する。これにより、溶接ワイヤ15の供給が停止される。   Since the start signal St is not supplied to the comparison operation circuit 41 when the switch Sw2 is turned off, the comparison operation circuit 41 generates the control value Ea so as to stop the motor M1. The switch Sw1 connects the common terminal Tc to the switching terminal Ta based on the L level abnormality detection signal Er1. Thereby, the control value Ea is supplied to the drive circuit 32, and the motor M1 is stopped. Therefore, when the no-pulse state in which the pulse signal Re does not change in a pulse shape exceeds the abnormality detection set time Et2, the motor M1 is stopped. Thereby, supply of the welding wire 15 is stopped.

上記の異常検出設定時間Et2は、エンコーダ異常を検出して溶接ワイヤ15の送給を停止するために設定された時間である。異常検出設定時間Et2より小さな異常検出設定時間Et1は、エンコーダ異常またはエンコーダ異常の可能性がある場合において、溶接ワイヤの送給を制限するために設定された時間である。   The abnormality detection set time Et2 is a time set for detecting an encoder abnormality and stopping the feeding of the welding wire 15. The abnormality detection setting time Et1 smaller than the abnormality detection setting time Et2 is a time set to limit feeding of the welding wire when there is a possibility of encoder abnormality or encoder abnormality.

エンコーダ異常は、ロータリエンコーダR1に係る異常、例えばロータリエンコーダR1の故障、断線(ロータリエンコーダR1又はモータM1とモータ駆動装置30の間の配線、等)を含む。上記したように、パルス周期Psは、パルス信号Reがパルス状に変化するときにそのパルス信号Reの半周期を示し、パルス信号Reが想定される周期(半周期)以上に一定レベルであるときにその期間(直前のリセットからの経過時間)を示す。   The encoder abnormality includes abnormality relating to the rotary encoder R1, for example, failure of the rotary encoder R1, disconnection (wiring between the rotary encoder R1 or the motor M1 and the motor driving device 30, etc.). As described above, the pulse cycle Ps indicates a half cycle of the pulse signal Re when the pulse signal Re changes in a pulse shape, and when the pulse signal Re is at a constant level more than the assumed cycle (half cycle). Shows the period (elapsed time since the last reset).

エンコーダ異常が発生していない場合に、パルス信号ReはモータM1の回転に応じてパルス状に変化する。したがって、上記の式(2)により算出される送給フィードバック値Fwは、モータM1の回転数に応じて変化する。そして、送給フィードバック値Fwに応じて算出される制御値Eaに基づいて、送給フィードバック値Fwが送給指令値Cwに一致するようにモータM1の回転を制御する。   When no encoder abnormality has occurred, the pulse signal Re changes in a pulse shape according to the rotation of the motor M1. Therefore, the feeding feedback value Fw calculated by the above equation (2) changes according to the rotation speed of the motor M1. Then, based on the control value Ea calculated according to the feeding feedback value Fw, the rotation of the motor M1 is controlled so that the feeding feedback value Fw matches the feeding command value Cw.

一方、エンコーダ異常が発生した場合にパルス信号Reは一定レベルとなる。一定レベルのパルス信号Reの場合、周期変換回路43により生成される送給フィードバック値Fwは、ほぼ「0」となる。比較演算回路41は、この値がほぼ「0」の送給フィードバック値Fwに基づいて制御値Eaを算出する。この制御値Eaに基づいて、モータM1が最大回転数にて駆動され、溶接ワイヤ15が送給される。したがって、エンコーダ異常が発生したとき、過度の溶接ワイヤ15が送給される。このような溶接ワイヤ15の過度な供給は、溶接ワイヤの無駄な消費や溶接品質の低下を招く。   On the other hand, when the encoder abnormality occurs, the pulse signal Re becomes a constant level. In the case of the pulse signal Re at a constant level, the feed feedback value Fw generated by the cycle conversion circuit 43 is substantially “0”. The comparison operation circuit 41 calculates the control value Ea based on the feeding feedback value Fw whose value is substantially “0”. Based on this control value Ea, the motor M1 is driven at the maximum rotational speed, and the welding wire 15 is fed. Accordingly, when an encoder abnormality occurs, excessive welding wire 15 is fed. Such excessive supply of the welding wire 15 causes unnecessary consumption of the welding wire and deterioration of the welding quality.

異常検出回路44は、パルス周期Psが異常検出設定時間Et1より大きくなると、Hレベルの異常検出信号Er1を出力する。
スイッチSw1は、Hレベルの異常検出信号Er1に応答して共通端子Tcを切換端子Tbに接続する。これにより、基準値設定回路45の出力する送給基準値MsがスイッチSw1を介して駆動回路32に供給される。駆動回路32は、送給基準値Msに基づいて、その送給基準値Msに応じたパルス幅の駆動信号Drを出力する。したがって、モータM1の回転数は、送給基準値Msに応じた値となる。このモータM1の回転により溶接ワイヤ15が送給される。
The abnormality detection circuit 44 outputs an abnormality detection signal Er1 of H level when the pulse period Ps becomes longer than the abnormality detection set time Et1.
The switch Sw1 connects the common terminal Tc to the switching terminal Tb in response to the H level abnormality detection signal Er1. As a result, the feed reference value Ms output from the reference value setting circuit 45 is supplied to the drive circuit 32 via the switch Sw1. Based on the feed reference value Ms, the drive circuit 32 outputs a drive signal Dr having a pulse width corresponding to the feed reference value Ms. Therefore, the rotation speed of the motor M1 becomes a value according to the feeding reference value Ms. The welding wire 15 is fed by the rotation of the motor M1.

送給指令値Cwが比較的大きな値の場合、基準値設定回路45の送給基準値Msを、例えば送給指令値Cwに応じて設定する。上記のようにエンコーダ異常が生じた場合、モータM1は最大回転数にて回転する。この最大回転数は、送給指令値Cwよりも大きい。そして、異常検出回路44がHレベルの異常検出信号Er1を出力するまで、その最大回転数にてモータM1が回転する。したがって、モータM1を送給指令値Cwに応じた回転数で回転するように送給基準値Msを設定する。これにより、異常検出設定時間Et1後の溶接ワイヤ15の送給量は、エンコーダ異常が発生しないときと同程度となる。また、上記の異常検出設定時間Et1を小さな値とすることにより、モータM1が最大回転数にて回転する期間が短くなり、溶接ワイヤ15の送給量が少なくなる。   When the feed command value Cw is a relatively large value, the feed reference value Ms of the reference value setting circuit 45 is set according to the feed command value Cw, for example. When the encoder abnormality occurs as described above, the motor M1 rotates at the maximum number of rotations. This maximum rotational speed is larger than the feed command value Cw. Then, the motor M1 rotates at the maximum rotational speed until the abnormality detection circuit 44 outputs the H level abnormality detection signal Er1. Therefore, the feed reference value Ms is set so that the motor M1 rotates at a rotational speed corresponding to the feed command value Cw. Thereby, the feeding amount of the welding wire 15 after the abnormality detection set time Et1 becomes approximately the same as when no encoder abnormality occurs. Further, by setting the abnormality detection set time Et1 to a small value, the period during which the motor M1 rotates at the maximum rotation speed is shortened, and the feeding amount of the welding wire 15 is reduced.

送給指令値Cwが比較的小さな値の場合、送給基準値Msを溶接ワイヤ15の送給に対する高負荷の場合を想定して設定される。送給指令値Cwが比較的小さな値の場合、送給基準値Msを送給指令値Cwに応じて設定すると、送給基準値Msも小さくなる。このように設定された送給基準値Msでは、モータM1が回転しない(例えば高負荷の場合)ので、パルス状に変化するパルス信号Reが得られない。このため、送給フィードバック値Fwはほぼ「0」となり、エンコーダ異常と判定されてしまうからである。   When the feed command value Cw is a relatively small value, the feed reference value Ms is set assuming a high load for feeding the welding wire 15. When the feed command value Cw is a relatively small value, if the feed reference value Ms is set according to the feed command value Cw, the feed reference value Ms is also reduced. With the feed reference value Ms set in this way, the motor M1 does not rotate (for example, in the case of a high load), and thus a pulse signal Re that changes in a pulse shape cannot be obtained. For this reason, the feeding feedback value Fw is almost “0”, and it is determined that the encoder is abnormal.

例えば、図1に示す供給装置12は、一線式パワーケーブルを介して溶接トーチ13に接続される。一線式パワーケーブルは、例えば、中心に溶接ワイヤ15をガイドするためのコイルライナが設けられ、その外周にガスを流すためのホースが設けられている。そして、このホースの外周には、溶接電力を供給するための導電線が被覆され、最外周が絶縁被覆されている。   For example, the supply device 12 shown in FIG. 1 is connected to the welding torch 13 via a one-wire power cable. For example, the one-line power cable is provided with a coil liner for guiding the welding wire 15 at the center, and a hose for flowing gas on the outer periphery thereof. And the outer periphery of this hose is coat | covered with the conductive wire for supplying welding electric power, and the outermost periphery is insulation-coated.

したがって、溶接ワイヤ15は、一線式パワーケーブルの内周に摺接して供給装置12から溶接トーチ13へと送られる。このため、例えばパワーケーブルによって削り取られた溶接ワイヤ15のかすにより、溶接ワイヤ15の送給に対する抵抗(負荷)が生じる。また、パワーケーブルの曲げ率と、溶接ワイヤ15の材質や太さに応じて、溶接ワイヤ15の送給時において抵抗(負荷)が生じる。   Therefore, the welding wire 15 is sent from the supply device 12 to the welding torch 13 while being in sliding contact with the inner periphery of the one-wire power cable. For this reason, the resistance (load) with respect to feeding of the welding wire 15 arises, for example, by the debris of the welding wire 15 scraped off by the power cable. Further, resistance (load) is generated when the welding wire 15 is fed depending on the bending rate of the power cable and the material and thickness of the welding wire 15.

このような負荷は、モータM1の回転を妨げる要因である。そして、高負荷の場合、モータM1が回転し難い状態である。モータM1が回転しないと、パルス状に変化するパルス信号Reが得られないため、送給フィードバック値Fwはほぼ「0」となる。この場合、エンコーダ異常と判定される。つまり、信号線等に故障がなくても、無パルス状態が異常検出設定時間Et2以上に継続してしまい、エンコーダ異常と誤判定される。   Such a load is a factor that hinders the rotation of the motor M1. When the load is high, the motor M1 is difficult to rotate. If the motor M1 does not rotate, the pulse signal Re that changes in a pulse shape cannot be obtained, and the feed feedback value Fw is substantially “0”. In this case, it is determined that the encoder is abnormal. That is, even if there is no failure in the signal line or the like, the no-pulse state continues for the abnormality detection set time Et2 or longer, and it is erroneously determined as an encoder abnormality.

このような状態では、駆動回路32からパルス幅の広い駆動信号Drを供給することで、モータM1を回転することが可能である。このような高負荷であっても、モータM1を回転させるように送給基準値Msを設定する。そして、このように、高負荷において、送給基準値MsによってモータM1の回転が確認可能なように、上記の異常検出設定時間Et2が設定される。言い換えれば、高負荷であっても異常検出設定時間Et2までにモータM1を回転するように送給基準値Msが設定される。   In such a state, the motor M1 can be rotated by supplying a drive signal Dr with a wide pulse width from the drive circuit 32. Even at such a high load, the feed reference value Ms is set so that the motor M1 is rotated. Thus, the abnormality detection set time Et2 is set so that the rotation of the motor M1 can be confirmed by the feed reference value Ms at a high load. In other words, the feed reference value Ms is set so that the motor M1 is rotated by the abnormality detection set time Et2 even when the load is high.

次に、上記のモータ駆動装置30の動作(作用)を説明する。
まず、正常時の動作を説明する。
図3に示すように、送給指令値Cwが設定される。図2に示すモータ駆動装置30は、送給指令値Cwと送給フィードバック値Fwに基づいて駆動信号Drを出力する。この駆動信号DrによりモータM1が回転し、パルス状のパルス信号Reが生成される。モータ駆動装置30は、パルス信号Reの周期を送給フィードバック値Fwに変換する。
Next, the operation (action) of the motor drive device 30 will be described.
First, normal operation will be described.
As shown in FIG. 3, a feed command value Cw is set. The motor drive device 30 shown in FIG. 2 outputs a drive signal Dr based on the feed command value Cw and the feed feedback value Fw. The drive signal Dr rotates the motor M1, and a pulsed pulse signal Re is generated. The motor drive device 30 converts the cycle of the pulse signal Re into a feed feedback value Fw.

送給指令値Cwがステップ状に与えられた直後は、送給フィードバック値Fwが「0」である。送給フィードバック値Fwは、モータM1の回転にしたがって、上昇する。そして、モータ駆動装置30は、送給フィードバック値Fwを送給指令値Cwと一致するように駆動信号Drを制御する。この駆動信号Drにより回転するモータM1により溶接ワイヤ15が送給される。   Immediately after the feed command value Cw is given stepwise, the feed feedback value Fw is “0”. The feed feedback value Fw increases as the motor M1 rotates. Then, the motor drive device 30 controls the drive signal Dr so that the feed feedback value Fw matches the feed command value Cw. The welding wire 15 is fed by the motor M1 that is rotated by the drive signal Dr.

次に、エンコーダ異常の場合を説明する。
一例として、アーク溶接機10起動時にエンコーダ異常である場合を説明する。この場合、パルス周期Psは、アーク溶接機10の起動からの経過時間を示す。
Next, a case where the encoder is abnormal will be described.
As an example, a case where the encoder is abnormal when the arc welder 10 is started will be described. In this case, the pulse period Ps indicates the elapsed time from the start of the arc welding machine 10.

図4に示すように、送給指令値Cwが設定される。図2に示すモータ駆動装置30は、送給指令値Cwと送給フィードバック値Fwに基づいて駆動信号Drを出力する。
エンコーダ異常の場合、図2に示す周期測定回路42の入力端子におけるパルス信号Reは一定レベルである。したがって、図4に示すように、送給フィードバック値Fwは「0」のままとなる。モータ駆動装置30は、送給フィードバック値Fwを送給指令値Cwに一致させるように、制御値Eaを高くする。これにより、モータM1が最大回転数となる。このモータM1の回転に応じた速度Wsにて溶接ワイヤ15が送給される。なお、図4の下段に示す実線Wcは、送給指令値CwでモータM1を回転するときの溶接ワイヤ15の送給速度を示す。
As shown in FIG. 4, a feed command value Cw is set. The motor drive device 30 shown in FIG. 2 outputs a drive signal Dr based on the feed command value Cw and the feed feedback value Fw.
When the encoder is abnormal, the pulse signal Re at the input terminal of the period measuring circuit 42 shown in FIG. 2 is at a constant level. Therefore, as shown in FIG. 4, the feeding feedback value Fw remains “0”. The motor drive device 30 increases the control value Ea so that the feed feedback value Fw matches the feed command value Cw. As a result, the motor M1 has the maximum rotation speed. The welding wire 15 is fed at a speed Ws corresponding to the rotation of the motor M1. Note that the solid line Wc shown in the lower part of FIG. 4 indicates the feeding speed of the welding wire 15 when the motor M1 is rotated at the feeding command value Cw.

パルス周期Psが異常検出設定時間Et1以上になる(時刻T1)と、図2に示すモータ駆動装置30は、Hレベルの異常検出信号Er1を生成してスイッチSw1を制御して基準値設定回路45からの送給基準値Msを駆動回路32に供給する。駆動回路32は、送給基準値Msに応じた駆動信号Drを生成する。送給基準値Msは送給指令値Cwに応じて設定される。これにより、溶接ワイヤ15の送給速度Wsは、低くなる。   When the pulse period Ps reaches or exceeds the abnormality detection set time Et1 (time T1), the motor driving device 30 shown in FIG. 2 generates an H level abnormality detection signal Er1 and controls the switch Sw1 to control the reference value setting circuit 45. Is supplied to the drive circuit 32. The drive circuit 32 generates a drive signal Dr corresponding to the feeding reference value Ms. The feeding reference value Ms is set according to the feeding command value Cw. Thereby, the feeding speed Ws of the welding wire 15 becomes low.

そして、パルス周期Psが異常検出設定時間Et2以上になる(時刻T2)と、図2に示すモータ駆動装置30は、Hレベルの異常検出信号Er2を生成してスイッチSw2をオフする。また、モータ駆動装置30は、Lレベルの異常検出信号Er1を生成してスイッチSw1を制御し、比較演算回路41からの制御値Eaを駆動回路32に供給する。駆動回路32は、制御値Eaに応じた駆動信号Drを生成する。このとき、比較演算回路41は、スイッチSw2のオフにより起動信号Stが停止されることで、モータM1を停止するように制御値Eaを生成する。したがって、パルス状の駆動信号Drが停止され、モータM1が停止する。これにより溶接ワイヤ15の供給が停止される。   When the pulse period Ps reaches or exceeds the abnormality detection set time Et2 (time T2), the motor drive device 30 shown in FIG. 2 generates an H level abnormality detection signal Er2 and turns off the switch Sw2. Further, the motor drive device 30 generates an L level abnormality detection signal Er1 to control the switch Sw1, and supplies the control value Ea from the comparison operation circuit 41 to the drive circuit 32. The drive circuit 32 generates a drive signal Dr corresponding to the control value Ea. At this time, the comparison operation circuit 41 generates the control value Ea so as to stop the motor M1 when the start signal St is stopped by turning off the switch Sw2. Therefore, the pulsed drive signal Dr is stopped and the motor M1 is stopped. Thereby, supply of the welding wire 15 is stopped.

なお、アーク溶接機10の使用中にエンコーダ異常が発生した場合、モータM1の回転数は、送給指令値Cwに応じた回転数から最大回転数へと上昇する。その後、パルス周期Psが異常検出設定時間Et1以上になると、送給基準値Msに応じた回転数へと低下する。溶接ワイヤ15は、モータM1の回転に応じた速度Wsにて送給される。そして、パルス周期Psが異常検出設定時間Et2異常になると、モータM1を停止する。それによって溶接ワイヤ15の供給が停止される。   When an encoder abnormality occurs during use of the arc welder 10, the rotational speed of the motor M1 increases from the rotational speed corresponding to the feed command value Cw to the maximum rotational speed. Thereafter, when the pulse period Ps becomes equal to or longer than the abnormality detection set time Et1, the rotation speed is reduced to the number corresponding to the feed reference value Ms. The welding wire 15 is fed at a speed Ws corresponding to the rotation of the motor M1. When the pulse period Ps becomes abnormal in the abnormality detection set time Et2, the motor M1 is stopped. Thereby, the supply of the welding wire 15 is stopped.

次に、高負荷、低い送給指令値Cwのときの動作を説明する。
図5に示すように、送給指令値Cwが設定される。図2に示すモータ駆動装置30は、送給指令値Cwと送給フィードバック値Fwに基づいて駆動信号Drを出力する。
Next, the operation when the load is high and the feed command value Cw is low will be described.
As shown in FIG. 5, a feed command value Cw is set. The motor drive device 30 shown in FIG. 2 outputs a drive signal Dr based on the feed command value Cw and the feed feedback value Fw.

高負荷の場合、モータM1が回転し難い。したがって、パルス状のパルス信号Reが生成されないため、送給フィードバック値Fwは「0」のままとなる。モータ駆動装置30は、送給フィードバック値Fwを送給指令値Cwに一致させるように、制御値Eaを高くする。これにより、駆動信号Drのパルス幅が広くなる。   When the load is high, the motor M1 is difficult to rotate. Therefore, since the pulse-like pulse signal Re is not generated, the feeding feedback value Fw remains “0”. The motor drive device 30 increases the control value Ea so that the feed feedback value Fw matches the feed command value Cw. As a result, the pulse width of the drive signal Dr becomes wider.

パルス周期Psが異常検出設定時間Et1以上になる(時刻T1)と、図2に示すモータ駆動装置30は、Hレベルの異常検出信号Er1を生成してスイッチSw1を制御して基準値設定回路45からの送給基準値Msを駆動回路32に供給する。駆動回路32は、送給基準値Msに応じた駆動信号Drを生成する。この場合、送給基準値Msは、高負荷であっても異常検出設定時間Et2までにモータM1が回転するように設定される。   When the pulse period Ps reaches or exceeds the abnormality detection set time Et1 (time T1), the motor driving device 30 shown in FIG. 2 generates an H level abnormality detection signal Er1 and controls the switch Sw1 to control the reference value setting circuit 45. Is supplied to the drive circuit 32. The drive circuit 32 generates a drive signal Dr corresponding to the feeding reference value Ms. In this case, the feed reference value Ms is set so that the motor M1 rotates by the abnormality detection set time Et2 even when the load is high.

駆動信号DrによりモータM1が回転すると、パルス状のパルス信号Reが生成される。そのパルス信号Reの周期により送給フィードバック値Fwが上昇する。また、パルス周期PsによりLレベルの異常検出信号Er1が生成されてスイッチSw1が制御され、比較演算回路41からの制御値Eaが駆動回路32に供給される。したがって、制御値Eaに応じた駆動信号Drが生成され、モータM1が回転する。したがって、起動信号Stの供給からの経過時間が異常検出設定時間Et2となる時刻T2では、パルス周期Psが異常検出設定時間Et2より大きくないため、エンコーダ異常と判定されずにモータM1の回転が継続され、溶接ワイヤ15が送給される。   When the motor M1 is rotated by the drive signal Dr, a pulsed pulse signal Re is generated. The feed feedback value Fw increases with the period of the pulse signal Re. Further, an L level abnormality detection signal Er1 is generated by the pulse period Ps, the switch Sw1 is controlled, and the control value Ea from the comparison operation circuit 41 is supplied to the drive circuit 32. Therefore, the drive signal Dr corresponding to the control value Ea is generated, and the motor M1 rotates. Therefore, at the time T2 when the elapsed time from the supply of the start signal St becomes the abnormality detection set time Et2, the pulse period Ps is not larger than the abnormality detection set time Et2, so that the rotation of the motor M1 continues without being determined as an encoder abnormality. Then, the welding wire 15 is fed.

次に、本実施形態に対する比較例を説明する。
なお、比較例の説明において、本実施形態と同じ部材については同じ符号を用いる。
図6に示す比較例のモータ駆動装置30において、比較演算回路41からの制御値Eaが駆動回路32に直接供給される。異常検出回路44aは、パルス周期Psを異常検出設定時間Etaと比較し異常検出信号Eraを出力する。異常検出設定時間Etaは、例えば、上記実施形態の異常検出設定時間Et2に等しい。スイッチSwaは異常検出信号Eraに基づいてオンオフする。
Next, a comparative example for this embodiment will be described.
In the description of the comparative example, the same reference numerals are used for the same members as in the present embodiment.
In the motor drive device 30 of the comparative example shown in FIG. 6, the control value Ea from the comparison operation circuit 41 is directly supplied to the drive circuit 32. The abnormality detection circuit 44a compares the pulse period Ps with the abnormality detection set time Eta and outputs an abnormality detection signal Era. The abnormality detection set time Eta is equal to, for example, the abnormality detection set time Et2 of the above embodiment. The switch Swa is turned on / off based on the abnormality detection signal Era.

図7に示すように、比較例においてエンコーダ異常が発生した場合、パルス周期Psが異常検出設定時間Etaより大きくなる時刻T21までの間、駆動信号DrによりモータM1が最大回転数にて回転する。このモータM1の回転に応じた速度Wsより溶接ワイヤ15が送給される。   As shown in FIG. 7, when an encoder abnormality occurs in the comparative example, the motor M1 is rotated at the maximum number of revolutions by the drive signal Dr until time T21 when the pulse period Ps becomes greater than the abnormality detection set time Eta. The welding wire 15 is fed at a speed Ws corresponding to the rotation of the motor M1.

これに対し、本実施形態では、異常検出設定時間Et2より小さな異常検出設定時間Et1をパルス周期Psと比較し、比較結果に応じて、基準値設定回路45からの送給基準値Msに応じて駆動信号Drを生成する。これにより、モータM1の回転数を最大回転数より低く抑えている。したがって、溶接ワイヤ15が最大回転数のモータM1により送給される期間が短くなり、溶接ワイヤ15の送給量を抑制する。   On the other hand, in the present embodiment, the abnormality detection set time Et1 smaller than the abnormality detection set time Et2 is compared with the pulse period Ps, and according to the comparison result, according to the feeding reference value Ms from the reference value setting circuit 45. A drive signal Dr is generated. Thereby, the rotation speed of the motor M1 is kept lower than the maximum rotation speed. Therefore, the period during which the welding wire 15 is fed by the motor M1 having the maximum rotation speed is shortened, and the feeding amount of the welding wire 15 is suppressed.

なお、比較例において、異常検出設定時間Etaを小さく設定することが考えられる。例えば、異常検出設定時間Etaを本実施形態の異常検出設定時間Et1と等しくする。このように設定すると、モータM1が最大回転数にて回転する期間を短くすることが可能となる。しかし、このような設定では、誤検出が増加する。   In the comparative example, it is conceivable to set the abnormality detection setting time Eta small. For example, the abnormality detection set time Eta is made equal to the abnormality detection set time Et1 of the present embodiment. With this setting, it is possible to shorten the period during which the motor M1 rotates at the maximum rotation speed. However, such a setting increases false detection.

例えば、図8に示すように、高負荷、小さな送給指令値Cwの場合、モータM1が回転し難い。この場合、パルス信号Reの無パルス状態が継続する。その後、モータM1の回転によりパルス状のパルス信号Reが生成され、送給フィードバック値Fwが上昇する。しかし、モータM1が最大回転数で回転する期間を短くするように設定した異常検出設定時間Etaでは、パルス周期Psが異常検出設定時間Etaより大きくなる時刻T22では、モータM1が未だ回転していない場合がある。この場合、比較例では、パルス信号Reの信号線等に異常がないにもかかわらずエンコーダ異常と判定される誤検出となる。この誤検出により、モータM1が停止される。   For example, as shown in FIG. 8, in the case of a high load and a small feed command value Cw, the motor M1 is difficult to rotate. In this case, the no-pulse state of the pulse signal Re continues. Thereafter, a pulsed pulse signal Re is generated by the rotation of the motor M1, and the feed feedback value Fw increases. However, at the abnormality detection set time Eta set so as to shorten the period during which the motor M1 rotates at the maximum rotation speed, the motor M1 has not yet rotated at time T22 when the pulse period Ps becomes larger than the abnormality detection set time Eta. There is a case. In this case, in the comparative example, erroneous detection is made in which it is determined that the encoder is abnormal even though the signal line of the pulse signal Re is not abnormal. Due to this erroneous detection, the motor M1 is stopped.

この点、本実施形態では、パルス周期Psを異常検出設定時間Et2と比較することによってエンコーダ異常を判定している。したがって、本実施形態では、上記のような誤検出が抑制される。   In this regard, in this embodiment, the encoder abnormality is determined by comparing the pulse period Ps with the abnormality detection set time Et2. Therefore, in the present embodiment, the erroneous detection as described above is suppressed.

以上記述したように、本実施形態によれば、以下の効果を奏する。
(1)比較演算回路41は、送給指令値Cwと送給フィードバック値Fwを比較演算して制御値Eaを出力する。周期測定回路42はモータM1の回転数に応じてロータリエンコーダR1から出力されるパルス信号Reのパルス周期Psを計測する。周期変換回路43は、パルス周期Psを送給フィードバック値Fwに変換する。
As described above, according to the present embodiment, the following effects can be obtained.
(1) The comparison calculation circuit 41 compares the feed command value Cw and the feed feedback value Fw and outputs a control value Ea. The period measurement circuit 42 measures the pulse period Ps of the pulse signal Re output from the rotary encoder R1 according to the rotation speed of the motor M1. The cycle conversion circuit 43 converts the pulse cycle Ps into a feed feedback value Fw.

異常検出回路44は、パルス周期Psを異常検出設定時間Et1と比較し、異常検出信号Er1を出力する。スイッチSw1は、異常検出信号Er1に基づいて、比較演算回路41からの制御値Eaと基準値設定回路45からの送給基準値Msとを選択的に切り換える。駆動回路32は、スイッチSw1により切り換えられた制御値Eaまたは送給基準値Msに応じて、モータM1を回転するための駆動信号Drを出力する。   The abnormality detection circuit 44 compares the pulse period Ps with the abnormality detection set time Et1, and outputs an abnormality detection signal Er1. The switch Sw1 selectively switches between the control value Ea from the comparison operation circuit 41 and the feeding reference value Ms from the reference value setting circuit 45 based on the abnormality detection signal Er1. The drive circuit 32 outputs a drive signal Dr for rotating the motor M1 according to the control value Ea or the feed reference value Ms switched by the switch Sw1.

周期測定回路42におけるパルス信号Reがパルス状に変化しない異常が発生したとき、異常検出信号Er1により選択的に切り換えられた送給基準値Msに応じて生成された駆動信号DrによりモータM1を回転させる。送給基準値Msの設定より、モータM1を最大回転数より低い回転数にて回転させることが可能となる。この結果、モータM1により溶接ワイヤ15を送給するため、モータM1の回転数を抑えることで、溶接ワイヤ15の過度な送給を抑制することができる。   When an abnormality occurs in which the pulse signal Re in the period measurement circuit 42 does not change in a pulse shape, the motor M1 is rotated by the drive signal Dr generated according to the feed reference value Ms selectively switched by the abnormality detection signal Er1. Let By setting the feed reference value Ms, the motor M1 can be rotated at a rotational speed lower than the maximum rotational speed. As a result, since the welding wire 15 is fed by the motor M1, excessive feeding of the welding wire 15 can be suppressed by suppressing the rotational speed of the motor M1.

(2)比較演算回路41は起動信号Stの供給に基づいて、送給指令値Cwと送給フィードバック値Fwに応じた制御値Eaを出力する。そして、比較演算回路41は、起動信号Stの供給停止に応じてモータM1を停止するように制御値Eaを出力する。この制御値Eaにより駆動信号Drを生成することで、モータM1を停止させてそのモータM1による溶接ワイヤ15の送給を停止することが可能となる。   (2) The comparison operation circuit 41 outputs a control value Ea corresponding to the feed command value Cw and the feed feedback value Fw based on the supply of the activation signal St. Then, the comparison operation circuit 41 outputs the control value Ea so as to stop the motor M1 in response to the stop of the supply of the start signal St. By generating the drive signal Dr with this control value Ea, it becomes possible to stop the motor M1 and stop the feeding of the welding wire 15 by the motor M1.

(3)周期測定回路42は、パルス信号Reの立ち上がりと立ち下がりのそれぞれにおいて割り込みを発生し、パルス信号Reの周期(半周期)を測定する。つまり、周期測定回路42は、パルス信号Reの立ち上がりから立ち下がりまでの半周期と、パルス信号Reの立ち下がりから立ち上がりまでの半周期を測定する。したがって、パルス信号Reは、立ち上がりまたは立ち下がりからの経過時間を示す。このため、例えばエンコーダ異常がパルス信号ReのHレベルとLレベルの何れで発生した場合でも、そのエンコーダ異常からの経過時間を測定することができる。そして、その経過時間に基づいて、モータM1の回転数の制御とモータM1の停止を確実に行うことができる。   (3) The period measuring circuit 42 generates an interrupt at each rising edge and falling edge of the pulse signal Re, and measures the period (half period) of the pulse signal Re. That is, the period measuring circuit 42 measures the half cycle from the rising edge to the falling edge of the pulse signal Re and the half period from the falling edge to the rising edge of the pulse signal Re. Therefore, the pulse signal Re indicates the elapsed time from the rise or fall. For this reason, for example, when an encoder abnormality occurs at either the H level or the L level of the pulse signal Re, the elapsed time from the encoder abnormality can be measured. Based on the elapsed time, it is possible to reliably control the rotation speed of the motor M1 and stop the motor M1.

尚、上記実施形態は、以下の態様で実施してもよい。
・上記実施形態に対し、異常検出回路44は、パルス周期Psが異常検出設定時間Et2以上(Ps≧Et2)のときに例えばHレベルの異常検出信号Er2を出力し、パルス周期Psが異常検出設定時間Et2より小さい(Ps<Et2)ときに例えばLレベルの異常検出信号Er2を出力するようにしてもよい。同様に、異常検出回路44は、パルス周期Psが異常検出設定時間Et1以上(Ps≧Et1)のときに例えばHレベルの異常検出信号Er1を出力し、パルス周期Psが異常検出設定時間Et1より小さい(Ps<Et1)のときに例えばLレベルの異常検出信号Er1を出力するようにしてもよい。
In addition, you may implement the said embodiment in the following aspects.
In contrast to the above-described embodiment, the abnormality detection circuit 44 outputs, for example, an H level abnormality detection signal Er2 when the pulse period Ps is equal to or longer than the abnormality detection set time Et2 (Ps ≧ Et2), and the pulse period Ps is set to be abnormal detection. For example, an L level abnormality detection signal Er2 may be output when the time is less than Et2 (Ps <Et2). Similarly, the abnormality detection circuit 44 outputs, for example, an H level abnormality detection signal Er1 when the pulse period Ps is equal to or greater than the abnormality detection set time Et1 (Ps ≧ Et1), and the pulse period Ps is smaller than the abnormality detection set time Et1. For example, the L level abnormality detection signal Er1 may be output when (Ps <Et1).

なお、パルス周期Psに対する異常検出設定時間Et1,Et2における比較が異なるようにしてもよい。例えば、パルス周期Psが異常検出設定時間Et2以上(Ps≧Et2)のときに例えばHレベルの異常検出信号Er2を出力し、パルス周期Psが異常検出設定時間Et1より大きい(Ps>Et1)ときに例えばHレベルの異常検出信号Er1を出力するようにしてもよい。   Note that the comparison in the abnormality detection set times Et1 and Et2 with respect to the pulse period Ps may be different. For example, when the pulse period Ps is equal to or longer than the abnormality detection set time Et2 (Ps ≧ Et2), for example, an H level abnormality detection signal Er2 is output, and when the pulse period Ps is greater than the abnormality detection set time Et1 (Ps> Et1). For example, an H level abnormality detection signal Er1 may be output.

・上記実施形態において、周期測定回路42は、割り込み信号に基づいて、パルス信号Reの立ち上がりから立ち下がりまでの半周期と、立ち下がりから立ち上がりまでの半周期の何れか一方を測定するようにしてもよい。   In the above embodiment, the period measurement circuit 42 measures either the half cycle from the rising edge to the falling edge of the pulse signal Re or the half period from the falling edge to the rising edge based on the interrupt signal. Also good.

・上記実施形態に対し、周期測定回路42において、立ち上がりに応じた割り込みと立ち下がりに応じた割り込みの何れか一方に基づいてパルス信号Reの1周期を測定するようにしてもよい。この場合、図2に示す周期変換回路43は、周期測定回路42の測定周期に応じて、パルス周期Psを送給フィードバック値Fwへ変換する。このようにしても、上記実施形態と同様の効果を得ることができる。   In the above embodiment, the period measurement circuit 42 may measure one period of the pulse signal Re based on one of the interrupt corresponding to the rising edge and the interrupt corresponding to the falling edge. In this case, the cycle conversion circuit 43 shown in FIG. 2 converts the pulse cycle Ps into the feed feedback value Fw according to the measurement cycle of the cycle measurement circuit 42. Even if it does in this way, the effect similar to the said embodiment can be acquired.

・上記実施形態において、異常検出設定時間Et1,Et2を変更可能としてもよい。例えば、図1に示すアーク溶接機10にキーパッド等の入力装置を有線または無線により接続し、その入力装置によって異常検出設定時間Et1,Et2を設定する。例えば、異常検出設定時間Et1を、設定可能な範囲の値の最小値(例えば、「0」)とする。この場合、アーク溶接機10の起動時にHレベルの異常検出信号Er1が出力され、送給基準値Msに応じた回転数にてモータM1が駆動される。したがって、モータM1が最大回転数で回転することがなくなる。そして、例えば、送給基準値Msを送給指令値Cwに応じて設定することにより、溶接ワイヤ15を送給基準値Ms(=送給指令値Cw)に応じた速度で送給することができる。そして、異常検出設定時間Et2を、設定可能な範囲の最大値に設定することで、アーク溶接処理を異常検出設定時間Et2まで継続して行うことが可能となる。   In the above embodiment, the abnormality detection set times Et1 and Et2 may be changeable. For example, an input device such as a keypad is connected to the arc welder 10 shown in FIG. 1 by wire or wirelessly, and the abnormality detection set times Et1 and Et2 are set by the input device. For example, the abnormality detection setting time Et1 is set to the minimum value (for example, “0”) in the settable range. In this case, an H level abnormality detection signal Er1 is output when the arc welder 10 is started, and the motor M1 is driven at a rotational speed corresponding to the feed reference value Ms. Therefore, the motor M1 does not rotate at the maximum rotation speed. For example, by setting the feed reference value Ms according to the feed command value Cw, the welding wire 15 can be fed at a speed according to the feed reference value Ms (= feed command value Cw). it can. Then, by setting the abnormality detection set time Et2 to the maximum value within the settable range, the arc welding process can be continued until the abnormality detection set time Et2.

・上記実施形態では、モータM1に接続されたロータリエンコーダR1により、そのモータM1の回転数に応じたパルス信号Reを生成した。モータM1は溶接ワイヤ15を送給するものであり、ロータリエンコーダR1からのパルス信号Reの周期は、モータM1により送給される溶接ワイヤ15の送給速度に対応する。したがって、例えば溶接ワイヤ15をガイドするローラにロータリエンコーダR1を接続して溶接ワイヤ15の送給速度に応じた周期のパルス信号Reを生成してもよい。   In the above embodiment, the pulse signal Re corresponding to the rotation speed of the motor M1 is generated by the rotary encoder R1 connected to the motor M1. The motor M1 feeds the welding wire 15, and the cycle of the pulse signal Re from the rotary encoder R1 corresponds to the feeding speed of the welding wire 15 fed by the motor M1. Therefore, for example, the rotary encoder R1 may be connected to a roller that guides the welding wire 15 to generate the pulse signal Re having a period corresponding to the feeding speed of the welding wire 15.

・上記実施形態では、モータM1に接続されたロータリエンコーダR1により、そのモータM1の回転数に応じたパルス信号Reを生成した。ロータリエンコーダR1に換えて、ホール素子等を用いた回転センサによりモータM1の回転数に応じたパルス信号を生成してもよい。   In the above embodiment, the pulse signal Re corresponding to the rotation speed of the motor M1 is generated by the rotary encoder R1 connected to the motor M1. Instead of the rotary encoder R1, a pulse signal corresponding to the number of rotations of the motor M1 may be generated by a rotation sensor using a Hall element or the like.

10 アーク溶接機
11 溶接用電源
12 供給装置
15 溶接ワイヤ(消耗電極)
41 比較演算回路
42 周期測定回路
43 周期変換回路
44 異常検出回路
45 基準値設定回路
M1 モータ
R1 ロータリエンコーダ(回転センサ)
Sw1,Sw2 スイッチ(切換回路)
Dr 駆動信号
Ea 制御値
Cw 送給指令値
Ms 送給基準値
Fw 送給フィードバック値(送給帰還値)
Ps パルス周期
Re パルス信号
Er1 異常検出信号(第1異常検出信号)
Er2 異常検出信号(第2異常検出信号)
Et1 異常検出設定時間(第1異常判定値)
Et2 異常検出設定時間(第2異常判定値)
DESCRIPTION OF SYMBOLS 10 Arc welding machine 11 Welding power supply 12 Supply apparatus 15 Welding wire (consumable electrode)
41 Comparison Operation Circuit 42 Period Measurement Circuit 43 Period Conversion Circuit 44 Abnormality Detection Circuit 45 Reference Value Setting Circuit M1 Motor R1 Rotary Encoder (Rotation Sensor)
Sw1, Sw2 switch (switching circuit)
Dr drive signal Ea Control value Cw Feeding command value Ms Feeding reference value Fw Feeding feedback value (feeding feedback value)
Ps Pulse period Re Pulse signal Er1 Abnormality detection signal (first abnormality detection signal)
Er2 abnormality detection signal (second abnormality detection signal)
Et1 abnormality detection set time (first abnormality judgment value)
Et2 abnormality detection set time (second abnormality determination value)

Claims (5)

消耗電極により溶接を行う溶接機に含まれ、前記消耗電極を送給するモータを駆動するモータ駆動装置であって、
送給指令値と送給帰還値とを比較演算して制御値を生成する比較演算回路と、
送給基準値を出力する基準値設定回路と、
前記制御値と前記送給基準値とを第1異常検出信号に応じて選択的に切り換えて出力する切換回路と、
前記切換回路の出力値に応じて前記モータを駆動する駆動信号を出力する駆動回路と、
前記モータの回転に応じたパルス信号の周期を測定した結果の値を出力する周期測定回路と、
前記周期測定回路の出力値を前記送給帰還値に変換する信号変換回路と、
前記周期測定回路の出力値を第1基準判定値と比較し、比較結果に応じて前記第1異常検出信号を出力する異常検出回路と、
を有することを特徴とするモータ駆動装置。
A motor driving device that is included in a welding machine that performs welding with a consumable electrode and drives a motor that feeds the consumable electrode,
A comparison operation circuit that generates a control value by comparing the feed command value and the feed feedback value;
A reference value setting circuit for outputting a feeding reference value;
A switching circuit for selectively switching and outputting the control value and the feeding reference value according to a first abnormality detection signal;
A drive circuit for outputting a drive signal for driving the motor in accordance with an output value of the switching circuit;
A period measuring circuit that outputs a value of a result of measuring a period of a pulse signal according to the rotation of the motor;
A signal conversion circuit for converting the output value of the period measurement circuit into the feeding feedback value;
An abnormality detection circuit that compares an output value of the period measurement circuit with a first reference determination value and outputs the first abnormality detection signal according to a comparison result;
A motor drive device comprising:
前記異常検出回路は、前記周期測定回路の出力値を前記第1基準判定値より大きな第2基準判定値と比較し、比較結果に応じて第2異常検出信号を出力し、
前記消耗電極の送給開始を指示する起動信号が供給され、前記第2異常検出信号に応じて、前記比較演算回路に対する前記起動信号の供給または供給停止を切り換える第2切換回路を有し、
前記比較演算回路は、前記起動信号の供給停止に応じて前記モータを停止するよう前記制御値を生成すること、
を特徴とする請求項1に記載のモータ駆動装置。
The abnormality detection circuit compares the output value of the period measurement circuit with a second reference determination value larger than the first reference determination value, and outputs a second abnormality detection signal according to the comparison result;
A start signal for instructing start of feeding of the consumable electrode is provided, and a second switching circuit for switching supply or stop of supply of the start signal to the comparison operation circuit according to the second abnormality detection signal;
The comparison arithmetic circuit generates the control value to stop the motor in response to the supply stop of the start signal;
The motor driving device according to claim 1.
前記異常検出回路は、前記起動信号の供給を停止するように前記第2異常検出信号を生成するとき、前記比較演算回路からの制御値を前記駆動回路に供給するように前記第1異常検出信号を生成すること、
を特徴とする請求項2に記載のモータ駆動装置。
When the abnormality detection circuit generates the second abnormality detection signal so as to stop the supply of the start signal, the first abnormality detection signal supplies the control value from the comparison operation circuit to the drive circuit. Generating,
The motor driving device according to claim 2.
前記周期測定回路は、前記パルス信号の立ち上がりと立ち下がりとに基づいて前記パルス信号の半周期を測定してその測定した結果の値を出力すること、
を特徴とする請求項1〜3の何れか一項に記載のモータ駆動装置。
The period measurement circuit measures a half period of the pulse signal based on the rise and fall of the pulse signal and outputs a value of the measurement result;
The motor drive device according to claim 1, wherein the motor drive device is a motor drive device.
消耗電極により溶接を行う溶接機に含まれ、前記消耗電極を送給するモータを駆動するモータ駆動装置の制御方法であって、
送給指令値と送給帰還値とを比較演算して制御値を生成し、
前記制御値と送給基準値とを第1異常検出信号に応じて選択し、選択した前記制御値または前記送給基準値に応じて前記モータを駆動する駆動信号を生成し、
前記モータの回転に応じたパルス信号の周期を測定し、
前記パルス信号の周期を前記送給帰還値に変換し、
前記パルス信号の周期を第1基準判定値と比較し、比較結果に応じて前記第1異常検出信号を生成すること、
を特徴とするモータ駆動装置の制御方法。
A control method of a motor drive device included in a welding machine that performs welding with a consumable electrode and driving a motor that feeds the consumable electrode,
A control value is generated by comparing and calculating the feed command value and the feed feedback value,
Selecting the control value and the feed reference value according to a first abnormality detection signal, and generating a drive signal for driving the motor according to the selected control value or the feed reference value;
Measure the period of the pulse signal according to the rotation of the motor,
Converting the period of the pulse signal into the feed feedback value;
Comparing the period of the pulse signal with a first reference determination value, and generating the first abnormality detection signal according to the comparison result;
A method for controlling a motor driving device.
JP2014096908A 2014-05-08 2014-05-08 Motor driving device and control method of motor driving device Active JP6307343B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014096908A JP6307343B2 (en) 2014-05-08 2014-05-08 Motor driving device and control method of motor driving device
CN201510169330.8A CN105099285B (en) 2014-05-08 2015-04-10 The control method of motor drive and motor drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014096908A JP6307343B2 (en) 2014-05-08 2014-05-08 Motor driving device and control method of motor driving device

Publications (2)

Publication Number Publication Date
JP2015213931A JP2015213931A (en) 2015-12-03
JP6307343B2 true JP6307343B2 (en) 2018-04-04

Family

ID=54579040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014096908A Active JP6307343B2 (en) 2014-05-08 2014-05-08 Motor driving device and control method of motor driving device

Country Status (2)

Country Link
JP (1) JP6307343B2 (en)
CN (1) CN105099285B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6848511B2 (en) * 2017-02-21 2021-03-24 オムロン株式会社 Motor control device
DE112019000111T5 (en) * 2018-04-03 2020-09-24 Fuji Electric Co., Ltd. DRIVER CIRCUIT, DRIVER METHOD AND SEMICONDUCTOR SYSTEM
CN111795199B (en) * 2020-07-17 2022-05-17 苏州英诺威视图像有限公司 Electromagnetic valve operation monitoring system and method and automatic sorting equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5443064Y2 (en) * 1976-08-05 1979-12-13
JPS60148676A (en) * 1984-01-13 1985-08-05 Kobe Steel Ltd Speed control device of welding wire
JPS63228987A (en) * 1987-03-18 1988-09-22 Hitachi Ltd Safeguard for dc motor with encoder
CN1082744C (en) * 1999-10-10 2002-04-10 旺玖科技股份有限公司 Drive method of brushless D.C. motor and its driving circuit
JP2002172464A (en) * 2000-12-04 2002-06-18 Daihen Corp Motor driving method and driving device for consumable electrode type welding machine
JP4784025B2 (en) * 2001-09-19 2011-09-28 パナソニック株式会社 Positioning control method and positioning control device
JP4515018B2 (en) * 2002-08-26 2010-07-28 株式会社ダイヘン Scanning control method of pulse arc welding
US7180029B2 (en) * 2004-04-16 2007-02-20 Illinois Tool Works Inc. Method and system for a remote wire feeder where standby power and system control are provided via weld cables
US7335854B2 (en) * 2005-03-11 2008-02-26 Illinois Tool Works Inc. Method and system of determining wire feed speed
CN103703669B (en) * 2011-09-21 2017-08-08 江森自控日立空调技术(香港)有限公司 Power-converting device, motor drive and air conditioner
JP2013154397A (en) * 2012-01-05 2013-08-15 Daihen Corp Welding equipment

Also Published As

Publication number Publication date
JP2015213931A (en) 2015-12-03
CN105099285B (en) 2019-03-01
CN105099285A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
JP6307343B2 (en) Motor driving device and control method of motor driving device
JP6128013B2 (en) Rotation angle detection device and electric power steering device using the same
JP2019022281A (en) Brake inspection equipment and motor control device
JP2014516804A (en) Welding system using a controlled wire feed rate during arc start-up and corresponding welding method
JP2018082581A (en) Motor drive controller and motor drive control method
EP1486398A4 (en) Electric power steering device control apparatus
JP2016093854A (en) Electrically powered apparatus
JP4082344B2 (en) Electric motor drive device and electric tool using the same
JP2010214399A5 (en)
WO2014196561A1 (en) Stepping-motor control device and control method
JP2009113555A (en) Wiper control device
JP6717872B2 (en) Motor controller
JP2019146308A5 (en)
JP2011011567A5 (en)
WO2018167915A1 (en) Motor control system, manipulator system, and motor control method
JP2017188973A5 (en)
JP7428522B2 (en) Welding wire feeding control method, welding wire feeding device and welding system
JP7244737B2 (en) Motor control circuit and motor control device
JP2009172822A (en) Control method and controller of heating heater of injection molding apparatus
JP2015146728A5 (en) DRIVE DEVICE, CONVEYING DEVICE, AND IMAGE FORMING DEVICE
JP2021010222A (en) Current direction determination apparatus
JP7364871B2 (en) Motor control circuit and motor control device
JP2006197749A (en) Stepping motor driving device
JP6679861B2 (en) Sensor device and electric power steering device using the same
WO2018216149A1 (en) Device for detecting rotation angle and device for controlling ac rotary machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170410

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180219

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180312

R150 Certificate of patent or registration of utility model

Ref document number: 6307343

Country of ref document: JP

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