CN103135501A - Acceleration and deceleration controlling method based on S-shaped curve and equipment using the same and numerically-controlled machine tool - Google Patents

Acceleration and deceleration controlling method based on S-shaped curve and equipment using the same and numerically-controlled machine tool Download PDF

Info

Publication number
CN103135501A
CN103135501A CN2013100426118A CN201310042611A CN103135501A CN 103135501 A CN103135501 A CN 103135501A CN 2013100426118 A CN2013100426118 A CN 2013100426118A CN 201310042611 A CN201310042611 A CN 201310042611A CN 103135501 A CN103135501 A CN 103135501A
Authority
CN
China
Prior art keywords
acceleration
tau
speed
machining locus
section machining
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
CN2013100426118A
Other languages
Chinese (zh)
Other versions
CN103135501B (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.)
BEIJING A&E PRECISION MACHINERY Co Ltd
Original Assignee
BEIJING A&E PRECISION MACHINERY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING A&E PRECISION MACHINERY Co Ltd filed Critical BEIJING A&E PRECISION MACHINERY Co Ltd
Priority to CN201310042611.8A priority Critical patent/CN103135501B/en
Publication of CN103135501A publication Critical patent/CN103135501A/en
Application granted granted Critical
Publication of CN103135501B publication Critical patent/CN103135501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

The invention discloses an acceleration and deceleration controlling method based on an S-shaped curve. An S-shaped curve is applied to speed planning of an i+1 section of a processing track, wherein the i+1 section of the processing track is arranged between a first transfer position and a second transfer position, and accelerations of the first transfer position and the second transfer position are controlled not to be zero. The invention further discloses a controlling device of acceleration and deceleration based on the S-shaped curve and the numerically-controlled machine tool. Due to the fact that the acceleration and deceleration method based on the S-shaped curve and the equipment using the acceleration and deceleration controlling method based on the S-shaped curve of a numerically-controlled system control the accelerations of the first transfer position and the second transfer position not to be zero, processing efficiency can be effectively improved, and impact to the machine tool during the processing process is reduced.

Description

Acceleration-deceleration Control Method and device and numerically-controlled machine based on S type curve
Technical field
The present invention relates to the Computerized Numerical Control technology field, specifically relate to a kind of Acceleration-deceleration Control Method and device based on S type curve, also relate to a kind of numerically-controlled machine that adopts this acceleration/deceleration control device.
Background technology
Along with the development of High-speed Machining Technology, the trend of numerically-controlled machine High-speed machining is increasingly outstanding.Because the workpiece profile of processing is varied, the job sequence of each part is comprised of a plurality of program segments.These program segments are comprised of straight line and circular arc mostly, and there is switching place in the place that straight line is connected with circular arc.Numerically-controlled machine must carry out acceleration and deceleration and process in order to realize the high precision of workpiece processing in the motion control between switching place program segment, to guarantee that lathe does not produce impact, step-out, overclocking or vibration when starting or stoping.
In prior art, several method below employing is usually processed in the acceleration and deceleration of switching place: the first is that the speed of switching place is set to zero; The second is to adopt the constant speed transition in switching place, first the speed of switching place is limited, and then adopts S type or T-shaped curve to carry out speed planning to the machining locus before and after switching place.
Yet there is certain drawback in above-mentioned acceleration and deceleration disposal route: for the first, accelerate frequently and deceleration can strengthen machine motor load, produce noise and vibration, reduce machining precision, less electrical machinery life may not reach the process velocity of appointment by static acceleration simultaneously; For the second, in the boost phase acceleration of starting from scratch, need to expend the regular hour, cause working (machining) efficiency lower.
Summary of the invention
The invention provides a kind of Acceleration-deceleration Control Method based on S type curve and device and numerically-controlled machine, can effectively solve the problem that in and process low in switching place working (machining) efficiency, lathe is impacted.
For solving the problems of the technologies described above, an aspect of of the present present invention is: a kind of Acceleration-deceleration Control Method based on S type curve is provided, S type curve is used for the i+1 section machining locus between the first switching place and the second switching place is carried out speed planning, and the acceleration of this Acceleration-deceleration Control Method control first switching place and the second switching place is non-vanishing.
Wherein, the non-vanishing step of acceleration of control the first switching place and the second switching place specifically comprises: the speed v of calculating the first switching place sSpeed v with the second switching place eValue range; Speed v according to the first switching place sSpeed v with the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe maximum possible value; Speed v according to the first switching place s, the second switching place speed v e, i+1 section machining locus initial acceleration a sWith terminal point acceleration a eThe maximum possible value i+1 section machining locus is carried out S type curve speed planning so that the acceleration of the first switching place and the second switching place is non-vanishing.
Wherein, calculate the speed v of the first switching place sSpeed v with the second switching place eThe step of value range specifically comprise: obtain the i section machining locus that is connected with i+1 section machining locus by the first switching place and the first switching angle α of i+1 section machining locus 1, and the second switching angle α that obtains the i+2 section machining locus that is connected with i+1 section machining locus by the second switching place and i+1 section machining locus 2According to the first switching angle α 1With the second switching angle α 2Calculate respectively the speed v of the first switching place sSpeed v with the second switching place eValue range.
Wherein, according to the speed v of the first switching place sSpeed v with the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe step of maximum possible value specifically comprise: according to formula (1) | Δa i → | 2 = | a i → | 2 + | a i + 1 → | 2 - 2 | a i → | | a i + 1 → | cos π - α 1 2 And formula (2) | Δa i → | = | a i + 1 → | cos α 1 2 = | v a → | sin α 1 2 T Obtain a iPossible maximal value, a iValue and the initial acceleration a of i+1 section machining locus sEquate, wherein,
Figure BDA00002809963500023
Be acceleration corresponding to last interpolation cycle T of i section machining locus,
Figure BDA00002809963500024
Be the acceleration of the first switching place, the position that last interpolation cycle T machining of i section machining locus arrives is the terminal point of i section machining locus; According to formula (3) | Δa i + 1 → | 2 = | a i + 1 → | 2 + | a i + 2 → | 2 - 2 | a i + 1 → | | a i + 2 → | cos π - α 2 2 And formula (4) | Δa i + 1 → | = | a i + 2 → | cos α 2 2 = | v a + 1 → | sin α 2 2 T Obtain a i+1Possible maximal value, a i+1Value and the terminal point acceleration a of i+1 section machining locus eEquate, wherein,
Figure BDA00002809963500032
Be acceleration corresponding to last interpolation cycle T of i+1 section machining locus,
Figure BDA00002809963500033
Be the acceleration of the first switching place, the position that last interpolation cycle T machining of i+1 section machining locus arrives is the terminal point of i+1 section machining locus.
Wherein, according to the speed v of the first switching place s, the second switching place speed v e, i+1 section machining locus initial acceleration a sWith terminal point acceleration a eThe maximum possible value i+1 section machining locus is carried out S type curve speed planning so that the non-vanishing step of acceleration of the first switching place and the second switching place specifically comprises:
Initial acceleration a according to i+1 section machining locus s, terminal point acceleration a e, the first switching place speed v sAnd the speed v of the second switching place eWith i+1 section machining locus be divided into acceleration, even acceleration, subtract acceleration, at the uniform velocity, acceleration and deceleration, even deceleration and seven stages and obtain respectively following system of equations of slowing down:
The acceleration system of equations (5) of i+1 section machining locus:
a ( τ ) = J τ 1 + a s , 0 ≤ t ≤ t 1 A , t 1 ≤ t ≤ t 2 A - J τ 3 , t 2 ≤ t ≤ t 3 0 , t 3 ≤ t ≤ t 4 - J τ 5 , t 4 ≤ t ≤ t 5 - D , t 5 ≤ t ≤ t 6 - D + J τ 7 , t 6 ≤ t ≤ t 7
The rate equation group (6) of i+1 section machining locus:
f ( τ ) = f s + a s τ 1 + 1 2 J τ 1 2 , 0 ≤ t ≤ t 1 f 1 + A τ 2 , f 1 = f s + a s T 1 + 1 2 J T 1 2 , t 1 ≤ t ≤ t 2 f 2 + A τ 3 = 1 2 J τ 3 2 , f 2 = f 1 + A T 2 , t 2 ≤ t ≤ t 3 f 3 , f = f 3 = f 2 + AT 3 - 1 2 J T 3 2 , t 3 ≤ t ≤ t 4 f 4 - 1 2 J τ 5 2 , f = f 4 , t 4 ≤ t ≤ t 5 f 5 - D τ 6 , f 5 = f 4 - 1 2 J T 5 2 , t 4 ≤ t ≤ t 6 f 6 - D τ 7 + 1 2 J τ 7 2 , f 6 = f 5 - D T 6 , t 6 ≤ t ≤ t 7
The shifted systems (7) of i+1 section machining locus
l ( τ ) = l s + v s τ 1 + 1 2 a s τ 1 2 + 1 6 J τ 1 3 , 0 ≤ t ≤ t 1 l 1 + f 1 τ 2 + 1 2 A τ 1 2 , l 1 = l s + v s T 1 + 1 2 a s T 1 2 + 1 6 J T 1 3 , t 1 ≤ t ≤ t 2 l 2 + f 2 τ 3 + 1 2 A τ 3 2 - 1 6 J τ 3 3 , l 2 = l 1 + f 1 T 2 + 1 2 A T 1 2 , t 2 ≤ t ≤ t 3 l 3 + f 3 τ 4 , l 3 = l 2 + f 2 T 3 + 1 2 A T 3 2 - 1 6 J T 3 3 , t 3 ≤ t ≤ t 4 l 4 + f 4 τ 5 - 1 6 J τ 5 3 , f = l 3 + f 3 T 4 , t 4 ≤ t ≤ t 5 l 5 + f 5 τ 6 - 1 62 D τ 6 2 , f 5 = l 4 + f 4 T 5 - 1 6 J T 5 3 , t 5 ≤ t ≤ t 6 l 6 + f 6 τ 7 - 1 2 D τ 7 2 + 1 6 J τ 7 2 , f 6 = l 5 + f 5 T 6 - 1 2 D T 6 2 , t 6 ≤ t ≤ t 7
Wherein, t is time coordinate, t i(i=1,2,3 ..., 7) and be the time coordinate at each stage end, τ iExpression local time is to deduct τ with time t in each stage iThe time value that obtains, T i(i=1,2,3 ..., 7) and represent the time span that each stage continues, A is peak acceleration, and D is maximum deceleration, and J is maximum acceleration;
According to acceleration system of equations (5), rate equation group (6) and shifted systems (7), i+1 section machining locus is carried out the planning of S type curve speed.
Wherein, according to acceleration system of equations (5), rate equation group (6) and shifted systems (7), the step that i+1 section machining locus carries out the planning of S type curve speed is specifically comprised:
Interval differentiation: the time span that each stage continues is calculated in interval differentiation, obtains according to acceleration system of equations (5):
T 1 = A - a s J , T 3 = A J , T 5 = D J , T 7 = D - a e J ,
Wherein, T 1The time span that continues for adding boost phase, T 3The time span that continues for subtracting boost phase, T 5Be lasting time span of acceleration and deceleration stage, T 7For subtracting the time span that the decelerating phase continues;
Reach speed f at even boost phase end 3, according to rate equation group (6) and shifted systems (7), obtain:
f 3=f (8);
T 2 = f - v s A - A J + a s 2 2 AJ - - - ( 9 ) ;
Wherein, f is speed of feed, T 2For the lasting time span of even boost phase, if T 2﹤ 0, passes through formula A = sgn ( A ) J - ( f - v s ) + a s 2 2 - - - ( 10 )
The value of adjusting peak acceleration A is the maximum possible value, and substitution formula (9) recomputates T 2Value;
Reach speed v subtracting decelerating phase end e, according to rate equation group (6) and shifted systems (7), obtain:
T 6 = f - v e D - D J + a e 2 2 DJ - - - ( 11 )
Wherein, T 6For lasting time span of even decelerating phase, if T 6﹤ 0, passes through formula
D = sgn ( D ) J ( f - v e ) + a e 2 2 - - - ( 12 )
The value of adjusting maximum deceleration D is the maximum possible value, and substitution formula (11) is counted T again 6Value;
With T 1, T 2, T 3, T 5, T 6, T 7Value substitution rate equation group (6), in conjunction with L = Σ k = 1 7 l k - l k - 1 = l 7 - l s , Can get:
T 4 = 1 f ( v e a e + v s a s J - a e 3 + a s 3 3 J 2 ) -
1 f [ 1 2 A + 2 D f 2 + ( A 2 J + D 2 J ) f + A ( v s - a s 2 2 J ) 2 J + D ( v e - a e 2 2 J ) 2 J - ( v s - a s 2 2 J ) 2 2 A - ( v e - a e 2 2 J ) 2 D ]
Wherein, T 4Be the length of duration in stage at the uniform velocity, L is the length of i+1 section machining locus, l 7For subtracting displacement corresponding to decelerating phase, l sBe initial position, if T 4﹤ 0, and the value of adjusting speed of feed f makes T 4=0, and recomputate T 1, T 2, T 3, T 5, T 6And T 7Value;
Real-time interpolation: according to T 1, T 2, T 3, T 4, T 5, T 6, T 7Value S type curve carried out real-time interpolation calculate.
For solving the problems of the technologies described above, another aspect of the present invention is: a kind of acceleration/deceleration control device based on S type curve is provided, S type curve is used for the i+1 section machining locus between the first switching place and the second switching place is carried out speed planning, this acceleration/deceleration control device comprises: switching place speed calculation module is used for calculating the speed v of the first switching place sSpeed v with the second switching place eValue range; The acceleration calculation module is used for the speed v according to the first switching place of switching place speed calculation module calculating acquisition sSpeed v with the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe maximum possible value; The speed planning module is used for the speed v according to the first switching place of switching place speed calculation module calculating acquisition sSpeed v with the second switching place eValue range and the initial acceleration a of the i+1 section machining locus that obtains of acceleration calculation module sWith terminal point acceleration a eThe maximum possible value i+1 section machining locus is carried out S type curve speed planning so that the acceleration of the first switching place and the second switching place is non-vanishing.
Wherein, speed calculation module comprises: switching angle acquiring unit is used for obtaining first of the i section machining locus that is connected with i+1 section machining locus by the first switching place and the i+1 section machining locus angle α that transfers 1, and the second switching angle α that obtains the i+2 section machining locus that is connected with i+1 section machining locus by the second switching place and i+1 section machining locus 2The speed computing unit is used for the first switching angle α that obtains according to the angle acquiring unit of transferring 1With the second switching angle α 2Calculate respectively the speed v of the first switching place sSpeed v with the second switching place eValue range.
Wherein, the acceleration calculation module comprises:
The initial acceleration computing unit, the initial acceleration computing unit is used for according to formula (1) | Δa i → | 2 = | a i → | 2 + | a i + 1 → | 2 - 2 | a i → | | a i + 1 → | cos π - α 1 2 And formula (2) | Δa i → | = | a i + 1 → | cos α 1 2 = | v a → | sin α 1 2 T Obtain a iPossible maximal value, a iValue and the initial acceleration a of i+1 section machining locus sEquate, wherein,
Figure BDA00002809963500073
Be acceleration corresponding to last interpolation cycle T of i section machining locus,
Figure BDA00002809963500074
Be the acceleration of the first switching place, the position that last interpolation cycle T machining of i section machining locus arrives is the terminal point of i section machining locus;
Terminal point acceleration calculation unit, terminal point acceleration calculation unit is used for according to formula (3) | Δa i + 1 → | 2 = | a i + 1 → | 2 + | a i + 2 → | 2 - 2 | a i + 1 → | | a i + 2 → | cos π - α 2 2 And
Formula (4) | Δa i + 1 → | = | a i + 2 → | cos α 2 2 = | v a + 1 → | sin α 2 2 T Obtain a i+1Possible maximal value, a i+1Value and the terminal point acceleration a of i+1 section machining locus eEquate, wherein,
Figure BDA00002809963500077
Be acceleration corresponding to last interpolation cycle T of i+1 section machining locus, Be the acceleration of the first switching place, the position that last interpolation cycle T machining of i+1 section machining locus arrives is the terminal point of i+1 section machining locus.
Wherein, the speed planning module comprises:
Stage system of equations acquiring unit is used for the initial acceleration a according to i+1 section machining locus s, terminal point acceleration a e, the first switching place speed v sAnd the speed v of the second switching place eWith i+1 section machining locus be divided into acceleration, even acceleration, subtract acceleration, at the uniform velocity, acceleration and deceleration, even deceleration and seven stages and obtain respectively following system of equations of slowing down:
The acceleration system of equations (5) of i+1 section machining locus:
a ( τ ) = J τ 1 + a s , 0 ≤ t ≤ t 1 A , t 1 ≤ t ≤ t 2 A - J τ 3 , t 2 ≤ t ≤ t 3 0 , t 3 ≤ t ≤ t 4 - J τ 5 , t 4 ≤ t ≤ t 5 - D , t 5 ≤ t ≤ t 6 - D + J τ 7 , t 6 ≤ t ≤ t 7
The rate equation group (6) of i+1 section machining locus:
f ( τ ) = f s + a s τ 1 + 1 2 J τ 1 2 , 0 ≤ t ≤ t 1 f 1 + A τ 2 , f 1 = f s + a s T 1 + 1 2 J T 1 2 , t 1 ≤ t ≤ t 2 f 2 + A τ 3 = 1 2 J τ 3 2 , f 2 = f 1 + A T 2 , t 2 ≤ t ≤ t 3 f 3 , f = f 3 = f 2 + AT 3 - 1 2 J T 3 2 , t 3 ≤ t ≤ t 4 f 4 - 1 2 J τ 5 2 , f = f 4 , t 4 ≤ t ≤ t 5 f 5 - D τ 6 , f 5 = f 4 - 1 2 J T 5 2 , t 4 ≤ t ≤ t 6 f 6 - D τ 7 + 1 2 J τ 7 2 , f 6 = f 5 - D T 6 , t 6 ≤ t ≤ t 7
The shifted systems (7) of i+1 section machining locus
l ( τ ) = l s + v s τ 1 + 1 2 a s τ 1 2 + 1 6 J τ 1 3 , 0 ≤ t ≤ t 1 l 1 + f 1 τ 2 + 1 2 A τ 1 2 , l 1 = l s + v s T 1 + 1 2 a s T 1 2 + 1 6 J T 1 3 , t 1 ≤ t ≤ t 2 l 2 + f 2 τ 3 + 1 2 A τ 3 2 - 1 6 J τ 3 3 , l 2 = l 1 + f 1 T 2 + 1 2 A T 1 2 , t 2 ≤ t ≤ t 3 l 3 + f 3 τ 4 , l 3 = l 2 + f 2 T 3 + 1 2 A T 3 2 - 1 6 J T 3 3 , t 3 ≤ t ≤ t 4 l 4 + f 4 τ 5 - 1 6 J τ 5 3 , f = l 3 + f 3 T 4 , t 4 ≤ t ≤ t 5 l 5 + f 5 τ 6 - 1 62 D τ 6 2 , f 5 = l 4 + f 4 T 5 - 1 6 J T 5 3 , t 5 ≤ t ≤ t 6 l 6 + f 6 τ 7 - 1 2 D τ 7 2 + 1 6 J τ 7 2 , f 6 = l 5 + f 5 T 6 - 1 2 D T 6 2 , t 6 ≤ t ≤ t 7
Wherein, t is time coordinate, t i(i=1,2,3 ..., 7) and be the time coordinate at each stage end, τ iExpression local time is to deduct τ with time t in each stage iThe time value that obtains, T i(i=1,2,3 ..., 7) and represent the time span that each stage continues, A is peak acceleration, and D is maximum deceleration, and J is maximum acceleration;
The speed planning processing unit, the acceleration system of equations (5), rate equation group (6) and the shifted systems (7) that are used for obtaining according to stage system of equations acquiring unit carry out the planning of S type curve speed to i+1 section machining locus.
Wherein, the speed planning processing unit comprises:
Interval differentiation subelement is used for calculating the time span that each stage continues, and obtains according to acceleration system of equations (5):
T 1 = A - a s J , T 3 = A J , T 5 = D J , T 7 = D - a e J ,
Wherein, T 1The time span that continues for adding boost phase, T 3The time span that continues for subtracting boost phase, T 5Be lasting time span of acceleration and deceleration stage, T 7For subtracting the time span that the decelerating phase continues;
Reach speed f at even boost phase end 3, according to rate equation group (6) and shifted systems (7), obtain:
f 3=f (8);
T 2 = f - v s A - A J + a s 2 2 AJ - - - ( 9 ) ;
Wherein, f is speed of feed, T 2For the lasting time span of even boost phase, if T 2﹤ 0, passes through formula A = sgn ( A ) J - ( f - v s ) + a s 2 2 - - - ( 10 )
The value of adjusting peak acceleration A is the maximum possible value, and substitution formula (9) recomputates T 2Value;
Reach speed v subtracting decelerating phase end e, according to rate equation group (6) and shifted systems (7), obtain:
T 6 = f - v e D - D J + a e 2 2 DJ - - - ( 11 )
Wherein, T 6For lasting time span of even decelerating phase, if T 6﹤ 0, passes through formula
D = sgn ( D ) J ( f - v e ) + a e 2 2 - - - ( 12 )
The value of adjusting maximum deceleration D is the maximum possible value, and substitution formula (11) is counted T again 6Value
With T 1, T 2, T 3, T 5, T 6, T 7Value substitution rate equation group (6), in conjunction with L = Σ k = 1 7 l k - l k - 1 = l 7 - l s , Can get:
T 4 = 1 f ( v e a e + v s a s J - a e 3 + a s 3 3 J 2 ) -
1 f [ 1 2 A + 2 D f 2 + ( A 2 J + D 2 J ) f + A ( v s - a s 2 2 J ) 2 J + D ( v e - a e 2 2 J ) 2 J - ( v s - a s 2 2 J ) 2 2 A - ( v e - a e 2 2 J ) 2 D ]
Wherein, T 4Be the length of duration in stage at the uniform velocity, L is the length of i+1 section machining locus, l 7For subtracting displacement corresponding to decelerating phase, l sBe initial position, if T 4﹤ 0, and the value of adjusting speed of feed f makes T 4=0, and recomputate T 1, T 2, T 3, T 5, T 6And T 7Value;
The real-time interpolation subelement is used for differentiating according to the interval T that subelement obtains 1, T 2, T 3, T 4, T 5, T 6, T 7Value S type curve carried out real-time interpolation calculate.
For solving the problems of the technologies described above, another aspect of the present invention is: a kind of numerically-controlled machine is provided, and this numerically-controlled machine comprises above-mentioned any acceleration/deceleration control device.
The invention has the beneficial effects as follows: the situation that is different from prior art, the embodiment of the present invention is non-vanishing by the acceleration of controlling the first switching place and the second switching place, acceleration in switching place compared to existing technology is zero, start from scratch acceleration and cause long problem of acceleration time at boost phase, the present invention can shorten the acceleration time, improve working (machining) efficiency, less with the brief acceleration saltus step, can reduce the impact to lathe.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, during the below will describe embodiment, the accompanying drawing of required use is done to introduce simply, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of Acceleration-deceleration Control Method one embodiment of the present invention;
Fig. 2 calculates the speed v of the first switching place in Acceleration-deceleration Control Method one embodiment of the present invention sSpeed v with the second switching place eThe schematic flow sheet of value range;
Fig. 3 is the first switching angle α that obtains the i section machining locus that is connected with i+1 section machining locus by the first switching place and i+1 section machining locus in Acceleration-deceleration Control Method one embodiment of the present invention 1And the second angle α that transfers of the i+2 section machining locus that is connected with i+1 section machining locus by the second switching place and i+1 section machining locus 2The schematic diagram of one embodiment;
Fig. 4 is according to the speed v of the first switching place in Acceleration-deceleration Control Method one embodiment of the present invention sSpeed v with the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe schematic flow sheet of maximum possible value;
Fig. 5 calculates according to formula (1) and formula (2) the initial acceleration a that obtains i+1 section machining locus in Acceleration-deceleration Control Method one embodiment of the present invention sThe schematic diagram of possible maximal value one embodiment;
Fig. 6 calculates according to formula (3) and formula (4) the terminal point acceleration a that obtains i+1 section machining locus in Acceleration-deceleration Control Method one embodiment of the present invention eThe schematic diagram of possible maximal value one embodiment;
Fig. 7 is according to the speed v of the first switching place in Acceleration-deceleration Control Method one embodiment of the present invention s, the second switching place speed v e, i+1 section machining locus initial acceleration a sWith terminal point acceleration a eThe maximum possible value i+1 section machining locus is carried out S type curve speed planning so that the non-vanishing schematic flow sheet of acceleration of the first switching place and the second switching place;
Fig. 8 carries out the schematic flow sheet of S type curve speed planning to i+1 section machining locus according to acceleration system of equations (5), rate equation group (6) and shifted systems (7) in Acceleration-deceleration Control Method one embodiment of the present invention;
Fig. 9 is acceleration/deceleration control device one example structure schematic diagram of the present invention;
Figure 10 is the structural representation of the switching place speed calculation module in acceleration/deceleration control device shown in Figure 9;
Figure 11 is the structural representation of the acceleration calculation module in acceleration/deceleration control device shown in Figure 9;
Figure 12 is the structural representation of the speed planning module of acceleration/deceleration control device shown in Figure 9;
Figure 13 is the structural representation of speed planning processing unit of the speed planning module of acceleration/deceleration control device shown in Figure 12; And
Figure 14 is the structural representation of numerically-controlled machine one embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in embodiment of the present invention, the technical scheme in embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skills all belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
See also Fig. 1, Fig. 1 is the schematic flow sheet of Acceleration-deceleration Control Method one embodiment of the present invention.This Acceleration-deceleration Control Method comprises:
Step S11: the speed v of calculating the first switching place sSpeed v with the second switching place eValue range.
In digital control system processing, the program of each part to be processed is comprised of a plurality of program segments, and these program segments are generally straight line and circular arc, therefore between different straight lines and straight line, between straight line and circular arc, all have switching place between different circular arc and circular arc, i.e. flex point.Particularly, i+1 section machining locus is the machining locus of one of them program segment, and i+1 section machining locus can be any one of straight line or circular arc.When i+1 section machining locus is initial manufacture track in a plurality of program segments, the speed v of the first switching place sBe zero; When i+1 section machining locus is latter end machining locus in a plurality of program segments, the speed v of the second switching place eBe zero; When i+1 section machining locus was non-initial manufacture track and latter end machining locus, i+1 section machining locus was between two switchings place (the first switching place and the second switching place), and in the present embodiment, the first switching place speed v sWith the second switching place speed v eAll non-vanishing.
Step S12: according to the speed v of the first switching place sSpeed v with the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe maximum possible value.
Wherein, in the present embodiment, the initial acceleration a of i+1 section machining locus sEquate the terminal point acceleration a of i+1 section machining locus with the terminal point acceleration of i section machining locus eEquate with the initial acceleration of i+2 section machining locus.
Step S13: according to the speed v of the first switching place s, the second switching place speed v e, i+1 section machining locus initial acceleration a sWith terminal point acceleration a eThe maximum possible value i+1 section machining locus is carried out S type curve speed planning so that the acceleration of the first switching place and the second switching place is non-vanishing.
By obtaining the speed v of the first switching place s, the second switching place speed v e, i+1 section machining locus initial acceleration a sWith terminal point acceleration a eThe maximum possible value in conjunction with the length L of i+1 section machining locus with add the speed of feed f in man-hour i+1 section machining locus is carried out the planning of S type curve, wherein, speed of feed f initial value is given by the user, but can make corresponding adjustment according to actual conditions in process.
See also Fig. 2, calculate the speed v of the first switching place in Acceleration-deceleration Control Method one embodiment of the present invention sSpeed v with the second switching place eValue range comprise following substep:
Substep S111: the first switching angle α that obtains the i section machining locus that is connected with i+1 section machining locus by the first switching place and i+1 section machining locus 1, and the second switching angle α that obtains the i+2 section machining locus that is connected with i+1 section machining locus by the second switching place and i+1 section machining locus 2
Please in conjunction with consulting Fig. 3, adjacent i section machining locus, i+1 section machining locus and i+2 section machining locus are by the first switching place E iWith the second switching place E i+1Be connected, i section machining locus and i+1 section machining locus first the switching angle be α 1, along the unit tangent vector of processing direction of feed i section machining locus be
Figure BDA00002809963500141
The unit tangent vector of i+1 section machining locus is
Figure BDA00002809963500142
Pass through formula
Figure BDA00002809963500143
α
1 ∈ [0 °, 180 °] can obtain α 1Value.Similarly, second of i+1 section machining locus and i+2 section machining locus the switching angle be α 2, at the second switching angle α 2The place along the unit tangent vector of processing direction of feed i+1 section machining locus is
Figure BDA00002809963500144
The unit tangent vector of i+2 section machining locus is
Figure BDA00002809963500145
Pass through formula α 2∈ [0 °, 180 °] can obtain α 2Value.
Wherein, in the present embodiment, line style to i section machining locus, i+1 section machining locus and i+2 section machining locus is not construed as limiting, and the line style of i section machining locus, i+1 section machining locus and i+2 section machining locus can be respectively any one in the line styles such as straight line, circular arc.
Substep S112: according to the first switching angle α 1With the second switching angle α 2Calculate respectively the speed v of the first switching place sSpeed v with the second switching place eValue range.
Please continue to consult Fig. 3, the moment linear velocity in the same size in actual process before and after General Requirements switching place is located at the first switching place E iThe speed of front (i section machining locus terminal point) is The first switching place E iThe speed of (i+1 section machining locus starting point) is afterwards Interpolation cycle is T, and the formula of the acceleration of switching process is:
a i , i + 1 → = v s → - v i → T - - - ( a ) , Wherein | v i → | = | v s → |
It is a that lathe allows peak acceleration max, for convenience of calculation, with the restrictive condition of resultant acceleration as acceleration, the acceleration limit principle of assigning on each motor shaft is identical, does not calculate at this.The condition that does not cause the speed conflict is:
a i,i+1≤a max
(a) can obtain according to formula:
2 | v i → | 2 - 2 | v i → | 2 cos α 1 ≤ ( a max T ) 2
Solve | v s → | = | v i → | ≤ a max T 2 ( 1 - cos α 1 ) ;
Similarly, be located at the second switching place E i+1The speed of front (i+1 section machining locus terminal point) is
Figure BDA00002809963500152
The second switching place E i+1The speed of (i+2 section machining locus starting point) is afterwards
Figure BDA00002809963500153
Interpolation cycle is T, and the formula of the acceleration of switching process is:
a i + 1 , i + 2 → = v i + 2 → - v e → T - - - ( b ) , Wherein | v i + 2 → | = | v e → |
It is a that lathe allows peak acceleration max, for convenience of calculation, with the restrictive condition of resultant acceleration as acceleration, the acceleration limit principle of assigning on each motor shaft is identical, does not calculate at this.The condition that does not cause the speed conflict is:
a i+1,i+2≤a max
(b) can obtain according to formula:
2 | v e → | 2 - 2 | v e → | 2 cos α 2 ≤ ( a max T ) 2
Solve | v e → | = | v i + 2 → | ≤ a max T 2 ( 1 - cos α 2 ) ;
See also Fig. 4, in Acceleration-deceleration Control Method one embodiment of the present invention according to the speed v of the first switching place sSpeed v with the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe maximum possible value comprise following substep:
Substep S211: calculate the initial acceleration a that obtains i+1 section machining locus by formula (1) and formula (2) sThe maximum possible value.
Please in conjunction with consulting Fig. 5, in order to set forth conveniently, below adjacent machining locus describe with the situation of straight line with the straight line switching, other curves switching types use curve in the tangent line calculating of switching place, can be converted into equally the switching of straight line and straight line.
Last interpolation cycle of i section machining locus is called the i step, and its speed and acceleration are respectively
Figure BDA00002809963500158
With
Figure BDA00002809963500159
Wherein, last interpolation cycle just in time reaches the terminal point of i section machining locus; An interpolation cycle is called the i+1 step afterwards, the switching from i section machining locus terminal point along i+1 section machining locus direction, and its speed and acceleration are
Figure BDA000028099635001510
With
Figure BDA000028099635001512
Be the i+2 step at the interpolation cycle of i+1 after the step, its acceleration is
Figure BDA000028099635001513
Direction is identical with the tangential direction of i+1 section machining locus.I goes on foot in the interpolation of i+2 step, the relation of acceleration as shown in Figure 5, wherein Be by
Figure BDA00002809963500162
With
Figure BDA00002809963500163
Poor the decision, due to With
Figure BDA00002809963500166
With Corner dimension identical, also namely with
Figure BDA00002809963500168
With
Figure BDA00002809963500169
Angle identical.
Can be according to formula (1) | Δa i → | 2 = | a i → | 2 + | a i + 1 → | 2 - 2 | a i → | | a i + 1 → | cos π - α 1 2 And formula (2) | Δa i → | = | a i + 1 → | cos α 1 2 = | v a → | sin α 1 2 T Obtain a iPossible maximal value, particularly, the acceleration before switching place: | a i + 1 → - a i → T | ≤ J max - - - ( c )
Wherein, J maxBe maximum acceleration.(c) gets equal sign when formula, namely
Figure BDA000028099635001613
The time, can obtain
Figure BDA000028099635001614
Maximal value, by the triangle cosine law, obtain formula (1)
| Δa i → | 2 = | a i → | 2 + | a i + 1 → | 2 - 2 | a i → | | a i + 1 → | cos π - α 1 2
Obtain according to formula (1) The derivation formula of size
| a i → | = 2 | a i + 1 → | cos π - α 1 2 + ( 2 | a i + 1 → | cos π - α 1 2 ) 2 - 4 | Δa i → | 2 2 - - - ( d )
In order to improve working (machining) efficiency, get
Figure BDA000028099635001618
Larger solution.Whether the below exists the solution of formula (d) is discussed:
When
Figure BDA000028099635001619
The Shi Congdi i step is minimum to the increment size of i+1 step transition brief acceleration, can get Δa i → = a i + 1 → - a i → , | Δa i → | min = | a i + 1 → | cos α 2 , In conjunction with a i + 1 → T = v i → - v i + 1 → , | v i → | = | v i + 1 → | Can obtain:
| a i + 1 → | = | v i → - v i + 1 → | 2 T = v i → 2 - 2 | v i → | | v i + 1 → | cos α 1 + v i + 1 → 2 T = | v i → | sin α 1 2 T
Further derive:
| Δa i → | = | a i + 1 → | cos α 1 2 = | v i → | sin α 1 2 T - - - ( 2 )
Formula (2) substitution formula (d) can be tried to achieve a iValue, the initial acceleration a of i+1 section machining locus sWith a iValue equate.
If the solution of formula (d) does not exist, need to readjust
Figure BDA00002809963500171
With
Figure BDA00002809963500172
Value, wherein,
Figure BDA00002809963500173
Value be v sValue, make J max T = | v i → | sin α 1 2 T ;
Thereby obtain a iThe maximum possible value, the also i.e. initial acceleration a of i+1 section machining locus sThe maximum possible value.
Substep S212: calculate the terminal point acceleration a that obtains i+1 section machining locus by formula (3) and formula (4) ePossible maximal value.
See also Fig. 6, with the initial acceleration a that calculates i+1 section machining locus sPossible maximal value similar, describe as an example of the switching of straight line and straight line example equally.
Last interpolation cycle of i+1 section machining locus is called the i+1 step, and its speed and acceleration are respectively With
Figure BDA00002809963500176
Wherein, last interpolation cycle just in time arrives the terminal point of i+1 section machining locus; An interpolation cycle is called the i+2 step afterwards, the switching from i+1 section machining locus along i+2 section machining locus direction, and its speed and acceleration are respectively
Figure BDA00002809963500177
With
Figure BDA00002809963500178
Direction as shown in Figure 6; Be the i+3 step at the interpolation cycle of i+2 after the step, its acceleration is
Figure BDA00002809963500179
Direction is identical with the tangential direction of i+2 section machining locus.I+1 goes on foot in the interpolation of i+2 step, the relation of acceleration as shown in Figure 6, wherein
Figure BDA000028099635001710
Be by
Figure BDA000028099635001711
With
Figure BDA000028099635001712
Poor the decision, due to
Figure BDA000028099635001713
With
Figure BDA000028099635001715
With Corner dimension identical, also namely with With
Figure BDA000028099635001718
Angle identical.
Can be according to formula (3) | Δa i + 1 → | 2 = | a i + 1 → | 2 + | a i + 2 → | 2 - 2 | a i + 1 → | | a i + 2 → | cos π - α 2 2 And formula (4) | Δa i + 1 → | = | a i + 2 → | cos α 2 2 = | v a + 1 → | sin α 2 2 T Obtain a i+1Possible maximal value, its procurement process with obtain a iPossible peaked computation process similar, be not described in detail in this.Wherein, a eMaximum possible value and a i+1Possible maximal value equate.
See also Fig. 7, in Acceleration-deceleration Control Method one embodiment of the present invention according to the speed v of the first switching place s, the second switching place speed v e, i+1 section machining locus initial acceleration a sWith terminal point acceleration a eThe maximum possible value i+1 section machining locus carried out S type curve speed planning comprise following substep so that the acceleration of the first switching place and the second switching place is non-vanishing:
Substep S311: according to the initial acceleration a of i+1 section machining locus s, terminal point acceleration a e, the first switching place speed v sAnd the speed v of the second switching place eWith i+1 section machining locus be divided into acceleration, even acceleration, subtract acceleration, at the uniform velocity, acceleration and deceleration, even deceleration and seven stages and obtain respectively acceleration system of equations (5), rate equation group (6) and shifted systems (7) of slowing down.
Wherein, the acceleration system of equations (5) of i+1 section machining locus:
a ( τ ) = J τ 1 + a s , 0 ≤ t ≤ t 1 A , t 1 ≤ t ≤ t 2 A - J τ 3 , t 2 ≤ t ≤ t 3 0 , t 3 ≤ t ≤ t 4 - J τ 5 , t 4 ≤ t ≤ t 5 - D , t 5 ≤ t ≤ t 6 - D + J τ 7 , t 6 ≤ t ≤ t 7
The rate equation group (6) of i+1 section machining locus:
f ( τ ) = f s + a s τ 1 + 1 2 J τ 1 2 , 0 ≤ t ≤ t 1 f 1 + A τ 2 , f 1 = f s + a s T 1 + 1 2 J T 1 2 , t 1 ≤ t ≤ t 2 f 2 + A τ 3 = 1 2 J τ 3 2 , f 2 = f 1 + A T 2 , t 2 ≤ t ≤ t 3 f 3 , f = f 3 = f 2 + AT 3 - 1 2 J T 3 2 , t 3 ≤ t ≤ t 4 f 4 - 1 2 J τ 5 2 , f = f 4 , t 4 ≤ t ≤ t 5 f 5 - D τ 6 , f 5 = f 4 - 1 2 J T 5 2 , t 4 ≤ t ≤ t 6 f 6 - D τ 7 + 1 2 J τ 7 2 , f 6 = f 5 - D T 6 , t 6 ≤ t ≤ t 7
The shifted systems (7) of i+1 section machining locus
l ( τ ) = l s + v s τ 1 + 1 2 a s τ 1 2 + 1 6 J τ 1 3 , 0 ≤ t ≤ t 1 l 1 + f 1 τ 2 + 1 2 A τ 1 2 , l 1 = l s + v s T 1 + 1 2 a s T 1 2 + 1 6 J T 1 3 , t 1 ≤ t ≤ t 2 l 2 + f 2 τ 3 + 1 2 A τ 3 2 - 1 6 J τ 3 3 , l 2 = l 1 + f 1 T 2 + 1 2 A T 1 2 , t 2 ≤ t ≤ t 3 l 3 + f 3 τ 4 , l 3 = l 2 + f 2 T 3 + 1 2 A T 3 2 - 1 6 J T 3 3 , t 3 ≤ t ≤ t 4 l 4 + f 4 τ 5 - 1 6 J τ 5 3 , f = l 3 + f 3 T 4 , t 4 ≤ t ≤ t 5 l 5 + f 5 τ 6 - 1 62 D τ 6 2 , f 5 = l 4 + f 4 T 5 - 1 6 J T 5 3 , t 5 ≤ t ≤ t 6 l 6 + f 6 τ 7 - 1 2 D τ 7 2 + 1 6 J τ 7 2 , f 6 = l 5 + f 5 T 6 - 1 2 D T 6 2 , t 6 ≤ t ≤ t 7
The acquisition of above-mentioned system of equations is based on initial and the terminal point acceleration is zero S type curve speed planning theory, its difference is that the initial and terminal point acceleration of above-mentioned system of equations is all non-vanishing, in view of being known by those skilled in the art by zero S type curve speed planning theory based on initial and terminal point acceleration, therefore the derivation of above-mentioned system of equations is not described further.
Wherein, t is time coordinate, t i(i=1,2,3 ..., 7) and be the time coordinate at each stage end, τ iExpression local time is to deduct τ with time t in each stage iThe time value that obtains, T i(i=1,2,3 ..., 7) and represent the time span that each stage continues, A is peak acceleration, and D is maximum deceleration, and J is maximum acceleration.
Substep S312: i+1 section machining locus is carried out the planning of S type curve speed according to acceleration system of equations (5), rate equation group (6) and shifted systems (7).
Can learn acceleration, speed and each duration in stage of each time point in process and the shift length that travels by above-mentioned system of equations, therefore, be easy to the parameter that obtains according to above-mentioned system of equations i+1 section machining locus is carried out the planning of S type curve speed.Its detailed process is as follows:
See also Fig. 8, according to acceleration system of equations (5), rate equation group (6) and shifted systems (7), the substep that i+1 section machining locus carries out the planning of S type curve speed comprised in Acceleration-deceleration Control Method one embodiment of the present invention:
Substep S3121: the time span that each stage continues is calculated in interval differentiation.
Obtain according to acceleration system of equations (5):
T 1 = A - a s J , T 3 = A J , T 5 = D J , T 7 = D - a e J ,
Wherein, T 1The time span that continues for adding boost phase, T 3The time span that continues for subtracting boost phase, T 5Be lasting time span of acceleration and deceleration stage, T 7For subtracting the time span that the decelerating phase continues;
Reach speed f at even boost phase end 3, according to rate equation group (6) and shifted systems (7), obtain:
f 3=f (8);
T 2 = f - v s A - A J + a s 2 2 AJ - - - ( 9 ) ;
Wherein, f is speed of feed, T 2For the lasting time span of even boost phase, if T 2﹤ 0, passes through formula A = sgn ( A ) J - ( f - v s ) + a s 2 2 - - - ( 10 )
The value of adjusting peak acceleration A is the maximum possible value, and substitution formula (9) recomputates T 2Value;
Reach speed v subtracting decelerating phase end e, according to rate equation group (6) and shifted systems (7), obtain:
T 6 = f - v e D - D J + a e 2 2 DJ - - - ( 11 )
Wherein, T 6For lasting time span of even decelerating phase, if T 6﹤ 0, passes through formula
D = sgn ( D ) J ( f - v e ) + a e 2 2 - - - ( 12 )
The value of adjusting maximum deceleration D is the maximum possible value, and substitution formula (11) is counted T again 6Value;
With T 1, T 2, T 3, T 5, T 6, T 7Value substitution rate equation group (6), in conjunction with L = Σ k = 1 7 l k - l k - 1 = l 7 - l s , Can get:
T 4 = 1 f ( v e a e + v s a s J - a e 3 + a s 3 3 J 2 ) -
1 f [ 1 2 A + 2 D f 2 + ( A 2 J + D 2 J ) f + A ( v s - a s 2 2 J ) 2 J + D ( v e - a e 2 2 J ) 2 J - ( v s - a s 2 2 J ) 2 2 A - ( v e - a e 2 2 J ) 2 D ]
Wherein, T 4Be the length of duration in stage at the uniform velocity, L is the length of i+1 section machining locus, l 7For subtracting displacement corresponding to decelerating phase, l sBe initial position, if T 4﹤ 0, and the value of adjusting speed of feed f makes T 4=0, and recomputate T 1, T 2, T 3, T 5, T 6And T 7Value;
It should be noted that also needs the value of peak acceleration A and maximum deceleration D is adjusted accordingly when adjusting the value of speed of feed f.
Substep S3122: according to lasting time span T of stage 1, T 2, T 3, T 4, T 5, T 6, T 7Value S type curve carried out real-time interpolation calculate.
Obtain T by said method 1, T 2, T 3, T 4, T 5, T 6, T 7Value after, the time span that continues according to each stage and transition point time carry out real-time interpolation to S type curve and calculate.
The Acceleration-deceleration Control Method of the embodiment of the present invention is by the speed v in the first switching place sSpeed v with the second switching place eObtain maximum initial acceleration and the maximum terminal point acceleration of the i+1 section machining locus that allows in scope, thereby i+1 section machining locus is carried out the planning of S type curve speed, make in process the acceleration of the first switching place and the second switching place non-vanishing.Be zero situation compared to existing technology at the acceleration of switching place, the Acceleration-deceleration Control Method of the embodiment of the present invention can effectively improve working (machining) efficiency, reduces in process the impact to lathe.
See also Fig. 9, Fig. 9 is acceleration/deceleration control device one example structure schematic diagram of the present invention.S type curve is used for the i+1 section machining locus between the first switching place and the second switching place is carried out speed planning, and this acceleration/deceleration control device comprises switching place speed calculation module 11, acceleration calculation module 12 and speed planning module 13.
Switching place speed calculation module 11 is used for calculating the speed v of the first switching place sSpeed v with the second switching place eValue range.When i+1 section machining locus is initial manufacture track in a plurality of program segments, the speed v of the first switching place sBe zero; When i+1 section machining locus is latter end machining locus in a plurality of program segments, the speed v of the second switching place eBe zero; When i+1 section machining locus was non-initial manufacture track and latter end machining locus, i+1 section machining locus was between two switchings place (the first switching place and the second switching place), and in the present embodiment, the first switching place speed v sWith the second switching place speed v eAll non-vanishing.
Particularly, see also Figure 10, this switching place speed calculation module 11 comprises switching angle acquiring unit 111 and speed computing unit 112.
Switching angle acquiring unit 111 is used for obtaining first of the i section machining locus that is connected with i+1 section machining locus by the first switching place and the i+1 section machining locus angle α that transfers 1, and the second switching angle α that obtains the i+2 section machining locus that is connected with i+1 section machining locus by the second switching place and i+1 section machining locus 2
Speed computing unit 112 is for the first switching angle α that obtains according to the angle acquiring unit of transferring 1With the second switching angle α 2Calculate respectively the speed v of the first switching place sSpeed v with the second switching place eValue range.
Acceleration calculation module 12 is used for calculating the speed v of the first switching place that obtains according to switching place speed calculation module 11 sSpeed v with the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe maximum possible value.
Particularly, see also Figure 11, this acceleration calculation module 12 comprises initial acceleration computing unit 121 and terminal point acceleration calculation unit 122.
Initial acceleration computing unit 121 is used for according to formula (1)
| Δa i → | 2 = | a i → | 2 + | a i + 1 → | 2 - 2 | a i → | | a i + 1 → | cos π - α 1 2 And
Formula (2) | Δa i → | = | a i + 1 → | cos α 1 2 = | v a → | sin α 1 2 T
Obtain a iThe maximum possible value, a iValue and the initial acceleration a of i+1 section machining locus sEquate, wherein,
Figure BDA00002809963500223
Be acceleration corresponding to last interpolation cycle T of i section machining locus,
Figure BDA00002809963500224
Be the acceleration of the first switching place, the position that last interpolation cycle T machining of i section machining locus arrives is the terminal point of i section machining locus.
Terminal point acceleration calculation unit 122 is used for according to formula (3)
| Δa i + 1 → | 2 = | a i + 1 → | 2 + | a i + 2 → | 2 - 2 | a i + 1 → | | a i + 2 → | cos π - α 2 2 And
Formula (4) | Δa i + 1 → | = | a i + 1 → | cos α 2 2 = | v a + 1 → | sin α 2 2 T
Obtain a i+1The maximum possible value, a i+1Value and the terminal point acceleration a of i+1 section machining locus eEquate, wherein,
Figure BDA00002809963500232
Be acceleration corresponding to last interpolation cycle T of i+1 section machining locus,
Figure BDA00002809963500233
Be the acceleration of the first switching place, the position that last interpolation cycle T machining of i+1 section machining locus arrives is the terminal point of i+1 section machining locus.
Speed planning module 13 is used for calculating the speed v of the first switching place that obtains according to switching place speed calculation module 11 sSpeed v with the second switching place eValue range and the acceleration calculation module obtain 12 the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe maximum possible value i+1 section machining locus is carried out S type curve speed planning so that the acceleration of described the first switching place and described the second switching place is non-vanishing.
Particularly, see also Figure 12, this speed planning module 13 comprises stage system of equations acquiring unit 131 and speed planning processing unit 132.
The initial acceleration a that stage system of equations acquiring unit 131 is used for according to i+1 section machining locus s, terminal point acceleration a e, the first switching place speed v sAnd the speed v of the second switching place eWith i+1 section machining locus be divided into acceleration, even acceleration, subtract acceleration, at the uniform velocity, acceleration and deceleration, even deceleration and seven stages and obtain respectively following system of equations of slowing down:
The acceleration system of equations (5) of i+1 section machining locus:
a ( τ ) = J τ 1 + a s , 0 ≤ t ≤ t 1 A , t 1 ≤ t ≤ t 2 A - J τ 3 , t 2 ≤ t ≤ t 3 0 , t 3 ≤ t ≤ t 4 - J τ 5 , t 4 ≤ t ≤ t 5 - D , t 5 ≤ t ≤ t 6 - D + J τ 7 , t 6 ≤ t ≤ t 7
The rate equation group (6) of i+1 section machining locus:
f ( τ ) = f s + a s τ 1 + 1 2 J τ 1 2 , 0 ≤ t ≤ t 1 f 1 + A τ 2 , f 1 = f s + a s T 1 + 1 2 J T 1 2 , t 1 ≤ t ≤ t 2 f 2 + A τ 3 = 1 2 J τ 3 2 , f 2 = f 1 + A T 2 , t 2 ≤ t ≤ t 3 f 3 , f = f 3 = f 2 + AT 3 - 1 2 J T 3 2 , t 3 ≤ t ≤ t 4 f 4 - 1 2 J τ 5 2 , f = f 4 , t 4 ≤ t ≤ t 5 f 5 - D τ 6 , f 5 = f 4 - 1 2 J T 5 2 , t 4 ≤ t ≤ t 6 f 6 - D τ 7 + 1 2 J τ 7 2 , f 6 = f 5 - D T 6 , t 6 ≤ t ≤ t 7
The shifted systems (7) of i+1 section machining locus
l ( τ ) = l s + v s τ 1 + 1 2 a s τ 1 2 + 1 6 J τ 1 3 , 0 ≤ t ≤ t 1 l 1 + f 1 τ 2 + 1 2 A τ 1 2 , l 1 = l s + v s T 1 + 1 2 a s T 1 2 + 1 6 J T 1 3 , t 1 ≤ t ≤ t 2 l 2 + f 2 τ 3 + 1 2 A τ 3 2 - 1 6 J τ 3 3 , l 2 = l 1 + f 1 T 2 + 1 2 A T 1 2 , t 2 ≤ t ≤ t 3 l 3 + f 3 τ 4 , l 3 = l 2 + f 2 T 3 + 1 2 A T 3 2 - 1 6 J T 3 3 , t 3 ≤ t ≤ t 4 l 4 + f 4 τ 5 - 1 6 J τ 5 3 , f = l 3 + f 3 T 4 , t 4 ≤ t ≤ t 5 l 5 + f 5 τ 6 - 1 62 D τ 6 2 , f 5 = l 4 + f 4 T 5 - 1 6 J T 5 3 , t 5 ≤ t ≤ t 6 l 6 + f 6 τ 7 - 1 2 D τ 7 2 + 1 6 J τ 7 2 , f 6 = l 5 + f 5 T 6 - 1 2 D T 6 2 , t 6 ≤ t ≤ t 7
Wherein, t is time coordinate, t i(i=1,2,3 ..., 7) and be the time coordinate at each stage end, τ iExpression local time is to deduct τ with time t in each stage iThe time value that obtains, T i(i=1,2,3 ..., 7) and represent the time span that each stage continues, A is peak acceleration, and D is maximum deceleration, and J is maximum acceleration.
Acceleration system of equations (5), rate equation group (6) and shifted systems (7) that speed planning processing unit 132 is used for obtaining according to stage system of equations acquiring unit 131 carry out the planning of S type curve speed to i+1 section machining locus.Particularly, see also Figure 13, this speed planning processing unit 132 comprises interval differentiate subelement 1321 and real-time interpolation subelement 1322.
Interval differentiation subelement 1321 is used for calculating the time span that each stage continues, and obtains according to acceleration system of equations (5):
T 1 = A - a s J , T 3 = A J , T 5 = D J , T 7 = D - a e J ,
Wherein, T 1The time span that continues for adding boost phase, T 3The time span that continues for subtracting boost phase, T 5Be lasting time span of acceleration and deceleration stage, T 7For subtracting the time span that the decelerating phase continues;
Reach speed f at even boost phase end 3, according to rate equation group (6) and shifted systems (7), obtain:
f 3=f (8);
T 2 = f - v s A - A J + a s 2 2 AJ - - - ( 9 ) ;
Wherein, f is speed of feed, T 2For the lasting time span of even boost phase, if T 2﹤ 0, passes through formula A = sgn ( A ) J - ( f - v s ) + a s 2 2 - - - ( 10 )
The value of adjusting peak acceleration A is the maximum possible value, and substitution formula (9) recomputates T 2Value;
Reach speed v subtracting decelerating phase end e, according to rate equation group (6) and shifted systems (7), obtain:
T 6 = f - v e D - D J + a e 2 2 DJ - - - ( 11 )
Wherein, T 6For lasting time span of even decelerating phase, if T 6﹤ 0, passes through formula
D = sgn ( D ) J ( f - v e ) + a e 2 2 - - - ( 12 )
The value of adjusting maximum deceleration D is the maximum possible value, and substitution formula (11) is counted T again 6Value
With T 1, T 2, T 3, T 5, T 6, T 7Value substitution rate equation group (6), in conjunction with L = Σ k = 1 7 l k - l k - 1 = l 7 - l s , Can get:
T 4 = 1 f ( v e a e + v s a s J - a e 3 + a s 3 3 J 2 ) -
1 f [ 1 2 A + 2 D f 2 + ( A 2 J + D 2 J ) f + A ( v s - a s 2 2 J ) 2 J + D ( v e - a e 2 2 J ) 2 J - ( v s - a s 2 2 J ) 2 2 A - ( v e - a e 2 2 J ) 2 D ]
Wherein, T 4Be the length of duration in stage at the uniform velocity, L is the length of i+1 section machining locus, l 7For subtracting displacement corresponding to decelerating phase, l sBe initial position, if T 4﹤ 0, and the value of adjusting speed of feed f makes T 4=0, and recomputate T 1, T 2, T 3, T 5, T 6And T 7Value.
Real-time interpolation subelement 1322 is used for differentiating according to the interval T that subelement obtains 1, T 2, T 3, T 4, T 5, T 6, T 7Value S type curve carried out real-time interpolation calculate.
The acceleration/deceleration control device of the embodiment of the present invention is by the speed v in the first switching place sSpeed v with the second switching place eObtain maximum initial acceleration and the maximum terminal point acceleration of the i+1 section machining locus that allows in scope, thereby i+1 section machining locus is carried out the planning of S type curve speed, make in process non-vanishing at the acceleration of the first switching place and the second switching place.Be zero at the acceleration of switching place compared to existing technology, the acceleration/deceleration control device of the embodiment of the present invention can effectively improve working (machining) efficiency, reduces in process the impact to lathe.
See also Figure 14, Figure 14 is the structural representation of numerically-controlled machine one embodiment of the present invention.This numerically-controlled machine comprises control device 60, drive unit 70, actuating unit 80 and supply unit (not shown).
This supply unit is to this numerically-controlled machine power supply, the actuating unit 80 that this control device 60 is controlled these drive unit 70 driving numerically-controlled machines operates, wherein, actuating unit 80 comprises the parts that NC cutting cutter head, NC laser welding head, numerical control operated platform, robot arm etc. can be controlled by software program.Control device 60 includes but not limited to acceleration/deceleration control device 601.Acceleration/deceleration control device 601 is used for the acceleration of switching place of adjacent machining locus is controlled and made it non-vanishing.
In the present embodiment, acceleration/deceleration control device 601 comprises:
Switching place speed calculation module is used for calculating the speed v of the first switching place sSpeed v with the second switching place eValue range.
The acceleration calculation module is used for the speed v according to the first switching place of switching place speed calculation module calculating acquisition sSpeed v with the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe maximum possible value.
The speed planning module is used for the speed v according to the first switching place of switching place speed calculation module calculating acquisition sSpeed v with the second switching place eValue range and the initial acceleration a of the i+1 section machining locus that obtains of acceleration calculation module sWith terminal point acceleration a eThe maximum possible value i+1 section machining locus is carried out S type curve speed planning so that the acceleration of the first switching place and the second switching place is non-vanishing.
Certainly, its specific works principle includes but not limited to Acceleration-deceleration Control Method and the device that previous embodiment is related, does not repeat them here.
The numerically-controlled machine of the present embodiment is by the speed v in the first switching place sSpeed v with the second switching place eObtain maximum initial acceleration and the maximum terminal point acceleration of the i+1 section machining locus that allows in scope, thereby i+1 section machining locus is carried out the planning of S type curve speed, make in process non-vanishing at the acceleration of the first switching place and the second switching place.Be zero at the acceleration of switching place compared to existing technology, the acceleration/deceleration control device of the embodiment of the present invention can effectively improve working (machining) efficiency, reduces in process the impact to lathe.
The above is only embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (12)

1. Acceleration-deceleration Control Method based on S type curve, described S type curve is used for the i+1 section machining locus between the first switching place and the second switching place is carried out speed planning, it is characterized in that, the acceleration of controlling described the first switching place and described the second switching place is non-vanishing.
2. Acceleration-deceleration Control Method according to claim 1, is characterized in that, the non-vanishing step of acceleration of described the first switching place of described control and described the second switching place specifically comprises:
Calculate the speed v of described the first switching place sSpeed v with described the second switching place eValue range;
Speed v according to described the first switching place sSpeed v with described the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe maximum possible value;
Speed v according to described the first switching place s, described the second switching place speed v e, described i+1 section machining locus described initial acceleration a sWith described terminal point acceleration a eThe maximum possible value described i+1 section machining locus is carried out S type curve speed planning so that the acceleration of described the first switching place and described the second switching place is non-vanishing.
3. Acceleration-deceleration Control Method according to claim 2, is characterized in that, the speed v of described the first switching place of described calculating sSpeed v with described the second switching place eThe step of value range specifically comprise:
Obtain the first switching angle α of the i section machining locus that is connected with described i+1 section machining locus by described the first switching place and described i+1 section machining locus 1, and the second switching angle α that obtains the i+2 section machining locus that is connected with described i+1 section machining locus by described the second switching place and described i+1 section machining locus 2
According to described the first switching angle α 1With described the second switching angle α 2Calculate respectively the speed v of described the first switching place sSpeed v with described the second switching place eValue range.
4. Acceleration-deceleration Control Method according to claim 2, is characterized in that, described speed v according to described the first switching place sSpeed v with described the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe step of maximum possible value specifically comprise:
According to formula (1) | Δa i → | 2 = | a i → | 2 + | a i + 1 → | 2 - 2 | a i → | | a i + 1 → | cos π - α 1 2 And formula (2) | Δa i → | = | a i + 1 → | cos α 1 2 = | v a → | sin α 1 2 T Obtain a iPossible maximal value, a iValue and the initial acceleration a of described i+1 section machining locus sEquate, wherein,
Figure FDA00002809963400023
Figure FDA00002809963400029
Be acceleration corresponding to described last interpolation cycle T of i section machining locus, Be the acceleration of described the first switching place, the position that last interpolation cycle T machining of described i section machining locus arrives is the terminal point of described i section machining locus;
According to formula (3) | Δa i + 1 → | 2 = | a i + 1 → | 2 + | a i + 2 → | 2 - 2 | a i + 1 → | | a i + 2 → | cos π - α 2 2 And formula (4) | Δa i + 1 → | = | a i + 2 → | cos α 2 2 = | v a + 1 → | sin α 2 2 T Obtain a i+1Possible maximal value, a i+1Value and the terminal point acceleration a of described i+1 section machining locus eEquate, wherein,
Figure FDA00002809963400027
Be acceleration corresponding to described last interpolation cycle T of i+1 section machining locus,
Figure FDA00002809963400028
Be the acceleration of described the first switching place, the position that last interpolation cycle T machining of described i+1 section machining locus arrives is the terminal point of described i+1 section machining locus.
5. Acceleration-deceleration Control Method according to claim 2, is characterized in that, described speed v according to described the first switching place s, described the second switching place speed v e, described i+1 section machining locus described initial acceleration a sWith described terminal point acceleration a eThe maximum possible value described i+1 section machining locus is carried out S type curve speed planning so that the non-vanishing step of the acceleration of described the first switching place and described the second switching place specifically comprises;
Described initial acceleration a according to described i+1 section machining locus s, described terminal point acceleration a e, described the first switching place speed v sAnd the speed v of described the second switching place eWith described i+1 section machining locus be divided into acceleration, even acceleration, subtract acceleration, at the uniform velocity, acceleration and deceleration, even deceleration and seven stages and obtain respectively following system of equations of slowing down:
The acceleration system of equations (5) of described i+1 section machining locus:
a ( τ ) = J τ 1 + a s , 0 ≤ t ≤ t 1 A , t 1 ≤ t ≤ t 2 A - J τ 3 , t 2 ≤ t ≤ t 3 0 , t 3 ≤ t ≤ t 4 - J τ 5 , t 4 ≤ t ≤ t 5 - D , t 5 ≤ t ≤ t 6 - D + J τ 7 , t 6 ≤ t ≤ t 7
The rate equation group (6) of described i+1 section machining locus:
f ( τ ) = f s + a s τ 1 + 1 2 J τ 1 2 , 0 ≤ t ≤ t 1 f 1 + A τ 2 , f 1 = f s + a s T 1 + 1 2 J T 1 2 , t 1 ≤ t ≤ t 2 f 2 + A τ 3 = 1 2 J τ 3 2 , f 2 = f 1 + A T 2 , t 2 ≤ t ≤ t 3 f 3 , f = f 3 = f 2 + AT 3 - 1 2 J T 3 2 , t 3 ≤ t ≤ t 4 f 4 - 1 2 J τ 5 2 , f = f 4 , t 4 ≤ t ≤ t 5 f 5 - D τ 6 , f 5 = f 4 - 1 2 J T 5 2 , t 4 ≤ t ≤ t 6 f 6 - D τ 7 + 1 2 J τ 7 2 , f 6 = f 5 - D T 6 , t 6 ≤ t ≤ t 7
The shifted systems (7) of described i+1 section machining locus
l ( τ ) = l s + v s τ 1 + 1 2 a s τ 1 2 + 1 6 J τ 1 3 , 0 ≤ t ≤ t 1 l 1 + f 1 τ 2 + 1 2 A τ 1 2 , l 1 = l s + v s T 1 + 1 2 a s T 1 2 + 1 6 J T 1 3 , t 1 ≤ t ≤ t 2 l 2 + f 2 τ 3 + 1 2 A τ 3 2 - 1 6 J τ 3 3 , l 2 = l 1 + f 1 T 2 + 1 2 A T 1 2 , t 2 ≤ t ≤ t 3 l 3 + f 3 τ 4 , l 3 = l 2 + f 2 T 3 + 1 2 A T 3 2 - 1 6 J T 3 3 , t 3 ≤ t ≤ t 4 l 4 + f 4 τ 5 - 1 6 J τ 5 3 , f = l 3 + f 3 T 4 , t 4 ≤ t ≤ t 5 l 5 + f 5 τ 6 - 1 62 D τ 6 2 , f 5 = l 4 + f 4 T 5 - 1 6 J T 5 3 , t 5 ≤ t ≤ t 6 l 6 + f 6 τ 7 - 1 2 D τ 7 2 + 1 6 J τ 7 2 , f 6 = l 5 + f 5 T 6 - 1 2 D T 6 2 , t 6 ≤ t ≤ t 7
Wherein, t is time coordinate, t i(i=1,2,3 ..., 7) and be the time coordinate at each stage end, τ iExpression local time is to deduct τ with time t in each stage iThe time value that obtains, T i(i=1,2,3 ..., 7) and represent the time span that each stage continues, A is peak acceleration, and D is maximum deceleration, and J is maximum acceleration;
According to described acceleration system of equations (5), described rate equation group (6) and described shifted systems (7), described i+1 section machining locus is carried out the planning of S type curve speed.
6. Acceleration-deceleration Control Method according to claim 5, it is characterized in that, describedly according to described acceleration system of equations (5), described rate equation group (6) and described shifted systems (7), the step that described i+1 section machining locus carries out S type curve speed planning is specifically comprised:
Interval differentiation: the described interval time span that each stage of calculating continues of differentiating obtains according to described acceleration system of equations (5):
T 1 = A - a s J , T 3 = A J , T 5 = D J , T 7 = D - a e J ,
Wherein, T 1The time span that continues for adding boost phase, T 3The time span that continues for subtracting boost phase, T 5Be lasting time span of acceleration and deceleration stage, T 7For subtracting the time span that the decelerating phase continues;
Reach speed f at even boost phase end 3, according to described rate equation group (6) and described shifted systems (7), obtain:
f 3=f (8);
T 2 = f - v s A - A J + a s 2 2 AJ - - - ( 9 ) ;
Wherein, f is speed of feed, T 2For the lasting time span of even boost phase, if T 2﹤ 0, passes through formula A = sgn ( A ) J - ( f - v s ) + a s 2 2 - - - ( 10 )
The value of adjusting peak acceleration A is the maximum possible value, and substitution formula (9) recomputates T 2Value;
Reach speed v subtracting decelerating phase end e, according to described rate equation group (6) and described shifted systems (7), obtain:
T 6 = f - v e D - D J + a e 2 2 DJ - - - ( 11 )
Wherein, T 6For lasting time span of even decelerating phase, if T 6﹤ 0, passes through formula
D = sgn ( D ) J ( f - v e ) + a e 2 2 - - - ( 12 )
The value of adjusting maximum deceleration D is the maximum possible value, and substitution formula (11) is counted T again 6Value;
With T 1, T 2, T 3, T 5, T 6, T 7Value substitution rate equation group (6), in conjunction with L = Σ k = 1 7 l k - l k - 1 = l 7 - l s , Can get:
T 4 = 1 f ( v e a e + v s a s J - a e 3 + a s 3 3 J 2 ) -
1 f [ 1 2 A + 2 D f 2 + ( A 2 J + D 2 J ) f + A ( v s - a s 2 2 J ) 2 J + D ( v e - a e 2 2 J ) 2 J - ( v s - a s 2 2 J ) 2 2 A - ( v e - a e 2 2 J ) 2 D ]
Wherein, T 4Be the length of duration in stage at the uniform velocity, L is the length of i+1 section machining locus, l 7For subtracting displacement corresponding to decelerating phase, l sBe initial position, if T 4﹤ 0, and the value of adjusting speed of feed f makes T 4=0, and recomputate T 1, T 2, T 3, T 5, T 6And T 7Value;
Real-time interpolation: according to T 1, T 2, T 3, T 4, T 5, T 6, T 7Value S type curve carried out real-time interpolation calculate.
7. acceleration/deceleration control device based on S type curve, described S type curve are used for the i+1 section machining locus between the first switching place and the second switching place is carried out speed planning, it is characterized in that, described acceleration/deceleration control device comprises:
Switching place speed calculation module is used for calculating the speed v of described the first switching place sSpeed v with described the second switching place eValue range;
The acceleration calculation module is used for the speed v according to described first switching place of described switching place speed calculation module calculating acquisition sSpeed v with described the second switching place eValue range calculate the initial acceleration a of i+1 section machining locus sWith terminal point acceleration a eThe maximum possible value;
The speed planning module is used for the speed v according to described first switching place of described switching place speed calculation module calculating acquisition sSpeed v with described the second switching place eValue range and the initial acceleration a of the described i+1 section machining locus that obtains of described acceleration calculation module sWith terminal point acceleration a eThe maximum possible value described i+1 section machining locus is carried out S type curve speed planning so that the acceleration of described the first switching place and described the second switching place is non-vanishing.
8. acceleration/deceleration control device according to claim 7, is characterized in that, described speed calculation module comprises:
Switching angle acquiring unit is used for obtaining first of the i section machining locus that is connected with described i+1 section machining locus by described the first switching place and the described i+1 section machining locus angle α that transfers 1, and the second switching angle α that obtains the i+2 section machining locus that is connected with described i+1 section machining locus by described the second switching place and described i+1 section machining locus 2
The speed computing unit is used for described the first switching angle α that obtains according to described switching angle acquiring unit 1With described the second switching angle α 2Calculate respectively the speed v of described the first switching place sSpeed v with described the second switching place eValue range.
9. acceleration/deceleration control device according to claim 7, is characterized in that, described acceleration calculation module comprises:
The initial acceleration computing unit, described initial acceleration computing unit is used for according to formula (1) | Δa i → | 2 = | a i → | 2 + | a i + 1 → | 2 - 2 | a i → | | a i + 1 → | cos π - α 1 2 And formula (2) | Δa i → | = | a i + 1 → | cos α 1 2 = | v a → | sin α 1 2 T Obtain a iPossible maximal value, a iValue and the initial acceleration a of described i+1 section machining locus sEquate, wherein,
Figure FDA00002809963400072
Be acceleration corresponding to described last interpolation cycle T of i section machining locus,
Figure FDA00002809963400073
Be the acceleration of described the first switching place, the position that last interpolation cycle T machining of described i section machining locus arrives is the terminal point of described i section machining locus;
Terminal point acceleration calculation unit, described terminal point acceleration calculation unit is used for according to formula (3) | Δa i + 1 → | 2 = | a i + 1 → | 2 + | a i + 2 → | 2 - 2 | a i + 1 → | | a i + 2 → | cos π - α 2 2 And
Formula (4) | Δa i + 1 → | = | a i + 2 → | cos α 2 2 = | v a + 1 → | sin α 2 2 T Obtain a i+1Possible maximal value, a i+1Value and the terminal point acceleration a of described i+1 section machining locus eEquate, wherein,
Figure FDA00002809963400076
Figure FDA00002809963400077
Be acceleration corresponding to described last interpolation cycle T of i+1 section machining locus,
Figure FDA00002809963400078
Be the acceleration of described the first switching place, the position that last interpolation cycle T machining of described i+1 section machining locus arrives is the terminal point of described i+1 section machining locus.
10. acceleration/deceleration control device according to claim 7, is characterized in that, described speed planning module comprises:
Stage system of equations acquiring unit is used for the described initial acceleration a according to described i+1 section machining locus s, described terminal point acceleration a e, described the first switching place speed v sAnd the speed v of described the second switching place eWith described i+1 section machining locus be divided into acceleration, even acceleration, subtract acceleration, at the uniform velocity, acceleration and deceleration, even deceleration and seven stages and obtain respectively following system of equations of slowing down:
The acceleration system of equations (5) of described i+1 section machining locus:
a ( τ ) = J τ 1 + a s , 0 ≤ t ≤ t 1 A , t 1 ≤ t ≤ t 2 A - J τ 3 , t 2 ≤ t ≤ t 3 0 , t 3 ≤ t ≤ t 4 - J τ 5 , t 4 ≤ t ≤ t 5 - D , t 5 ≤ t ≤ t 6 - D + J τ 7 , t 6 ≤ t ≤ t 7
The rate equation group (6) of described i+1 section machining locus:
f ( τ ) = f s + a s τ 1 + 1 2 J τ 1 2 , 0 ≤ t ≤ t 1 f 1 + A τ 2 , f 1 = f s + a s T 1 + 1 2 J T 1 2 , t 1 ≤ t ≤ t 2 f 2 + A τ 3 = 1 2 J τ 3 2 , f 2 = f 1 + A T 2 , t 2 ≤ t ≤ t 3 f 3 , f = f 3 = f 2 + AT 3 - 1 2 J T 3 2 , t 3 ≤ t ≤ t 4 f 4 - 1 2 J τ 5 2 , f = f 4 , t 4 ≤ t ≤ t 5 f 5 - D τ 6 , f 5 = f 4 - 1 2 J T 5 2 , t 4 ≤ t ≤ t 6 f 6 - D τ 7 + 1 2 J τ 7 2 , f 6 = f 5 - D T 6 , t 6 ≤ t ≤ t 7
The shifted systems (7) of described i+1 section machining locus
l ( τ ) = l s + v s τ 1 + 1 2 a s τ 1 2 + 1 6 J τ 1 3 , 0 ≤ t ≤ t 1 l 1 + f 1 τ 2 + 1 2 A τ 1 2 , l 1 = l s + v s T 1 + 1 2 a s T 1 2 + 1 6 J T 1 3 , t 1 ≤ t ≤ t 2 l 2 + f 2 τ 3 + 1 2 A τ 3 2 - 1 6 J τ 3 3 , l 2 = l 1 + f 1 T 2 + 1 2 A T 1 2 , t 2 ≤ t ≤ t 3 l 3 + f 3 τ 4 , l 3 = l 2 + f 2 T 3 + 1 2 A T 3 2 - 1 6 J T 3 3 , t 3 ≤ t ≤ t 4 l 4 + f 4 τ 5 - 1 6 J τ 5 3 , f = l 3 + f 3 T 4 , t 4 ≤ t ≤ t 5 l 5 + f 5 τ 6 - 1 62 D τ 6 2 , f 5 = l 4 + f 4 T 5 - 1 6 J T 5 3 , t 5 ≤ t ≤ t 6 l 6 + f 6 τ 7 - 1 2 D τ 7 2 + 1 6 J τ 7 2 , f 6 = l 5 + f 5 T 6 - 1 2 D T 6 2 , t 6 ≤ t ≤ t 7
Wherein, t is time coordinate, t i(i=1,2,3 ..., 7) and be the time coordinate at each stage end, τ iExpression local time is to deduct τ with time t in each stage iThe time value that obtains, T i(i=1,2,3 ..., 7) and represent the time span that each stage continues, A is peak acceleration, and D is maximum deceleration, and J is maximum acceleration;
The speed planning processing unit, the described acceleration system of equations (5), described rate equation group (6) and the described shifted systems (7) that are used for obtaining according to described stage system of equations acquiring unit carry out the planning of S type curve speed to described i+1 section machining locus.
11. acceleration/deceleration control device according to claim 10 is characterized in that, described speed planning processing unit comprises:
Interval differentiation subelement is used for calculating the time span that each stage continues, and obtains according to described acceleration system of equations (5):
T 1 = A - a s J , T 3 = A J , T 5 = D J , T 7 = D - a e J ,
Wherein, T 1The time span that continues for adding boost phase, T 3The time span that continues for subtracting boost phase, T 5Be lasting time span of acceleration and deceleration stage, T 7For subtracting the time span that the decelerating phase continues;
Reach speed f at even boost phase end 3, according to described rate equation group (6) and described shifted systems (7), obtain:
f 3=f (8);
T 2 = f - v s A - A J + a s 2 2 AJ - - - ( 9 ) ;
Wherein, f is speed of feed, T 2For the lasting time span of even boost phase, if T 2﹤ 0, passes through formula A = sgn ( A ) J - ( f - v s ) + a s 2 2 - - - ( 10 )
The value of adjusting peak acceleration A is the maximum possible value, and substitution formula (9) recomputates T 2Value;
Reach speed v subtracting decelerating phase end e, according to described rate equation group (6) and described shifted systems (7), obtain:
T 6 = f - v e D - D J + a e 2 2 DJ - - - ( 11 )
Wherein, T 6For lasting time span of even decelerating phase, if T 6﹤ 0, passes through formula
D = sgn ( D ) J ( f - v e ) + a e 2 2 - - - ( 12 )
The value of adjusting maximum deceleration D is the maximum possible value, and substitution formula (11) is counted T again 6Value
With T 1, T 2, T 3, T 5, T 6, T 7Value substitution rate equation group (6), in conjunction with L = Σ k = 1 7 l k - l k - 1 = l 7 - l s , Can get:
T 4 = 1 f ( v e a e + v s a s J - a e 3 + a s 3 3 J 2 ) -
1 f [ 1 2 A + 2 D f 2 + ( A 2 J + D 2 J ) f + A ( v s - a s 2 2 J ) 2 J + D ( v e - a e 2 2 J ) 2 J - ( v s - a s 2 2 J ) 2 2 A - ( v e - a e 2 2 J ) 2 D ]
Wherein, T 4Be the length of duration in stage at the uniform velocity, L is the length of i+1 section machining locus, l 7For subtracting displacement corresponding to decelerating phase, l sBe initial position, if T 4﹤ 0, and the value of adjusting speed of feed f makes T 4=0, and recomputate T 1, T 2, T 3, T 5, T 6And T 7Value;
The real-time interpolation subelement is used for according to the described interval T that subelement obtains that differentiates 1, T 2, T 3, T 4, T 5, T 6, T 7Value S type curve carried out real-time interpolation calculate.
12. a numerically-controlled machine is characterized in that, described numerically-controlled machine comprises according to claim 7-11 described acceleration/deceleration control devices of any one.
CN201310042611.8A 2013-02-01 2013-02-01 Based on the Acceleration-deceleration Control Method of S type curve and device and numerically-controlled machine Active CN103135501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310042611.8A CN103135501B (en) 2013-02-01 2013-02-01 Based on the Acceleration-deceleration Control Method of S type curve and device and numerically-controlled machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310042611.8A CN103135501B (en) 2013-02-01 2013-02-01 Based on the Acceleration-deceleration Control Method of S type curve and device and numerically-controlled machine

Publications (2)

Publication Number Publication Date
CN103135501A true CN103135501A (en) 2013-06-05
CN103135501B CN103135501B (en) 2015-10-21

Family

ID=48495476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310042611.8A Active CN103135501B (en) 2013-02-01 2013-02-01 Based on the Acceleration-deceleration Control Method of S type curve and device and numerically-controlled machine

Country Status (1)

Country Link
CN (1) CN103135501B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892408A (en) * 2015-09-07 2016-08-24 广东省自动化研究所 Bender speed planning method and device
CN106354102A (en) * 2016-10-18 2017-01-25 西平县朗玛数控设备有限公司 Control method of S-shaped curve speed with non-zero initial accelerated speed
CN107390643A (en) * 2017-08-22 2017-11-24 杭州电子科技大学 The continuous numerical control device high speed feed acceleration and deceleration method of jerking movement speed linearity
CN107608313A (en) * 2017-09-11 2018-01-19 大连理工大学 A kind of double SPL interpolation rate planing methods of five axles
CN108319228A (en) * 2018-02-09 2018-07-24 苏州科技大学 Acceleration-deceleration Control Method in a kind of digital control system trajectory planning
CN108663994A (en) * 2018-06-04 2018-10-16 绵阳逢研科技有限公司 A kind of servo motor S curve Acceleration-deceleration Control Method
CN108748138A (en) * 2018-04-17 2018-11-06 上海达野智能科技有限公司 Speed planning method, system, control system, robot and storage medium
CN108829044A (en) * 2018-07-27 2018-11-16 山东大学 There is the S curve deceleration planning method of negative value in a kind of reply whole story speed
CN109062146A (en) * 2018-10-11 2018-12-21 五邑大学 A kind of X-axis multi-shaft interlocked control method altogether
CN109313429A (en) * 2017-04-24 2019-02-05 深圳配天智能技术研究院有限公司 S type speed planning method, apparatus, system, robot and numerically-controlled machine tool
CN109332910A (en) * 2018-09-18 2019-02-15 大族激光科技产业集团股份有限公司 A kind of speed adjusting method and system of laser cutting
CN109760053A (en) * 2019-01-24 2019-05-17 浙江工业大学 A kind of Dynamic Programming method for control speed of truss manipulator
WO2020093401A1 (en) * 2018-11-09 2020-05-14 深圳配天智能技术研究院有限公司 Method for controlling motion of device, device, and storage apparatus
CN111352342A (en) * 2018-12-20 2020-06-30 沈阳高精数控智能技术股份有限公司 Optimal control method of servo driver based on rotary table control
CN112255913A (en) * 2020-11-14 2021-01-22 大连理工大学 Flexible speed planning method for optimal flight shooting efficiency
CN113156894A (en) * 2021-04-07 2021-07-23 东莞普莱信智能技术有限公司 Speed planning method for chip packaging control and chip packaging control device
CN113703399A (en) * 2021-08-26 2021-11-26 广东拓斯达科技股份有限公司 Motion trajectory planning method, device, equipment and storage medium
CN113867272A (en) * 2021-10-18 2021-12-31 天津理工大学 Velocity planning method for elliptical arc and circular arc of numerical control system based on tangent vector
CN114077226A (en) * 2020-08-11 2022-02-22 大族激光科技产业集团股份有限公司 S-shaped curve speed planning method, control terminal and computer readable storage medium
CN115963782A (en) * 2023-01-31 2023-04-14 北京立迈胜控制技术有限责任公司 S-shaped velocity planning method based on non-zero initial acceleration

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556472A (en) * 2009-05-13 2009-10-14 中国科学院数学与***科学研究院 Small straight-line section interpolation method of numerical control system on basis of multicycle optimal corner
CN102141794A (en) * 2011-02-25 2011-08-03 广西大学 Continuous locus intersegment connecting speed processing method for numerical control system
CN102681487A (en) * 2011-12-30 2012-09-19 北京配天大富精密机械有限公司 Track smoothing method and device of operation equipment in numerical control system, and numerical control machine tool
CN102722140A (en) * 2012-06-21 2012-10-10 中国科学院数学与***科学研究院 Multi-period corner small straight-line segment interpolation method based on S curve acceleration/deceleration control
CN102799146A (en) * 2012-08-08 2012-11-28 成都乐创自动化技术股份有限公司 Method for planning velocity of S-shaped acceleration and deceleration control for control system of numerical control equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556472A (en) * 2009-05-13 2009-10-14 中国科学院数学与***科学研究院 Small straight-line section interpolation method of numerical control system on basis of multicycle optimal corner
CN102141794A (en) * 2011-02-25 2011-08-03 广西大学 Continuous locus intersegment connecting speed processing method for numerical control system
CN102681487A (en) * 2011-12-30 2012-09-19 北京配天大富精密机械有限公司 Track smoothing method and device of operation equipment in numerical control system, and numerical control machine tool
CN102722140A (en) * 2012-06-21 2012-10-10 中国科学院数学与***科学研究院 Multi-period corner small straight-line segment interpolation method based on S curve acceleration/deceleration control
CN102799146A (en) * 2012-08-08 2012-11-28 成都乐创自动化技术股份有限公司 Method for planning velocity of S-shaped acceleration and deceleration control for control system of numerical control equipment

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892408A (en) * 2015-09-07 2016-08-24 广东省自动化研究所 Bender speed planning method and device
CN105892408B (en) * 2015-09-07 2019-08-06 广东省智能制造研究所 A kind of bending machine speed planning method and device
CN106354102B (en) * 2016-10-18 2018-11-27 西平县朗玛数控设备有限公司 A kind of S type curve speed control method that just acceleration is not zero
CN106354102A (en) * 2016-10-18 2017-01-25 西平县朗玛数控设备有限公司 Control method of S-shaped curve speed with non-zero initial accelerated speed
CN109313429A (en) * 2017-04-24 2019-02-05 深圳配天智能技术研究院有限公司 S type speed planning method, apparatus, system, robot and numerically-controlled machine tool
CN107390643A (en) * 2017-08-22 2017-11-24 杭州电子科技大学 The continuous numerical control device high speed feed acceleration and deceleration method of jerking movement speed linearity
CN107608313A (en) * 2017-09-11 2018-01-19 大连理工大学 A kind of double SPL interpolation rate planing methods of five axles
CN108319228A (en) * 2018-02-09 2018-07-24 苏州科技大学 Acceleration-deceleration Control Method in a kind of digital control system trajectory planning
CN108319228B (en) * 2018-02-09 2020-11-20 苏州科技大学 Acceleration and deceleration control method in numerical control system trajectory planning
CN108748138A (en) * 2018-04-17 2018-11-06 上海达野智能科技有限公司 Speed planning method, system, control system, robot and storage medium
CN108663994A (en) * 2018-06-04 2018-10-16 绵阳逢研科技有限公司 A kind of servo motor S curve Acceleration-deceleration Control Method
CN108663994B (en) * 2018-06-04 2020-08-25 绵阳逢研科技有限公司 S-curve acceleration and deceleration control method for servo motor
CN108829044A (en) * 2018-07-27 2018-11-16 山东大学 There is the S curve deceleration planning method of negative value in a kind of reply whole story speed
CN108829044B (en) * 2018-07-27 2020-12-08 山东大学 S-curve acceleration and deceleration planning method for coping with negative values of starting and ending speeds
CN109332910A (en) * 2018-09-18 2019-02-15 大族激光科技产业集团股份有限公司 A kind of speed adjusting method and system of laser cutting
CN109062146A (en) * 2018-10-11 2018-12-21 五邑大学 A kind of X-axis multi-shaft interlocked control method altogether
WO2020093401A1 (en) * 2018-11-09 2020-05-14 深圳配天智能技术研究院有限公司 Method for controlling motion of device, device, and storage apparatus
CN111352342B (en) * 2018-12-20 2022-03-29 沈阳中科数控技术股份有限公司 Optimal control method of servo driver based on rotary table control
CN111352342A (en) * 2018-12-20 2020-06-30 沈阳高精数控智能技术股份有限公司 Optimal control method of servo driver based on rotary table control
CN109760053B (en) * 2019-01-24 2020-08-18 浙江工业大学 Dynamic planning speed control method of truss manipulator
CN109760053A (en) * 2019-01-24 2019-05-17 浙江工业大学 A kind of Dynamic Programming method for control speed of truss manipulator
CN114077226A (en) * 2020-08-11 2022-02-22 大族激光科技产业集团股份有限公司 S-shaped curve speed planning method, control terminal and computer readable storage medium
CN114077226B (en) * 2020-08-11 2023-10-27 大族激光科技产业集团股份有限公司 S-shaped curve speed planning method, control terminal and computer readable storage medium
CN112255913B (en) * 2020-11-14 2021-08-10 大连理工大学 Flexible speed planning method for optimal flight shooting efficiency
CN112255913A (en) * 2020-11-14 2021-01-22 大连理工大学 Flexible speed planning method for optimal flight shooting efficiency
CN113156894B (en) * 2021-04-07 2021-10-01 东莞普莱信智能技术有限公司 Speed planning method for chip packaging control and chip packaging control device
CN113156894A (en) * 2021-04-07 2021-07-23 东莞普莱信智能技术有限公司 Speed planning method for chip packaging control and chip packaging control device
CN113703399A (en) * 2021-08-26 2021-11-26 广东拓斯达科技股份有限公司 Motion trajectory planning method, device, equipment and storage medium
CN113703399B (en) * 2021-08-26 2022-09-16 广东拓斯达科技股份有限公司 Motion trajectory planning method, device, equipment and storage medium
CN113867272A (en) * 2021-10-18 2021-12-31 天津理工大学 Velocity planning method for elliptical arc and circular arc of numerical control system based on tangent vector
CN113867272B (en) * 2021-10-18 2022-06-21 天津理工大学 Tangent vector-based speed planning method for elliptical arcs and circular arcs of numerical control system
CN115963782A (en) * 2023-01-31 2023-04-14 北京立迈胜控制技术有限责任公司 S-shaped velocity planning method based on non-zero initial acceleration
CN115963782B (en) * 2023-01-31 2023-08-18 北京立迈胜控制技术有限责任公司 S-shaped speed planning method based on initial acceleration being non-zero

Also Published As

Publication number Publication date
CN103135501B (en) 2015-10-21

Similar Documents

Publication Publication Date Title
CN103135501B (en) Based on the Acceleration-deceleration Control Method of S type curve and device and numerically-controlled machine
CN103970073B (en) A kind of deceleration planning method for digital control system, device and Digit Control Machine Tool
CN102681487B (en) Track smoothing method and device of operation equipment in numerical control system, and numerical control machine tool
CN102419570B (en) Acceleration and deceleration look-ahead control method for high-speed machining of numerical control machine tool
CN100451891C (en) Dynamic forward-looking processing method of small program segment and implementing device
CN104615084B (en) Machining feed speed optimized tool path curve contour error compensation method
CN101957611B (en) Spline real-time interpolation method
CN102566511B (en) Five-shaft numerical control system cutter center point interpolation path interpolation method
Wang et al. A look-ahead and adaptive speed control algorithm for high-speed CNC equipment
CN104044049A (en) Five-axis linkage polishing system with force feedback control
CN102799145A (en) S-curve acceleration linear interpolation method adopting multi-period constant-acceleration transition for corner
CN103970139A (en) Robot continuous point position motion planning method and motion controller thereof
CN103941647A (en) Flexible accelerating and decelerating control interpolation method for embedded NC equipment
CN103728923A (en) High-efficiency high-stability flexible acceleration and deceleration control method for numerical control system
CN104281099A (en) NURBS direct interpolation method and device with processing characteristics considered
JPH063994B2 (en) Control method for multiple digital servos
CN103353761B (en) Robot continuous process, device and level and smooth forwarding method, device
CN105629882A (en) Trigonometric function speed planning method used for spline interpolation
CN103201069A (en) Cutting resistance analysis device, cutting device equipped with same, and cutting resistance analysis program
CN108435856A (en) Slider of bender location compensation method, system, equipment and digital control system
Shi et al. The look-ahead function-based interpolation algorithm for continuous micro-line trajectories
CN116483026B (en) Multi-mode multi-type asymmetric S-shaped flexible speed curve bidirectional rapid planning method
CN111722591A (en) High-precision linkage interpolation method for trademark die-cutting machine
Sencer et al. Curvature-continuous sharp corner smoothing scheme for Cartesian motion systems
CN110543146A (en) circular machining method based on edge calculation and numerical control machine tool machining system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing City, Haidian District information road, building 18, No. 7, digital media building, room two, Room 201

Applicant after: BEIJING PEITIAN TECHNOLOGY CO., LTD.

Address before: 100085 Beijing City, Haidian District information road, building 18, No. 7, digital media building, room two, Room 201

Applicant before: Beijing A&E Precision Machinery Co. Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: BEIJING A+E PRECISION MACHINERY CO. LTD. TO: BEIJING PEITIAN TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130605

Assignee: Anhui SCBD Robot Technology Co Ltd

Assignor: BEIJING PEITIAN TECHNOLOGY CO., LTD.

Contract record no.: 2016990000487

Denomination of invention: Acceleration and deceleration controlling method based on S-shaped curve and equipment using the same and numerically-controlled machine tool

Granted publication date: 20151021

License type: Exclusive License

Record date: 20161125

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model