JP2006338283A - Positioning controller - Google Patents

Positioning controller Download PDF

Info

Publication number
JP2006338283A
JP2006338283A JP2005161538A JP2005161538A JP2006338283A JP 2006338283 A JP2006338283 A JP 2006338283A JP 2005161538 A JP2005161538 A JP 2005161538A JP 2005161538 A JP2005161538 A JP 2005161538A JP 2006338283 A JP2006338283 A JP 2006338283A
Authority
JP
Japan
Prior art keywords
speed
axis
control
command
ramp
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.)
Withdrawn
Application number
JP2005161538A
Other languages
Japanese (ja)
Inventor
Masaaki Ito
正明 伊藤
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.)
Reliance Electric Ltd
Original Assignee
Reliance Electric 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 Reliance Electric Ltd filed Critical Reliance Electric Ltd
Priority to JP2005161538A priority Critical patent/JP2006338283A/en
Publication of JP2006338283A publication Critical patent/JP2006338283A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a positioning controller capable of positioning a control target without producing a table of a velocity instruction. <P>SOLUTION: This positioning controller has: position detectors 104<SB>x</SB>, 104<SB>y</SB>, 104<SB>z</SB>detecting a present position when stopping the control target to a target position; a velocity instruction arithmetic means 16 calculating the velocity instruction from a relative distance between the present position and the target position; and velocity control units 17, 18, 19 controlling a velocity of the control target on the basis of the velocity instruction and an actual velocity in the present position of the control target. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、位置決め制御装置、特に、制御対象が電動機である電動機位置決め制御装置に関するものである。   The present invention relates to a positioning control device, and more particularly to an electric motor positioning control device whose control object is an electric motor.

従来の位置決め制御装置として、図6に記載の位置決め制御装置39が知られている。この従来の位置決め制御装置は、フィードバックループ制御系によって電動機(図示せず)を制御するものである。この御装置39の構成について説明する。   As a conventional positioning control device, a positioning control device 39 shown in FIG. 6 is known. This conventional positioning control device controls an electric motor (not shown) by a feedback loop control system. The configuration of the control device 39 will be described.

図6に示すように、カッタを駆動する電動機を制御する制御装置39は、減算器105,位置制御器101,減算器106,速度制御器102,減算器107を備える。制御対象22は、電動機および機械的負荷を含むものとする。   As shown in FIG. 6, the control device 39 that controls the electric motor that drives the cutter includes a subtractor 105, a position controller 101, a subtractor 106, a speed controller 102, and a subtractor 107. The control target 22 includes an electric motor and a mechanical load.

減算器105は、位置指令設定器100による位置指令信号X*と、位置フィードバックループ内でレゾルバやエンコーダ等の位置検出器104で検出される電動機の実位置信号Xとを入力し、位置指令信号X*から実位置信号Xを減算し、演算結果により得られる位置偏差εpを位置制御器101に出力する。 The subtractor 105 receives the position command signal X * from the position command setter 100 and the actual position signal X of the motor detected by the position detector 104 such as a resolver or encoder in the position feedback loop, and receives the position command signal. The actual position signal X is subtracted from X *, and the position deviation ε p obtained from the calculation result is output to the position controller 101.

位置制御器101は、位置偏差εpを入力し、位置偏差εpが零になるように速度指令信号V*を減算器106に出力し、位置フィードバックループにより制御対象22の位置を制御する。 Position controller 101 receives the position deviation epsilon p, and outputs a speed command signal V * so that the position deviation epsilon p is zero to the subtractor 106, controls the position of the controlled object 22 by a position feedback loop.

減算器106は、速度指令V*と、速度フィードバックループ内でエンコーダ等の速度検出器103で検出した電動機の回転数から演算されるカッタ台の実速度V(カッタ移動速度に相当する)とを入力し、速度指令V*から実速度Vとを減算し、演算結果により得られる速度偏差εvを速度制御器102に出力する。 The subtractor 106 obtains the speed command V * and the actual speed V (corresponding to the cutter moving speed) of the cutter base calculated from the rotational speed of the motor detected by the speed detector 103 such as an encoder in the speed feedback loop. Then, the actual speed V is subtracted from the speed command V *, and the speed deviation ε v obtained from the calculation result is output to the speed controller 102.

速度制御器102は、速度偏差εvを入力し、速度偏差εvが零になるように電流指令値I*を減算器107に出力する。 Speed controller 102 receives the speed deviation epsilon v, speed error epsilon v outputs a current command value I * to be zero to the subtractor 107.

減算器107は、電流指令値I*と、電流フィードバックループ内で電動機の巻線に配設される電流センサ(図示せず)によるモータ実電流値Iとを入力し、電流指令値I*からモータ実電流値Iを減算し、演算結果により得られる電流偏差εIを制御対象22に加える。制御対象22である電動機は、電流偏差εIが零になるように電流制御される。結局カッタ台の実速度信号Vが速度指令信号V*に一致すると電動機に印加する電流値が零となりモータの発生トルクが零となり加速しなくなる。すなわち、電動機の速度がある目標値に定速制御される。 Subtractor 107, a current command value I *, and inputs the actual motor current value I by the current sensor disposed to the windings of the motor in a current feedback loop (not shown), from the current command value I * The motor actual current value I is subtracted, and the current deviation ε I obtained from the calculation result is added to the control object 22. The electric motor that is the control target 22 is current-controlled so that the current deviation ε I becomes zero. Eventually, when the actual speed signal V of the cutter table coincides with the speed command signal V * , the current value applied to the electric motor becomes zero and the generated torque of the motor becomes zero, resulting in no acceleration. That is, the motor speed is controlled at a constant speed to a certain target value.

一方、目標位置までの移動距離と、その制御装置の加速および減速レートにより最高速度まで加速できる場合、すなわち、速度パターンが台形になる場合とそうでない場合、例えば、三角形の場合に分け、制御装置のスキャン毎の速度指令値V*のテーブルを作成することにより位置決め制御することが知られている。 On the other hand, when the maximum speed can be accelerated by the moving distance to the target position and the acceleration and deceleration rates of the control device, that is, when the speed pattern is trapezoidal or not, for example, it is divided into the case of a triangle, and the control device It is known to perform positioning control by creating a table of speed command values V * for each scan.

しかしながら、従来の制御装置では、速度指令のテーブルを作成する演算の処理時間が長くなるため、予め、速度指令のテーブルを作成しておかざるを得ない。その結果として、例えば、制御対象の移動中に目標位置を変更して位置決めすることができないという問題が生じる虞がある。また、各位置決め工程について、それぞれの速度指令テーブルを作成しておかなければならないため、演算装置のメモリ容量の制限を受け、多量の位置決めパターンを持つことができないという問題が生じる虞がある。   However, in the conventional control apparatus, since the processing time for the calculation of creating the speed command table becomes long, the speed command table must be created in advance. As a result, for example, there may be a problem that the target position cannot be changed and positioned while the control target is moving. In addition, since each speed command table must be prepared for each positioning step, there is a possibility that a problem arises that a large amount of positioning patterns cannot be obtained due to the limitation of the memory capacity of the arithmetic unit.

本発明の目的は、速度指令のテーブルを作成することなく制御対象を位置決めできる位置決め制御装置を提供することにある。   An object of the present invention is to provide a positioning control device capable of positioning a control target without creating a speed command table.

上記目的を達成するために、本発明は、平面または空間上で制御対象を位置決めする位置決め制御装置において、制御対象を目標位置に停止させる場合の現在位置を検出する位置検出手段と、現在位置と目標位置との相対距離から速度指令を演算する速度指令演算手段と、速度指令と制御対象の現在位置における実速度とにもとづき制御対象を速度制御する速度制御手段とを有することを特徴とする。   In order to achieve the above object, the present invention provides a positioning control device for positioning a control object on a plane or space, a position detection means for detecting a current position when the control object is stopped at a target position, a current position, A speed command calculating unit that calculates a speed command from a relative distance to the target position, and a speed control unit that controls the speed of the control target based on the speed command and the actual speed at the current position of the control target.

さらに、好適には、速度指令演算手段は、制御対象移動速度を入力し、時間に対する速度勾配を有するランプ状制御対象移動速度を出力するランプ関数器とランプ状制御対象移動速度を入力し、制御対象移動速度の最大値を上限リミットとし、ランプ状制御対象移動速度を制限し、制限付きランプ状制御対象移動速度を出力するリミット回路と、制限付きランプ状制御対象移動速度と、現在位置と、目標位置と、減速レートとを入力し、速度指令の各軸の速度指令成分を出力する速度指令演算回路とを有することを特徴とする。   Further preferably, the speed command calculation means inputs a control object moving speed, inputs a ramp function unit that outputs a ramp-like control object moving speed having a speed gradient with respect to time, and a ramp-like control object moving speed, and performs control. Limit circuit that limits ramp-like control object movement speed and outputs restricted ramp-like control object movement speed with maximum value of target movement speed as upper limit, restricted ramp-like control object movement speed, current position, It has a speed command calculation circuit that inputs a target position and a deceleration rate and outputs a speed command component of each axis of the speed command.

さらに、好適には、制御対象が、電動機により駆動されるカッタであることを特徴とする。   Further preferably, the control object is a cutter driven by an electric motor.

以上説明したように、本発明によれば、速度指令のテーブルを作成することなく制御対象を位置決めできる。また、制御対象が移動中に目標位置を変更しても位置決めできる。   As described above, according to the present invention, the object to be controlled can be positioned without creating a speed command table. Further, positioning can be performed even if the target position is changed while the control target is moving.

以下、この発明を実施するための最良の形態について図面を参照して説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

図1は、本発明に係る電動機位置決め制御装置を3軸加工装置(カッタ)に適用した図を示す。図1(A)は、3軸加工装置の平面図を示す。図1(B)は、図1(A)における3軸加工装置の側面図を示す。   FIG. 1 shows a diagram in which an electric motor positioning control device according to the present invention is applied to a three-axis machining device (cutter). FIG. 1A shows a plan view of a triaxial machining apparatus. FIG. 1B shows a side view of the three-axis machining apparatus in FIG.

図2は、本発明に係る電動機位置決め制御装置が位置決め制御するときの現在位置と目標位置を示す図である。なお、X軸,Y軸およびZ軸は、互いに直交する座標軸を示し、また、空間上の位置座標A(XA,YA,ZA)は、現在位置(A点)を示し、位置座標B(XB,YB,ZB)は、目標位置(B点)を示し、さらに、矢印は、現在位置から目標位置に至る有向直線の正方向を示す。 FIG. 2 is a diagram showing a current position and a target position when the electric motor positioning control device according to the present invention performs positioning control. The X axis, the Y axis, and the Z axis indicate orthogonal coordinate axes, and the position coordinates A (X A , Y A , Z A ) in space indicate the current position (point A), and the position coordinates B (X B , Y B , Z B ) indicates the target position (point B), and the arrow indicates the positive direction of the directed straight line from the current position to the target position.

図3は、本発明に係る電動機位置決め制御装置におけるカッタ移動速度の速度パターンの一例を示す図である。横軸は、経過時間tを示し、縦軸は、カッタ移動速度Vを示す。   FIG. 3 is a diagram showing an example of a speed pattern of the cutter moving speed in the electric motor positioning control device according to the present invention. The horizontal axis indicates the elapsed time t, and the vertical axis indicates the cutter moving speed V.

図4は、本発明に係る電動機位置決め制御装置を示す制御ブロック図である。なお、図4において、図6と同一の構成要素については、同一の符号を付している。   FIG. 4 is a control block diagram showing the electric motor positioning control device according to the present invention. In FIG. 4, the same components as those in FIG. 6 are denoted by the same reference numerals.

図1に示すように、3軸加工装置1は、X軸テーブル2,X軸送り手段3,X軸駆動用電動機22x,X軸位置検出器104x,Y軸テーブル6,Y軸送り手段7,Y軸駆動用電動機22y,Y軸位置検出器104y,Z軸テーブル10,Z軸送り手段11,Z軸駆動用電動機22z,Z軸位置検出器104z,カッタヘッド14,電動機位置決め制御装置15を備える。制御対象22は、それぞれ駆動用電動機および負荷を含むとする。 As shown in FIG. 1, 3-axis machining apparatus 1, X-axis table 2, X-axis feed means 3, X-axis driving electric motor 22 x, X-axis position detector 104 x, Y-axis table 6, Y-axis feed means 7, Y-axis drive motor 22 y , Y-axis position detector 104 y , Z-axis table 10, Z-axis feed means 11, Z-axis drive motor 22 z , Z-axis position detector 104 z , cutter head 14, motor A positioning control device 15 is provided. It is assumed that the controlled objects 22 each include a driving motor and a load.

X軸テーブル2は、X軸方向に往復移動できるように、X軸ガイド(図示せず)に案内され、Y軸テーブル6およびZ軸テーブル10を搭載する構成とする。   The X-axis table 2 is guided by an X-axis guide (not shown) so that it can reciprocate in the X-axis direction, and the Y-axis table 6 and the Z-axis table 10 are mounted.

X軸送り手段3は、例えば、ナットと組合せる送りねじを回転駆動することによって、X軸テーブル2をX軸ガイド上に往復移動できるように、X軸駆動用電動機22xの回転運動を直線運動に変換する機械要素である。 The X-axis feed means 3 linearly rotates the X-axis drive motor 22 x so that the X-axis table 2 can be reciprocated on the X-axis guide, for example, by rotationally driving a feed screw combined with a nut. It is a mechanical element that converts to motion.

X軸駆動用電動機22xは、X軸テーブル2をX軸方向に往復移動するための駆動源である。 The X-axis drive motor 22 x is a drive source for reciprocating the X-axis table 2 in the X-axis direction.

X軸位置検出器104xは、X軸テーブル2のX軸方向の移動量を検出する検出器であり、X軸速度検出器(図示せず)による速度を時間積分して位置検出する。 The X-axis position detector 104 x is a detector that detects the amount of movement of the X-axis table 2 in the X-axis direction, and detects the position by time-integrating the speed of the X-axis speed detector (not shown).

Y軸テーブル6は、Y軸方向に往復移動できるように、Y軸ガイド(図示せず)に案内され、Xテーブル2上に配設され、かつ、Z軸テーブル10を搭載する構成とする。   The Y-axis table 6 is guided by a Y-axis guide (not shown) so as to be able to reciprocate in the Y-axis direction, is disposed on the X table 2, and is configured to mount the Z-axis table 10.

Y軸送り手段7は、X軸送り手段3と同様に、Y軸テーブル6を移動できるように、Y軸駆動用電動機8の回転運動を直線運動に変換する機械要素である。   The Y-axis feed means 7 is a mechanical element that converts the rotational motion of the Y-axis drive motor 8 into a linear motion so that the Y-axis table 6 can be moved, similarly to the X-axis feed means 3.

Y軸駆動用電動機22yは、Y軸テーブル6をY軸方向に往復移動するための駆動源である。 The Y-axis drive motor 22 y is a drive source for reciprocating the Y-axis table 6 in the Y-axis direction.

Y軸位置検出器104yは、Y軸テーブル6のY軸方向の移動量を検出する検出器であり、Y軸速度検出器(図示せず)による速度を時間積分して位置検出する。 The Y-axis position detector 104 y is a detector that detects the amount of movement of the Y-axis table 6 in the Y-axis direction, and detects the position by time-integrating the speed of a Y-axis speed detector (not shown).

Z軸テーブル10は、Z軸方向に往復移動できるように、Z軸ガイド(図示せず)に案内され、Y軸テーブル6上に配設される構成とする。   The Z-axis table 10 is guided by a Z-axis guide (not shown) and disposed on the Y-axis table 6 so that the Z-axis table 10 can reciprocate in the Z-axis direction.

Z軸送り手段11は、Y軸送り手段7と同様に、Z軸テーブル10を移動できるように、Z軸駆動用電動機の回転運動を直線運動に変換する機械要素である。   The Z-axis feed means 11 is a mechanical element that converts the rotary motion of the Z-axis drive motor into a linear motion so that the Z-axis table 10 can be moved, like the Y-axis feed means 7.

Z軸駆動用電動機22zは、Z軸テーブル10をZ軸方向に往復移動するための駆動源である。 The Z-axis drive motor 22 z is a drive source for reciprocating the Z-axis table 10 in the Z-axis direction.

Z軸位置検出器104zは、Z軸テーブル10のZ軸方向の移動量を検出する検出器であり、Y軸速度検出器(図示せず)による速度を時間積分して位置検出する。 The Z-axis position detector 104 z is a detector that detects the amount of movement of the Z-axis table 10 in the Z-axis direction, and detects the position by time-integrating the speed of a Y-axis speed detector (not shown).

カッタヘッド14は、Z軸テーブル10上に配設されるカッタ(加工工具)を保持する構成とする。   The cutter head 14 is configured to hold a cutter (processing tool) disposed on the Z-axis table 10.

図4に示すように、電動機位置決め制御装置15は、X,Y,Z軸共通に備える速度指令演算手段16,X軸に対して、減算器106x,速度制御器102x,減算器107x,同様に、Y軸に対して、減算器106y,速度制御器102y,減算器107y,さらに、Z軸に対して、減算器106z,速度制御器102z,減算器107zを備える。 As shown in FIG. 4, the motor positioning control device 15 includes a subtractor 106 x , a speed controller 102 x , and a subtractor 107 x for the speed command calculation means 16 provided for the X, Y, and Z axes and the X axis. Similarly, a subtractor 106 y , a speed controller 102 y , a subtractor 107 y for the Y axis, and a subtractor 106 z , a speed controller 102 z , and a subtractor 107 z for the Z axis. Prepare.

速度指令演算手段16は、カッタ移動速度Vと、現在位置座標と、目標位置座標と、減速レートδを入力し、演算結果により得られる各座標軸方向の速度指令を減算器106xに出力する。X軸に対して、減算器106xは、X軸速度指令Vx *と、速度検出器103とによる実速度Vxを入力し、X軸速度指令Vx *から実速度Vxを減算し、演算結果により得られるX軸速度偏差εvxを速度制御器102xに出力する。 The speed command calculating means 16 inputs the cutter moving speed V, the current position coordinates, the target position coordinates, and the deceleration rate δ, and outputs a speed command in each coordinate axis direction obtained from the calculation result to the subtractor 106 x . With respect to the X axis, the subtractor 106 x includes an X-axis velocity command V x *, enter the actual speed V x by the speed detector 103 subtracts the actual velocity V x from the X-axis velocity command V x * The X-axis speed deviation ε vx obtained from the calculation result is output to the speed controller 102 x .

速度制御器102xは、X軸速度偏差εvxを入力し、X軸速度偏差εvxにX軸速度ゲイン定数を乗算し、演算結果により得られるX軸トルク指令つまり、X軸電流指令Ix *を減算器107xに出力する。 The speed controller 102 x receives the X-axis speed deviation ε vx , multiplies the X-axis speed deviation ε vx by the X-axis speed gain constant, and obtains an X-axis torque command, that is, an X-axis current command I x obtained from the calculation result. * Is output to the subtractor 107 x .

減算器107xは、X軸電流指令Ix *とX軸駆動用電動機22xの巻線に配設される電流センサ(図示せず)による実電流Ixを入力し、演算結果により得られるX軸電流偏差εIxをX軸制御対象22xに加える。Y軸およびZ軸については、X軸と同様であるので説明を省略する。 The subtractor 107 x receives the X-axis current command I x * and the actual current I x from a current sensor (not shown) disposed in the winding of the X-axis drive motor 22 x , and is obtained from the calculation result. The X-axis current deviation ε Ix is added to the X-axis control target 22 x . Since the Y axis and the Z axis are the same as the X axis, description thereof is omitted.

図5は、本発明に係る電動機位置決め制御装置における速度指令演算手段16を示す制御ブロック図である。   FIG. 5 is a control block diagram showing the speed command calculating means 16 in the electric motor positioning control apparatus according to the present invention.

図5に示すように、速度指令演算手段16は、ランプ関数器25,リミット回路26,速度成分演算回路27を備える。   As shown in FIG. 5, the speed command calculation means 16 includes a ramp function unit 25, a limit circuit 26, and a speed component calculation circuit 27.

ランプ関数器25は、カッタの移動速度とするカッタ移動速度を入力し、ランプ状カッタ移動速度VRをリミット回路26に出力する。 Ramp function device 25 inputs the cutter moving speed of the moving speed of the cutter, and outputs the ramp-shaped cutter moving speed V R to the limit circuit 26.

リミット回路26は、ランプ状カッタ移動速度VRを入力し、以下に示す式2で求めたカッタ移動速度の最大値Vmaxを上限リミットとし、ランプ状カッタ移動速度VRを制限し、制限付きランプ状カッタ移動速度VLを速度成分演算回路27に出力する。 Limiting circuit 26 receives the ramp-shaped cutter moving speed V R, the maximum value V max of the cutter moving speed obtained by the formula 2 shown below as upper limit, to limit the ramp-like cutter moving speed V R, restricted The ramp-shaped cutter moving speed V L is output to the speed component calculation circuit 27.

速度成分演算回路27は、制限付きランプ状カッタ移動速度VLと、現在位置すなわち、位置座標A(XA,YA,ZA)と、目標位置すなわち、位置座標B(XB,YB,ZB)と、減速レートδを入力し、速度指令V*の各軸の速度成分Vx *,Vy *,Vz *を演算し、減算器106x,106y,106zのそれぞれに出力する。 The speed component calculation circuit 27 includes a limited ramp-shaped cutter moving speed V L , a current position, that is, position coordinates A (X A , Y A , Z A ), and a target position, that is, position coordinates B (X B , Y B , and Z B), enter the deceleration rate [delta], the speed command V * of the velocity component V x of the respective axes *, V y *, calculates the V z *, respectively subtractor 106 x, 106 y, 106 z Output to.

減算器106xは、X軸速度指令Vx *と、速度検出器103xによる実速度Vxを入力し、X軸速度指令Vx *から実速度Vxを減算し、演算結果により得られるX軸速度偏差εvxを速度制御器102xに出力する。 Subtractor 106 x includes an X-axis velocity command V x *, enter the actual speed V x by the speed detector 103 x, and subtracting the actual velocity V x from the X-axis velocity command V x *, obtained by the calculation result The X-axis speed deviation ε vx is output to the speed controller 102 x .

これにより、速度指令のテーブルを作成することなく駆動用電動機つまり制御対象を位置決めできる。   As a result, the driving motor, that is, the control target can be positioned without creating a speed command table.

次に、電動機位置決め制御装置の動作について説明する。   Next, the operation of the motor positioning control device will be described.

図2に示すように、直交座標(X,Y,Z)において、A点からB点への位置決めを行なう場合、目標位置までの距離Lは、
L=√((XB−XA2+(YB−YA2+(ZB−ZA2) (1)
となる。
As shown in FIG. 2, when positioning from point A to point B in orthogonal coordinates (X, Y, Z), the distance L to the target position is:
L = √ ((X B −X A ) 2 + (Y B −Y A ) 2 + (Z B −Z A ) 2 ) (1)
It becomes.

先ず、A点が、一定速度で移動している状態より、一定の減速レートδ(図3に示す区間Sd)で減速し始める点とし、目標位置B点に停止させるときの速度指令の生成方法について説明する。A点から距離Lだけ離れた目標位置B点を通り過ぎることのないカッタ移動速度の最大値Vmaxは、
max=√(2δL) (2)
となる。
First, from the state where point A is moving at a constant speed, it is assumed that the point begins to decelerate at a constant deceleration rate δ (section S d shown in FIG. 3), and generation of a speed command when stopping at the target position B is performed. A method will be described. The maximum value V max of the cutter moving speed that does not pass through the target position B point separated from the point A by the distance L is
V max = √ (2δL) (2)
It becomes.

一方、直線ABの方向余弦は、
COSα=(XB―XA)/√((XB−XA2+(YB−YA2+(ZB−ZA2
(3)
COSβ=(YB―YA)/√((XB−XA2+(YB−YA2+(ZB−ZA2
(4)
COSγ=(ZB―ZA)/√((XB−XA2+(YB−YA2+(ZB−ZA2
(5)
となる。
On the other hand, the direction cosine of the straight line AB is
COSα = (X B −X A ) / √ ((X B −X A ) 2 + (Y B −Y A ) 2 + (Z B −Z A ) 2 )
(3)
COSβ = (Y B −Y A ) / √ ((X B −X A ) 2 + (Y B −Y A ) 2 + (Z B −Z A ) 2 )
(4)
COSγ = (Z B −Z A ) / √ ((X B −X A ) 2 + (Y B −Y A ) 2 + (Z B −Z A ) 2 )
(5)
It becomes.

ここで、α,βおよびγは、有向直線ABとX軸,Y軸およびZ軸の正の向きとが作る角度をそれぞれ示す。   Here, α, β, and γ indicate angles formed by the directed straight line AB and the positive directions of the X, Y, and Z axes, respectively.

したがって、座標軸方向の速度成分Vx,Vy,Vzは、
x=VmaxCOSα=Vmax×(XB―XA)/L (6)
y=VmaxCOSβ=Vmax×(YB―YA)/L (7)
z=VmaxCOSγ=Vmax×(ZB―ZA)/L (8)
となる。ここで、Vx,VyおよびVzは、速度VのX軸,Y軸およびZ軸方向の速度成分をそれぞれ示す。
Therefore, the velocity components V x , V y , V z in the coordinate axis direction are
V x = V max COS α = V max × (X B -X A ) / L (6)
V y = V max COSβ = V max × (Y B -Y A) / L (7)
V z = V max COSγ = V max × (Z B -Z A ) / L (8)
It becomes. Here, V x , V y, and V z indicate speed components of the speed V in the X-axis, Y-axis, and Z-axis directions, respectively.

したがって、現在位置A(XA,YA,ZA)が検出できれば、式6〜式8によって、減速時における各座標軸方向の速度指令を求めることができる。ここで、速度指令の表示として、速度成分Vx,Vy,Vの代わりに*印を付記し、Vx *,Vy *,Vz *とする。 Therefore, if the current position A (X A , Y A , Z A ) can be detected, the speed command in each coordinate axis direction at the time of deceleration can be obtained by Expression 6 to Expression 8. Here, as a display of the speed command, an asterisk (*) is added instead of the speed components V x , V y , and V z to make V x * , V y * , and V z * .

次に、カッタ移動速度が、ゼロから加速する時および定常である時の速度指令の生成方法について説明する。   Next, a method for generating a speed command when the cutter moving speed accelerates from zero and is steady will be described.

カッタ移動速度Vの加速時(図3に示す区間Sa)における速度指令は、カッタ移動速度Vを所望の傾斜を有するランプ関数器25に入力することにより、速度指令とするランプ状カッタ移動速度VRをリミット回路26に出力する。 The speed command at the time of acceleration of the cutter moving speed V (section S a shown in FIG. 3) is obtained by inputting the cutter moving speed V to the ramp function unit 25 having a desired slope, thereby making the ramp-shaped cutter moving speed as a speed command. V R is output to the limit circuit 26.

また、カッタ移動速度Vの定常時(図3に示す区間Sf)における速度指令について、ランプ状カッタ移動速度VRをリミット回路26に入力することにより、式2で求めたカッタ移動速度の最大値Vmaxを上限リミットとし、ランプ状カッタ移動速度VRを制限して、速度指令とする制限付きランプ状カッタ移動速度VLを速度成分演算回路27に出力する。 Further, with respect to the speed command at the normal time of the cutter moving speed V (section S f shown in FIG. 3), the ramp-shaped cutter moving speed V R is inputted to the limit circuit 26 to obtain the maximum of the cutter moving speed obtained by Expression 2. The value V max is set as the upper limit, the ramp-shaped cutter moving speed V R is limited, and the limited ramp-shaped cutter moving speed V L as a speed command is output to the speed component calculation circuit 27.

一方、以上のように生成される制限付きランプ状カッタ移動速度VLと、現在位置すなわち、位置座標A(XA,YA,ZA)と、目標位置すなわち、位置座標B(XB,YB,ZB)と、減速レートδを速度成分演算回路27に入力すると、式1〜式8によって、速度指令V*の各軸の速度成分Vx *,Vy *,Vz *を演算し、減算器106x,106y,106zのそれぞれに出力する。 On the other hand, the limited ramp-shaped cutter moving speed V L generated as described above, the current position, that is, position coordinates A (X A , Y A , Z A ), and the target position, that is, position coordinates B (X B , Y B , Z B ) and the deceleration rate δ are input to the speed component calculation circuit 27, the speed components V x * , V y * , V z * of each axis of the speed command V * are obtained by Expressions 1 to 8. Calculate and output to each of the subtractors 106 x , 106 y , 106 z .

さらに、例えば、X軸についての位置および速度制御は、速度指令Vx *と速度検出器103xによる実速度Vxを減算器106xに入力すると、速度指令Vx *から実速度Vxを減算し、演算結果により得られる速度偏差εvxを速度制御器102xに出力する。速度偏差εvxを速度制御器102xに入力すると、速度偏差εvxに速度ゲイン定数を乗算し、演算結果により得られるトルク指令つまり、電流指令Ix *を減算器107xに出力する。電流指令Ix *と、電動機の巻線に配設される電流センサ(図示せず)による実電流値Ixを減算器107xに入力すると、電流指令Ix *から実電流値Ixを減算し、演算結果により得られる電流偏差εIxを制御対象22xに加える。これにより、電流偏差εIxがゼロになるように電動機の速度および位置が制御され、電動機が目標速度および目標位置に制御できる。これにより、従来における速度指令のテーブルを作成することなく駆動用電動機つまり制御対象を位置決めできる。 Furthermore, for example, the position and speed control for the X-axis, entering actual speed V x by the speed command V x * and the speed detector 103 x to a subtractor 106 x, the actual speed V x from the speed command V x * The speed deviation ε vx obtained by the subtraction is output to the speed controller 102 x . When the speed deviation ε vx is input to the speed controller 102 x , the speed deviation ε vx is multiplied by a speed gain constant, and a torque command obtained as a result of the operation, that is, a current command I x * is output to the subtractor 107 x . When the current command I x * and the actual current value I x by a current sensor (not shown) disposed in the motor winding are input to the subtractor 107 x , the actual current value I x is obtained from the current command I x *. The current deviation ε Ix obtained from the calculation result is added to the control target 22 x . Thereby, the speed and position of the electric motor are controlled so that the current deviation ε Ix becomes zero, and the electric motor can be controlled to the target speed and the target position. As a result, the driving motor, that is, the control target can be positioned without creating a conventional speed command table.

以上、X軸についての位置および速度制御について説明したが、Y軸およびZ軸についても同様である。   The position and speed control for the X axis has been described above, but the same applies to the Y axis and the Z axis.

以上の説明では、制御対象がロータリ式電動機の場合について、本発明を適用したが、ロータリ式電動機の代わりにリニア式電動機の場合についても、本発明は適用できる。また、さらに電動機のような電気アクチュエータの代わりに例えば、油圧アクチュエータや空気圧アクチュエータの場合についても、本発明を適用できる。   In the above description, the present invention is applied to the case where the controlled object is a rotary electric motor. However, the present invention can also be applied to the case of a linear electric motor instead of the rotary electric motor. Further, the present invention can be applied to, for example, a hydraulic actuator or a pneumatic actuator instead of an electric actuator such as an electric motor.

さらに、制御軸が3軸の場合について、本発明を適用できるが、2軸の場合についても本発明を適用できる。   Furthermore, the present invention can be applied to the case where the control axes are three axes, but the present invention can also be applied to the case of two axes.

また、本発明は、加工装置に適用したが、加工装置にとらわれず位置決めが必要な対象物に適用できる。   Moreover, although this invention was applied to the processing apparatus, it is applicable to the target object which needs positioning without being restricted by the processing apparatus.

さらに、本発明は、速度パターンが台形状に対し、適用したが、三角形状に対しても適用できる。   Furthermore, although the present invention has been applied to a trapezoidal velocity pattern, it can also be applied to a triangular shape.

本発明に係る電動機位置決め制御装置を3軸加工装置に適用した図を示す。The figure which applied the electric motor positioning control apparatus which concerns on this invention to the triaxial processing apparatus is shown. 本発明に係る電動機位置決め制御装置が位置決め制御するときの現在位置と目標位置を示す図である。It is a figure which shows the present position and target position when the electric motor positioning control apparatus which concerns on this invention performs positioning control. 本発明に係る電動機位置決め制御装置におけるカッタ移動速度の減速レートの一例を示す図である。It is a figure which shows an example of the deceleration rate of the cutter moving speed in the electric motor positioning control apparatus which concerns on this invention. 本発明に係る電動機位置決め制御装置を示す制御ブロック図である。It is a control block diagram which shows the electric motor positioning control apparatus which concerns on this invention. 本発明に係る電動機位置決め制御装置における速度指令演算手段を示す図である。It is a figure which shows the speed command calculating means in the electric motor positioning control apparatus which concerns on this invention. 従来技術の電動機位置決め制御装置を示す制御ブロック図である。It is a control block diagram which shows the electric motor positioning control apparatus of a prior art.

符号の説明Explanation of symbols

1 XYZ加工装置
2 X軸テーブル
3 X軸送り手段
6 Y軸テーブル
7 Y軸送り手段
10 Z軸テーブル
11 Z軸送り手段
14 カッタヘッド
15 電動機位置決め制御装置
16 CPU演算ユニット(速度指令演算手段)
17 X軸電動機速度制御ユニット
18 Y軸電動機速度制御ユニット
19 Z軸電動機速度制御ユニット
22x X軸駆動用電動機(X軸制御対象)
22y Y軸駆動用電動機(Y軸制御対象)
22z Z軸駆動用電動機(Z軸制御対象)
25 ランプ関数器
26 リミット回路
27 速度成分演算回路
39 従来の電動機位置決め制御装置
100 位置指令設定器
101 位置制御器
102 速度制御器
103 速度検出器
104 位置検出器
104x X軸位置検出器
104y Y軸位置検出器
104z Z軸位置検出器
105 減算器
106 減算器
107 減算器
A X軸実位置信号
A Y軸実位置信号
A Z軸実位置信号
* x X軸速度指令信号
* y Y軸速度指令信号
* z Z軸速度指令信号
DESCRIPTION OF SYMBOLS 1 XYZ processing apparatus 2 X-axis table 3 X-axis feed means 6 Y-axis table 7 Y-axis feed means 10 Z-axis table 11 Z-axis feed means 14 Cutter head 15 Electric motor positioning control device 16 CPU calculation unit (speed command calculation means)
17 X-axis motor speed control unit 18 Y-axis motor speed control unit 19 Z-axis motor speed control unit 22 x X-axis drive motor (X-axis control target)
22 y Y-axis drive motor (Y-axis control target)
22 z Z-axis drive motor (for Z-axis control)
25 Ramp Function Unit 26 Limit Circuit 27 Speed Component Calculation Circuit 39 Conventional Motor Positioning Control Device 100 Position Command Setter 101 Position Controller 102 Speed Controller 103 Speed Detector 104 Position Detector 104 x X-axis Position Detector 104 y Y Axis position detector 104 z Z-axis position detector 105 Subtractor 106 Subtractor 107 Subtractor X A X-axis actual position signal Y A Y-axis actual position signal Z A Z-axis actual position signal V * x X-axis speed command signal V * y Y-axis speed command signal V * z Z-axis speed command signal

Claims (3)

平面または空間上で制御対象を位置決めする位置決め制御装置において、
前記制御対象を目標位置に停止させる場合の現在位置を検出する位置検出手段と、
前記現在位置と前記目標位置との相対距離から速度指令を演算する速度指令演算手段と、
前記速度指令と前記制御対象の現在位置における実速度とにもとづき制御対象を速度制御する速度制御手段と、
を有することを特徴とする位置決め制御装置。
In a positioning control device for positioning a control object on a plane or space,
Position detecting means for detecting a current position when the control object is stopped at a target position;
Speed command calculating means for calculating a speed command from a relative distance between the current position and the target position;
Speed control means for speed-controlling the control object based on the speed command and the actual speed at the current position of the control object;
A positioning control device comprising:
前記速度指令演算手段は、
制御対象移動速度を入力し、時間に対する速度勾配を有するランプ状制御対象移動速度を出力するランプ関数器と、
ランプ状制御対象移動速度を入力し、制御対象移動速度の最大値を上限リミットとし、ランプ状制御対象移動速度を制限し、制限付きランプ状制御対象移動速度を出力するリミット回路と、
制限付きランプ状制御対象移動速度と、現在位置と、目標位置と、減速レートとを入力し、速度指令の各軸の速度指令成分を出力する速度指令演算回路と
を有することを特徴とする請求項1に記載の位置決め制御装置。
The speed command calculating means includes
A ramp function unit that inputs a controlled object moving speed and outputs a ramp-like controlled object moving speed having a speed gradient with respect to time;
A limit circuit that inputs a ramp-shaped control target moving speed, sets the maximum value of the control target moving speed as an upper limit, limits the ramp-shaped control target moving speed, and outputs a limited ramp-shaped control target moving speed;
And a speed command calculation circuit for inputting a speed command component for each axis of the speed command by inputting a limited ramp-like control target moving speed, a current position, a target position, and a deceleration rate. Item 4. The positioning control device according to Item 1.
前記制御対象が、電動機により駆動されるカッタであることを特徴とする請求項1または請求項2に記載の位置決め制御装置。   The positioning control device according to claim 1, wherein the control target is a cutter driven by an electric motor.
JP2005161538A 2005-06-01 2005-06-01 Positioning controller Withdrawn JP2006338283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005161538A JP2006338283A (en) 2005-06-01 2005-06-01 Positioning controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005161538A JP2006338283A (en) 2005-06-01 2005-06-01 Positioning controller

Publications (1)

Publication Number Publication Date
JP2006338283A true JP2006338283A (en) 2006-12-14

Family

ID=37558794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005161538A Withdrawn JP2006338283A (en) 2005-06-01 2005-06-01 Positioning controller

Country Status (1)

Country Link
JP (1) JP2006338283A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016207088A (en) * 2015-04-27 2016-12-08 株式会社キーエンス Extension unit, programmable logic controller, and control method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016207088A (en) * 2015-04-27 2016-12-08 株式会社キーエンス Extension unit, programmable logic controller, and control method therefor

Similar Documents

Publication Publication Date Title
US9409293B2 (en) Robot
JP6008121B2 (en) Robot and robot controller
US9481088B2 (en) Robot control device, robot, and robot system
JP6457432B2 (en) Servo control device, control method and computer program for machine tool for rocking cutting
JP4256353B2 (en) Servo control device and servo system adjustment method
TWI469500B (en) Mirror angular-positioning apparatus and processing apparatus
JP2012022404A (en) Tool locus display apparatus with deceleration factor identification means for machine tool
WO2007046257A1 (en) Motor control device, method, and program storage medium
US20150323924A1 (en) Servo control device
JP6211240B1 (en) Numerical controller
JP5162471B2 (en) Method for controlling axial relative position and / or relative movement and machine tool
JP2006338283A (en) Positioning controller
US8578618B2 (en) Three-dimensional measuring instrument
JP2011070538A (en) Machining control device and laser beam machining device
Briones et al. Position and force control of a parallel robot capaman 2 bis parallel robot for drilling tasks
JP7445006B2 (en) display device
JP4340895B2 (en) XY stage
JP5225060B2 (en) Mechanical motion measuring device
JP4636034B2 (en) Control device for movable table and movable table device including the same
JP2007025888A (en) Controller and control method
JP2012018008A (en) Industrial machine and control method of industrial machine
JP5943627B2 (en) Laser processing apparatus and laser processing method
JP2015003349A (en) Robot
JP2021163322A (en) Control system and control method for industrial machine
JP2011251378A5 (en)

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080805