JP2021175206A - Motor control device - Google Patents

Motor control device Download PDF

Info

Publication number
JP2021175206A
JP2021175206A JP2020074613A JP2020074613A JP2021175206A JP 2021175206 A JP2021175206 A JP 2021175206A JP 2020074613 A JP2020074613 A JP 2020074613A JP 2020074613 A JP2020074613 A JP 2020074613A JP 2021175206 A JP2021175206 A JP 2021175206A
Authority
JP
Japan
Prior art keywords
speed
command
motor
torque
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020074613A
Other languages
Japanese (ja)
Inventor
勇治 井出
Yuji Ide
通生 北原
Michio Kitahara
敏雄 平出
Toshio Hiraide
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.)
Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd, Sanyo Denki Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2020074613A priority Critical patent/JP2021175206A/en
Priority to CN202110387292.9A priority patent/CN113541570A/en
Priority to TW110113382A priority patent/TW202147767A/en
Priority to PH12021050166A priority patent/PH12021050166A1/en
Publication of JP2021175206A publication Critical patent/JP2021175206A/en
Pending legal-status Critical Current

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/20Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors for controlling one motor used for different sequential operations

Landscapes

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

Abstract

To provide a motor control device for pressing control without requiring a pressure detector and a force detector, and capable of performing high speed transition from position control and speed control to torque control having speed restriction function.SOLUTION: A motor control device controlling a motor on the basis of a control mode command of either one of torque or a position has: a speed detection part detecting motor speed; a position controller obtaining a speed command on the basis of positional deviation; a speed restriction part outputting a speed command after restriction, by restricting the speed command based on a torque command on the basis of a speed restriction command; a speed command selection part outputting a motor speed command by switching the speed command from the position controller with the speed command after restriction, on the basis of a control mode automatic switching signal; a subtractor outputting a speed deviation by subtracting the motor speed from the motor speed command; a speed controller performing a speed control operation using the speed deviation as an input and outputting the motor torque command; and a motor torque controlling part causing the torque to be outputted based on the motor torque command.SELECTED DRAWING: Figure 1

Description

本発明は、押当て制御用のモータ制御装置に関するものである。 The present invention relates to a motor control device for pressing control.

スポット溶接用サーボガンでは、溶接ガンの電極部の溶接チップでワークを挟んでモータのトルクを制御して加圧し、電極チップ間を通電しワークを溶着させている。このような溶接ガンでは、位置制御や速度制御で加圧対象に接触する手前まで移動し、トルク制御に切替えて加圧している。そして、トルク制御に切替えた時に過大な速度が発生して加圧対象に衝突することがないように、速度制限機能を備えたトルク制御を実施している。溶着が終了すると、再び位置制御や速度制御で移動を行う。 In the spot welding servo gun, the work is sandwiched between the welding tips of the electrode portion of the welding gun, the torque of the motor is controlled and pressurized, and the electrodes are energized to weld the work. In such a welding gun, the position control or speed control is used to move the welding gun to the point where it comes into contact with the pressurizing target, and the welding gun is switched to torque control to pressurize. Then, torque control having a speed limiting function is performed so that an excessive speed is not generated when the torque control is switched to and the pressure target is not collided with the pressurized object. When the welding is completed, the movement is performed again by position control and speed control.

このような位置制御や速度制御とトルク制御を切り替えて押当て制御を実施した例として特許文献1がある。特許文献1には、エンコーダを備えたモータを制御するモータ制御装置であって、モータによって駆動される機械負荷が加圧対象物に接近し、かつ、機械負荷の最終位置が加圧対象物の一定距離手前となるべき指令値である位置指令を生成する位置指令生成部と、エンコーダで検出されたモータの位置が位置指令に追従するように第1の速度指令を出力する位置制御部と、加圧対象物に加えるべき圧力または力の指令値である圧力指令を生成する圧力指令生成部と、機械負荷が加圧対象物に押し当てられたときに、機械負荷で検出された圧力または力が圧力指令に追従するように第2の速度指令を出力する圧力制御部と、機械負荷が加圧対象物に接触する際のモータの速度の上限を規定するクリープ速度と、第1の速度指令と、第2の速度指令との何れか1つを選択し、モータが動作すべき速度指令として出力する速度指令選択部と、速度指令選択部が出力する速度指令にモータの速度が追従するようにモータに電流を供給する電流指令を出力する速度制御部とを備え、速度指令選択部は、第1の速度指令を選択した後、第1の速度指令がクリープ速度を下回ったタイミング以降では、第2の速度指令またはクリープ速度の小さい値を選択することを特徴とするモータ制御装置が記載されている。 Patent Document 1 is an example in which pressing control is performed by switching between position control, speed control, and torque control. Patent Document 1 describes a motor control device for controlling a motor including an encoder, in which a mechanical load driven by the motor approaches a pressurized object and the final position of the mechanical load is the pressurized object. A position command generator that generates a position command that is a command value that should be a certain distance before, and a position control unit that outputs a first speed command so that the position of the motor detected by the encoder follows the position command. A pressure command generator that generates a pressure command, which is the command value of the pressure or force to be applied to the object to be pressurized, and the pressure or force detected by the mechanical load when the mechanical load is pressed against the object to be pressurized. A pressure control unit that outputs a second speed command so that And the second speed command is selected so that the speed of the motor follows the speed command selection unit output as the speed command to be operated by the motor and the speed command output by the speed command selection unit. It is equipped with a speed control unit that outputs a current command that supplies current to the motor, and the speed command selection unit selects the first speed command and then after the timing when the first speed command falls below the creep speed, A motor control device is described that comprises selecting a second speed command or a smaller value of creep speed.

このように、特許文献1の手法では、第1の速度指令がクリープ速度を下回ったタイミング以降では、第2の速度指令またはクリープ速度の小さい値を選択する処理を実施している。しかしながら、圧力制御部を構成するためには圧力検出器や力検出器が必要であり、こういった検出器を設けられない設備では、押当て制御を行うことができないという問題があった。また、圧力や力検出器の出力に含まれるノイズや、圧力制御ループを構成する機械の剛性に起因した不安定要素がある場合、圧力制御部からの速度指令にリップルが生じ、クリープ速度と第2の速度指令が切り替わる付近では、圧力制御ループが遮断されたり、また、復活したりするため、動作が不安定になってしまうという問題があった。 As described above, in the method of Patent Document 1, a process of selecting the second speed command or a value having a small creep speed is performed after the timing when the first speed command falls below the creep speed. However, a pressure detector and a force detector are required to form the pressure control unit, and there is a problem that the pressing control cannot be performed in the equipment not provided with such a detector. In addition, if there is noise contained in the output of the pressure or force detector, or if there is an unstable element due to the rigidity of the machine that constitutes the pressure control loop, ripple will occur in the speed command from the pressure control unit, and the creep speed and the first In the vicinity where the speed command of 2 is switched, the pressure control loop is interrupted or revived, so that there is a problem that the operation becomes unstable.

特許第6113378号公報Japanese Patent No. 6113378

本発明は、以上の様な問題点を解消するためになされたものであり、その目的は、圧力検出器や力検出器が不要で、位置制御や速度制御から速度制限機能付きトルク制御への移行を高速に行え、さらに、速度制限状態からトルク制御への移行を高速で安定に行うことのできる押当て制御用のモータの制御装置を提供することである。 The present invention has been made to solve the above problems, and an object thereof is to change from position control and speed control to torque control with a speed limit function without the need for a pressure detector or a force detector. It is an object of the present invention to provide a motor control device for pressing control capable of performing a high-speed transition and further performing a high-speed and stable transition from a speed limit state to torque control.

本発明の一観点によれば、トルク又は位置のいずれかの制御モード指令に基づいてモータを制御するモータ制御装置において、位置制御モードにおいては位置指令に応じてモータの位置を制御し、前記トルク制御モードにおいては速度制限指令以上の速度では速度制限指令に応じて速度を制限し速度制限指令より低い速度ではトルク指令に応じてモータのトルクを制御するモータ制御装置であって、前記モータ制御装置は、前記モータの速度を検出する速度検出部と、位置指令から位置を減算して位置偏差を求める減算器と、前記位置偏差に基づいて速度指令を求める位置制御器と、トルク指令に基づく速度偏差を求める速度偏差算出器と、トルク指令に基づく速度偏差と速度を加算してトルク指令に基づく速度指令を求める加算器と、トルク指令に基づく速度指令を速度制限指令に基づき制限して、制限後の速度指令を出力する速度制限部と、制御モード自動切り換え信号に基づき、前記位置制御器からの速度指令と前記制限後の速度指令を切り換えて、モータ速度指令を出力する速度指令選択部と、前記モータ速度指令から前記モータの速度を減算して速度偏差を出力する減算器と、前記速度偏差を入力として速度制御演算を行い、モータトルク指令を出力する速度制御器と、前記モータトルク指令に基づくトルクを出力させるモータトルク制御部と、を備え、前記速度制御器は、比例制御器と、積分制御器とを有し、前記速度指令選択部は、前記位置制御器からの速度指令と前記トルク指令に基づく前記制限後の速度指令とを比較し、前記位置制御器からの速度指令の値が前記制限後の速度指令の値より大きい場合は前記位置制御器からの速度指令の値を選択し、前記位置制御器からの速度指令の値が前記制限後の速度指令の値以下の場合は、前記制限後の速度指令の値を選択してモータ速度指令が求められるものであることを特徴とするモータ制御装置が提供される。 According to one aspect of the present invention, in a motor control device that controls a motor based on a control mode command of either torque or position, in the position control mode, the position of the motor is controlled according to the position command, and the torque is described. In the control mode, it is a motor control device that limits the speed according to the speed limit command at a speed higher than the speed limit command and controls the torque of the motor according to the torque command at a speed lower than the speed limit command. Is a speed detector that detects the speed of the motor, a subtractor that subtracts the position from the position command to obtain the position deviation, a position controller that obtains the speed command based on the position deviation, and a speed based on the torque command. A speed deviation calculator that calculates the deviation, an adder that adds the speed deviation and speed based on the torque command to obtain the speed command based on the torque command, and a speed command based on the torque command is limited based on the speed limit command. A speed limit unit that outputs a later speed command, and a speed command selection unit that switches between a speed command from the position controller and a speed command after the limit based on a control mode automatic switching signal and outputs a motor speed command. , A subtractor that subtracts the speed of the motor from the motor speed command and outputs a speed deviation, a speed controller that performs a speed control calculation using the speed deviation as an input and outputs a motor torque command, and the motor torque command. The speed controller includes a proportional controller and an integral controller, and the speed command selection unit includes a speed command from the position controller. Compare with the speed command after the limitation based on the torque command, and if the value of the speed command from the position controller is larger than the value of the speed command after the limitation, the value of the speed command from the position controller is used. If the value of the speed command from the position controller is equal to or less than the value of the speed command after the limitation, the value of the speed command after the limitation is selected to obtain the motor speed command. A featured motor control device is provided.

前記速度指令選択部は、モータの駆動する部材の位置が押当て制御対象に近い所定の位置に達すると、制御モード自動切り換えを有効にするものであっても良い。 The speed command selection unit may enable automatic control mode switching when the position of the member driven by the motor reaches a predetermined position close to the pressing control target.

前記速度制御器は、前記速度指令選択部で前記制限後の速度指令を選択し、前記トルク指令に基づく速度指令が前記速度制限部において速度制限されていない場合は、比例制御が行われるものであり、前記トルク指令に基づく速度指令が前記速度制限部において速度制限されている場合は、比例積分制御が行われるものであることが好ましい。 The speed controller selects the speed command after the limitation by the speed command selection unit, and when the speed command based on the torque command is not speed-limited by the speed limiting unit, proportional control is performed. When the speed command based on the torque command is speed-limited in the speed limiting unit, it is preferable that proportional integration control is performed.

本発明によれば、圧力検出器や力検出器を必要とせず、位置制御や速度制御から速度制限機能付きトルク制御への移行を高速に行うことができる。
さらに、速度制限状態からトルク制御への移行を高速で安定に行うことのできる押当て制御用のモータの制御装置を提供することができる。
According to the present invention, the transition from position control and speed control to torque control with a speed limiting function can be performed at high speed without the need for a pressure detector or a force detector.
Further, it is possible to provide a control device for a motor for pressing control capable of performing a transition from a speed limit state to torque control at high speed and stably.

図1は、モータ制御装置及び方法の一態様を示すブロック図である。FIG. 1 is a block diagram showing an aspect of a motor control device and a method. 図2は、具体的な速度制御器の構成例を示した図である。FIG. 2 is a diagram showing a specific configuration example of the speed controller. 図3は、位置制御で加圧対象に接触する手前まで移動し、トルク制御に切替えて加圧動作をする場合のシミュレーション結果を示す図である。FIG. 3 is a diagram showing a simulation result in the case where the position control moves to the front side of contact with the pressurization target and the torque control is switched to perform the pressurization operation.

以下に、本発明に係るモータ制御装置及び方法の実施の態様を図面に基づいて詳細に説明する。なお、この実施の態様の説明如何により本発明の範囲が限定されるものではなく、特許請求の範囲の各請求項に係る発明の技術的範囲に属する限り、如何なる態様であっても本発明の範囲に含まれるものである。
図1に、モータ制御装置及び方法の一態様を示す。
Hereinafter, embodiments of the motor control device and method according to the present invention will be described in detail with reference to the drawings. The scope of the present invention is not limited by the description of this embodiment, and any aspect of the present invention can be used as long as it belongs to the technical scope of the invention according to each claim of the claims. It is included in the range.
FIG. 1 shows an aspect of a motor control device and a method.

トルク指令と速度制限指令に基づいてモータの速度制限機能付きのトルク制御装置及び制御方法は、前記〔背景技術〕の項でも述べたとおり、公知のものであるので、詳細の説明は省略するが、本発明の実施の態様は次のとおりである。 As described in the above [Background Art], the torque control device and the control method with the speed limit function of the motor based on the torque command and the speed limit command are known, so detailed description thereof will be omitted. , The embodiment of the present invention is as follows.

本発明のモータ21のモータのトルクと位置を制御するモータ制御装置Aは、概略、エンコーダEN23、エンコーダEN23の位置を微分して速度を求める速度検出部25と、速度偏差算出器1、加算器3、速度制限部5、制御モード切り換え部7、減算器11、速度制御器15、速度指令選択部16、モータトルク制御器17、位置制御器35などから構成されている。 The motor control device A that controls the torque and position of the motor of the motor 21 of the present invention is roughly a speed detection unit 25 that obtains a speed by differentiating the positions of the encoder EN23 and the encoder EN23, a speed deviation calculator 1, and an adder. 3. It is composed of a speed limiting unit 5, a control mode switching unit 7, a subtractor 11, a speed controller 15, a speed command selection unit 16, a motor torque controller 17, a position controller 35, and the like.

図1に示す実施例は、トルク制御モードと位置制御モードを切り換え可能な例を示したものである。モータ制御装置Aの各部の機能は以下のとおりである。トルク指令Tを速度偏差算出器1に通してトルク指令に基づく速度偏差SDTを求める。トルク指令に基づく速度偏差SDTと速度Vを加算器3により加算してトルク指令に基づく速度指令STCを求める。速度制限部5において、トルク指令Tに基づく速度指令STCを速度制限指令SLCで指令される速度制限値で速度制限して、制限後の速度指令SCLを求める。
また、位置指令Lから位置Pを減算して、位置偏差PDTを求め、位置制御器35に通して位置制御器からの速度指定Sを求める。
The embodiment shown in FIG. 1 shows an example in which the torque control mode and the position control mode can be switched. The functions of each part of the motor control device A are as follows. Obtain a velocity deviation S DT based on the torque command through the torque command T C the speed deviation calculator 1. The speed deviation SDT based on the torque command and the speed V are added by the adder 3 to obtain the speed command STC based on the torque command. In the speed limiting unit 5, and the speed limit at the speed limit value commanded the speed command S TC based on the torque command T C at a rate limiting command S LC, it obtains a speed command S CL after restriction.
Further, by subtracting the position P from the position command L C, it obtains the position deviation P DT, determine the speed designation S C from the position controller through a position controller 35.

制御モード切り換え部7では、速度指令選択部16からの速度指令選択指令STSに基づき、位置制御器からの速度指令Sと制限後の速度指令SCLを切り替え、モータ速度指令SMCを求める。速度指令選択指令STSが位置制御器からの速度指令の場合は位置制御器からの速度指令Sをモータ速度指令SMCとし、速度指令選択指令STSが制限後の速度指令SCLの場合は、制限後の速度指令SCLをモータ速度指令SMCとする。そして、モータ速度指令SMCに基づき、モータを速度制御する。 In the control mode switching unit 7, based on the speed command selection instruction S TS from the speed command selection section 16 switches the speed command S CL after limiting the speed command S C from the position controller to obtain the motor speed S MC .. If the speed command selection instruction S TS is the speed command from the position controller to the speed command S C from the position controller and motor speed S MC, the speed command selection instruction S If TS is the speed command S CL after restriction Sets the speed command S CL after the limit to the motor speed command S MC . Then, based on the motor speed S MC, control the speed of the motor.

モータ21が押当て制御対象に近づくと、上位コントローラは位置信号等に基づき、制御モード自動切り換え信号CMSを有効にする。制御モード自動切り換え信号CMSが有効になると、速度指令選択部16では、位置制御器からの速度指令Sと制限後の速度指令SCLを比較し、位置制御器からの速度指令Sが制限後の速度指令SCLより大きい場合は位置制御器からの速度指令Sを選択し、位置制御器からの速度指令Sが制限後の速度指令SCL以下になると、制限後の速度指令SCLを選択して、モータ速度指令SMCを求める。このモータ速度指令SMCに基づき、モータ21を速度制御する。 When the motor 21 approaches the control target Pushing, host controller based on the position signal, etc., to enable control mode automatic switching signal C MS. When the control mode automatically switching signal C MS is enabled, the speed command selection section 16 compares the speed command S CL after limiting the speed command S C from the position controller, the speed command S C from the position controller greater than the speed command S CL after restriction selects the speed command S C from the position controller, the speed command S C from the position controller is below the limit after the speed command S CL, the speed command after restriction Select S CL to obtain the motor speed command S MC . Based on the motor speed S MC, control the speed of the motor 21.

具体的には、モータに付けられているエンコーダEN23の位置を微分して速度を求める。モータ速度指令SMCから速度を減算して速度偏差Sを求め、速度制御器15を通してモータトルク指令TMTを算出する。モータトルク指令TMTに基づき、モータトルク制御器17によりモータトルク指令TMT通りのトルクがモータから出力される。モータから出力されたトルクにより回転した位置をエンコーダEN23で検出し、モータ速度指令SMCと一致するように速度制御が行われる。 Specifically, the speed is obtained by differentiating the position of the encoder EN23 attached to the motor. The speed is subtracted from the motor speed command S MC to obtain the speed deviation S D, and the motor torque command T MT is calculated through the speed controller 15. Based on the motor torque command T MT , the motor torque controller 17 outputs the torque according to the motor torque command T MT from the motor. The position rotated by the output torque from the motor detected by the encoder EN23, speed control is performed to match the motor speed S MC.

速度制御器15は比例制御器15aを有し、制御状態に基づく速度指令選択部16からの速度制御器制御信号STSSにより、比例制御器15aのみで動作させたり、比例制御器15aと積分制御器15bの両方を動作させたりする。
速度指令選択部16で、位置制御器からの速度指令Sが選択されている場合は、速度制御器制御信号STSSにより比例制御器15aと積分制御器15bの両方を動作させて比例積分制御を行う。速度指令選択部16で制限後の速度指令SCLが選択されていて、トルク指令Tに基づく速度指令が速度制限にかかっている場合も同様に比例積分制御を行う。速度指令選択部16で制限後の速度指令SCLが選択されていて、トルク指令Tに基づく速度指令が速度制限にかかっていない場合は速度制御器制御信号STSSにより比例制御を行う。
The speed controller 15 has a proportional controller 15a, and can be operated only by the proportional controller 15a or integrated control with the proportional controller 15a by the speed controller control signal TSSS from the speed command selection unit 16 based on the control state. Both of the vessels 15b are operated.
A speed command selection section 16, if the speed command S C from the position controller is selected, a proportional integral control by operating both the proportional controller 15a and the integral controller 15b by a speed controller control signal S TSS I do. Though the speed command S CL after restricted speed command selection section 16 is selected, the same proportional integral control even when the speed command based on the torque command T C is afflicted with speed limit. Though the speed command S CL after restricted speed command selection section 16 is selected, if the speed command based on the torque command T C is not applied to the speed limit performs proportional control by the speed controller control signal S TSS.

図2は、図1における速度制御器15のより具体的な構成例を示した図である。比例ゲイン15a−1により比例制御器15aが構成され、積分ゲイン15b−1と積分器15b−2、そして積分減衰ゲイン15b−3と切替スイッチ15b−4とから積分制御器15bが構成されている。 FIG. 2 is a diagram showing a more specific configuration example of the speed controller 15 in FIG. The proportional gain 15a-1 constitutes the proportional controller 15a, and the integral gain 15b-1 and the integrator 15b-2, and the integral attenuation gain 15b-3 and the changeover switch 15b-4 constitute the integrator controller 15b. ..

速度制御器15を比例積分制御で動作させる場合は、切替スイッチ15b−4を1にし、積分制御器15bに積分動作を行わせる。速度制御器15を比例制御器で動作させる場合は、切替スイッチ15b−4を2にし、積分器15b−2の値をマイナス符号の積分減衰ゲインに基づき減衰させて0にして、比例動作を行わせる。これらのモータ制御を行う各部はソフトウェアで構成することができ、制御サンプル毎に制御演算が行われる。 When the speed controller 15 is operated by the proportional integration control, the changeover switch 15b-4 is set to 1, and the integration controller 15b is made to perform the integration operation. When the speed controller 15 is operated by the proportional controller, the changeover switch 15b-4 is set to 2, the value of the integrator 15b-2 is attenuated based on the integral attenuation gain of the minus sign and set to 0, and the proportional operation is performed. Let me. Each part that controls these motors can be configured by software, and control calculations are performed for each control sample.

速度指令選択部16は、モータ21の駆動する部材の位置が押当て制御対象に近い所定の位置に達すると、制御モード自動切り換え信号CMSを受けて制御モード自動切り換えを有効にする。すなわち、位置制御モードとトルク制御モードとを自動切り替え可能な状態にする。
速度指令選択部16は、位置制御器からの速度指令Sと制限後の速度指令SCLとを比較する。
位置制御器からの速度指令Sの値が制限後の速度指令SCLの値より大きい場合は位置制御器からの速度指令Sの値を選択する。
Speed command selection section 16, the position of the member for driving the motor 21 reaches a predetermined position close to the controlled object the pushing, to enable the control mode automatic switching in response to a control mode automatic switching signal C MS. That is, the position control mode and the torque control mode can be automatically switched.
Speed command selection section 16 compares the speed command S CL after limiting the speed command S C from the position controller.
The value of the speed command S C from the position controller is when the value is greater than the speed command S CL after restriction selects the value of the speed command S C from the position controller.

一方、位置制御器からの速度指令Sの値が制限後の速度指令の値SCL以下の場合は、制限後の速度指令SCLの値を選択してモータ速度指令SMCが求められる。 On the other hand, the value of the speed command S C from the position controller is in the case of less than the value S CL velocity command after restriction, motor speed S MC is determined by selecting the value of the limiting after the speed command S CL.

速度制御器15は、速度指令選択部16で制限後の速度指令を選択し、トルク指令Tに基づく速度指令STCが速度制限部5において速度制限されていない場合は、比例制御が行われる。
一方、トルク指令に基づく速度指令STCが速度制限部5において速度制限されている場合は、比例積分制御が行われる。
Speed controller 15 selects the speed command after restricted speed command selection section 16, the speed command S TC based on the torque command T C if not the speed limit at the speed limiting unit 5, the proportional control is performed ..
On the other hand, when the speed command STC based on the torque command is speed-limited by the speed limiting unit 5, proportional integration control is performed.

速度指令選択指令STSが制限後の速度指令SCLの場合は、制御モード切り換え部7は制限後の速度指令SCLを選択し、次のようにして速度制限機能付きのトルク制御が実施される。
速度制御器15を比例制御器15aで構成し、そのゲインをGPとすると、速度制御系でのモータ速度指令SMCからモータトルク指令TMTを算出する計算の逆算により、トルク指令Tからトルク指令に基づく速度指令STCは、以下のように算出できる。
When the speed command selection command STS is the speed command S CL after the limit, the control mode switching unit 7 selects the speed command S CL after the limit, and torque control with the speed limit function is performed as follows. NS.
The speed controller 15 is constituted by a proportional controller 15a, when the gain and GP, by back calculation of calculation for calculating a motor torque command T MT from motor speed S MC of the speed control system, torque from the torque command T C The speed command STC based on the command can be calculated as follows.

トルク指令に基づく速度偏差SDT=トルク指令T/GP (1)
トルク指令に基づく速度指令STC=トルク指令に基づく速度偏差SDT+速度V(2)
Speed based on the torque command deviation S DT = torque command T C / GP (1)
Speed command based on torque command S TC = Speed deviation based on torque command S DT + speed V (2)

そして、求められたトルク指令に基づく速度指令STCに対して速度制限指令SLCに基づき速度制限を行い、制限後の速度指令SCLを求める。
制限後の速度指令SCLに従ってモータ21の速度制御を行うと、以下のようになる。
モータトルク指令TMT=速度偏差S×GP=(モータ速度指令SMC−速度V)×GP
Then, a speed limit based on the speed limiting command S LC relative speed command S TC based on the torque command obtained, obtains a speed command S CL after restriction.
When the speed of the motor 21 is controlled according to the speed command SCL after the limitation, the result is as follows.
Motor torque command T MT = speed deviation S D x GP = (motor speed command S MC -speed V) x GP

ここで、速度制限にかからない場合は、モータ速度指令SMC=トルク指令に基づく速度指令STCのため、
モータトルク指令TMT=(トルク指令に基づく速度指令STC−速度V)×GP={(トルク指令に基づく速度偏差SDT+速度V)−速度V}×GP (3)
ここで、(トルク指令に基づく速度偏差SDT)×GP=トルク指令/GP×GP=トルク指令Tとなり、モータトルク指令TMTはトルク指令Tと一致し、このモータトルク指令TMTに基づきトルク制御を行い、モータトルク指令TMT通りのモータトルクがモータ21から出力される。
速度制限にかかった場合は、モータ速度指令SMCは速度制限指令SLCになり、速度制限指令SLCに基づくモータの速度制御が行われ、速度制限指令SLCに速度が比例積分制御される。
Here, if the speed limit is not applied, the motor speed command S MC = the speed command STC based on the torque command, so
Motor torque command T MT = (speed command S TC based on torque command-speed V) x GP = {(speed deviation S DT + speed V based on torque command) -speed V} x GP (3)
Here, (speed deviation based on a torque command S DT) × GP = torque command / GP × GP = torque command T C, and the motor torque command T MT coincides with the torque command T C, this motor torque command T MT performs torque control based, motor torque of the motor torque command T MT as is output from the motor 21.
If applied to the speed limit, the motor speed command S MC becomes rate limiting command S LC, the speed control of the motor based on the speed limiting command S LC is performed, the speed is proportional integral control to the speed limiting command S LC ..

図3は、本実施の形態による位置制御で加圧対象に接触する手前まで移動し、トルク制御に切替えて加圧動作をする場合のシミュレーション結果の一例を示す図である(A〜G)。ここでは、一例としてスポット溶接用サーボガンに用いた場合の形態を示している。 FIG. 3 is a diagram showing an example of simulation results in the case where the position control according to the present embodiment moves to the front of contact with the pressurization target and switches to torque control to perform the pressurization operation (A to G). Here, as an example, a form when used for a spot welding servo gun is shown.

波形Aは、位置制御器からの速度指令STCを示す図である。
波形Bは、トルク指令TCと負荷トルクを示す図である。
波形Cは、制御(位置、トルク)モード自動切り替えを示す図である。
波形Dは、制限後の速度指令SCLを示す図である。
波形Eは、モータ速度指令SMCを示す図である。
波形Fは、速度Vを示す図である。
波形Gはモータトルク指令TMCを示す図である。
Waveform A is a diagram showing a speed command STC from a position controller.
The waveform B is a diagram showing a torque command TC and a load torque.
Waveform C is a diagram showing automatic switching of control (position, torque) modes.
The waveform D is a diagram showing the speed command SCL after the restriction.
Waveform E is a diagram showing a motor speed S MC.
The waveform F is a diagram showing the velocity V.
The waveform G is a diagram showing a motor torque command TMC.

位置制御において、サーボガンの位置が加圧対象に近づくと、制御モード自動切り換えが有効になり(波形C)、位置制御器からの速度指令STC(波形A)が制限後の速度指令SCL(波形D)以下になると、速度指令選択部16は制限後の速度指令SCLを選択して、モータ速度指令SMCは速度制限指令SLCで設定された速度制限値(300min−1)になっている(波形Eの0.12−0.14参照)。 In position control, the position of the servo gun approaches the pressurization target, control mode automatic switching is enabled (waveform C), the speed command from the position controller S TC (waveform A) the rate of post-limiting command S CL ( When the waveform D) or less, the speed command selection unit 16 selects the speed command S CL after the limit, and the motor speed command S MC becomes the speed limit value (300 min -1 ) set by the speed limit command S LC. (See 0.12-0.14 of waveform E).

そして、制限された速度で加圧対象物に近づき、加圧対象物に接触すると負荷トルクが増加して(波形B)速度が低下し(波形F)、速度制限状態が解除され、トルク指令T通りのモータトルク指令TMTで加圧対象を加圧している(波形G)。
加圧対象物を加圧すると、制御モード自動切り換えを無効にする(波形C)。圧力制御ループがないため、速度制限機能付きトルク制御系からの出力である制限後の速度指令SLC(波形D)は一定のきれいな値であり、位置制御からトルク制御への切り換えは高速でスムーズである(波形G)。また、加圧対象に接触する時の、速度制限状態からトルク制御への切り換えも、チャタリング等の不安定な現象はみられず、瞬時にトルク制御に切り替わっている(波形G)。
Then, when the object is approached at a limited speed and comes into contact with the object to be pressurized, the load torque increases (waveform B) and the speed decreases (waveform F), the speed limiting state is released, and the torque command T is released. and pressurized subject pressurized with a motor torque command T MT of C Street (waveform G).
Pressurizing the object to be pressurized disables automatic control mode switching (waveform C). Since there is no pressure control loop, the speed command SLC (waveform D) after the limit, which is the output from the torque control system with the speed limit function, is a constant and clean value, and the switching from position control to torque control is fast and smooth. (Waveform G). Further, even when the speed limit state is switched to the torque control when the pressure target is contacted, an unstable phenomenon such as chattering is not observed, and the torque control is instantly switched to the torque control (waveform G).

以上のように、本発明では、モータが押当て制御対象に近づくまでは通常の位置制御を実施し、モータが押当て制御対象に近づくと、制御モード自動切り換えを有効にする。制御モード自動切り換えが有効になると、速度指令選択部で位置制御器からの速度指令と制限後の速度指令を比較する。位置制御器からの速度指令が制限後の速度指令以下になると、制限後の速度指令を選択して速度制限機能付きトルク制御を行う。本発明では圧力制御ループがないため、切り換えは高速でスムーズであり、切り換え後は、加圧対象に接触するまで速度制限値で動作する。加圧対象に接触すると、速度が低下して、速度制限状態が解除される。そして、トルク指令通りのモータトルク指令になり、加圧対象をトルク指令で加圧する。速度制限状態からトルク制御状態への切り換わりも、圧力制御ループがないため、高速でスムーズであり、本制御手法の速度制限機能付きトルク制御では自動的に切り替わる。速度制限機能付きのトルク制御系は、トルク指令に基づく速度偏差に速度を加算して速度制限するだけである。従って、速度制御ループの上位に速度制限を実現するための圧力制御ループがなく、特別な制御パラメータは必要ない。速度制御器のゲインが低くても、速度制限にかかっていない時はトルク指令通りのモータトルク指令が算出され、速度制御器のゲインの影響を受けない。速度制御器のゲインは普通にモータを速度制御する時に、速度ループが安定するように調整すればよい。また、機械系に共振などがある場合は、ノッチフィルタやローパスフィルタを速度制御器の出力に設けてもよい。その場合は、トルク指令に対する応答がフィルタを追加した分だけ、低下する。 As described above, in the present invention, the normal position control is performed until the motor approaches the pressing control target, and when the motor approaches the pressing control target, the control mode automatic switching is enabled. When the automatic control mode switching is enabled, the speed command selection unit compares the speed command from the position controller with the speed command after the limit. When the speed command from the position controller becomes less than or equal to the speed command after the limit, the speed command after the limit is selected and torque control with the speed limit function is performed. Since there is no pressure control loop in the present invention, switching is fast and smooth, and after switching, it operates at a speed limit value until it comes into contact with a pressurized object. When it comes into contact with the pressurized object, the speed decreases and the speed limit state is released. Then, the motor torque command is obtained according to the torque command, and the object to be pressurized is pressurized by the torque command. Switching from the speed limit state to the torque control state is also fast and smooth because there is no pressure control loop, and the torque control with the speed limit function of this control method automatically switches. A torque control system with a speed limiting function only limits the speed by adding the speed to the speed deviation based on the torque command. Therefore, there is no pressure control loop above the speed control loop to achieve speed limitation, and no special control parameters are required. Even if the gain of the speed controller is low, the motor torque command is calculated according to the torque command when the speed limit is not applied, and the gain of the speed controller is not affected. The gain of the speed controller may be adjusted so that the speed loop is stable when the speed of the motor is normally controlled. Further, if the mechanical system has resonance or the like, a notch filter or a low-pass filter may be provided at the output of the speed controller. In that case, the response to the torque command is reduced by the amount of the filter added.

以上の様に、本発明では、トルク指令を基にトルク指令に基づく速度指令を算出し、速度制限を行って制限後の速度指令を求め、位置制御器からの速度指令と制限後の速度指令を比較し、位置制御器からの速度指令が制限後の速度指令より大きい場合は位置制御器からの速度指令を選択する。位置制御器からの速度指令が制限後の速度指令以下になると、制限後の速度指令を選択して、モータ速度指令を求めて押当て制御を実現している。これにより、圧力検出器や力検出器が不要で、位置制御や速度制御から速度制限機能付きトルク制御への移行が高速であり、速度制限状態からトルク制御への移行が高速で安定な押当て制御用のモータの制御装置を提供することができる。 As described above, in the present invention, the speed command based on the torque command is calculated based on the torque command, the speed is limited to obtain the speed command after the limit, and the speed command from the position controller and the speed command after the limit are obtained. If the speed command from the position controller is larger than the speed command after restriction, select the speed command from the position controller. When the speed command from the position controller becomes equal to or less than the speed command after the limit, the speed command after the limit is selected, the motor speed command is obtained, and the pressing control is realized. As a result, no pressure detector or force detector is required, the transition from position control and speed control to torque control with speed limiting function is fast, and the transition from speed limiting state to torque control is fast and stable pressing. A control device for a control motor can be provided.

上述した各態様は、いずれも本発明の一態様を示すものであって、本発明自体がそれらの態様によって示される具体的な構成に限定されるものではない。本発明の範囲は、特許請求の範囲に記載された事項に基づき当業者が想定し得るものはすべて含まれるものである。 Each of the above-described aspects shows one aspect of the present invention, and the present invention itself is not limited to the specific configuration indicated by those aspects. The scope of the present invention includes all that can be assumed by those skilled in the art based on the matters described in the claims.

A モータ制御装置
P 位置
V 速度
1 速度偏差算出器
3 加算器
5 速度制限部
7 制御モード切り換え部
11 減算器
15 速度制御器
15a 比例制御器
15a−1 比例ゲイン
15b 積分制御器
15b−2 積分器
15b−3 減衰ゲイン
15b−4 切替スイッチ
16 速度指令選択部
17 モータトルク制御器
21 モータ
23 エンコーダ
35 位置制御器
位置指令
DT 位置偏差
速度指令
CL 制限後の速度指令
TSS 速度制御器制御信号
速度偏差
DT トルク指令に基づく速度偏差
LC 速度制限指令
TC トルク指令に基づく速度指令
TS 速度制御機器制御信号
MC モータ速度指令
トルク指令
MT モータトルク指令
A Motor control device P Position V Speed 1 Speed deviation calculator 3 Adder 5 Speed limit unit 7 Control mode switching unit 11 Subtractor 15 Speed controller 15a Proportional controller 15a-1 Proportional gain 15b Integral controller 15b-2 Integrator speed command S TSS speed of 15b-3 attenuation gain 15b-4 selector switch 16 speed command selector 17 motor torque controller 21 motor 23 encoder 35 position controller L C position command P DT position deviation S C speed command S CL limit after controller control signal S D speed deviation S speed deviation DT-based torque command S LC speed limiting command S TC speed command based on the torque command S TS speed control device control signal S MC motor speed T C torque command T MT motor torque command

Claims (3)

トルク又は位置のいずれかの制御モード指令に基づいてモータを制御するモータ制御装置において、位置制御モードにおいては位置指令に応じてモータの位置を制御し、前記トルク制御モードにおいては速度制限指令以上の速度では速度制限指令に応じて速度を制限し速度制限指令より低い速度ではトルク指令に応じてモータのトルクを制御するモータ制御装置であって、
前記モータ制御装置は、
前記モータの速度を検出する速度検出部と、
位置指令から位置を減算して位置偏差を求める減算器と、
前記位置偏差に基づいて速度指令を求める位置制御器と、
トルク指令に基づく速度偏差を求める速度偏差算出器と、
トルク指令に基づく速度偏差と速度を加算してトルク指令に基づく速度指令を求める加算器と、
トルク指令に基づく速度指令を速度制限指令に基づき制限して、制限後の速度指令を出力する速度制限部と、
制御モード自動切り換え信号に基づき、前記位置制御器からの速度指令と前記制限後の速度指令を切り換えて、モータ速度指令を出力する速度指令選択部と、
前記モータ速度指令から前記モータの速度を減算して速度偏差を出力する減算器と、
前記速度偏差を入力として速度制御演算を行い、モータトルク指令を出力する速度制御器と、
前記モータトルク指令に基づくトルクを出力させるモータトルク制御部と、を備え、
前記速度制御器は、比例制御器と、積分制御器とを有し、
前記速度指令選択部は、
前記位置制御器からの速度指令と前記トルク指令に基づく前記制限後の速度指令とを比較し、前記位置制御器からの速度指令の値が前記制限後の速度指令の値より大きい場合は前記位置制御器からの速度指令の値を選択し、前記位置制御器からの速度指令の値が前記制限後の速度指令の値以下の場合は、前記制限後の速度指令の値を選択してモータ速度指令が求められるものである
モータ制御装置。
In a motor control device that controls a motor based on either a torque or position control mode command, the position of the motor is controlled according to the position command in the position control mode, and the speed limit command or higher is performed in the torque control mode. It is a motor control device that limits the speed according to the speed limit command and controls the torque of the motor according to the torque command at a speed lower than the speed limit command.
The motor control device is
A speed detection unit that detects the speed of the motor,
A subtractor that subtracts the position from the position command to obtain the position deviation,
A position controller that obtains a speed command based on the position deviation,
A speed deviation calculator that calculates the speed deviation based on the torque command, and
An adder that adds the speed deviation and speed based on the torque command to obtain the speed command based on the torque command,
A speed limiter that limits the speed command based on the torque command based on the speed limit command and outputs the speed command after the limit,
Based on the control mode automatic switching signal, the speed command selection unit that switches between the speed command from the position controller and the speed command after the limitation and outputs the motor speed command,
A subtractor that subtracts the speed of the motor from the motor speed command and outputs the speed deviation.
A speed controller that performs speed control calculations using the speed deviation as an input and outputs a motor torque command.
A motor torque control unit that outputs torque based on the motor torque command is provided.
The speed controller includes a proportional controller and an integral controller.
The speed command selection unit
The speed command from the position controller is compared with the speed command after the limitation based on the torque command, and if the value of the speed command from the position controller is larger than the value of the speed command after the limitation, the position Select the value of the speed command from the controller, and if the value of the speed command from the position controller is equal to or less than the value of the speed command after the limitation, select the value of the speed command after the limitation and the motor speed. A motor control device for which a command is required.
前記速度指令選択部は、モータの駆動する部材の位置が押当て制御対象に近い所定の位置に達すると、制御モード自動切り換えを有効にする
請求項1に記載のモータ制御装置。
The motor control device according to claim 1, wherein the speed command selection unit enables automatic control mode switching when the position of a member driven by the motor reaches a predetermined position close to the pressing control target.
前記速度制御器は、
前記速度指令選択部で前記制限後の速度指令を選択し、
前記トルク指令に基づく速度指令が前記速度制限部において速度制限されていない場合は、比例制御が行われるものであり、
前記トルク指令に基づく速度指令が前記速度制限部において速度制限されている場合は、比例積分制御が行われるものである
請求項1又は2に記載のモータ制御装置。
The speed controller
The speed command after the limitation is selected by the speed command selection unit, and the speed command is selected.
When the speed command based on the torque command is not speed-limited in the speed limit unit, proportional control is performed.
The motor control device according to claim 1 or 2, wherein when the speed command based on the torque command is speed-limited in the speed limiting unit, proportional integration control is performed.
JP2020074613A 2020-04-20 2020-04-20 Motor control device Pending JP2021175206A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2020074613A JP2021175206A (en) 2020-04-20 2020-04-20 Motor control device
CN202110387292.9A CN113541570A (en) 2020-04-20 2021-04-09 Motor control device
TW110113382A TW202147767A (en) 2020-04-20 2021-04-14 Motor control apparatus
PH12021050166A PH12021050166A1 (en) 2020-04-20 2021-04-15 Motor control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020074613A JP2021175206A (en) 2020-04-20 2020-04-20 Motor control device

Publications (1)

Publication Number Publication Date
JP2021175206A true JP2021175206A (en) 2021-11-01

Family

ID=78124297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020074613A Pending JP2021175206A (en) 2020-04-20 2020-04-20 Motor control device

Country Status (4)

Country Link
JP (1) JP2021175206A (en)
CN (1) CN113541570A (en)
PH (1) PH12021050166A1 (en)
TW (1) TW202147767A (en)

Also Published As

Publication number Publication date
TW202147767A (en) 2021-12-16
CN113541570A (en) 2021-10-22
PH12021050166A1 (en) 2021-11-08

Similar Documents

Publication Publication Date Title
EP1798615B1 (en) Fixed-position stop control apparatus for rotation shaft
TWI430062B (en) Device for controlling a motor
KR101723326B1 (en) Motor control device
EP2362536A2 (en) Motor control method and motor control system
KR100661106B1 (en) Motor control device
EP2362287B1 (en) Motor Control Method and Motor Control System
EP1667000B1 (en) Control device
KR102040706B1 (en) Apparatus for motor driven power steering and control method thereof
JP3388112B2 (en) Positioning control device
JP3440936B2 (en) Position control device
JP2021175206A (en) Motor control device
US10649432B2 (en) Numerical controller with program check function by override switch
JPH0878506A (en) Positioning controller
EP2949819A1 (en) Driving control device of construction machine
KR20200064192A (en) Steering control system and method for autonomous vehicle
JP7394669B2 (en) motor control device
KR100461186B1 (en) Control method of pi controller
JP2022060889A (en) Motor control device
JP3383044B2 (en) Laser processing control device
JP4756464B2 (en) AC motor drive inverter device and operation method thereof
JP3487922B2 (en) Moving body speed control method and its control device
KR100336359B1 (en) Apparatus and method of reducing driving shock for hydraulic elevator
JPH11119804A (en) Driving controller for servomotor
JPH07261845A (en) Positioning control unit for servomotor
JPH09198144A (en) Speed control method and device for mobile object

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240321