[go: up one dir, main page]

JPH04172506A - Position control method - Google Patents

Position control method

Info

Publication number
JPH04172506A
JPH04172506A JP30135790A JP30135790A JPH04172506A JP H04172506 A JPH04172506 A JP H04172506A JP 30135790 A JP30135790 A JP 30135790A JP 30135790 A JP30135790 A JP 30135790A JP H04172506 A JPH04172506 A JP H04172506A
Authority
JP
Japan
Prior art keywords
amount
movement
time
unit time
frames
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
JP30135790A
Other languages
Japanese (ja)
Inventor
Akira Busujima
明 毒島
Kazuhiro Nakahara
中原 和浩
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.)
Via Mechanics Ltd
Original Assignee
Hitachi Seiko 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 Hitachi Seiko Ltd filed Critical Hitachi Seiko Ltd
Priority to JP30135790A priority Critical patent/JPH04172506A/en
Publication of JPH04172506A publication Critical patent/JPH04172506A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve a working speed by dividing an amount of movement in unit time, by redistributing amounts of divided movement evenly selected frames of acceleration time, further by totalizing redistributed pieces of the amount of movement for each unit of time to calculate a speed command. CONSTITUTION:Assume an amount of movement of a control object to be 400 and its target speed to be 50 per unit of time, respectively, to divide the amount of move ment 400 per unit of time. The amount of movement 400 is divided into 8 unit time frames A-H. Next, acceleration time is specified for each unit time frame. In this case, the amount of time is redistributed by 10 each into continuous 5 unit time (acceler ation time) frames A-E. Next, an amount of movement 50 for unit time frame B is also evenly divided and redistributed into nit time frames B-F by 10 each. Likewise, an amount of movement 50 for each of unit time frames C-F is sequentially redistribut ed. Redistribution of an amount of movement for frame E is done by newly adding unit frame I whose initial distribution of an amount of movement is zero and by doing the distribution for frames E-I. Redistribution of amount of movement for frames F-H is also done by sequentially adding new unit time frames J-L. When all the redistributions are terminated, all amounts of movements are totalized for each of frames A-L.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、サーボ制御装置に係り、特にNC装置や自動
製図機などの制御対象の位置を制御するサーボ制御装置
における位置制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a servo control device, and particularly to a position control method in a servo control device that controls the position of a controlled object such as an NC device or an automatic drafting machine.

〔従来の技術〕[Conventional technology]

制御対象の位置を制御する技術については、特開平1−
129309号公報に記載された例がある。この技術で
は、静止状態の制御対象を移動させる際は、まず、制御
対象を目標速度まで加速し、目標速度で移動後、減速、
停止させるが、加速。
For technology to control the position of a controlled object, see Japanese Patent Application Laid-Open No.
There is an example described in Japanese Patent No. 129309. With this technology, when moving a stationary controlled object, the controlled object is first accelerated to a target speed, then moved at the target speed, and then decelerated.
Stop, but accelerate.

減速の際に、一定時間で目標速度まで加減速く目標速度
に応じて加速度が変化)するようになっている。
When decelerating, the acceleration is changed according to the target speed, which is reached in a fixed period of time.

第3図は速度指令の算出の概念を示すもので、制御対象
の移動量400.目標速度が単位時間当り50、加速時
間が5単位時間の場合を示す。なお、ここでいう単位時
間は必ずしも1分、1秒などの通常の単位時間ではなく
、速度制御に用いられるサンプリング時間でもよい。移
動量400を目標速度50で除して8単位時間が求まる
。この8単位時間をそれぞれの単位時間の移動量が50
である、A−Hとして順に並べる。
FIG. 3 shows the concept of calculating the speed command, and shows the amount of movement of the controlled object 400. The case where the target speed is 50 per unit time and the acceleration time is 5 unit time is shown. Note that the unit time here is not necessarily a normal unit time such as 1 minute or 1 second, but may be a sampling time used for speed control. Eight units of time are obtained by dividing the moving amount 400 by the target speed 50. The amount of movement for each of these 8 units of time is 50
, are arranged in order as A-H.

単位時間ごとの指令速度算出にあたっては、単位時間A
の前に移動量Oの単位時間を4単位時間(0,,02,
O,,04)、単位時間Hノ後ニ81t+jtoの単位
時間を4単位時間(0,、O,、○、、O,’)、それ
ぞれつけ加える。最初の単位時間の指令速度をV□9次
いで順にV 21 v、 t・・・とすると、これらの
指令速度は5次のようにして算出される。
When calculating the command speed for each unit time, the unit time A
Before , the unit time of the movement amount O is set to 4 unit times (0,,02,
O,,04), and after the unit time H, add the unit time of d81t+jto for 4 unit times (0,,O,,○,,O,'), respectively. Assuming that the commanded speed for the first unit time is V□9, then V 21 v, t... in order, these commanded speeds are calculated as follows.

V、= (O□+02+03+04+A) ÷5= (
4XO+50) ÷5=10 v2=(02+O,+O,+A+B) ÷5= (3X
O+50X2)÷5=20 V3= (03+O,+A+B+C)÷5= (2XO
+50X3)÷5=30 V、= (04+A十B+C+D)÷5=(1×○+5
0 X4)÷5=40 V、= (A+B+C+D+E) ÷5= (50X5
)÷5=50 このように順次単位時間づつずらせて計算すると、第3
図に示されるような単位時間ごとの速度指令が算出され
る。すなわち、加速時間が5単位時間、加速終了後の速
度が50、移動量が400という移動の速度指令が算出
される。
V, = (O□+02+03+04+A) ÷5= (
4XO+50) ÷5=10 v2=(02+O,+O,+A+B) ÷5= (3X
O+50X2)÷5=20 V3= (03+O,+A+B+C)÷5= (2XO
+50
0 x 4) ÷ 5 = 40 V, = (A + B + C + D + E) ÷ 5 = (50 x 5
) ÷ 5 = 50 If you calculate by sequentially shifting unit time in this way, the third
A speed command for each unit time as shown in the figure is calculated. That is, a speed command for movement is calculated in which the acceleration time is 5 unit times, the speed after acceleration is 50, and the amount of movement is 400.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術においては、制御対象を移動させる際の加
減速時間が一定となっており、制御対象の移動中に平均
化時間(目標速度を諭して単位時間あたりの速度変化量
を得るもの、つまり加減速時間)を変更して加速度を変
更することができない。上記算出例において、例えばv
4を算出する際に除数である5を6にし、■、を算出す
る際に除数である5を7にすると、V4=33.3.V
In the above conventional technology, the acceleration/deceleration time when moving the controlled object is constant, and the averaging time (the one that measures the target speed to obtain the amount of speed change per unit time) while the controlled object is moving. It is not possible to change the acceleration by changing the acceleration/deceleration time). In the above calculation example, for example, v
If we change the divisor 5 to 6 when calculating 4, and change the divisor 5 to 7 when calculating ■, then V4=33.3. V
.

=35.7となり、加速度は小さくなるが、単位時間0
1.Aの移動量が減少し、単位時間02〜08間の全体
の移動量が400にならず不足してしまい、適正な移動
とならない。また、加減速時間が一定であるため、目標
速度が異なると加速度が変わり、等加速度制御ができな
い。
= 35.7, the acceleration is smaller, but the unit time is 0
1. The amount of movement of A decreases, and the total amount of movement between unit times 02 to 08 does not reach 400, resulting in an insufficient amount of movement, which does not result in proper movement. Further, since the acceleration/deceleration time is constant, if the target speed differs, the acceleration will change, and uniform acceleration control cannot be performed.

製図機で円弧等9曲線を描く場合、微小長さの直線を折
線状につなげて曲線が形成されるが、この場合、各直線
の長さが短くて実際に線を描く時間が短い場合でも直線
ごとに決まった加速時間を消費するので、必要以上に時
間がかかる。
When drawing nine curves such as circular arcs with a drafting machine, the curve is formed by connecting straight lines of minute length in a broken line, but in this case, even if the length of each straight line is short and the time to actually draw the line is short, Each straight line consumes a fixed amount of acceleration time, so it takes longer than necessary.

また、工作機械の場合、高速で切削しようとすると、一
定時間で高速に加速するため加速度が大きくなり、機械
に加わる力が大きくなり、無理を生ずる恐れがある。
Furthermore, in the case of a machine tool, if you try to cut at high speed, the acceleration will increase because it accelerates at a high speed in a certain period of time, and the force applied to the machine will increase, which may cause strain.

本発明の課題は1作業過程において作業の種類に応じて
、制御対象の移動の加速度を設定するにある。
An object of the present invention is to set the acceleration of movement of a controlled object according to the type of work in one work process.

〔課題を解決するための手段〕[Means to solve the problem]

上記の課題は、制御対象の移動量を連続する単位時間ご
との移動量に分割配分する手順と、前記連続する単位時
間に対して平均化時間αを指示する手順と、前記各単位
時間に配分された移動量を該単位時間を先頭にして連続
する単位時間α個に均一に再配分する手順と、再配分さ
れた移動量を各単位時間ごとに集計して当該単位時間の
速度とする手順とを備えることによって達成される。
The above problem consists of a procedure for dividing and allocating the movement amount of the controlled object into the movement amount for each continuous unit time, a procedure for instructing the averaging time α for the continuous unit time, and a procedure for allocating the movement amount to each unit time. A procedure for uniformly redistributing the amount of movement that has been made into α continuous time units starting from the unit time, and a procedure for summing up the redistributed amount of movement for each unit time to obtain the speed for that unit time. This is achieved by having the following.

〔作用〕[Effect]

指示部より制御対象の目標移動量と目標速度(加速終了
後の移動速度)が与えられると、該目標移動量は目標速
度で割られ、該目標速度で移動した場合の必要な単位時
間(又はサンプリング時間)数が算出される。算出され
た単位時間の数だけの単位時間枠が順に配列され、前記
目標移動量が単位時間ごとの移動量に分割され、該単位
時間枠に配分される。それぞれの単位時間枠に対して平
均化時間(加速時間)αが指定され、単位時間枠に配分
された移動量が当該単位時間枠を先頭にして連続するα
個の単位時間枠に均一に再配分される。単位時間枠に配
分された移動量は順次同様にして再配分されるが、単位
時間枠の末尾に近い部分では当該単位時間枠を先頭にし
て連続するα個の単位時間枠がないところがでてくる。
When the target movement amount and target speed (the movement speed after the end of acceleration) of the controlled object are given by the instruction unit, the target movement amount is divided by the target speed, and the required unit time (or sampling time) is calculated. Unit time frames equal to the number of calculated unit times are arranged in order, and the target movement amount is divided into movement amounts for each unit time and distributed to the unit time frames. An averaging time (acceleration time) α is specified for each unit time frame, and the amount of movement allocated to the unit time frame is continuous α starting from the unit time frame.
redistributed evenly into unit time frames. The amount of movement allocated to a unit time frame is sequentially redistributed in the same way, but there are places near the end of the unit time frame where there are no consecutive α unit time frames with the unit time frame at the beginning. come.

この場合は移動量が配分されていない新たな単位時間枠
を、すでに設定されている時間枠の列の末尾に追加し、
移動量の再配分を行う。
In this case, add a new unit time frame to which the movement amount is not allocated to the end of the column of time frames that have already been set,
Reallocate the amount of movement.

当初単位時間枠に配分された移動量の再配分がすべての
単位時間枠について終了すると、単位時間枠ごとに、再
配分された移動量が集計され、当該単位時間枠における
速度指令に変換される。
When the redistribution of the movement amount originally allocated to the unit time frame is completed for all unit time frames, the reallocated movement amount is aggregated for each unit time frame and converted into a speed command for the unit time frame. .

〔実施例〕〔Example〕

以下、本発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.

制御対象の移動量が400、目標速度が単位時間当り5
0である移動を例にとって説明する。
The amount of movement of the controlled object is 400, and the target speed is 5 per unit time.
An explanation will be given by taking a movement where the value is 0 as an example.

まず、第1図(イ)に示すように、移動量400を単位
時間ごとの移動量に分割する。単位時間ごとの移動量は
、目標速度50に等しいから、移動量400は各50の
移動量を持つ8個の単位時間枠A −Hに分割される。
First, as shown in FIG. 1(A), the movement amount 400 is divided into movement amounts for each unit time. Since the amount of movement per unit time is equal to the target speed 50, the amount of movement 400 is divided into eight unit time frames A to H each having a movement amount of 50.

次いで、第1図(ロ)に示すように、各単位時間枠ごと
の加速時間を指定する。ここでは、いずれの時間枠につ
いても同一の加速時間、5単位時間とすると、単位時間
枠Aの移動量50が加速時間、5単位時間に均一に分割
され、単位時間枠Aを先頭に連続する5単位時間(加速
時間)枠A、B。
Next, as shown in FIG. 1(b), the acceleration time for each unit time frame is specified. Here, assuming that the acceleration time and 5 unit times are the same for all time frames, the movement amount 50 of the unit time frame A is evenly divided into 5 unit times of acceleration time, and the unit time frame A is the first unit time. 5 unit time (acceleration time) frames A and B.

C,D、Eに1oづつ再配分される。この加速時間は、
例えば製図機の直線描画2曲線描画や、機械加工中の刃
物の送り、加工中の刃物の切削を伴わない移動等の作業
の種類ごとに予め設定されて制御装置のメモリに格納さ
れ、作業の手順に応じて呼び出される。
1o each will be redistributed to C, D, and E. This acceleration time is
For example, the settings are set in advance for each type of work, such as drawing a straight line or two curves on a drafting machine, feeding the blade during machining, or moving the blade during machining without cutting, and are stored in the memory of the control device. Called according to the procedure.

次いで、第1図(ハ)に示すように、単位時間枠Bの移
動量50も同様に加速時間、5単位時間に均一に分割さ
れ、単位時間枠B、C,D、E。
Next, as shown in FIG. 1(c), the movement amount 50 of unit time frame B is similarly divided into five unit times of acceleration time, and unit time frames B, C, D, and E.

Fに10づつ再配分される。10 will be redistributed to F.

以下同様に、第1図(ニ)に示すように、各単位時間枠
(C−F)の移動量50について順次再配分を行う。単
位時間枠Eの移動量再配分は、設定された単位時間枠A
 −Hでは配分すべき5単位時間にならないので、新た
に当初の移動量配分が0である単位時間枠工を追加し、
単位時間枠E。
Similarly, as shown in FIG. 1(d), the movement amount 50 of each unit time frame (C-F) is sequentially redistributed. The movement amount redistribution for unit time frame E is based on the set unit time frame A.
-H does not have the 5 unit time to be allocated, so add a new unit time frame work whose initial movement amount allocation is 0,
Unit time frame E.

F、G、H,Iに対して行われる。単位時間枠F。This is done for F, G, H, and I. Unit time frame F.

G、Hの移動量再配分も同様に、新たな単位時間枠J、
に、Lを順次追加して行われ、当初の移動量配分を持つ
単位時間枠の移動量再配分が終わると、再配分が終了す
る。
Similarly, the movement amount redistribution of G and H is performed using a new unit time frame J,
The redistribution is performed by sequentially adding L to , and when the redistribution of the movement amount of the unit time frame with the initial movement amount allocation is completed, the redistribution ends.

再配分が終了すると、第1図(ホ)に示すように、単位
時間枠A−Lごとに、再配分された移動量が集計される
。集計された移動量は、単位時間当りの移動量であるか
ら該当する単位時間枠の速度である。図かられかるよう
に、この速度はm位時間枠A−Eの5単位時間で1棒速
度50まで加速され、目標速度50を維持したのち再び
5単位時間かけて減速、停正されている。また、単位時
間枠A−Lの移動量を合計すると400となり、最初に
指定された移動が実現されている。
When the redistribution is completed, as shown in FIG. 1(e), the redistributed movement amount is totaled for each unit time frame A-L. Since the aggregated movement amount is the movement amount per unit time, it is the speed of the corresponding unit time frame. As can be seen from the figure, this speed is accelerated to a one-rod speed of 50 in 5 unit times of the m time frame A-E, and after maintaining the target speed of 50, it is decelerated and stopped again over 5 unit times. . Further, the total amount of movement in the unit time frames A-L is 400, and the initially specified movement has been realized.

上記実施例においては、平均化時間(加速時間)を第3
図に示された従来例と同じ5単位時間としたので、速度
パターンは第3図と同一となっている。しかし、本実施
例において、例えば、単位時間枠りの移動量を再配分す
るときに平均化時間(加速時間)を6とし、50を単位
時間枠り、E。
In the above embodiment, the averaging time (acceleration time) is
Since the five unit times are the same as in the conventional example shown in the figure, the speed pattern is the same as in FIG. 3. However, in this embodiment, for example, when redistributing the movement amount per unit time frame, the averaging time (acceleration time) is set to 6, 50 is set to the unit time frame, and E.

F、G、H,Iに均一に配分するようにして単位時間枠
C,D、D、E間の加速度を変えてもよい。
The acceleration between unit time frames C, D, D, and E may be changed by uniformly distributing it to F, G, H, and I.

このようにしても単位時間枠全体に再配分される  ノ
移動量は同じであり、不都合が生じることはない。
Even if this is done, the amount of movement that is reallocated to the entire unit time frame remains the same, and no inconvenience will occur.

また、再配分時に除数として用いられる平均化時間を単
位時間枠全体に対して、例えば5に代えて6とすれば加
速度を小さくすることもできる。
Furthermore, if the averaging time used as a divisor at the time of reallocation is set to 6 instead of 5 for the entire unit time frame, the acceleration can be reduced.

さらに、例えば移動量が1200、目標速度が100で
あるような移動を第1図の実施例と同し加速度で移動さ
せる場合は、平均化時間を10として前述の手順で演算
を行わせればよい。
Furthermore, for example, if the movement amount is 1200 and the target speed is 100, and the movement is performed with the same acceleration as in the embodiment of FIG. .

〔発明の効果〕〔Effect of the invention〕

本発明によれば、速度指令の演算に際し、移動量が単位
時間ごとに分割されたのち、該単位時間ごとに配分され
た移動量が、単位時間枠ごとに、あるいは加速、減速ご
とに選定される加速時間枠に均一に再配分され、再配分
された移動量が単位時間枠ごとに集計されて速度指令が
算出されるので1作業過程のなかで加速度を変化させる
ことが可能となり、作業に応じた加速度として作業速度
を向上させるとともに、機械装置に過度に応力が加わる
のを防ぐ効果がある。
According to the present invention, when calculating a speed command, the amount of movement is divided into units of time, and then the amount of movement allocated to each unit of time is selected for each unit time frame or for each acceleration or deceleration. The reallocated travel amount is aggregated for each unit time frame and the speed command is calculated, making it possible to change the acceleration within one work process, making it possible to This has the effect of increasing the work speed by accelerating accordingly and preventing excessive stress from being applied to the mechanical equipment.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の演算手順を示す手順図、第2図は本発
明に係る方法によって速度指令を算出した例を示す説明
図、第3図は従来の速度指令の算出例を示す説明図であ
る。
FIG. 1 is a procedural diagram showing the calculation procedure of the present invention, FIG. 2 is an explanatory diagram showing an example of calculating a speed command by the method according to the present invention, and FIG. 3 is an explanatory diagram showing an example of calculating a conventional speed command. It is.

Claims (1)

【特許請求の範囲】[Claims] 1、制御対象の位置を制御する方法において、加速終了
後に制御対象が単位時間に移動する量を定め、制御対象
の移動量を連続する単位時間ごとの移動量に分割配分し
、前記連続する単位時間に対して平均化時間αを指示し
、前記各単位時間に配分された移動量を該単位時間を先
頭にして連続する単位時間α個に均一に再配分し、再配
分された移動量を各単位時間ごとに集計して当該単位時
間の速度とすることを特徴とする位置制御方法。
1. In a method for controlling the position of a controlled object, the amount by which the controlled object moves per unit time after acceleration is completed is determined, the amount of movement of the controlled object is divided into continuous moving amounts for each unit time, and Indicate an averaging time α for the time, uniformly redistribute the movement amount allocated to each unit time to α consecutive unit times with the unit time at the beginning, and calculate the redistributed movement amount. A position control method characterized in that the speed is calculated for each unit time to obtain the speed for the unit time.
JP30135790A 1990-11-07 1990-11-07 Position control method Pending JPH04172506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30135790A JPH04172506A (en) 1990-11-07 1990-11-07 Position control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30135790A JPH04172506A (en) 1990-11-07 1990-11-07 Position control method

Publications (1)

Publication Number Publication Date
JPH04172506A true JPH04172506A (en) 1992-06-19

Family

ID=17895896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30135790A Pending JPH04172506A (en) 1990-11-07 1990-11-07 Position control method

Country Status (1)

Country Link
JP (1) JPH04172506A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6809491B2 (en) 2001-02-09 2004-10-26 Mitsubishi Denki Kabushiki Kaisha Positioning control method
WO2010024041A1 (en) * 2008-08-26 2010-03-04 新日本工機株式会社 Numerical control device for machine tool

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6809491B2 (en) 2001-02-09 2004-10-26 Mitsubishi Denki Kabushiki Kaisha Positioning control method
WO2010024041A1 (en) * 2008-08-26 2010-03-04 新日本工機株式会社 Numerical control device for machine tool
JP2010055161A (en) * 2008-08-26 2010-03-11 Shin Nippon Koki Co Ltd Numerical control device of machine tool
US8478439B2 (en) 2008-08-26 2013-07-02 Shin Nippon Koki Co., Ltd. Numerical control device for tool machine

Similar Documents

Publication Publication Date Title
CN107850887B (en) S-shaped curve planning method and device and numerical control machine tool
CN102455679B (en) Machining time predicting apparatus of numerically controlled machine tool
CN106338968B (en) It can account for the numerical control device of the error correction of axis moving direction
GB1597137A (en) Stepping motor control circuit
JPS61156309A (en) Numerically controlled device containing speed difference smoothing function
US3887122A (en) Press feeder control apparatus
CN116300698A (en) Thread cutting machining method based on dynamic programming
CN105549543B (en) Numerical control device
CN102566496A (en) Feeding speed dynamic real-time look-ahead control method suitable for numerical control device
JPH04172506A (en) Position control method
CN102082545A (en) Motor speed controller and control method thereof
JPH0777691B2 (en) Numerical control method and apparatus thereof
EP4449213A1 (en) Speed-dependant blending between blocks with discontinuous trajectories
JP4085418B2 (en) Curve interpolation acceleration / deceleration control method
CN106325222B (en) Carry out the numerical control device of the operation based on sheet form data
JP2020102183A (en) Control device and method for controlling mechanical equipment
US6842651B1 (en) Programmable controller having plural speed pattern generators
US4164693A (en) Method and system for producing linear contouring movement
JP5410784B2 (en) Processing apparatus, processing method, and program
JPH07271422A (en) Electronic control device and control method for individual drive of processing machine
JPWO2020035975A1 (en) Numerical control device
CN108227638A (en) Numerical control device
JPH06274220A (en) Nc device
JPH04205114A (en) Speed pattern generating method
JP2001092795A (en) Distributed programmable servo controller system