CN105082135A - Speed control method for inching operation of robot - Google Patents

Speed control method for inching operation of robot Download PDF

Info

Publication number
CN105082135A
CN105082135A CN201510579765.XA CN201510579765A CN105082135A CN 105082135 A CN105082135 A CN 105082135A CN 201510579765 A CN201510579765 A CN 201510579765A CN 105082135 A CN105082135 A CN 105082135A
Authority
CN
China
Prior art keywords
timeslice
acceleration
interpolation
theta
uniform velocity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510579765.XA
Other languages
Chinese (zh)
Other versions
CN105082135B (en
Inventor
甘亚辉
戴先中
罗灿威
徐超
王雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CN201510579765.XA priority Critical patent/CN105082135B/en
Publication of CN105082135A publication Critical patent/CN105082135A/en
Application granted granted Critical
Publication of CN105082135B publication Critical patent/CN105082135B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators

Abstract

The invention discloses a speed control method for inching operation of a robot. According to the method, the speed control process of inching operation is divided into an acceleration and constant speed stage and a stopping stage. The acceleration and constant-speed stage includes a periodically-changing acceleration substage, an acceleration-constant speed transition substage and a constant speed substage, and the acceleration-constant speed transition substage and the constant speed substage can be omitted. A time slice with a fixed duration serves as the unit of each substage, so that the interpolating increment of a track is planned. By the adoption of the speed control method for inching operation of the robot, micro-distance inching can be achieved, the problems that too great mechanical shock is caused by inching operation in a manual teaching process, and high-speed inching cannot be stopped smoothly in time are effectively solved. The speed control method can be used for speed control of inching operation of manual teaching in spaces of all coordinate systems of the robot.

Description

The method for control speed of a kind of robot crawl operation
Technical field
The present invention relates to a kind of method for control speed of crawl operation under robot teaching pattern, belong to Industrial Robot Technology.
Background technology
Under manual teaching pattern, crawl (JOG) operation is that robot teaching personnel driven machine people under the spaces such as all kinds of joint coordinate system space or cartesian coordinate system, tool coordinates system and user coordinate system moves and arrives the operation of taught point.When crawl runs, controller needs the key-press status coordinating teaching process, carries out interpolation calculating and execution in real time and synchronously.Traditional controller adopts one solution intuitively: controller calculates next interpolated point position at each real-time control cycle, and completes in same period and execute the task.But there is following shortcoming in this scheme: 1. crawl speed unsmooth, can produce mechanical shock; 2. setting in motion acceleration is general very large, cannot realize micro-displacement crawl; 3. only consider the range of movement in the single cycle, if when current kinetic speed is very large, sports limiting may be exceeded because stopping in time.
Summary of the invention
Goal of the invention: in order to overcome the deficiencies in the prior art, the present invention is directed to the situation that servomotor is in position control mode, the method for control speed of crawl operation under a kind of robot hand teaching pattern is provided, for the single shaft level and smooth crawl operation realized under joint of robot coordinate system space provides a kind of trajectory planning step and Program Realizing Method, provide a kind of trajectory planning step and Program Realizing Method for realizing mobile crawl under the spaces such as cartesian coordinate system, tool coordinates system and user coordinate system and rotating crawl operation simultaneously.The inventive method can make crawl process rate smoothing, effectively can reduce the impact to frame for movement, wearing and tearing and reduce sports energy consumption, realizing slight distance crawl, and solving the problem that high speed crawl cannot smoothly stop in time.
Technical scheme: for achieving the above object, the technical solution used in the present invention is:
The method for control speed of a kind of robot crawl operation, the rate control process that crawl operates is divided into and accelerates & at the uniform velocity section and stop segment, wherein accelerate & at the uniform velocity section comprise the cycle become accelerating sections, accelerate-at the uniform velocity changeover portion and at the uniform velocity section three subs, accelerate-at the uniform velocity changeover portion and at the uniform velocity section be two can or scarce subs, each sub carries out locus interpolation planning in units of the timeslice of regular length, and the acceleration of interpolation increment change is continuous in each timeslice, and the initial increment acceleration of each timeslice and termination increment acceleration are zero, each timeslice is made up of several control cycles of continuous print, after each timeslice completes, adopt according to Rule of judgment determination subsequent time and accelerate & at the uniform velocity section interpolation sequence or stop segment interpolation sequence, wherein Rule of judgment comprises: 1. which sub current control process is in, 2. whether crawl operation terminates, 3. whether robot motion is in coverage, and 4. whether robot produces collision.
Cycle become accelerating sections, the changeover portion of acceleration-at the uniform velocity and at the uniform velocity section state transition relation as shown in Figure 1: when the crawl operating time is longer, crawl operation comprises above-mentioned three subs and stop segment; When the crawl operating time is shorter, accelerate-at the uniform velocity changeover portion and at the uniform velocity section may or scarce.As shown in Figure 2, the interpolation sequence of points of crawl is added by initial position territory interpolation increment to be determined the dynamic indicator of each stage interpolation increment.The method specifically comprise as lower part:
Part1: record initial position or posture information
Controller, after receiving crawl request command, records initial position or posture information.If perform the operation of single shaft crawl under joint space, the initial position of crawl is the initial angle of a moving axis; If perform the operation of single shaft crawl under the spaces such as cartesian coordinate system, tool coordinates system and user coordinate system, the initial pose of crawl is robot tool distal point (ToolCenterPoint, TCP) module and carriage transformation matrix under reference frame.
Part2: the definition of parameter
With i=1,2 ..., X represents all timeslices accelerating & at the uniform velocity section, and the time span of timeslice is T 20: the initial increment of i-th timeslice is θ i0, corresponding initial incremental velocity and acceleration are respectively and θ ; The mid point increment of i-th timeslice is θ ih, corresponding mid point incremental velocity and acceleration are respectively with , it is the acceleration peak value of i-th timeslice simultaneously; The termination increment of i-th timeslice is θ if, corresponding termination incremental velocity and acceleration are respectively with at the uniform velocity the given speed of section is ; The interpolation time is t; i=1 time initial;
The initial increment of stop segment is θ 00, corresponding initial incremental velocity and acceleration are respectively with the termination increment of stop segment is θ 0f, corresponding termination incremental velocity and acceleration are respectively with
Part3: interpolation Design with Rule
When the interpolation sequence of execution i-th timeslice, calculate the interpolation sequence of (i+1) individual timeslice simultaneously, object is the interpolation sequence in order to can perform (i+1) individual timeslice immediately when i-th timeslice interpolation completes, and ensures the continuity of motion; The interpolation sequence of described (i+1) individual timeslice is divided into two classes: 1. accelerate the & at the uniform velocity interpolation sequence Normal of section and the interpolation sequence Ending of stop segment;
Described interpolation sequence Normal is divided into three kinds of situations: if the acceleration peak value of 1. (i+1) individual timeslice do not reach peak acceleration a max, the speed of (i+1) individual timeslice does not also reach velocity peak values then (i+1) individual timeslice is the cycle become accelerating sections, adopts the cycle to become the interpolation sequence of accelerating sections interpolating method calculating (i+1) individual timeslice; If the 2. acceleration peak value of (i+1) individual timeslice reach peak acceleration a maxbut the speed of (i+1) individual timeslice does not reach velocity peak values then (i+1) individual timeslice is acceleration-at the uniform velocity changeover portion, adopt to accelerate-at the uniform velocity changeover portion interpolating method calculate the interpolation sequence of (i+1) individual timeslice; If 3. the speed of (i+1) individual timeslice reaches velocity peak values then (i+1) individual timeslice is at the uniform velocity section, adopts at the uniform velocity section interpolating method to calculate the interpolation sequence of (i+1) individual timeslice;
Owing to not knowing when crawl operation stops, therefore needing to calculate interpolation sequence Ending while the interpolation sequence performing each timeslice, the starting point of interpolation sequence Ending is the continuity of i-th interpolation sequence Normal.
Part4: the calculating of the interpolation sequence of the timeslice of cycle change accelerating sections and execution
Control program opens the computational process of interpolation sequence, and first computing cycle becomes the interpolation sequence of i-th timeslice of accelerating sections, and the interpolation incremental rate curve function defining method that the cycle becomes accelerating sections is as follows:
Cycle becomes accelerating sections and can comprise several timeslices; Become in accelerating sections in the cycle, the acceleration peak value of adjacent two timeslices increases progressively fixed value △ a successively, namely require the acceleration peak value of the rear gained of (i+1) individual timeslice planning be no more than peak acceleration a max.
The θ of each timeslice of accelerating sections is become due to the cycle i0, with can be regarded as determined amounts, T 20for fixed value, therefore can consider to use fourth order polynomial to become the interpolation amount θ of i-th timeslice in accelerating sections to the cycle it () carries out interpolation, that is:
θ i(t)=ω i0i1t+ω i2t 2i3t 3i4t 4
Wherein ω i0, ω i1, ω i2, ω i3and ω i4for multinomial coefficient, its constraints is:
θ i 0 = ω i 0 θ · i 0 = ω i 1 θ ·· i 0 = 2 ω i 2 θ ·· i h = 2 ω i 2 + 6 ω i 3 ( T 20 2 ) + 12 ω i 4 ( T 20 2 ) 2 θ ·· i f = 2 ω i 2 + 6 ω i 3 T 20 + 12 ω i 4 T 20 2
Solve the interpolation amount θ obtained i-th timeslice in cycle change accelerating sections it function that () carries out interpolation is:
θ i ( t ) = θ i 0 + θ · i 0 t + 2 θ ·· i h 3 T 20 t 3 - θ ·· i h 3 T 20 2 t 4
Part5 the: accelerate-at the uniform velocity calculating of the interpolation sequence of changeover portion timeslice and execution
Owing to accelerating-θ of the at the uniform velocity timeslice of changeover portion i0, with can be regarded as determined amounts, therefore can consider equally to use fourth order polynomial to accelerating-the interpolation amount θ of at the uniform velocity i-th timeslice of changeover portion it () carries out interpolation, that is:
θ i(t)=ω i0i1t+ω i2t 2i3t 3i4t 4
Wherein ω i0, ω i1, ω i2, ω i3and ω i4for multinomial coefficient, its constraints is:
θ i 0 = ω i 0 θ · i 0 = ω i 1 θ ·· i 0 = 2 ω i 2 θ ·· i f = ω i 0 + 2 ω i 1 T 20 + 3 ω i 2 T 20 2 + 4 ω i 3 T 20 3 θ ·· i f = 2 ω i 2 + 6 ω i 3 T 20 + 12 ω i 4 T 20 2
Solve and obtain to accelerating-interpolation amount the θ of at the uniform velocity i-th timeslice of changeover portion it function that () carries out interpolation is:
θ i ( t ) = θ i 0 + θ · i 0 t + θ · i f - θ · i 0 T 20 2 t 3 - θ · i f - θ · i 0 2 T 20 3 t 4
Part6: the at the uniform velocity calculating of the interpolation sequence of section timeslice and execution
Due to the θ of the at the uniform velocity timeslice of section i0with can be regarded as determined amounts, therefore can consider to use once linear multinomial to the interpolation amount θ of i-th timeslice at the uniform velocity section equally it () carries out interpolation, that is:
θ i(t)=ω i0i1t
Wherein ω i0and ω i1for multinomial coefficient, its constraints is:
θ i 0 = ω i 0 θ · i 0 = ω i 1
Solve the interpolation amount θ obtained i-th timeslice at the uniform velocity section it function that () carries out interpolation is:
θ i ( t ) = θ i 0 + θ · i 0 t
Part7: the calculating of the interpolation sequence of stop segment and execution
If crawl operation terminates, then nullify calculation procedure; If open execution thread, after waiting for that stop segment sequence is finished, nullify execution thread, wait for crawl request next time.
Once find that crawl operation terminates, exceeds robot coverage or collide, then directly jump to stop segment; At stop segment, speed is reduced to 0 in the mode that running time is short and the most level and smooth by crawl operation, and at stop segment, no longer service time, sheet was split, and uses the maximum deceleration-a running and allow decel, max(-a decel, maxfor on the occasion of) plan as deceleration peak value.
Due to the θ of stop segment 00, θ · 00 , θ ·· 00 ( = 0 ) , θ ·· 0 h ( = - a D e c e l , m a x ) , θ · 0 f ( = 0 ) With can regard determined amounts as, but △ t running time is a known variables, can considers equally to use fourth order polynomial to the interpolation amount θ of stop segment 0t () carries out interpolation, that is:
θ 0(t)=ω 0001t+ω 02t 203t 304t 4
Wherein ω 00, ω 01, ω 02, ω 03and ω 04for multinomial coefficient, its constraints is:
θ 00 = ω 00 θ · 00 = ω 01 θ ·· 00 = 2 ω 02 θ ·· 0 h = 2 ω 02 + 6 ω 03 ( Δ t 2 ) + 12 ω 04 ( Δ t 2 ) 2 θ · 0 f = ω 00 + 2 ω 01 Δ t + 3 ω 02 Δt 2 + 4 ω 03 Δt 3 θ ·· f = 2 ω 2 + 6 ω 3 Δ t + 12 ω 4 Δt 2
Solve the interpolation amount θ obtained stop segment 0t function that () carries out interpolation is:
θ 0 ( t ) = θ 00 + θ · 00 t - 4 a D e c e l , m a x 2 9 θ · 00 t 3 + 4 a D e c e l , m a x 3 27 θ · 00 2 t 4 ;
The running time of stop segment is:
Beneficial effect: the method for control speed of robot provided by the invention crawl operation, relative to prior art, has following advantage: the exercise performance 1, improving crawl operation.Compared to the crawl solution of traditional controller, the program results accelerating curve of crawl of the present invention is continuous, and rate smoothing, effectively can reduce the mechanical shock in crawl process and wearing and tearing, the extension device life-span; Crawl starting stage acceleration is less and strengthen gradually, and can realize micro-displacement crawl, the user that is more convenient for carries out teaching operation to robot; In units of timeslice, planning process takes into full account that can crawl stop in coverage, avoids robot high speed crawl easily run off the soft spacing problem of motion in algorithm aspect.2, there is versatility.The present invention does not relate to the particular type of robot, has versatility to the crawl operation realizing method of robot teaching.
Accompanying drawing explanation
Fig. 1 is the state transition schematic diagram of crawl trajectory planning.Program is at first waits for crawl solicited status, and when push button signalling being detected, the cycle that jumps to becomes accelerating sections state; If key press time is longer, will by accelerate-at the uniform velocity changeover portion enter at the uniform velocity section state.In process, once detect that button unclamps or has unreachable interpolated point, stop segment state will be entered.In figure: crawl request signal 1. detected; 2. future time sheet acceleration increases progressively (but must not exceed peak acceleration), and the termination speed of planning gained is still less than given at the uniform velocity section speed; If 3. future time sheet acceleration increases progressively (but must not exceed peak acceleration), the termination speed of planning gained will exceed given at the uniform velocity section speed; 4. do not receive crawl ending request, and the motion of future time sheet can reach; 5. receive crawl ending request, or future time sheet there is unreachable point.
Fig. 2 is the planning schematic diagram of four stages interpolation increment of the present invention and pace of change, change acceleration and change acceleration.
Fig. 3 is under user of the present invention initiatively stops situation, the synchronous citing of computational threads and execution thread.
Fig. 4 be of the present invention have unreachable some situation under, the synchronous citing of computational threads and execution thread.
Fig. 5 is calculating and the implementation status of each timeslice interpolation sequence in crawl process of the present invention.In figure: 1. initialize: receive crawl request, start the two sections of interpolated point sequences calculating first timeslice; If calculate successfully, start to perform sequence.2. transition between timeslice: " continuing running mark position " effectively, namely detects that two sections of interpolated point sequences of future time sheet have calculated, illustrate that these path point all can reach; So abandon the stop segment sequence that a timeslice calculates, and perform new acceleration (at the uniform velocity) section.3. stop signal: " continuing campaign signs position " is cleared.4. stop: " continuing campaign signs position " lost efficacy, and no longer calculated two sections of new sequences, and the next stage performs stop segment sequence.
Fig. 6 is calculating and the execution result of interpolation sequence under crawl stopping (user initiatively stops/have unreachable point) condition that the present invention two kinds is different.
Fig. 7 is artificially routine with vertical six axle joint type industrial machines, the schematic diagram of single shaft crawl operation under displaying joint coordinate system space.
Fig. 8 is under cartesian coordinate system space, and robot tool distal point TCP moves along X, Y of cartesian coordinate system or Z axis, or rotates around X, Y of cartesian coordinate system or Z axis, carries out the schematic diagram of crawl operation.
Fig. 9 is under tool coordinates system space, and robot tool distal point TCP moves along X, Y of tool coordinates system or Z axis, or rotates around X, Y of tool coordinates system or Z axis, carries out the schematic diagram of crawl operation.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is further described.
Key of the invention process is the computational threads of control program to robot crawl interpolation sequence and the management by synchronization of execution thread.When controller receives crawl request signal, program opens the computational threads of interpolation sequence and execution stroke in succession; Cycle calculations with perform after several accelerate the interpolation sequence of & at the uniform velocity section timeslice, when detecting that user initiatively stops crawl (unclamping button) or robot motion to have unreachable point (exceeding robot coverage maybe will collide), perform stop segment sequence, nullify calculation procedure and execution thread successively, wait for crawl request next time.The length of timeslice is fixing for program, needs application developer to determine according to controller actual conditions, citing: it is 8 milliseconds that certain controller scheduling real-time periodic controls clock, can consider that with 20 cycles be a timeslice, i.e. each timeslice T 20it is 160 milliseconds.
Fig. 3 and Fig. 4 be under user initiatively stops situation respectively, have unreachable some situation under, adopt the implementation step of technical solution of the present invention, calculate the stroke typical case synchronous with execution thread and illustrate.Operationally in sheet, receive button release message or calculate failed message when execution thread, " continuing campaign signs position " can be reset, next timeslice decision-making is for performing stop segment interpolation sequence.Future time sheet is perform new acceleration (at the uniform velocity) section sequence on earth, or performing current time sheet stop segment sequence immediately, is the Determines that control program passes through to read " continuing campaign signs position " at the end of each timeslice interpolation sequence performs.In crawl process, the calculating of each timeslice interpolation sequence and execution result are as shown in Figure 5 and Figure 6.
Implementation step of the present invention is introduced further below with the single shaft crawl (Fig. 7) under joint coordinate system space, the movement under cartesian coordinate system space and the movement of rotating under crawl (Fig. 8) and tool coordinates system space and rotation crawl (Fig. 9).
N is used to represent the periodicity that each timeslice comprises, citing: N=20; The periodicity that uses m to represent that stop segment takies ( △ t is the running time of stop segment; T is the control cycle time, citing: T=8ms).
(1) the single shaft crawl (Fig. 7) under joint coordinate system space
Step1: the initial position of measuring point moving axis or joint angles P 0;
Step2: calculate interpolation sequence
Become to the interpolation amount θ of i-th timeslice in accelerating sections the cycle it function that () carries out interpolation is to accelerating-the interpolation amount θ of at the uniform velocity i-th timeslice of changeover portion it function that () carries out interpolation is to the interpolation amount θ of i-th timeslice at the uniform velocity section it function that () carries out interpolation is function interpolation amount θ (t) of stop segment being carried out to interpolation is
θ 0 ( t ) = θ 00 + θ · 00 t - 4 a D e c e l , m a x 2 9 θ · 00 t 3 + 4 a D e c e l , m a x 3 27 θ · 00 2 t 4 .
If there is unreachable point (exceeding the spacing robot that maybe will cause of a moving axis to collide) i-th timeslice two ends interpolation sequence, or detect that now button unclamps, directly jumps to Step4, enter stop segment, some moving axis is failure to actuate; Otherwise control program will open the performing a programme of interpolation sequence, and proceeds the calculating of interpolation sequence.
To acceleration & at the uniform velocity section increment function get N number of interpolation moment t=0, T, 2T ... (N-1) T, obtains the N number of interpolation increment △ accelerating & at the uniform velocity section k(k=1,2 ..., N); Record the increment size △ of last interpolated point nand incremental velocity m+1 interpolated point moment t=0 is got to stop segment increment function, T, 2T ... (m-1) T, △ t, obtains m+1 interpolation increment △ of stop segment k(k=N+1, N+2 ..., N+m, N+m+1), initial increment and the initial incremental velocity of first timeslice are 0, become accelerating sections: the mid point increment acceleration of timeslice for the cycle the peak acceleration a that motion allows can not be exceeded max; The mid point increment acceleration of first timeslice can get a smaller value, citing: 0.03 × a max; Adjacent two timeslice acceleration incremental changes can get a desired value, citing: 0.05 × a max.
For the single shaft crawl under joint coordinate system space, the mid point increment acceleration of cycle change accelerating sections timeslice maximum angular acceleration or a linear acceleration that the motion of a some moving axis allows can not be exceeded, accelerate-termination the incremental velocity of at the uniform velocity changeover portion timeslice correspond to the some moving axis desired motion speed that instruction is given, the mid point incremental retard degree of stop segment the maximum angular deceleration that the motion of corresponding points moving axis allows or line deceleration.By P 0+ △ kthe axle joint set-point of N number of acceleration & at the uniform velocity section interpolation sequence of points of first timeslice can be calculated, and with the axle joint set-point of this timeslice m+1 stop segment interpolation sequence of points immediately.
Step3: perform the timeslice interpolation sequence calculated, synchronously return Step2 and calculate next timeslice interpolation sequence.
Execution thread reads and performs the current time sheet calculated and accelerates (at the uniform velocity) section sequence; Meanwhile, computational threads starts the two sections of interpolation sequences calculating future time sheet, the increment size of the last interpolated point of acceleration (at the uniform velocity) section in recording two sections and incremental velocity, and upgrades the motion stage state of crawl process.
The motion stage state upgrading crawl process needs to lead according to the state flow chart of Fig. 1, in interpolation sequence computational process, the initial increment size of future time sheet and angular velocity/linear velocity are respectively increment size and the angular velocity/linear velocity that current time sheet accelerates the last interpolated point of (at the uniform velocity) section.
Step4: crawl terminates
Nullify calculation procedure; If open execution thread, after waiting for that stop segment sequence is finished, nullify execution thread.Wait for crawl request next time.
(2) movement under cartesian coordinate system space and rotation crawl (Fig. 8)
Crawl under cartesian coordinate system space is reference frame with cartesian coordinate, robot tool distal point TCP can be the mobile crawl carrying out+X/-X/+Y/-Y/+Z/-Z direction along reference axis X/Y/Z, also can be the rotation crawl carrying out+Rx/-Rx/+Ry/-Ry/+Rz/-Rz direction around reference axis X/Y/Z.Concrete steps are as follows:
Step1: the initial pose of recorder people TCP
After receiving the request of user's crawl, first record each joint position, by solving the forward kinematics solution of robot, 4 × 4 transformation matrixs obtaining robot current tool distal point TCP are T 0, r 0for representing 3 × 3 coordinate spin matrixs of attitude, p 0for locative 3 × 1 position offset vectors.
Step2: the interpolation sequence calculating first timeslice
First need, according to being mobile crawl or rotating crawl, to specify the plan objects of crawl.
If mobile crawl, plan objects is the position of TCP on reference axis X/Y/Z direction.To move along X-axis positive direction, if the positional increment in edge+X-direction is △ j(j=1,2 ..., N), then moving the path position offset increment that dimension produces is rotate not change in dimension, corresponding spin matrix increment is unit matrix: △ R j=I 3 × 3.Therefore, increment transformation matrix is the reference coordinate of motion is cartesian coordinate system, and the correspondent transform matrix of interpolated point is former transformation matrix T 0premultiplication increment transformation matrix △ T j, that is:
T j = ΔT j · T 0 = I 3 × 3 Δp j 0 1 R 0 p 0 0 1 = R 0 p 0 + Δp j 0 1
If rotation crawl, plan objects is the angular dimension that just or in the other direction rotating of TCP around reference axis X/Y/Z.To rotate around X-axis positive direction, if around the rotation angle increment of+X-direction be then rotate the spin matrix increment that dimension produces not change in mobile dimension, corresponding position offset increment is null vector: therefore, increment transformation matrix is the reference coordinate of motion is cartesian coordinate system, and the correspondent transform matrix of corresponding interpolated point is former transformation matrix T 0premultiplication increment transformation matrix that is:
T ~ j = Δ T ~ j · T 0 = Δ R ~ j Θ 3 × 1 0 1 R 0 p 0 0 1 = Δ R ~ j R 0 Δ R ~ j p 0 0 1
After specifying plan objects, the particular content of this step can be described as: open computational threads, calculate two sections of interpolation sequences of first timeslice, and record in two sections of sequences and accelerate the & at the uniform velocity increment size of the last interpolated point of section (i.e. cycle change accelerating sections) and incremental velocity.If there is unreachable point (exceeding robot coverage maybe will collide) in two sections of interpolation sequences, or detect that now button unclamps, jumps to Step5, robot is failure to actuate.Otherwise control program, by opening the execution thread of interpolation sequence, enters Step3.
The method that computational methods and the first situation of two sections of interpolation sequence interpolation increments calculate two sections of interpolation sequence interpolation increments is identical.Utilizing mobile crawl calculating formula or rotate the transformation matrix that crawl calculating formula can calculate each interpolated point, by solving the Inverse Kinematics Solution of robot, each axle joint set-point of robot can be obtained, as one group of interpolation sequence of certain interpolated point; Thus, the N group that can calculate first timeslice accelerates the axle joint set-point of (at the uniform velocity) section interpolation sequence of points, and with the axle joint set-point of this timeslice m+1 group stop segment interpolation sequence of points immediately.
Step3: perform the timeslice interpolation sequence calculated, the next timeslice interpolation sequence of synchronous calculating.
Execution thread reads and performs the current time sheet calculated and accelerates & at the uniform velocity section sequence; Meanwhile, computational threads starts the two sections of interpolation sequences calculating future time sheet, and the acceleration & in recording two sections is the increment size of the last interpolated point of section and incremental velocity at the uniform velocity, and upgrades the motion stage state of crawl process.
The motion stage state upgrading crawl process needs to lead according to the state flow chart of Fig. 1, in interpolation sequence computational process, the increment size of future time sheet and incremental velocity are respectively current time sheet and accelerate the & at the uniform velocity increment size of the last interpolated point of section and incremental velocity.
Step4: repeat Step3, circulation performs and sheet interpolation computing time sequence, until meet stop condition.
After next timeslice two sections of interpolation sequences calculate, if machine is in coverage per capita under each group sequence of points, computational threads wait for execution thread by the acceleration & of current time sheet at the uniform velocity section sequence interpolated point be finished; After being finished, if button is still in down state, returns and repeat synchronous calculating and the execution that Step3 carries out subsequent time slice interpolation sequence.If two of next timeslice sections of interpolation sequences exist unreachable point, or detect after being finished that button unclamps, nullify computational threads, future time sheet starts to perform current time sheet stop segment sequence immediately.
Step5: crawl terminates.
Nullify calculation procedure; If open execution thread, after waiting for that stop segment sequence is finished, nullify execution thread.Wait for crawl request next time.
(3) movement under tool coordinates system space and rotation crawl (Fig. 9)
Crawl under instrument system space is reference frame with tool coordinates, robot tool distal point TCP can be the mobile crawl carrying out+X/-X/+Y/-Y/+Z/-Z direction along tool coordinates system reference axis X/Y/Z, also can be the rotation crawl carrying out+Rx/-Rx/+Ry/-Ry/+Rz/-Rz direction around tool coordinates axle X/Y/Z.
Concrete steps and (2) moved and the rotated crawl step Step1 to Step5 that realizes under planting situation cartesian coordinate system space is very similar, and unique difference is in Step2 and Step3 interpolated point transformation matrix T jor computational methods.
If mobile crawl, plan objects is the position of TCP on tool coordinates system reference axis X/Y/Z direction.To move along tool coordinates system X-axis positive direction, if be △ along the positional increment in tool coordinates system+X-direction j(j=1,2 ..., N), then moving the path position offset increment that dimension produces is rotate not change in dimension, corresponding spin matrix increment is unit matrix: △ R j=I 3 × 3.Therefore, increment transformation matrix is the reference coordinate of motion is tool coordinates system, and describe under being transformed into cartesian coordinate space, the correspondent transform matrix of interpolated point is former transformation matrix T 0increment transformation matrix △ T is taken advantage of on the right side j, that is:
T j = T 0 · ΔT j = R 0 p 0 0 1 I 3 × 3 Δp j 0 1 = R 0 R 0 Δp j + p 0 0 1
If rotation crawl, plan objects is the angular dimension that just or in the other direction rotating of TCP around tool coordinates system reference axis X/Y/Z.To rotate, if around the rotation angle increment of tool coordinates system+X-direction be around joint coordinate system X-axis positive direction then rotate the spin matrix increment that dimension produces not change in mobile dimension, corresponding position offset increment is null vector: therefore, increment transformation matrix is the reference coordinate of motion is tool coordinates system, and describe under being transformed into cartesian coordinate space, the correspondent transform matrix of interpolated point is former transformation matrix T 0increment transformation matrix is taken advantage of on the right side that is:
T ~ j = T 0 · Δ T ~ j = R 0 p 0 0 1 Δ R ~ j Θ 3 × 1 0 1 = R 0 Δ R ~ j p 0 0 1
Move and rotate the calculating formula realized in step Step2 and Step3 of crawl under replacing (2) to plant situation cartesian coordinate system space respectively with above-mentioned two formulas, similar implementation step can be adopted, the movement under corresponding implementation tool coordinate system space and rotation crawl.
The above is only the preferred embodiment of the present invention; be noted that for those skilled in the art; under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (6)

1. the method for control speed of a robot crawl operation, it is characterized in that: the rate control process that crawl operates is divided into and accelerates & at the uniform velocity section and stop segment, wherein accelerate & at the uniform velocity section comprise the cycle become accelerating sections, accelerate-at the uniform velocity changeover portion and at the uniform velocity section three subs, accelerate-at the uniform velocity changeover portion and at the uniform velocity section be two can or scarce subs, each sub carries out locus interpolation planning in units of the timeslice of regular length, and the acceleration of interpolation increment change is continuous in each timeslice, and the initial increment acceleration of each timeslice and termination increment acceleration are zero, each timeslice is made up of several control cycles of continuous print, after each timeslice completes, adopt according to Rule of judgment determination subsequent time and accelerate & at the uniform velocity section interpolation sequence or stop segment interpolation sequence, wherein Rule of judgment comprises: 1. which sub current control process is in, 2. whether crawl operation terminates, 3. whether robot motion is in coverage, and 4. whether robot produces collision,
With i=1,2 ..., X represents all timeslices accelerating & at the uniform velocity section, and the time span of timeslice is T 20: the initial increment of i-th timeslice is θ i0, corresponding initial incremental velocity and acceleration are respectively with the mid point increment of i-th timeslice is θ ih, corresponding mid point incremental velocity and acceleration are respectively with it is the acceleration peak value of i-th timeslice simultaneously; The termination increment of i-th timeslice is θ if, corresponding termination incremental velocity and acceleration are respectively with at the uniform velocity the given speed of section is it is velocity peak values simultaneously; The interpolation time is t, θ (i+1) 0if, the initial increment of stop segment is θ 00, corresponding initial incremental velocity and acceleration are respectively with the termination increment of stop segment is θ 0f, corresponding termination incremental velocity and acceleration are respectively with
2. the method for control speed of robot according to claim 1 crawl operation, it is characterized in that: when the interpolation sequence of execution i-th timeslice, calculate the interpolation sequence of (i+1) individual timeslice simultaneously, object is the interpolation sequence in order to can perform (i+1) individual timeslice immediately when i-th timeslice interpolation completes, and ensures the continuity of motion; The interpolation sequence of described (i+1) individual timeslice is divided into two classes: 1. accelerate the & at the uniform velocity interpolation sequence Normal of section and the interpolation sequence Ending of stop segment;
Described interpolation sequence Normal is divided into three kinds of situations: if the acceleration peak value of 1. (i+1) individual timeslice do not reach peak acceleration a max, the speed of (i+1) individual timeslice does not also reach velocity peak values then (i+1) individual timeslice is the cycle become accelerating sections, adopts the cycle to become the interpolation sequence of accelerating sections interpolating method calculating (i+1) individual timeslice; If the 2. acceleration peak value of (i+1) individual timeslice reach peak acceleration a maxbut the speed of (i+1) individual timeslice does not reach velocity peak values then (i+1) individual timeslice is acceleration-at the uniform velocity changeover portion, adopt to accelerate-at the uniform velocity changeover portion interpolating method calculate the interpolation sequence of (i+1) individual timeslice; If 3. the speed of (i+1) individual timeslice reaches velocity peak values then (i+1) individual timeslice is at the uniform velocity section, adopts at the uniform velocity section interpolating method to calculate the interpolation sequence of (i+1) individual timeslice;
Owing to not knowing when crawl operation stops, therefore needing to calculate interpolation sequence Ending while the interpolation sequence performing each timeslice, the starting point of interpolation sequence Ending is the continuity of i-th interpolation sequence Normal.
3. the method for control speed of robot according to claim 1 crawl operation, is characterized in that: the described cycle becomes accelerating sections and comprises several timeslices; Become in accelerating sections in the cycle, the acceleration peak value of adjacent two timeslices increases progressively fixed value △ a successively, namely require the acceleration peak value of the rear gained of (i+1) individual timeslice planning be no more than peak acceleration a max; If i-th timeslice becomes accelerating sections in the cycle, if acceleration peak value continues to increase △ a, the acceleration peak value of gained after (i+1) individual timeslice planning peak acceleration a will be exceeded max, and after (i+1) individual timeslice planning, the speed of gained does not reach velocity peak values then (i+1) individual timeslice jumps to acceleration-at the uniform velocity changeover portion; Following fourth order polynomial is used to become the interpolation amount θ of i-th timeslice in accelerating sections to the cycle it () carries out interpolation:
θ i ( t ) = θ i 0 + θ · i 0 t + 2 θ ·· i h 3 T 20 t 3 - θ ·· i h 3 T 20 2 t 4 .
4. robot according to claim 1 crawl operation method for control speed, it is characterized in that: if described existences acceleration-at the uniform velocity changeover portion, then acceleration-at the uniform velocity changeover portion only take a timeslice; Use following fourth order polynomial to accelerating-the interpolation amount θ of i-th timeslice at the uniform velocity in changeover portion it () carries out interpolation:
θ i ( t ) = θ i 0 + θ · i 0 t + θ · i f - θ · i 0 T 20 2 t 3 - θ · i f - θ · i 0 2 T 20 3 t 4 .
5. the method for control speed of robot according to claim 1 crawl operation, is characterized in that: described at the uniform velocity section comprises several timeslices; Use following linear polynomial to the interpolation amount θ of i-th timeslice at the uniform velocity section it () carries out interpolation:
θ i ( t ) = θ i 0 + θ · i 0 t .
6. the method for control speed of robot according to claim 1 crawl operation, it is characterized in that: once find that crawl operation terminates, robot motion is unreachable or robot produces collision, then by acceleration & at the uniform velocity section directly jump to stop segment, at stop segment, speed is reduced to 0 in the mode that running time is short and the most level and smooth by crawl operation, at stop segment, no longer service time, sheet was split, and two use the maximum deceleration-a running and allow decel, maxplan as deceleration peak value, use following fourth order polynomial to the interpolation amount θ of stop segment 0t () carries out interpolation:
θ 0 ( t ) = θ 00 + θ · 00 t - 4 a D e c e l , m a x 2 9 θ · 00 t 3 + 4 a D e c e l , m a x 3 27 θ · 00 2 t 4 ;
The running time of stop segment is:
CN201510579765.XA 2015-09-11 2015-09-11 A kind of method for control speed of robot crawl operation Expired - Fee Related CN105082135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510579765.XA CN105082135B (en) 2015-09-11 2015-09-11 A kind of method for control speed of robot crawl operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510579765.XA CN105082135B (en) 2015-09-11 2015-09-11 A kind of method for control speed of robot crawl operation

Publications (2)

Publication Number Publication Date
CN105082135A true CN105082135A (en) 2015-11-25
CN105082135B CN105082135B (en) 2016-11-30

Family

ID=54563906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510579765.XA Expired - Fee Related CN105082135B (en) 2015-09-11 2015-09-11 A kind of method for control speed of robot crawl operation

Country Status (1)

Country Link
CN (1) CN105082135B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105922265A (en) * 2016-06-20 2016-09-07 广州视源电子科技股份有限公司 Motion trail planning method and device for mechanical arm and robot
CN106444762A (en) * 2016-10-18 2017-02-22 北京京东尚科信息技术有限公司 Automatic guide transport vehicle AGV, and motion control method and apparatus thereof
CN106671110A (en) * 2017-02-10 2017-05-17 苏州库浩斯信息科技有限公司 Robot head travel control method and system
CN107172359A (en) * 2017-07-03 2017-09-15 天津智汇时代科技有限公司 camera face tracking system and face tracking method
CN107351087A (en) * 2017-08-29 2017-11-17 成都乐创自动化技术股份有限公司 A kind of crawl response control mehtod and system
CN107598921A (en) * 2017-08-25 2018-01-19 深圳星河智能科技有限公司 A kind of space smoothing method for controlling stopping applied to six axis robot arm
CN108333968A (en) * 2018-02-11 2018-07-27 昆山艾派科技有限公司 The method for planning track of robot single step campaign
CN108415427A (en) * 2018-02-11 2018-08-17 昆山艾派科技有限公司 The path joining method that robot multistep continuously moves
WO2018205490A1 (en) * 2017-05-11 2018-11-15 广州视源电子科技股份有限公司 Method and device for controlling robot to rotate joint to perform movement, and robot
CN110385716A (en) * 2018-04-18 2019-10-29 B和R工业自动化有限公司 For controlling the method and kinematic mechanisms of kinematic mechanisms
CN110954268A (en) * 2019-12-20 2020-04-03 电子科技大学中山学院 Unbalance loading calibration system
CN114227655A (en) * 2021-12-30 2022-03-25 深圳市英威腾电气股份有限公司 Method and device for determining planned path, SCARA robot and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06182682A (en) * 1992-12-18 1994-07-05 Mitsubishi Heavy Ind Ltd Speed control method for robot
CN101791800A (en) * 2010-01-21 2010-08-04 西北工业大学 Motion control method of double-wheel differential type robot
CN101861233A (en) * 2007-11-15 2010-10-13 库卡罗伯特有限公司 The method of industrial robot and control industrial robot motion
EP2345511A2 (en) * 2010-01-13 2011-07-20 KUKA Laboratories GmbH Control for a manipulator
JP2014524359A (en) * 2011-08-24 2014-09-22 デュール システムズ ゲゼルシャフト ミット ベシュレンクテル ハフツング Robot control method
CN104191428A (en) * 2014-08-27 2014-12-10 深圳科瑞技术股份有限公司 Movement path planning method and system based on SCARA
CN104254430A (en) * 2012-03-07 2014-12-31 佳能株式会社 Robot controlling device, robot apparatus, robot control method, program for executing robot control method, and recording medium on which program is recorded
CN104625676A (en) * 2013-11-14 2015-05-20 沈阳新松机器人自动化股份有限公司 Shaft hole assembly industrial robot system and working method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06182682A (en) * 1992-12-18 1994-07-05 Mitsubishi Heavy Ind Ltd Speed control method for robot
CN101861233A (en) * 2007-11-15 2010-10-13 库卡罗伯特有限公司 The method of industrial robot and control industrial robot motion
EP2345511A2 (en) * 2010-01-13 2011-07-20 KUKA Laboratories GmbH Control for a manipulator
CN101791800A (en) * 2010-01-21 2010-08-04 西北工业大学 Motion control method of double-wheel differential type robot
JP2014524359A (en) * 2011-08-24 2014-09-22 デュール システムズ ゲゼルシャフト ミット ベシュレンクテル ハフツング Robot control method
CN104254430A (en) * 2012-03-07 2014-12-31 佳能株式会社 Robot controlling device, robot apparatus, robot control method, program for executing robot control method, and recording medium on which program is recorded
CN104625676A (en) * 2013-11-14 2015-05-20 沈阳新松机器人自动化股份有限公司 Shaft hole assembly industrial robot system and working method thereof
CN104191428A (en) * 2014-08-27 2014-12-10 深圳科瑞技术股份有限公司 Movement path planning method and system based on SCARA

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017219639A1 (en) * 2016-06-20 2017-12-28 广州视源电子科技股份有限公司 Motion trail planning method and device for robotic arm, and robot
CN105922265A (en) * 2016-06-20 2016-09-07 广州视源电子科技股份有限公司 Motion trail planning method and device for mechanical arm and robot
CN106444762A (en) * 2016-10-18 2017-02-22 北京京东尚科信息技术有限公司 Automatic guide transport vehicle AGV, and motion control method and apparatus thereof
CN106671110A (en) * 2017-02-10 2017-05-17 苏州库浩斯信息科技有限公司 Robot head travel control method and system
WO2018205490A1 (en) * 2017-05-11 2018-11-15 广州视源电子科技股份有限公司 Method and device for controlling robot to rotate joint to perform movement, and robot
CN107172359A (en) * 2017-07-03 2017-09-15 天津智汇时代科技有限公司 camera face tracking system and face tracking method
CN107598921A (en) * 2017-08-25 2018-01-19 深圳星河智能科技有限公司 A kind of space smoothing method for controlling stopping applied to six axis robot arm
CN107351087A (en) * 2017-08-29 2017-11-17 成都乐创自动化技术股份有限公司 A kind of crawl response control mehtod and system
CN108333968A (en) * 2018-02-11 2018-07-27 昆山艾派科技有限公司 The method for planning track of robot single step campaign
CN108415427A (en) * 2018-02-11 2018-08-17 昆山艾派科技有限公司 The path joining method that robot multistep continuously moves
CN108333968B (en) * 2018-02-11 2021-05-25 昆山艾派科技有限公司 Track planning method for single-step motion of robot
CN110385716A (en) * 2018-04-18 2019-10-29 B和R工业自动化有限公司 For controlling the method and kinematic mechanisms of kinematic mechanisms
CN110385716B (en) * 2018-04-18 2024-03-12 B和R工业自动化有限公司 Method for controlling a kinematic mechanism and kinematic mechanism
CN110954268A (en) * 2019-12-20 2020-04-03 电子科技大学中山学院 Unbalance loading calibration system
CN114227655A (en) * 2021-12-30 2022-03-25 深圳市英威腾电气股份有限公司 Method and device for determining planned path, SCARA robot and medium

Also Published As

Publication number Publication date
CN105082135B (en) 2016-11-30

Similar Documents

Publication Publication Date Title
CN105082135A (en) Speed control method for inching operation of robot
CN107571261B (en) The smooth transient method and device of the more space tracking planning of teaching robot
CN101402199B (en) Hand-eye type robot movable target extracting method with low servo accuracy based on visual sensation
CN103147577B (en) Control method, equipment, system and construction machinery for multi-joint mechanical arm support
CN103135501A (en) Acceleration and deceleration controlling method based on S-shaped curve and equipment using the same and numerically-controlled machine tool
CN105159096A (en) Redundancy space manipulator joint torque optimization method based on particle swarm algorithm
CN104076743B (en) A kind of interpolation control method of self-identifying interpolation kind
CN101898358A (en) Be used to control the method and the device of manipulator
CN110377065B (en) Speed control method, apparatus and computer readable storage medium
CN108829045A (en) The optimization method and system of the linking speed of continuous micro line
CN105082134A (en) Strangeness processing method for six-freedom-degree series robot based on multiple criteria
CN101630413B (en) Multi-robot tracked mobile target algorithm
CN109623825A (en) A kind of motion track planing method, device, equipment and storage medium
CN113031621A (en) Bridge crane safety obstacle avoidance path planning method and system
CN109048929A (en) A kind of generation method and device of robot motion track
CN109304711A (en) Serial manipulator method for planning track
CN107717985A (en) A kind of space multi straight smooth motion control method applied to six axis robot arm
CN107553484A (en) A kind of robot manipulating task trajectory path planning method and system
CN113495565A (en) Robot and trajectory planning and smooth transition method, system and medium thereof
CN102490083A (en) Real-time display method for space profile track errors of numerical control device
CN109483551B (en) Method, device and system for controlling multi-axis motion of robot
CN104155909B (en) Stability in finite time control system based on the tape speed observer of PC+FPGA
Jamhour et al. Planning smooth trajectories along parametric paths
CN110328661A (en) A kind of method for planning track of robot single step campaign
CN110058589A (en) Guide rail localization method and its device based on bar codes technique

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161130

Termination date: 20210911

CF01 Termination of patent right due to non-payment of annual fee