CN106168790B - S-shaped acceleration and deceleration control method for changing target speed and position on line - Google Patents
S-shaped acceleration and deceleration control method for changing target speed and position on line Download PDFInfo
- Publication number
- CN106168790B CN106168790B CN201610116683.6A CN201610116683A CN106168790B CN 106168790 B CN106168790 B CN 106168790B CN 201610116683 A CN201610116683 A CN 201610116683A CN 106168790 B CN106168790 B CN 106168790B
- Authority
- CN
- China
- Prior art keywords
- deceleration
- acceleration
- speed
- section
- maximum
- 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.)
- Expired - Fee Related
Links
- 230000001133 acceleration Effects 0.000 title claims abstract description 504
- 238000000034 method Methods 0.000 title claims abstract description 173
- 230000008569 process Effects 0.000 claims abstract description 78
- 238000004364 calculation method Methods 0.000 claims abstract description 77
- 238000005070 sampling Methods 0.000 claims abstract description 65
- 238000012545 processing Methods 0.000 claims abstract description 34
- 230000033001 locomotion Effects 0.000 claims description 118
- 238000006073 displacement reaction Methods 0.000 claims description 116
- 230000008859 change Effects 0.000 claims description 39
- 230000036461 convulsion Effects 0.000 claims description 36
- 238000004458 analytical method Methods 0.000 claims description 8
- 239000004576 sand Substances 0.000 claims description 6
- 230000007704 transition Effects 0.000 claims description 4
- 239000011541 reaction mixture Substances 0.000 claims description 2
- 238000004422 calculation algorithm Methods 0.000 abstract description 29
- 238000010586 diagram Methods 0.000 description 32
- 230000006870 function Effects 0.000 description 18
- 238000004088 simulation Methods 0.000 description 18
- 230000009191 jumping Effects 0.000 description 14
- 230000001960 triggered effect Effects 0.000 description 9
- 238000009795 derivation Methods 0.000 description 7
- 238000003754 machining Methods 0.000 description 7
- 238000006467 substitution reaction Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 5
- 230000009467 reduction Effects 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000012508 change request Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 3
- 230000007547 defect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 238000013139 quantization Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000011065 in-situ storage Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/41—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by interpolation, e.g. the computation of intermediate points between programmed end points to define the path to be followed and the rate of travel along that path
- G05B19/4103—Digital interpolation
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/34—Director, elements to supervisory
- G05B2219/34169—Coarse interpolator, path calculator delivers position, speed, acceleration blocks
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
The invention provides an on-line eye changing methodS-shaped acceleration and deceleration control method for marking speed and position. The method comprises the following steps: speed planning in an acceleration stage; planning the speed in the deceleration stage; planning the speed at a constant speed stage; predicting an actual deceleration point; processing the maximum speed; compensating for the residual distance; changing the target speed algorithm on line; the target location algorithm is changed online. And respectively calculating the running time of the seven-stage speed planning stage by adopting an acceleration/deceleration discretization speed planning method and combining with user input parameters. According to the condition whether the maximum acceleration and the maximum speed can reach the criterion or not, and considering the acceleration/deceleration, the deceleration and the end point position after discretizationLFor the sampling periodT s Rounding off the problem, correcting for the actual maximum acceleration/deceleration, acceleration/deceleration and feed rate that can be achieved. The invention greatly simplifies the original calculation formula and saves a large amount of computer operation time, and the one-time compensation method is adopted for the residual distance in the deceleration process.
Description
Technical Field
The invention belongs to the field of motion control, and particularly relates to an implementation method of an S-shaped curve acceleration and deceleration control method of a motion control system.
Background
Motion control is a key technology for realizing a numerical control system, and a good acceleration and deceleration control method can effectively avoid the phenomena of impact, step loss or vibration and the like in the motion process of numerical control equipment. The high-speed high-precision machining is an important development direction of numerical control machining, and the numerical control machine tool is required to react quickly and reach a specified speed in a short time; meanwhile, the machining process is required to move as stably as possible and have small impact. Therefore, on the basis of ensuring the stable motion of the machine tool, how to realize the optimal acceleration and deceleration control rule with the shortest machining transition time as the target so that the numerical control machine tool has the acceleration and deceleration characteristic meeting the high-speed and high-precision machining requirements is one of the key problems in the research of the motion control field.
The common acceleration and deceleration control method in the numerical control system comprises the following steps: t-type acceleration and deceleration (also called linear acceleration and deceleration), exponential acceleration and deceleration, trigonometric function acceleration and deceleration, and S-shaped acceleration and deceleration. The T-type acceleration and deceleration algorithm has the advantages of simple algorithm, short consumed time, easiness in implementation and the like, but an acceleration curve is discontinuous, speed abrupt change exists, various vibrations and noises are easy to occur, flexible impact exists in machine tool movement, and the method is suitable for a low-speed and low-cost numerical control system with low requirements on movement precision. The exponential acceleration and deceleration algorithm has better smoothness than T-shaped acceleration and deceleration and high motion precision, but the algorithm is complex, the operation is long in time consumption, the acceleration of the acceleration and deceleration starting point and the acceleration of the deceleration finishing point are sudden, and flexible impact also exists. The acceleration and deceleration rules of the trigonometric function can realize smooth motion, but the trigonometric function is complex in calculation and cannot meet the real-time requirement of a numerical control system, and the trigonometric function must be processed in advance, stored in a memory as a table form and realized in a table look-up mode; in addition, the acceleration and deceleration of the current trigonometric function cannot fully utilize the advantages of the acceleration and the maximum allowable value of the acceleration in order to ensure the velocity profile, so that the velocity cannot reach the expected value within a short time and distance. The S-shaped curve acceleration and deceleration control method has the advantages of stable and impact-free motion, continuous acceleration curve, smooth speed curve and the like, and is particularly suitable for high-speed and high-precision machining occasions, such as a robot control system, a semiconductor chip packaging control system and the like. Meanwhile, the S-shaped curve acceleration and deceleration control method has quite complicated planning process and long operation time, and how to simplify the calculation formula of the planning process and reduce the operation time of the algorithm is the focus of long-term attention of experts and scholars at home and abroad.
At present, few data and documents are used for researching and discussing the function expansion of changing the target speed and the position on line by an S-shaped acceleration and deceleration algorithm, but the function of changing the target speed and the position on line is particularly important in certain application occasions, such as the semiconductor chip packaging industry, the idle running time of equipment can be greatly saved by changing the target speed and the position expansion function on line, the flexibility of a numerical control system is enhanced, and the application requirements of more user groups can be met.
The discretization processing of acceleration/deceleration of the S-shaped acceleration and deceleration control method brings many problems, and the operation time (n) of each stage must be ensured1,n2,n3,n4,n5,n6,n7) And a sampling period TsThe integral multiple relationship of the acceleration and deceleration, the actual acceleration and deceleration needs to be recalculated and corrected to ensure that the position of the moving target can be accurately reached after the acceleration and deceleration control operation. The traditional S-shaped acceleration and deceleration algorithm has the defects of complex calculation formula, time consumption for predicting and calculating actual deceleration points and more residual distancesPeriodic compensation and the like.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide the S-shaped acceleration and deceleration control method for changing the target speed and position on line in real time. The S-shaped acceleration and deceleration control method is subjected to function expansion of changing the target speed and position on line, so that the functions of the numerical control system are enhanced, the flexibility of the numerical control system is improved, and the application requirements of more user groups can be met; the S-shaped acceleration and deceleration control method realizes the discretization of the acceleration/deceleration curve in the process, deduces a simplified recursive calculation formula of speed and displacement according to the integral relation among acceleration/deceleration, speed and displacement, and saves the arithmetic operation time; and a one-time compensation method is adopted for the residual distance brought by discretization, so that the operand is reduced, and the number of interpolation cycles is saved.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows.
A S-shaped acceleration and deceleration control method for changing target speed and position on line aims at user input parameters: total displacement L and initial speed f of movementsMaximum speed F, end speed FeMaximum acceleration A, maximum deceleration D, jerk JaccDeceleration rate JdecAnd interpolating the sampling period TsThe following operations are performed:
(1) firstly, initialization and stage division processing are carried out:
the S-shaped curve is subjected to acceleration/deceleration discretization processing by adopting a three-stage type stage division processing mode of an acceleration region I, a constant speed region II and a deceleration region III, and the method specifically comprises the following steps:
1) in the acceleration region I acceleration discretization processing process, the actual interpolation periods of an acceleration adding section ①, a uniform acceleration section ② and an acceleration reducing section ③ are respectively n according to the condition that whether the maximum acceleration A can reach the criterion or not1、n2、n3;
2) Deceleration zoneIII, calculating according to the condition whether the maximum deceleration D can reach the criterion to obtain the actual interpolation periods of the acceleration and deceleration section ⑤, the uniform deceleration section ⑥ and the deceleration section ⑦ which are respectively n5、n6、n7;
3) The maximum speed value V which can be reached after passing through the deceleration and acceleration section ③ from the current speed and the current acceleration is calculated in advance in real time according to the acceleration adding section ① and the uniform acceleration section ②mWhile calculating the remaining distance L in real timerOnce it is predicted that V is satisfied at the same timem> F and Lr>VmIf the conditions are met, the next cycle enters the uniform speed segment ④, and the cycle number n of the uniform speed segment ④ follows4For each additional cycle, the current displacement LcurWith a consequent increase in maximum speed VmA distance of (1), a remaining distance LrContinuously reducing; when L isr<VmThen entering a deceleration area III for deceleration treatment, and the period number n of the uniform speed segment ④4Determining;
(2) and then, predicting an actual deceleration point, and judging the actual deceleration point by calculating a deceleration distance and a path residual distance in real time, wherein when the current acceleration and deceleration process is in an acceleration section ① or a uniform acceleration section ②, in order to ensure the continuity of the acceleration, the deceleration distance comprises the distance traveled by a deceleration area III, namely the displacement L of the acceleration and deceleration section ⑤5Displacement L of uniform deceleration section ⑥6And displacement L of the deceleration section ⑦7In addition, the displacement L of the acceleration reducing section ③ is also included3;
(3) According to the integral relation among the acceleration/deceleration j (t), the acceleration/deceleration a (t), the speed f (t) and the displacement s (t), carrying out real-time interpolation calculation of each section, and updating the current displacement value, the speed value, the acceleration value and the residual distance value in real time; and simultaneously, performing terminal discrimination processing before real-time interpolation calculation so as to ensure that the terminal position is accurately reached.
The invention expands the function of changing the speed and the position of the target on line, can meet the requirement of a user on changing the speed and the position of the target in real time in the movement process, and allows the speed and the position of the target to be changed for many times.
The technical solution of the present invention will be further described in detail below.
Speed planning principle of S-shaped curve acceleration and deceleration control method
On the premise of long enough movement displacement, the process of the S-shaped acceleration and deceleration control method provided by the invention can be divided into an acceleration area I, a constant speed area II and a deceleration area III, wherein the acceleration area I can be further divided into an acceleration section ①, a uniform acceleration section ② and a deceleration section ③, similarly, the deceleration area III can be further divided into an acceleration section ⑤, a uniform deceleration section ⑥ and a deceleration section ⑦, the whole constant speed area II is composed of a constant speed section ④, and input parameters of the S-shaped acceleration and deceleration control method provided by the invention comprise the total movement displacement L and the initial speed fsMaximum speed F, end speed FeMaximum acceleration A, maximum deceleration D, jerk JaccDeceleration rate JdecAnd interpolating the sampling period Ts. According to the S curve acceleration and deceleration kinematic equation, the following relations exist between the acceleration/deceleration a (t), the speed f (t) and the displacement S (t) and the time:
in the formula (1), t is a time coordinate, tiThe method comprises the steps of representing transition point time of each motion stage, wherein i represents each motion stage in a speed planning process, i is 1-7, and i is an integer; tau isiRepresenting local time coordinates, i.e. τ, with the start of each motion phase as a time zeroi=t-ti-1I represents each motion stage in the speed planning process, i is 1-7, and i is an integer; acceleration/deceleration j (t)i) Is a piecewise function with time as a variable:
in the formula (2), JiRepresenting the acceleration/deceleration of each motion phase, i represents each motion phase of the velocity planning process, i is 1-7, i is an integer, wherein J2=J4=J 60. Integrating equation (2) to obtainAn acceleration/deceleration a (t) is obtainedi) The equation:
in the formula (3), a and D represent the maximum acceleration and the maximum deceleration, respectively. The velocity f (t) can be derived by integrating equation (3) over timei) The equation:
in the formula (4), fiThe method comprises the steps of representing speed values reached by end points of all motion phases, wherein i represents all the motion phases in a speed planning process, i is 1-7, and i is an integer; f represents the maximum speed value which can be reached after the movement process is accelerated by the acceleration area, wherein the maximum speed value is equal to the maximum speed input by the user; t isiRepresenting the movement time (T) of each movement phaseiIs required to be a sampling period TsIntegral multiple of the number of the motion phases, i represents each motion phase in the speed planning process, i is 1-7, and i is an integer. Equation of displacement s (t)i) Can be obtained by integrating equation (4) over time:
in the formula (5), siRepresenting the movement displacement amount when each movement stage is finished, wherein i represents each movement stage in the speed planning process, i is 1-7, and i is an integer; l represents the total displacement of motion. For the convenience of subsequent calculation, the calculation formula of the motion displacement in each stage can be calculated by the following equation system:
l in the formula (6)iAnd the motion planning method comprises the steps of representing the displacement amount of motion in each motion stage, wherein i represents each motion stage in the speed planning process, i is 1-7, and i is an integer.
(II) speed planning staging
Maximum acceleration/deceleration limitThe maximum torque and force limit of a driving motor are obtained generally, and the maximum acceleration and deceleration capacity of a numerical control servo system is reflected; the maximum acceleration/deceleration reflects the flexibility and acceleration time (T) of the numerical control servo system1、T3、T5And T7) In inverse proportion. If a larger acceleration/deceleration speed is adopted, the impact is large; if infinite acceleration/deceleration is taken under the limit condition, the S-shaped curve acceleration and deceleration is degenerated into T-shaped acceleration and deceleration; if the acceleration and deceleration time is short, the acceleration and deceleration process time of the system is long. So the user can select according to the actual needs of the system. Generally, the acceleration and deceleration capabilities of the motor are the same, and for the sake of simplifying the calculation, it is assumed that the time required for the acceleration/deceleration to increase from 0 to the maximum and the time required for the acceleration/deceleration to decrease from the maximum to 0 are equal, while taking into account the boundary condition f7=feAnd s7If L, then the following set of equations holds:
in the formula (7), JaccAnd JdecRespectively representing the acceleration value of an acceleration area I and the deceleration value of a deceleration area III, and setting the discretized interpolation period number of 7 motion phases of the S-shaped curve speed plan to be ① plus acceleration segments n 1② acceleration homogenizing segment n 2③ deceleration and acceleration section n 3④ uniform speed segment n 4⑤ acceleration and deceleration segment n 5⑥ uniform deceleration section n6And ⑦ deceleration section n7. The discretization process of each region and the derivation process of the corresponding formula are given as follows:
(1) accelerated region I discretization
The acceleration region I comprises an acceleration adding section ①, a uniform acceleration section ② and an acceleration reducing section ③, and the interpolation period number n of the acceleration adding section ① is set1And the number n of interpolation periods of the deceleration acceleration section ③3The following relationships exist:
n3=n1-1 (8)
from formula (7):
in the formula (9), ceil (x) represents rounding up of the calculation result of x. Since n is1Is an integer, when A cannot be substituted by JaccIn order to ensure that the corrected actual jerk and acceleration do not exceed the original set values of the user, rounding up the calculation result of equation (9) is required in the integer division, and as can be seen from equation (3), the accelerations of the i-th cycle jerk ① and jerk ③ after discretization can be calculated by equations (10) and (11), respectively:
aai=i×Jacci∈[0,n1](10)
adi=A-i×Jacci∈[0,n3](11)
in the formula (10), aaiRepresents the acceleration of the jerk ①, wherein a is represented by equation (11)diThe acceleration of the deceleration segment ③ is shown, then the sum of the velocity increments of the jerk segment ① and jerk segment ③ is calculated by equation (12):
in the formula (12), Δ VaccRepresenting the sum of the velocity increments for the plus acceleration segment ① and the minus acceleration segment ③ equations (10) and (11) are substituted for equation (12) and are simplified to yield:
assuming that the speed of movement during movement can reach a given maximum speed F, the speed F is set from the beginningsThe maximum allowable speed increment to F can be calculated by equation (14):
ΔVamax=F-fs(14)
in the formula (14), Δ VamaxDenotes F and FsI.e. the maximum speed increase allowed in the acceleration region i. The criterion whether the maximum acceleration A can be reached can be obtained by the calculation results of the equations (13) and (14):
if Δ Vacc≥ΔVamaxThen, thenThe maximum acceleration A in the acceleration and deceleration process can not be reached; otherwise the maximum acceleration a is reached. The following is discussed separately in two cases:
a)ΔVacc≥ΔVamaxa is not reachable
Since the maximum acceleration A is not reachable, it means that the even acceleration segment ② is missing, i.e., n 20, the actual number of interpolation cycles of the acceleration segment ① is added, taking into account equations (13) and (14)Can be calculated as:
to ensure the actual number of interpolation cycles after quantizationFor a sampling period TsIntegral multiple of (d), the actual jerk and actual acceleration must be corrected and recalculated, i.e.:
and ArealEquation (8) shows that the number of interpolation cycles of the uniform acceleration segment ② and the deceleration segment ③ after discretization of the acceleration region i is:
b)ΔVacc<ΔVamaxa can reach
In this case, the maximum acceleration a is reached and the uniform acceleration section is present. From the equation (3), the speed increment of the discretized uniform acceleration section (ii) is:
n2×A (18)
the sum of the velocity increments DeltaV after the acceleration region I can be obtained according to equation (13)amaxCan be calculated from the following formula:
ΔVamax=(n1+n2)×A (19)
let na=n1+n2Then equation (19) can be rewritten as:
ΔVamax=na×A (20)
then n isaThe actual value of (d) may be calculated as:
the actual acceleration A can be obtained from the equations (20) and (7)realActual number of interpolation cycles of the acceleration section ①And actual jerk valueComprises the following steps:
therefore, the actual interpolation period number of the actual uniform acceleration section ② can be obtainedAnd actual number of interpolation cycles of the deceleration acceleration section ③Comprises the following steps:
in summary, the discretization process of the acceleration area i is completed, the actual running interpolation cycles of the acceleration adding section (i), the uniform acceleration section (ii), and the acceleration reducing section (iii) under two different conditions (a, b) are calculated according to the criterion whether the maximum acceleration a can be reached, and the actually reachable acceleration and the jerk are corrected, so as to ensure that the actually reachable acceleration and the jerk do not exceed the original setting value of the user.
(2) Discretization processing of deceleration area III
Similarly, the deceleration zone iii includes an acceleration/deceleration section ⑤, a uniform deceleration section ⑥ and a deceleration section ⑦, and the number n of interpolation cycles of the acceleration/deceleration section ⑤ is set5And the number n of interpolation periods of the deceleration section ⑦7The following relationship is satisfied:
n7=n5-1 (25)
considering n5Must be a sampling period TsWhile in order to ensure that the actual reachable deceleration value and deceleration-acceleration value do not exceed the original set value of the user, similarly, when the deceleration D can not be decelerated and the acceleration J can not be reduceddecWhen dividing, n is needed5The rounding-up process is performed according to equation (7):
similarly, as can be seen from equations (3) and (7), the sum Δ V of the speed increments of the acceleration/deceleration section ⑤ and the deceleration/deceleration section ⑦ in the deceleration region iiidecCan be calculated from the following formula:
considering that the speed reached after the movement process is accelerated by the acceleration area I is the maximum speed F, and the speed after the deceleration by the deceleration area III is the end speed FeThen the maximum speed increment delta V allowed in the deceleration region III can be obtainedd maxComprises the following steps:
ΔVd max=F-fe(28)
similarly, the criterion whether the maximum deceleration D is reachable can be obtained by the calculation results of equations (27) and (28):
if Δ Vdec≥ΔVd maxThen the maximum deceleration D in the acceleration and deceleration process can not be reached; otherwise the maximum deceleration D is achievable.
The following is discussed separately in two cases:
a)ΔVdec≥ΔVd maxd is unreachable
In this case, the deceleration region iii includes only the acceleration/deceleration section ⑤ and the deceleration reduction section ⑦, and the uniform deceleration section ⑥ is not present, so that there is
Using the calculation result of equation (27), equation (28) can be rewritten as:
therefore, the actual interpolation period number of the acceleration/deceleration section ⑤Comprises the following steps:
by usingThe sum formula (29) can obtain the corrected actual deceleration-acceleration valueComprises the following steps:
so that the actually achievable deceleration value DrealComprises the following steps:
the actual number of interpolation cycles of the deceleration section ⑦ can be obtained from the above-mentioned hypothetical relation (25)Comprises the following steps:
b)ΔVdec<ΔVd maxand D can reach
In this case, the deceleration region iii includes an acceleration/deceleration section, a uniform deceleration section, and a deceleration section. The velocity increment of the uniform deceleration section after discretization is as follows according to the formula (3):
n6×D
from the equation (27), the sum of the velocity increments Δ V in the deceleration region IIId maxCan be calculated by the following equation:
ΔVd max=(n5+n6)×D (33)
let nd=n5+n6Equation (33) may be rewritten as:
ΔVd max=nd×D (34)
from formula (34):
so that the actual achievable deceleration value DrealAnd the actual number of interpolation cycles of the acceleration/deceleration section ⑤Comprises the following steps:
from n tod=n5+n6The actual number of interpolation cycles of the uniform deceleration section ⑥ can be obtained from the sum equation (25)And actual number of interpolation cycles of the deceleration section ⑦Comprises the following steps:
in conclusion, the discretization process of the deceleration area iii is completed, the actual running interpolation cycles of the acceleration/deceleration section (the fifth step), the uniform deceleration section (the fourth step) and the deceleration section (the seventh step) under two different conditions (the above a and b) are respectively calculated according to the criterion whether the maximum deceleration D can be reached, and the actual deceleration and deceleration values are corrected to ensure that the actually reachable deceleration and deceleration cannot exceed the original set values of the user.
(3) Discretizing uniform region II
The whole uniform velocity region II is composed of the uniform velocity section ④, and the maximum velocity V reached at the end of the deceleration acceleration section ③ must be ensuredmLess than or equal to the user-given maximum speed F, i.e. the inequality holds:
Vm≤F (39)
v is in the uniform speed area II or the deceleration area III after the deceleration and acceleration section ③ is finishedmRepresenting the maximum speed value that can be reached during the deceleration process starting from the current speed and current acceleration based on the above analysis, the interpolation period number n is interpolated once the jerk segment ① is over1If it is determined that the number n of interpolation periods in the acceleration section ③ is reduced as shown in equation (8)3It is determined from equation (13) that the sum of the speed increments Δ V for the acceleration-plus segment ① and the acceleration-minus segment ③accIt is also known that to ensure that the inequality (39) holds, the next cycle speed value must be calculated in advance in real time in the acceleration segment ① and the jerk segment ②, and once the calculated next cycle speed value is greater than the maximum speed F, the acceleration and deceleration process will proceed to the deceleration segment ③ in the next cycle.
Assume that during a certain current period of the jerk ① or jerk ②, the acceleration is acurAt a velocity of VcurBegins to enter the deceleration and acceleration section ③, and passes through the i-th period, the acceleration aiVelocity ViThe following relationships are associated with period i:
in the formula (40), the reaction mixture is,representing actual jerk value, i representing current cycle number, i ∈ [0,n3]I is an integer, so the maximum speed value reached after the end of the deceleration acceleration segment ③ is:
therefore, the maximum speed that can be achieved can be calculated in any period of the acceleration segment ① or the uniform acceleration segment ② in the acceleration region i, and after entering the deceleration segment ③, the maximum speed V of the whole S-shaped speed planning processmConstant in the plus acceleration section ① or the even acceleration section ②, the maximum velocity V that is possible to reach once the next cyclemWhen the maximum speed F is exceeded, the next period enters the deceleration and acceleration section ③. because the calculated amount of the equation (42) is larger, a simpler calculation method is given as follows:
(1) setting the maximum speed which can be calculated in the last period as Vm', then there are:
in formula (43), V'curRepresents the current speed value of the previous cycle, and V'cur=Vm-acur。
(2) Equation (43) is subtracted from equation (42) and reduced to V in the acceleration section ①mThe calculation formula of (2) is as follows:
(3) similarly, V in the uniform acceleration section ②mThe calculation formula of (2) is as follows:
Vm=Vm'+acur(45)
in comparison with equation (42), V is calculated using equations in the form of recursions of equations (44) and (45)mThe amount of calculation can be reduced.
As can be seen from equations (3) and (4), the calculation formulas of the current acceleration and speed values of the acceleration segment (i) and the uniform acceleration segment (ii) are respectively shown as equations (46) and (47):
(III) actual deceleration Point prediction
The S-shaped curve acceleration and deceleration control method provided by the invention adopts a pre-interpolation acceleration and deceleration control mode suitable for high-speed high-precision machining, simultaneously considers the defect that the actual deceleration point and the theoretical deceleration point after discretization are often not coincident, and how to accurately calculate the actual deceleration point becomes the key point of success of the control method. In order to ensure that the final motion can accurately reach the set target position, the actual deceleration point is judged by calculating the deceleration distance and the path remaining distance in real time, and once the fact that the remaining distance of the next interpolation period is smaller than the deceleration distance is known, the next interpolation period is shifted to the deceleration area III. The current acceleration and deceleration process is in different stages, and the meaning of the deceleration distance is different, so the following regulation is carried out on the deceleration distance:
a) when the current acceleration and deceleration process is in the acceleration section ① or the uniform acceleration section ②, in order to ensure the continuity of the acceleration, the deceleration distance referred to at this time includes the distance traveled by the deceleration region iii (the displacement L of the acceleration and deceleration section ⑤)5+ displacement L of uniform deceleration section ⑥6Displacement L of + deceleration section ⑦7) In addition, the displacement L of the acceleration reducing section ③ is also included3。
b) In the case other than a), the deceleration distance means the distance traveled by the deceleration region iii (the displacement L of the acceleration/deceleration section ⑤)5+ displacement L of uniform deceleration section ⑥6Displacement L of + deceleration section ⑦7)。
Therefore, the calculation of the deceleration distance can be divided into two parts:
(1) distance traveled by deceleration zone III
The distance covered by the deceleration region III comprises the displacement L of the acceleration and deceleration section ⑤5Displacement L of uniform deceleration section ⑥6And displacement L of the deceleration section ⑦7The calculation is carried out in three steps one by one as follows:
1) calculating the displacement L of the acceleration and deceleration section ⑤5
From the expressions (3), (4) and (6), the deceleration a of the acceleration/deceleration section ⑤iVelocity ViAnd a displacement LiThe calculation formula is as follows:
the interpolation period number n of the acceleration and deceleration section ⑤5Substituting the above formula, one can obtain:
2) calculating the displacement L of the uniform deceleration section ⑥6
Similarly, the deceleration a of the uniform deceleration section ⑥ can be found from the expressions (3), (4) and (6)iVelocity ViAnd a displacement LiThe calculation formula is as follows:
the interpolation period number n of the uniform deceleration section ⑥6Substituting the above formula, one can obtain:
3) calculating the displacement L of the deceleration section ⑦7
Similarly, as can be seen from equations (3), (4) and (6), the deceleration a of the deceleration section ⑦ is reducediVelocity ViAnd a displacement LiThe calculation formula is as follows:
the interpolation period number n of the deceleration section ⑦ is reduced7Substituting the above formula, one can obtain:
so the deceleration distance LdecCan be calculated from the following formula:
respectively converting L in the formulae (49), (51) and (53)5、L6And L7Substituting, equation (54) can be rewritten as:
as can be seen from equation (55), the deceleration distance LdecIs computationally intensive. The speed of the first period of the deceleration stage is found to be the speed of the deceleration section III through speed analysis of the deceleration section IIIThe second cycle has a speed ofThe third cycle has a speed ofThe penultimate cycle speed isThe speed of the third last cycle isThe speed of the fourth last cycle isTherefore, the 1 st, 2 nd, … … th and n th of the deceleration stage are controlled7Period and 2 nd, 3 rd, … … th, n th of last7+1) periods are added separately, the sum of each addition being equal to fe+VmThus for LdecThere may be a simpler method for calculating (c), and the derivation process is given below:
and (3) subdividing each motion phase of the deceleration area III: front n7One period is an acceleration and deceleration section ⑤, (n)7+1 to (n)7+n6) The period is a uniform deceleration section ⑥, (n)7+n6+1 to (2 x n)7+n6) To reduce the deceleration section ⑦, the last cycle is the ending speed fe. The first n is obtained from the formula (49)7Deceleration of one-cycle acceleration/deceleration segment ⑤Speed of rotationAnd displacement ofThe calculation formula is as follows:
from equations (49) and (56):
similarly, the deceleration a of the uniform deceleration section ⑥iVelocity ViAnd a displacement LiThe calculation formula is as follows:
the interpolation period number n of the uniform deceleration section ⑥6By substituting equation (58) for the deceleration of the uniform deceleration section ⑥Speed of rotationAnd displacement ofComprises the following steps:
will be provided withSubstituted into formula (59) while taking into account formula (56)Thus, it can be obtained
In the formula (49)Andwhile taking into consideration the formula (51)The following can be obtained:
from formulae (51), (59), and (57):
finally, the deceleration a of the deceleration section ⑦ is reducediVelocity ViAnd a displacement LiThe calculation formula is as follows:
the interpolation period number n of the deceleration section ⑦ is reduced7In the substitution of equation (63), the displacement of the deceleration stage ⑦ can be found as:
from formulas (61), (62) and (64):
the deceleration distance L can be obtained from the equations (65), (67) and (68)decComprises the following steps:
comparing equations (55) and (69), it can be seen that calculating the deceleration distance of the deceleration area iii using equation (69) will greatly reduce the amount of calculation, saving the computation time of the processor.
(2) Displacement L of the deceleration acceleration section ③3
Considering the acceleration continuity, when the acceleration and deceleration process is in the acceleration section ① or the uniform acceleration section ②, the deceleration distance should include the displacement L of the deceleration section ③ in addition to the distance of the deceleration region iii3So L is calculated by giving the acceleration segment ① and the uniform acceleration segment ② as follows3The derivation process of (1):
1) from equation (3), the acceleration value a of the i-th cycle of the deceleration section ③ is calculatediComprises the following steps:
2) the integral sphere summation of equation (70) yields the velocity value V for the i-th cycle of the deceleration section ③iComprises the following steps:
3) the displacement L of the i-th cycle of the acceleration section ③ can be reduced by integrating the sum of the equations (71)iComprises the following steps:
4) n is to be3Substitution of equation (72) may result in a displacement L of the entire deceleration section ③3Comprises the following steps:
5) calculating L from equation (73)3The calculation amount is relatively large, and the derivation process of a simplified calculation formula is given as follows:
let L be obtained from the previous acceleration period3Comprises the following steps:
the acceleration section includes:
therefore, L in the acceleration section ① can be obtained by subtracting the formula (74) from the formula (73) and substituting the formula (75)3The calculation formula of (2) is simplified as:
in a similar way, the uniform acceleration section II comprises:
therefore, the L in the acceleration homogenizing section ② can be obtained by subtracting the formula (74) from the formula (73) and substituting the formula (77)3Is simple in calculation formula
The method comprises the following steps:
L3=L'3+acur×n3(78)
compared with the equation (73), the recursion equations of the equations (76) and (78) are adopted to calculate the L of the acceleration segment ① and the uniform acceleration segment ② respectively3The amount of calculation will be greatly reduced.
(IV) Compensation of residual distance
In the speed planning of the S-shaped curve acceleration and deceleration control method provided by the invention, through the division of the speed planning stages, the calculation of the reachable maximum speed and the prediction of the deceleration point, a basic prototype of the speed planning of an acceleration and deceleration algorithm is established, and the actual interpolation period number n of six different stages, namely an acceleration adding stage ①, a uniform acceleration stage ②, an acceleration and deceleration stage ③, an acceleration and deceleration stage ⑤, a uniform deceleration stage ⑥ and a deceleration and deceleration stage ⑦, is calculatediAnd the real-time judgment of the actual deceleration through the calculation of the deceleration distance is realizedThe point is that the actual deceleration point is advanced from the theoretical deceleration point, which artificially advances the actual deceleration point such that the velocity plan will be after the end of the deceleration segment, the remaining distance will not be equal to 0, and the remaining distance needs to be compensated for in deceleration zone iii.
Let the remaining distance be LrThe current running distance is LcurThen for a period of any phase, the following relationship exists:
Lr=L-Lcur-Ldec(79)
in equation (79), L represents the total displacement amount of the movement, and the current travel distance can be calculated by the following equation:
in the formula (80), niThe interpolation period number of each motion stage is represented, i represents each motion stage in the speed planning process, i is 1-7, and i is an integer; vjRepresenting each motion phase niJ represents all values of the interpolation period number in each motion phase, j is 1 to niAnd j is an integer.
From the above analysis, it can be known that the speed planning process of the proposed S-shaped curve acceleration and deceleration control method has the problem that the theoretical deceleration point is not coincident with the actual deceleration point, and the residual L needs to be processedrTo a problem of (a).
From the equation (79), if the total movement displacement L is large, the calculated L is calculatedrPossibly very large (L)r>Vm) In order to minimize the compensation period of the remaining distance, the number n of interpolation periods of the uniform velocity segment ④ is also reduced during the segmentation process4Is not specified and can therefore be compensated with a constant velocity segment. Interpolating the number of cycles n along with the uniform speed section4Every additional cycle, LcurWith a consequent increase in maximum speed VmThus leaving a distance LrIs compensated and continuously reduced. When the remaining distance is less than the maximum velocity value VmEntering a deceleration area III, and interpolating the number n of cycles of the uniform speed section ④4And is finally determined.
In deceleration region III LrCannot be greater than VmAs can be seen from formula (69), if n is7Increase by 1 (n)5Will also increase by 1) and the deceleration distance will increase (V) accordinglym+fe) Therefore, it is impossible to increase one acceleration/deceleration period and one deceleration/deceleration period at the same time to realize the L pairrIf a uniform deceleration period is added, the residual quantity is uniformly inserted into the uniform deceleration process, and the deceleration value of the uniform deceleration section ③ is adjusted correspondingly, but the actual calculation does not necessarily just meet the requirement, the formula (69) is obtained under the condition that the acceleration and deceleration section ⑤ and the deceleration stage ⑦ are symmetrical, if one period is inserted into one of the acceleration and deceleration section ⑤ or the deceleration section ⑦, the formula (69) is not established, the whole operation process becomes complicated, the calculation amount is increased, and the invention integrates the reasonsrAnd (4) a processing method for performing one-time insertion compensation. From the above analysis, L is 0. ltoreq. Lr≤VmIf the remaining distance L isrAt maximum speed VmWith the lowest operating speed feIn the deceleration section, compensation is then performed. If the remaining distance LrIs less than the end speed feThen L will berSuperimposed on the last motion cycle for compensation.
(V) Online target position changing algorithm
Changing the target location online is implemented based on the idea of a finite state machine, all states including: the method comprises four types of acceleration area I, uniform speed area II, deceleration area III and reverse motion compensation, and the online target position changing mode is as follows: the target position is increased and decreased (if the target position is not changed, the planning is performed according to the original plan, and no processing is needed). According to the different forms of the trigger stage and the target position change, the corresponding processing modes are different, and the processing procedures of various conditions are given as follows:
(1) in the first case: the target position becomes larger
1) When the acceleration area I triggers a position change signal, directly assigning a new target position to the current target position and keeping the current state;
2) when the position signal is triggered to change in the uniform speed area II, a new target position is directly assigned to the current target position, and if the current speed is lower than the target speed, the acceleration area I is skipped to accelerate; if the current speed is equal to the target speed, keeping the current state;
3) when the deceleration area III triggers a position change signal, a new target position is directly assigned to the current target position, and the current target position jumps to the acceleration area I for acceleration.
(2) In the second case: the target position becomes small
When the target position becomes small and reverse movement may occur, the path residual distance L is calculated according to the following formularemain:
Lremain=Lr+(Lnew×D-Ls)-Le(81)
In the formula (81), LrThe remaining distance before the end point position is changed is represented by formula (79); l isnewRepresenting the new endpoint coordinates; d represents the direction of target displacement before changing the target position, if the direction is positive, the value is 1, and if the direction is reverse, the value is-1; l issIn-situ shift of point coordinates, LeThe end point coordinates of the original displacement.
1)Lremain<0
No matter the current state, uniformly jumping to a deceleration area III for deceleration, and when the speed is reduced to 0, jumping to reverse compensation if a new target position is not reached;
2)Lremain>0
if the position signals are triggered to change in the acceleration area I and the uniform speed area II, jumping to a deceleration area III for deceleration processing; if a change of position signal is triggered in the deceleration zone III, a reversal of the compensation is initiated.
(VI) Online Change target speed Algorithm
Changing the target speed online is also realized based on the idea of a finite state machine, and all the states include: the online speed change method comprises three types of acceleration areas I, constant speed areas II and deceleration areas III, and the online speed change target speed change form is as follows: the target speed is increased and decreased (if the target speed is not changed, the planning is performed according to the original plan, and no processing is needed). Changing the target speed online must ensure accurate arrival of the end position, otherwise the shift request is ignored and it is conditional to respond to the shift request. According to the different forms of the trigger stage and the target speed, the corresponding processing modes are different, and the processing procedures of various conditions are given as follows:
(1) in the first case: the target speed becomes large
1) When a speed change signal is triggered in the acceleration region I, a new target speed is directly set as a target speed, and the original state is kept unchanged;
2) when the position signal is triggered to change in the uniform speed area II or the deceleration area III, the distance from the current speed to the new target speed and the distance from the new target speed to the original ending speed need to be calculated, if the remaining distance is enough, the vehicle jumps into the acceleration area I to accelerate, and otherwise, the speed change request is ignored.
(2) In the second case: the target speed becomes smaller
When the speed signal is triggered to change in the acceleration area I, the constant speed area II or the deceleration area III, the deceleration distance needs to be recalculated, the deceleration distance at this moment comprises the distance from the current speed to the new target speed and the distance from the new target speed to the original ending speed, if the remaining distance is enough, the speed is reduced in the deceleration area III, and otherwise, the speed change request is ignored.
Compared with the prior art, the invention has the following beneficial effects and advantages
(1) The acceleration curve obtained by the S-shaped curve acceleration and deceleration control method provided by the invention is continuous, has no sudden change, is smooth in speed curve, is stable in movement, has small impact, and can meet the requirements of high-speed and high-precision processing on acceleration and deceleration characteristics such as short operation time, stable movement, smooth speed, no impact, high precision and the like.
(2) The S-shaped curve acceleration and deceleration control method provided by the invention can set asymmetric acceleration value JaccAnd a deceleration acceleration value Jdec(ii) a Asymmetric acceleration A values and decelerations may also be setA value D; an asymmetrical starting speed f can also be setsAnd end speed feAnd f issAnd feMay take a non-zero value. The user can set according to different lathe, also can carry out parameter configuration according to the law that provides in order to obtain the best effect, has good flexibility and flexibility.
(3) The S-shaped curve acceleration and deceleration control method provided by the invention has less calculation amount. Simple and feasible deceleration distance L is respectively deduceddecRecursive formula, maximum velocity VmRecursive formula and acceleration distance reduction L3And the calculation formula is recurred, so that the time consumption of algorithm operation is greatly reduced.
(4) The invention carries out the function expansion of changing the target speed on line and changing the end point position on line to the S-shaped curve acceleration and deceleration control method, so that the machine tool can move to the target position at a higher speed and then accurately position to the target position at a lower speed, thereby greatly saving the idle running time of equipment, enhancing the function of a numerical control system and improving the flexibility of the numerical control system, and meeting the application requirements of more user groups.
(5) The S-shaped curve acceleration and deceleration control method for changing the target speed and the end point position on line in real time is successfully applied to numerical control systems of SMT chip mounters, die attach machines, dispensing machines and other equipment, and achieves good economic benefits.
Drawings
FIG. 1 is a schematic diagram of a speed plan of an S-shaped curve acceleration and deceleration control method;
FIG. 2 is a schematic diagram illustrating discretization of acceleration in an acceleration region I;
FIG. 3 is a schematic diagram of deceleration discretization of deceleration zone III;
FIG. 4 is a schematic diagram of the actual deceleration point prediction of the S-shaped curve acceleration and deceleration control method;
FIG. 5 is a schematic diagram of compensation of remaining distance in the S-shaped curve acceleration/deceleration control method;
FIG. 6 is a flow chart of an implementation of a S-shaped curve acceleration and deceleration control method;
FIG. 7 is a flow chart of initialization and phase division of the S-shaped curve acceleration/deceleration control method;
FIG. 8 is a diagram of a finite state machine for an on-line change target location algorithm;
FIG. 9 is a diagram of a finite state machine for an on-line change target speed algorithm;
FIG. 10 is a simulation diagram of a displacement curve, a velocity curve and an acceleration curve of the proposed S-shaped curve acceleration/deceleration control method;
FIG. 11 is a simulation diagram of a displacement curve, a velocity curve and an acceleration curve of the proposed S-shaped curve acceleration/deceleration control method;
FIG. 12 is a simulation diagram of a displacement curve, a velocity curve and an acceleration curve of the proposed S-shaped curve acceleration/deceleration control method;
FIG. 13 is a simulation diagram of a displacement curve, a velocity curve and an acceleration curve of the proposed S-shaped curve acceleration/deceleration control method;
FIG. 14 is a simulation diagram of the algorithm displacement curve, velocity curve and acceleration curve for changing the endpoint position on line by the proposed S-shaped curve acceleration and deceleration control method;
FIG. 15 is a simulation diagram of the S-shaped curve acceleration/deceleration control method for changing the displacement curve, velocity curve and acceleration curve of the target velocity algorithm on line.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative effort belong to the protection scope of the present invention.
FIG. 1 is a schematic diagram of a speed plan of an S-shaped curve acceleration and deceleration control method, the process of the S-shaped acceleration and deceleration control method provided by the invention can be divided into an acceleration area I, a uniform speed area II and a deceleration area III, the acceleration area I comprises an acceleration section ①, a uniform acceleration section ② and a deceleration section ③, the deceleration area III can be divided into an acceleration section ⑤, a uniform deceleration section ⑥ and a deceleration section ⑦, the whole uniform speed area is composed of a uniform speed section ④, and input parameters of the control method are divided intoThe number includes total displacement L and initial speed fsMaximum speed F, end speed FeMaximum acceleration A, maximum deceleration D, jerk JaccDeceleration rate JdecAnd a sampling period Ts。
In fig. 1, (a), (b), (c) and (d) are respectively a displacement curve diagram, a velocity curve diagram, an acceleration curve diagram and an acceleration curve diagram. In FIG. 1, the ordinate units of (a), (b), (c), and (d) are pulse (pulse), pulse/Ts(pulse/sampling period),(pulse/sampling period)2) And(pulse/sampling period)3). t is a time coordinate, tiRepresenting the transition point moments of the various motion phases; tau isiRepresenting local time coordinates with the start of each motion phase as a time zero, i.e. τi=t-ti-1;JiRepresenting an acceleration/deceleration amplitude; f. ofiRepresenting the velocity values reached at the end points of the respective phases; f represents the maximum speed value that can be reached after the movement process passes through the acceleration zone, TiRepresenting the run time (for the sampling period T) of each motion phasesInteger multiples of); siDisplacement representing movement at the end of each movement phase; l represents the total displacement amount of the movement path; l isiDisplacement representing movement in each movement phase; and i represents each motion stage of the speed planning process, i is 1-7, and i is an integer.
According to the S curve acceleration and deceleration kinematic equation, the acceleration/deceleration a (t), the speed f (t) and the displacement S (t) satisfy the formula (1) with time:
in the formula (1), the acceleration j (t) is increased/decreasedi) Is a piecewise function with time as a variable:
by integrating equation (2), the acceleration/deceleration a (t) can be obtainedi) Piecewise function with respect to time:
the velocity f (t) can be derived by integrating equation (3) over timei):
Similarly, the displacement equation s (t)i) Can be obtained by integrating equation (4) over time:
the motion displacement calculation formula in each motion phase can be calculated by the following equation system:
in the formula, LiAnd the motion displacement amount in each motion stage is shown, i represents each motion stage in the speed planning process, i is 1-7, and i is an integer.
Fig. 2 is a schematic diagram illustrating discretization of acceleration in the acceleration region i. Before performing the acceleration-deceleration phase division, to simplify the calculation, we assume that the time required for the acceleration/deceleration to increase from 0 to the maximum and the time required for the acceleration/deceleration to decrease from the maximum to 0 are equal, that is:
in the acceleration discretization process of the acceleration region i, we may assume the interpolation period number n of the acceleration segment ① without considering the limitation of the maximum speed F1And subtractInterpolation period number n of acceleration segment ③3Satisfies the following conditions:
n3=n1-1 (8)
due to the number of interpolation cycles (n) of each motion phase of the acceleration region I1、n2、n3) Must be a sampling period TsIs calculated, and n is calculated to ensure that the actual jerk and jerk values do not exceed the user's original set point1Upward rounding is required:
and then calculating the sum of the speed increment of the acceleration adding section (i) and the acceleration reducing section (iii):
reconsidering the influence of the maximum speed F from the starting speed FsMaximum speed increment allowed to increase to F:
ΔVamax=F-fs(14)
the criterion whether the maximum acceleration A can be reached can be obtained by using the calculation results of the equations (13) and (14):
if Δ Vacc≥ΔVamaxThe interpolation period number of the acceleration adding section ①, the interpolation period number of the uniform acceleration section ② and the interpolation period number of the deceleration section ③ are calculated according to 2 cases whether A can reach.
a)ΔVacc≥ΔVamaxA is not reachable
To ensure the quantized number of interpolation cyclesFor a sampling period TsThe integral multiple of the actual jerk and the actual reachable acceleration value are recalculated:
for the case of A being unreachable, the calculation result of the actual interpolation period number of each stage is as follows:
b)ΔVacc<ΔVamaxa can reach
The speed increment of the uniform acceleration section II is as follows:
n2×A (18)
sum of velocity increments after acceleration zone i:
ΔVamax=(n1+n2)×A (19)
let na=n1+n2Then equation (19) can be rewritten as:
ΔVamax=na×A (20)
nathe actual values of (c) are:
for the actual acceleration ArealPlus the number of cycles of the acceleration section ①And jerk valueRounding and correcting to obtain:
for the case of a reachable number, the calculation result of the actual interpolation period number of each stage is:
FIG. 3 is a schematic diagram of the discretization of deceleration in deceleration zone III. similarly, let us say that the number n of cycles of the acceleration/deceleration section ⑤5And decreasing the number n of cycles of the speed reduction section ⑦7Satisfies the following conditions:
n7=n5-1 (25)
number n of interpolation cycles for acceleration/deceleration section ⑤5Getting the whole upward as:
similarly, the sum Δ V of the speed increments of the acceleration/deceleration section ⑤ and the deceleration/deceleration section ⑦ in the deceleration region iiidecComprises the following steps:
taking into account the maximum speed F and the end speed FeOf the maximum speed increase DeltaV allowed in the deceleration region IIId maxComprises the following steps:
ΔVd max=F-fe(28)
similarly, the criterion whether the maximum deceleration D is reachable can be obtained by the calculation results of equations (27) and (28):
if Δ Vdec≥ΔVd maxThen the maximum acceleration D in the acceleration and deceleration process is not reachable; otherwise the maximum acceleration D is reachable. The following two cases are discussed separately:
a)ΔVdec≥ΔVd maxd is unreachable
Using the calculation result of equation (27), equation (28) can be rewritten as:
therefore, the actual number of interpolation cycles of the acceleration section ⑤ is reducedComprises the following steps:
actual deceleration acceleration valueAnd the actually achievable deceleration value DrealThe correction is as follows:
therefore, for the case of unreachable D, the calculation result of the actual interpolation cycle number at each stage is:
b)ΔVdec<ΔVd maxand D can reach
The speed increment of the uniform deceleration section ⑥ is n6×D
From equation (27), the sum of the speed increments in the deceleration region iii is:
ΔVd max=(n5+n6)×D (33)
let nd=n5+n6Equation (33) may be rewritten as:
ΔVd max=nd×D (34)
then respectively aiming at the actual achievable deceleration value DrealAnd the number of cycles of the acceleration/deceleration section ⑤Correcting and rounding as follows:
so far, for the case of D reachable, the calculation result of the actual interpolation cycle number at each stage is:
fig. 4 is a schematic diagram illustrating the actual deceleration point prediction of the S-shaped curve acceleration and deceleration control method. The S-shaped curve acceleration and deceleration control method provided by the invention has the problem that the actual deceleration point D ' and the theoretical deceleration point D do not coincide after discretization, the curve DE in figure 4 is a theoretical deceleration curve, but because the current speed and the total movement displacement L after quantization cannot be exactly integral multiple, the current residual distance of a certain period is always larger than 0 and smaller than the current speed value, if the next period is to interpolate the current speed value for one period, namely D is reached, the speed is reduced according to the D ' E ' curve, if the acceleration and deceleration is still executed according to the originally planned interpolation period number of each stage, the finally reached end point position of the movement is larger than the original set value of the user. It is necessary to take a method of entering the deceleration region in advance, and as shown in fig. 4, the actual deceleration point is D ', and the D ' E ' curve is the actual deceleration curve. Based on the above analysis, the real-time calculation of the actual deceleration point D' will be one of the key factors for the success or failure of the whole algorithm.
The current acceleration and deceleration process is in different stages, and the meaning of the deceleration distance is different, so the deceleration distance is regulated as follows:
a) when the current acceleration and deceleration process is in the acceleration section ① or the uniform acceleration section ②, in order to ensure the continuity of the acceleration, the deceleration distance referred to at this time includes the distance traveled by the deceleration region iii (the displacement L of the acceleration and deceleration section ⑤)5+ displacement L of uniform deceleration section ⑥6Displacement L of + deceleration section ⑦7) In addition, the displacement L of the acceleration reducing section ③ is also included3。
b) In the case other than a), the deceleration distance means the distance traveled by the deceleration region III (displacement L of the acceleration/deceleration section ⑤)5+ displacement L of uniform deceleration section ⑥6Displacement L of + deceleration section ⑦7)。
Therefore, the calculation of the deceleration distance can be divided into two parts:
(1) distance traveled by deceleration zone III
1) Calculating the displacement L of the acceleration and deceleration section ⑤5
The number n of the periods of the acceleration and deceleration section ⑤ is divided by (3), (4) and (6)5Substitution can obtain:
2) calculating the displacement L of the uniform deceleration section ⑥6
Similarly, the number n of the periods of the uniform deceleration section ⑥ is expressed by the formulas (3), (4) and (6)6Substitution can obtain:
3) calculating the displacement L of the deceleration section ⑦7
Similarly, the number n of the periods of the deceleration section ⑦ is reduced by equations (3), (4) and (6)7Substitution can obtain:
the deceleration distance L can be obtained from the equations (49), (51) and (53)dec:
As can be seen from equation (55), the deceleration distance LdecIs computationally intensive. The speed of the first period of the deceleration area III is found to beThe second cycle has a speed ofThe third cycle has a speed ofThe penultimate cycle speed isThe speed of the third last cycle isThe speed of the fourth last cycle isTherefore, the 1 st, 2 nd, … … th and n th speed reduction regions III are set7Period and 2 nd, 3 rd, … … th, n th of last7+1) periods are added up separately, the result obtained is fe+VmThus for LdecThere may be a simpler method for calculating (c), and the derivation process is given below:
the motion stages of the deceleration area III are divided again, the first n7One period is an acceleration and deceleration section ⑤, (n)7+1 to (n)7+n6) The period is a uniform deceleration section ⑥, (n)7+n6+1 to (2 x n)7+n6) To reduce the deceleration section ⑦, the last cycle is the ending speed fe. The first n is obtained from the formula (49)7Acceleration of acceleration/deceleration segment ⑤ of one cycleSpeed of rotationAnd displacement ofThe calculation formula is as follows:
from equations (49) and (56):
similarly, the deceleration a of the uniform deceleration sectioniVelocity ViAnd a displacement LiThe calculation formula is as follows:
number n of periods of the uniform deceleration section ⑥6By substituting equation (58) for the deceleration of the uniform deceleration section ⑥Speed of rotationAnd displacement ofComprises the following steps:
will be provided withSubstituted into formula (59) while taking into account formula (56)Thus, it can be obtained
In the formula (49)Andwhile taking into consideration the formula (51)The following can be obtained:
from formulae (51), (59), and (57):
finally, the deceleration a of the deceleration section ⑦ is reducediVelocity ViAnd a displacement LiThe calculation formula is as follows:
will decrease the number n of cycles of the speed reduction section ⑦7In the substitution of equation (63), the displacement of the deceleration stage ⑦ can be found as:
from formulas (61), (62) and (64):
the deceleration distance L can be obtained from the equations (65), (67) and (68)decComprises the following steps:
(2) displacement L of the deceleration acceleration section ③3
Considering the continuity of the acceleration, when the acceleration and deceleration process is inAdding acceleration section ① or even acceleration section ②, the deceleration distance LdecIncluding the distance traveled by deceleration region III, and also the displacement L of deceleration section ③3So L is calculated by the procedure of adding acceleration segment ① and homogenizing acceleration segment ② given below respectively3The derivation process of (1):
1) from equation (3), the acceleration value a of the i-th cycle of the deceleration section ③ is calculatediComprises the following steps:
2) the integral summation of equation (70) can obtain the velocity value V of the i-th cycle of the deceleration acceleration section ③iComprises the following steps:
3) the integral summation of equation (71) results in the displacement L of the acceleration segment ③ for the i-th cycleiComprises the following steps:
4) n is to be3Substitution of equation (72) may result in a displacement L of the entire deceleration section ③3Comprises the following steps:
5) calculating L from equation (73)3The calculation amount is relatively large, and the derivation process of a simplified calculation formula is given as follows:
let L be obtained from the previous acceleration period3Comprises the following steps:
the acceleration section includes:
therefore, the L of the acceleration section ① can be obtained by subtracting the formula (74) from the formula (73) and substituting the formula (75)3The calculation formula of (2) is simplified as:
in a similar way, the uniform acceleration section II comprises:
therefore, by subtracting the formula (74) from the formula (73) and substituting the formula (77), L of the acceleration uniforming section ② can be obtained3The calculation formula of (2) is simplified as:
L3=L'3+acur×n3(78)
fig. 5 shows a schematic diagram of the remaining distance compensation of the S-shaped curve acceleration and deceleration control method. Based on the above analysis, it is known that entering the deceleration region III in advance will inevitably result in the remaining distance LrThe compensation is needed during the deceleration process, and the residual distance L needs to be compensatedrSatisfies the following conditions:
0≤Lr<Vm
let the remaining distance be LrThe current running distance is LcurThen for a period of any phase, the following relationship exists:
Lr=L-Lcur-Ldec(79)
current travel distance LcurComprises the following steps:
from the equation (79), if the total displacement L of motion is large, L obtained by calculation is calculatedrPossibly very large (L)r>Vm) In order to minimize the compensation period of the remaining distance, and also because of the period number n of the uniform velocity segment ④ during the stage division process4Is not specified and therefore can be compensated for using the constant velocity segment ④Number n of cycles of constant velocity segment ④4Every additional cycle, LcurWith a consequent increase in maximum speed VmThus leaving a distance LrIs compensated and continuously reduced. When the remaining distance is less than the maximum velocity value VmEntering a deceleration area III for deceleration processing, and the number n of the periods of the uniform speed segment ④4And is finally determined.
With appropriate pairs of positions L at any stage of the deceleration zone IIIrAnd (4) a processing method for performing one-time insertion compensation. From the above analysis, L is 0. ltoreq. Lr≤VmIf the remaining distance L isrAt maximum speed VmWith the lowest operating speed feIn the deceleration section, compensation is then performed. If the remaining distance LrIs less than the end speed feThen L will berSuperimposed on the last motion cycle for compensation.
An implementation flow chart of the S-shaped curve acceleration and deceleration control method shown in FIG. 6. The implemented process and steps include:
(1) initializing and dividing stages of the algorithm according to parameters input by a user;
(2) judgment of Lremain
1) If L isremain>0
a) If Vm>F
i) If n is3>0, jumping to an acceleration reducing section (5);
ii) otherwise, jumping to the uniform speed segment (6).
b) Otherwise, the current acceleration A needs to be adjustedcurAnd comparing the maximum acceleration A:
i) if Acur>A, jumping to a uniform acceleration section (4);
ii) otherwise jumping to the acceleration section (3).
2) Otherwise, it is necessary to n5、n6、n7The value of (a):
a) if n is5>0, entering an acceleration and deceleration section; otherwise, judging n6Whether greater than 0;
b) if n is6>0, entering a uniform deceleration section; otherwise, judging n7Whether greater than 0;
c) if n is7>0, entering a deceleration reducing section; otherwise, entering an end segment plan (13);
(3) add acceleration segment ① update the current acceleration value AcurCurrent velocity value Vcur、n1、n3Calculating L3And VmJumping to (10);
(4) uniform acceleration segment ② updating current jerk value JaccCurrent acceleration value AcurCurrent velocity value Vcur、n2Calculating L3And VmJumping to (10);
(5) deceleration acceleration segment ③ updating current acceleration value AcurCurrent velocity value Vcur、n1、n3Jumping to (10);
(6) uniform velocity segment ④ updating current jerk value JaccCurrent acceleration value AcurCurrent velocity value Vcur、n4Calculating LremainJumping to (12);
(7) acceleration and deceleration section ⑤ for updating current acceleration value AcurCurrent velocity value Vcur、n5Jumping to (11);
(8) uniform deceleration segment ⑥ updating current jerk value JdecCurrent acceleration value AcurCurrent velocity value Vcur、n6Jumping to (11);
(9) deceleration segment ⑦ updating current acceleration value AcurCurrent velocity value Vcur、n7Jumping to (11);
(10) calculating the deceleration distance LdecThe remaining distance Lremain、n5、n6、n7And JdecJumping to (12);
(11) judgment Vcur>LremainWhether the condition is met or not, if so, performing residual amount compensation; otherwise, jumping to (12);
(12) updating the current location LcurJumping to (1);
(13) and (4) planning an end section: recalculating residual distanceIs far from LremainAnd further judging:
1) if L isremain>feUpdate the current velocity value VcurRecalculating residual distance LremainThen updates the current position value LcurJumping to (13);
2) otherwise, compensating the residual distance at one time, and jumping to (14);
(14) the algorithm ends.
Fig. 7 is a flowchart illustrating initialization and phase division of the S-shaped curve acceleration/deceleration control method. The implemented process and steps include:
(1) initializing user input parameters;
(2) judging the remaining distance LremainAnd starting speed fsSize:
1) if L isremain>fsUpdate Vcur、Vm、LremainJumping to (3);
2) otherwise, L is updatedcurAnd VcurJumping to (6);
(3) for maximum feed speed F and initial speed FsAnd (3) carrying out size comparison:
1) if F is less than or equal to FsFor the remaining distance LremainAnd the current speed VcurAnd (3) comparing the sizes:
(i) If Lr <0, enter the end segment plan, jump to (6).
(ii) Otherwise, reassign the remaining distance Lremain、n5、n6、n7And JdecJumping to (4);
ii) otherwise, jumping to the end segment plan.
i) If Lr <0, jump to the end segment plan.
ii) if not, reassign the remaining distance Lremain、n5、n6、n7And JdecJumping to (5);
(4) need to keep the remaining distance LremainAnd the current speed VcurAnd (3) comparing the sizes:
1) if L isremain>VcurEntering a uniform speed area II and jumping to (6);
2) otherwise, entering a deceleration area III and jumping to the step (6);
(6) the initialization and phase division are ended.
Fig. 8 is a diagram of a finite state machine of an online target location change algorithm. The algorithm is realized based on the idea of a finite-state machine, and as shown in fig. 8, there are 4 states: an acceleration area I, a uniform speed area II, a deceleration area III and reverse motion compensation. According to the different forms of the trigger stage and the target position change, the corresponding processing modes are different, and the specific trigger stage and the processing mode comprise:
(1) when the acceleration area I triggers a request for changing the target position, the processing steps are as follows:
calculate the Path according to equation (81)Total remaining distance Lremain:
1) The target position becomes small:
i) if L isremain<0, updating the current target position and recalculating the deceleration distance LdecRecalculating residual distance Lr=Lremain-LdecRecalculating n5、n6、n7、JdecThe current state jumps to reverse motion compensation;
ii) if not, updating the current target position, and jumping to a deceleration area III in the current state;
2) and (5) directly updating the current target position and keeping the current state unchanged when the target position is increased.
(2) When the uniform velocity area II triggers a request for changing the target position, the processing steps are as follows:
the total remaining distance L of the path is calculated by the equation (81)remain:
1) The target position becomes small:
i) if L isremain<0, updating the current target position, and skipping to the reverse motion compensation in the current state;
ii) otherwise, updating the current target position and recalculating the deceleration distance LdecRecalculating residual distance Lr=Lremain-LdecRecalculating n5、n6、n7、JdecSkipping to a deceleration area III from the current state;
2) the target position becomes large:
i) if VcurAnd F, updating the current target position, and keeping the current state unchanged.
ii) otherwise, updating the current target position and recalculating Lr=Lremain-VcurRecalculating JaccThe current state jumps to a deceleration area I;
(3) when the deceleration area III triggers the request for changing the target position, the processing steps are as follows:
the total remaining distance L of the path is calculated by the equation (81)remain:
1) The target position becomes small:
i) if L isremain<0, moreThe new current target position and the current state jumps to the reverse motion compensation.
ii) ignoring the change target location request.
2) The target position is increased, the current target position is updated, and L is recalculatedr=Lremain-VcurRecalculating JaccThe current state jumps to the deceleration zone i.
Fig. 9 is a schematic diagram of a finite state machine of an online target speed changing algorithm. Changing the target speed online is also realized based on the idea of a finite state machine, and all the states include: an acceleration area I, a uniform speed area II and a deceleration area III. According to the different forms of the trigger stage and the target speed, the corresponding processing modes are different, and the processing procedures of various conditions are given as follows:
(1) the target speed becomes large:
1) if the current state is in the acceleration area I, updating the target speed, and keeping the current state unchanged;
2) if the current speed is in the uniform speed area II, calculating the distance L of the current speed accelerated to the new target speed1Then, the deceleration from the new target speed to the end speed f is calculatedeDistance L of2Finally, the current remaining distance L is calculatedr=L-Lcur-L1-L2
i) If L isr>0, recalculating the deceleration distance LdecRecalculating n5、n6、n7、JdecJumping to an acceleration area I;
ii) if not, ignoring the request for changing the target speed, and keeping the current state unchanged;
3) if the current speed is in the deceleration area III, calculating the distance L of the current speed accelerated to the new target speed1Then, the deceleration from the new target speed to the end speed f is calculatedeDistance L of2Finally, the current remaining distance L is calculatedr=L-Lcur-L1-L2
i) If L isr>0, recalculating the deceleration distance LdecRecalculating n5、n6、n7、JdecJumping to a deceleration area III;
ii) if not, ignoring the request for changing the target speed, and keeping the current state unchanged;
(2) the target speed becomes small:
calculating the distance L of the current speed to the new target speed1Then, the deceleration from the new target speed to the end speed f is calculatedeDistance L of2Finally, the current remaining distance L is calculatedr=L-Lcur-L1-L2
i) If L isr>0, recalculating the deceleration distance LdecRecalculating n5、n6、n7、JdecJumping to an acceleration area I;
ii) otherwise, ignoring the change target speed request, the current state is unchanged.
Fig. 10 is a simulation diagram of a displacement curve, a velocity curve and an acceleration curve of the proposed S-shaped curve acceleration and deceleration control method. The control method input parameters are set as follows: l2000 pulses, F100 pulses/sampling period, Fs0 pulses/sampling period, fe0 pulses/sampling period, and a 10 pulses/sampling period2D10 pulses/sampling period2,Jacc2 pulses/sampling period3,Jdec2 pulses/sampling period3Sampling period TsAs can be seen from FIG. 10, the maximum acceleration (deceleration) A (D) and the maximum speed F set by the user can be achieved due to the fact that the total movement L is long enough, the symmetrical acceleration A and deceleration D are set, and the symmetrical acceleration value and deceleration value are set at the same time, the S-shaped curve acceleration and deceleration shown by the simulation diagram comprises a complete 7-segment S-shaped curve acceleration and deceleration process, namely an acceleration segment ①, a uniform acceleration segment ②, a deceleration segment ③, a uniform velocity segment ④, an acceleration and deceleration segment ⑤, a uniform deceleration segment ⑥ and a deceleration segment ⑦, and the acceleration curve obtained by the S-shaped curve acceleration and deceleration control method is continuous and free of sudden change, smooth in speed curve, smooth in movement and small in impact, and can meet the requirements of high-speed and high-precision processing on acceleration and deceleration characteristics such as short running time, smooth in movement, no impact, high precision and the like。
Fig. 11 is a simulation diagram of a displacement curve, a velocity curve and an acceleration curve of the proposed S-shaped curve acceleration and deceleration control method. The control method input parameters are set as follows: 1000 pulses L, 100 pulses/sampling period F s0 pulses/sampling period, f e0 pulses/sampling period, and a 10 pulses/sampling period2D10 pulses/sampling period2,J acc2 pulses/sampling period3,J dec2 pulses/sampling period3 Sampling period T s1 millisecond. As can be seen from fig. 11, since the total movement displacement L is moderate, the maximum acceleration (deceleration) speed a (D) is reachable, while the maximum target speed F is not reachable, and symmetric acceleration a and deceleration D are set, and symmetric acceleration and deceleration values are set; the simulation graph shows that the acceleration curve obtained by the S-shaped curve acceleration and deceleration control method is continuous, has no sudden change and has a smooth speed curve.
Fig. 12 is a simulation diagram of a displacement curve, a velocity curve and an acceleration curve of the proposed S-shaped curve acceleration and deceleration control method. The input parameters of the manufacturing method are set as follows: 400 pulses L, 100 pulses/sampling period F s0 pulses/sampling period, f e0 pulses/sampling period, and a 10 pulses/sampling period2D10 pulses/sampling period2,J acc2 pulses/sampling period3,J dec2 pulses/sampling period3 Sampling period T s1 millisecond. As can be seen from fig. 12, since the total movement displacement L is small, neither the maximum acceleration (deceleration) a (D) nor the maximum target velocity F is reachable, and symmetrical acceleration a and deceleration D are set, and symmetrical jerk and jerk are set; the simulation graph shows that the acceleration curve obtained by the S-shaped curve acceleration and deceleration control method is continuous, has no sudden change and has a smooth speed curve.
Fig. 13 is a simulation diagram of a displacement curve, a velocity curve and an acceleration curve of the proposed S-shaped curve acceleration and deceleration control method. The input parameters of the manufacturing method are set as follows: l3000 pulses, F100 pulses/sampling period, F s1 pulse/sampling period, f e2 pulses/sampling period, a ═20 pulses/sampling period2D10 pulses/sampling period2,J acc5 pulses/sampling period3,J dec2 pulses/sampling period3 Sampling period T s1 millisecond. As can be seen from the simulation diagram of fig. 13, since the total movement displacement L is long enough, the maximum plus (minus) speed a (D) and the maximum target speed F set by the user can be achieved, and the control method input adopts asymmetric a and D and asymmetric JaccAnd Jdec(ii) a Additional starting speed fsAnd end speed feAll are not zero, the user can set according to different machine tools, and can also carry out parameter configuration according to the provided rule to obtain the best effect, and the device has good flexibility and flexibility. The simulated acceleration curve is continuous, has no sudden change, and the speed curve is smooth.
FIG. 14 is a simulation diagram of the algorithm displacement curve, velocity curve and acceleration curve of the proposed S-shaped curve acceleration and deceleration control method for changing the endpoint position on line. The input parameters of the manufacturing method are set as follows: original end position L is 3000 pulses, F is 50 pulses/sampling period, F s0 pulses/sampling period, f e0 pulse/sampling period, and a 5 pulse/sampling period2D5 pulses/sampling period2,J acc1 pulse/sampling period3,J dec1 pulse/sampling period3 Sampling period T s1 millisecond, when the change of the end position is triggered at the uniform speed stage, the new end position L 12000 pulses. As shown in fig. 14, the end point position L originally set by the user is 3000 pulses, and then when the current motion is in the uniform motion stage, the user triggers the end point position change request to change the new end point position L1When the current position at this time exceeds 2000 pulses, the control system receives a request for changing the end position from the user, and the process is as follows: first, the speed is instantly reduced to 0 from the current speed, then the reverse compensation processing is carried out, and finally the speed is accelerated reversely to a new end position. The displacement curve, the speed curve and the acceleration curve graph in the graph can be known, the obtained acceleration curve is continuous and has no abrupt change and the speed curve is smooth from the simulation graph,namely, the algorithm for changing the end point position on line by the S-shaped curve acceleration and deceleration control method is feasible; the algorithm can meet the requirement of a user on the change of the end point position of the numerical control equipment in the motion process, expand the functions of the numerical control system, improve the flexibility of the numerical control system and meet the application requirements of more user groups.
FIG. 15 is a simulation diagram of the S-shaped curve acceleration/deceleration control method for changing the displacement curve, velocity curve and acceleration curve of the target velocity algorithm on line. The input parameters of the manufacturing method are set as follows: end position L3000 pulses, F100 pulses/sampling period, F s0 pulses/sampling period, f e0 pulses/sampling period, and a 10 pulses/sampling period2D10 pulses/sampling period2,J acc2 pulses/sampling period3,J dec2 pulses/sampling period3Sampling period TsFor the first time, 1 ms triggers a change of the target speed to f in the acceleration phase 160, the second time in the uniform speed stage triggers the change of the target speed f 240. As can be seen from fig. 15, the target speed F originally set by the user is 100 pulses/sampling period, and the user triggers 2 requests to change the target speed at different stages in the current process of the movement. Since the current movement is in the acceleration phase when the first change target speed request is triggered, the new target speed can be directly assigned, so that the maximum target speed reached is 60 instead of 100 as originally set, as can be seen from the speed curve in the figure; the second request to change the target speed is that the current motion is in a constant speed phase (f)160) is triggered, and the response continues to the request to change the target speed again, since the remaining distance is still sufficient and the distance required to decelerate from the current speed (60) to the new target speed (40) and from the new target speed (40) to the end speed.
The simulation graph shows that the obtained acceleration curve is continuous, has no sudden change, and the speed curve is smooth, the S-shaped curve acceleration and deceleration control method is feasible for changing the target speed algorithm on line, and can realize the requirement of changing the speed for many times; the algorithm can meet the requirement of a user on the change of the target speed of the numerical control equipment in the motion process, expand the functions of the numerical control system, improve the flexibility of the numerical control system and meet the application requirements of more user groups.
Claims (10)
1. A S-shaped acceleration and deceleration control method for changing target speed and position on line is characterized in that aiming at user input parameters: total displacement L and initial speed f of movementsMaximum speed F, end speed FeMaximum acceleration A, maximum deceleration D, jerk JaccDeceleration rate JdecAnd interpolating the sampling period TsThe following operations are performed:
(1) firstly, initialization and stage division processing are carried out:
the S-shaped curve is subjected to acceleration/deceleration discretization processing by adopting a three-stage type stage division processing mode of an acceleration region I, a constant speed region II and a deceleration region III, and the method specifically comprises the following steps:
1) in the acceleration region I acceleration discretization processing process, the actual interpolation periods of an acceleration adding section ①, a uniform acceleration section ② and an acceleration reducing section ③ are respectively n according to the condition that whether the maximum acceleration A can reach the criterion or not1、n2、n3;
2) In the process of discretization processing of deceleration in the deceleration area III, the actual interpolation periods of the acceleration and deceleration section ⑤, the uniform deceleration section ⑥ and the deceleration section ⑦ are respectively n according to the condition that whether the maximum deceleration D can reach the criterion or not5、n6、n7;
3) The maximum speed value V which can be reached after passing through the deceleration and acceleration section ③ from the current speed and the current acceleration is calculated in advance in real time according to the acceleration adding section ① and the uniform acceleration section ②mWhile calculating the remaining distance L in real timerOnce it is predicted that V is satisfied at the same timem> F and Lr>VmIf the conditions are met, the next cycle enters the uniform speed segment ④, and the cycle number n of the uniform speed segment ④ follows4For each additional cycle, the current displacement LcurWith a consequent increase in maximum speed VmA distance of (1), a remaining distance LrContinuously reducing; when L isr<VmThen entering a deceleration area III for deceleration treatment, and the period number n of the uniform speed segment ④4Determining;
(2) and then, predicting an actual deceleration point, and judging the actual deceleration point by calculating a deceleration distance and a path residual distance in real time, wherein when the current acceleration and deceleration process is in an acceleration section ① or a uniform acceleration section ②, in order to ensure the continuity of the acceleration, the deceleration distance comprises the distance traveled by a deceleration area III, namely the displacement L of the acceleration and deceleration section ⑤5Displacement L of uniform deceleration section ⑥6And displacement L of the deceleration section ⑦7In addition, the displacement L of the acceleration reducing section ③ is also included3;
(3) According to the integral relation among the acceleration/deceleration j (t), the acceleration/deceleration a (t), the speed f (t) and the displacement s (t), carrying out real-time interpolation calculation of each section, and updating the current displacement value, the speed value, the acceleration value and the residual distance value in real time; and simultaneously, performing terminal discrimination processing before real-time interpolation calculation so as to ensure that the terminal position is accurately reached.
2. The S-shaped acceleration and deceleration control method for changing the target speed and position online according to claim 1, characterized in that: the acceleration/deceleration a (t), the speed f (t) and the displacement s (t) have the following relations with time:
in the formula (1), t is a time coordinate, tiThe method comprises the steps of representing transition point time of each motion stage, representing each motion stage in a speed planning process by i, wherein i is 1-7, i is an integer, dividing the motion process into 7 motion stages, namely an acceleration adding section ①, a uniform acceleration section ②, an acceleration reducing section ③, a uniform speed section ④, an acceleration and deceleration section ⑤, a uniform deceleration section ⑥ and a deceleration reducing section ⑦, and enabling tau to be zeroiRepresenting local time coordinates, i.e. τ, with the start of each motion phase as a time zeroi=t-ti-1I represents each motion stage in the speed planning process, i is 1-7, and i is an integer;
acceleration/deceleration j (t)i) Is a piecewise function with time as a variable:
in the formula (2), JiRepresenting the acceleration/deceleration of each motion phase, i represents each motion phase of the velocity planning process, i is 1-7, i is an integer, wherein J2=J4=J6=0;
Acceleration/deceleration a (t)i) Is a piecewise function with time as a variable, satisfying equation (3):
in the formula (3), a and D represent the maximum acceleration and the maximum deceleration input by the user, respectively;
the speed f (t)i) Is a piecewise function with time as a variable, satisfying equation (4):
in the formula (4), fiThe method comprises the steps of representing speed values reached by end points of all motion phases, wherein i represents all the motion phases in a speed planning process, i is 1-7, and i is an integer; f represents the maximum speed value which can be reached after the movement process is accelerated by the acceleration area, wherein the maximum speed value is equal to the input maximum speed; t isiRepresenting the movement time, T, of each movement phaseiFor a sampling period TsI represents each motion stage in the speed planning process, i is 1-7, and i is an integer;
the displacement s (t)i) Is a piecewise function with time as a variable, satisfying equation (5):
in the formula (5), siRepresenting the movement displacement amount when each movement stage is finished, wherein i represents each movement stage in the speed planning process, i is 1-7, and i is an integer;l represents the total displacement of motion; for the convenience of subsequent calculation, the calculation formula of the motion displacement in each stage can be calculated by the following equation system:
3. the S-shaped acceleration and deceleration control method for changing the target speed and position online according to claim 2, characterized in that: the maximum acceleration/deceleration limit is obtained from the maximum moment and force limit of the driving motor, and reflects the maximum acceleration and deceleration capacity of the numerical control servo system; the maximum acceleration/deceleration reflects the flexibility of the numerical control servo system and the acceleration time T1、T3、T5And T7In inverse proportion; assuming that the time required for the acceleration/deceleration to increase from 0 to the maximum and the time required for the acceleration/deceleration to decrease from the maximum to 0 are equal, the following equation sets:
in the formula (7), JaccAnd JdecRespectively representing the jerk value of the acceleration region i and the jerk value of the deceleration region iii.
4. The S-shaped acceleration and deceleration control method for changing the target speed and position online according to claim 3, characterized in that: the input of the S-shaped acceleration and deceleration control method allows setting asymmetric maximum acceleration A and maximum deceleration D; or inputting asymmetrical jerk JaccAnd deceleration Jdec(ii) a Or to set an asymmetrical starting speed fsAnd feAnd f issAnd feMay take a non-zero value.
5. The S-shaped acceleration and deceleration control method for changing the target speed and position online according to claim 4, characterized in that: the discretization processing process of the accelerating area I is as follows:
the acceleration region I comprises an acceleration adding section ①, a uniform acceleration section ② and an acceleration reducing section ③, and the interpolation period number n of the acceleration adding section ① is set1And the number n of interpolation periods of the deceleration acceleration section ③3The following relationships exist: n is3=n1-1 (8)
the sum of the speed increments for the plus acceleration segment ① and the minus acceleration segment ③ is calculated:
calculating the velocity f from the startsMaximum allowable speed increment to F: Δ Vamax=F-fs(14)
Thereby deducing the criterion whether the maximum acceleration A can be reached: if Δ Vacc≥ΔVamaxThen the maximum acceleration A in the acceleration and deceleration process can not be reached; otherwise, the maximum acceleration A can be reached;
a)ΔVacc≥ΔVamaxa is not reachable
And (3) correcting and recalculating the actual acceleration and the actual acceleration:
is calculated toNumber of interpolation cycles to smooth acceleration segment ② and deceleration segment ③:
b)ΔVacc<ΔVamaxa can reach
Calculating the velocity increment n of the even acceleration segment ②2×A (18)
The sum of the velocity increments DeltaV after passing through the acceleration region I can be obtained from the formula (13)amax:ΔVamax=(n1+n2)×A (19)
Let na=n1+n2Then equation (19) can be rewritten as: Δ Vamax=na×A (20)
actual acceleration ArealActual number of interpolation cycles of the acceleration section ①And actual jerk value
Therefore, the actual interpolation period number of the actual uniform acceleration section ② can be obtainedAnd actual number of interpolation cycles of the deceleration acceleration section ③
6. The S-shaped acceleration and deceleration control method for changing the target speed and position online according to claim 5, characterized in that: the discretization processing process of the deceleration area III is as follows:
the deceleration zone III comprises an acceleration and deceleration section ⑤, a uniform deceleration section ⑥ and a deceleration and deceleration section ⑦, and the number n of interpolation cycles of the acceleration and deceleration section ⑤ is set5And the number n of interpolation periods of the deceleration section ⑦7The following relationship is satisfied: n is7=n5-1 (25)
calculating the speed increment sum delta V of the acceleration and deceleration section ⑤ and the deceleration and deceleration section ⑦dec:
Calculating the deceleration from the maximum speed F to the end speed FeMaximum allowable speed increment Δ Vdmax:ΔVdmax=F-fe(28)
The criterion whether the maximum deceleration D can be reached is obtained by the calculation results of the equations (27) and (28): if Δ Vdec≥ΔVdmaxThen the maximum deceleration D in the acceleration and deceleration process can not be reached; otherwise, the maximum deceleration D can be reached;
a)ΔVdec≥ΔVdmaxd is unreachable
calculating the reality of the acceleration and deceleration segment ⑤Number of interpolation cycles
Calculating the actual number of interpolation cycles of the uniform deceleration section ⑥ and the deceleration section ⑦:
b)ΔVdec<ΔVdmaxand D can reach
Calculating the speed increment n of the uniform deceleration section ⑥6×D
The sum of the velocity increments Δ V after passing through the deceleration region III can be obtained from the equation (27)dmax:ΔVdmax=(n5+n6)×D (33)
Let nd=n5+n6Equation (33) may be rewritten as: Δ Vdmax=nd×D (34)
actual decelerationDegree DrealActual number of interpolation cycles in acceleration/deceleration section ⑤And actual deceleration-acceleration value
For the case of D reachable numbers, the actual interpolation period number calculation result at each stage is:
7. the S-shaped acceleration/deceleration control method of changing the target speed and position online according to claim 6, characterized in that: said maximum achievable speed VmThe calculation is specifically as follows:
to ensure that the maximum velocity V is reached at the end of the deceleration acceleration section ③mLess than or equal to the user-given maximum speed F, i.e. the inequality holds: vm≤F (39),
V in formula (39)mRepresenting the maximum speed value which can be reached in the process of reducing and accelerating from the current speed and the current acceleration; in order to ensure that the inequality (39) is true, it is necessary to add in advanceThe acceleration section ① and the uniform acceleration section ② calculate the speed value of the next period in real time, and once the calculated speed value of the next period is greater than the maximum speed F, the acceleration and deceleration process is switched to the deceleration and acceleration section ③ in the next period;
assume that during a certain current period of the jerk ① or jerk ②, the acceleration is acurAt a velocity of VcurBegins to enter the deceleration and acceleration section ③, and passes through the i-th period, the acceleration aiVelocity ViThe following relationships are associated with period i:
in the formula (40), the reaction mixture is,representing actual jerk value, i representing current cycle number, i ∈ [1, n3]I is an integer, so the maximum speed value reached after the end of the deceleration acceleration segment ③ is:
since the amount of calculation of equation (42) is relatively large, a simpler calculation method is derived:
in formula (44), V'mIndicating the maximum speed value that was achievable in the last cycle calculation.
2) V in uniform acceleration section ②mThe calculation formula of (2) is as follows: vm=V′m+acur(45)。
8. The S-shaped acceleration and deceleration control method for changing the target speed and position online according to claim 7, characterized in that: the actual deceleration point prediction judges the actual deceleration point by calculating the deceleration distance and the path remaining distance in real time, and once the fact that the remaining distance of the next interpolation period is smaller than the deceleration distance is known, the next interpolation period is shifted to a deceleration area III, which is specifically as follows:
when the current acceleration and deceleration process is in the acceleration section ① or the uniform acceleration section ②, in order to ensure the continuity of the acceleration, the deceleration distance includes the distance traveled by the deceleration region iii, i.e., the displacement L of the acceleration and deceleration section ⑤n5Displacement L of uniform deceleration section ⑥n6And displacement L of the deceleration section ⑦n7In addition, the displacement L of the acceleration reducing section ③ is also includedn3;
finally obtaining the simplified deceleration distance LdecThe iterative calculation formula is:
in the formula (69), Ln5Indicating the displacement, L, of the acceleration-deceleration section ⑤n6Indicating the displacement, L, of the uniform deceleration section ⑥n7Indicating the displacement, V, of the deceleration section ⑦mRepresents the maximum speed value reached after the end of the deceleration section ③;
2) displacement L of the deceleration acceleration section ③3Simplifying the calculation formula:
l 'in formula (76)'3Value L representing the last cycle3,VcurSpeed value representing the current cycle, acurIndicates the acceleration value of the current cycle,representing an actual jerk value;
b) l of uniform acceleration section ②3The iterative calculation formula of (2): l is3=L'3+acur×n3(78)
L 'in formula (78)'3Value L representing the last cycle3。
9. The S-shaped acceleration/deceleration control method of changing the target speed and position online according to claim 8, characterized in that: the residual distance compensation mode is realized by adopting a mode of one-time compensation at a proper position at any stage of the deceleration area III, and specifically comprises the following steps:
the actual deceleration point is judged in real time through calculation of the deceleration distance, the actual deceleration point is advanced from the theoretical deceleration point, the speed planning is finished after the deceleration section is finished due to the fact that the actual deceleration point is artificially advanced, the residual distance is not equal to 0, and the residual distance needs to be compensated in a deceleration area III; let the remaining distance be LrThe current running distance is LcurThen for a period of any phase, the following relationship exists: l isr=L-Lcur-Ldec(79)
In the formula (79), L represents the total displacement of the movement, LdecRepresenting a deceleration distance; and the current travel distance may be calculated by:
in the formula (80), niThe interpolation period number of each motion stage is represented, i represents each motion stage in the speed planning process, i is 1-7, and i is an integer; vjRepresenting each motion phase niJ represents all values of the interpolation period number in each motion phase, j is 1 to niJ is an integer; if the total movement displacement L is large, calculating the obtained LrGreater than the actual maximum speed V achievablemIn order to minimize the compensation period of the remaining distance, and due to the phaseIn the dividing process, the interpolation period number n of the uniform speed segment ④4Is not specified, so the constant speed section can be used for compensation; interpolating the number of cycles n along with the uniform speed section4Every additional cycle, LcurWith a consequent increase in maximum speed VmThus leaving a distance LrIs compensated and continuously reduced; when the remaining distance is less than the maximum velocity value VmEntering a deceleration area III; from the above analysis, L is 0. ltoreq. Lr≤VmIf the remaining distance L isrAt maximum speed VmAnd end speed feThen compensation is performed in the deceleration section; if the remaining distance LrIs less than the end speed feThen L will berSuperimposed on the last motion cycle for compensation.
10. The S-shaped acceleration and deceleration control method for changing the target speed and position online according to claim 2, characterized in that: the online target position changing is realized based on the idea of a finite state machine, and all the states comprise: an acceleration area I, a uniform speed area II, a deceleration area III and reverse motion compensation; the request for changing the target position for multiple times can be realized;
the online change target speed is realized based on a finite state machine, and all the states comprise: an acceleration area I, a uniform speed area II and a deceleration area III; changing the target speed on-line must ensure accurate arrival of the target position, otherwise ignoring the shift request, so responding to the shift request is conditional; a request to change the target speed a plurality of times in succession may be implemented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610116683.6A CN106168790B (en) | 2016-02-29 | 2016-02-29 | S-shaped acceleration and deceleration control method for changing target speed and position on line |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610116683.6A CN106168790B (en) | 2016-02-29 | 2016-02-29 | S-shaped acceleration and deceleration control method for changing target speed and position on line |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106168790A CN106168790A (en) | 2016-11-30 |
CN106168790B true CN106168790B (en) | 2020-08-18 |
Family
ID=57358875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610116683.6A Expired - Fee Related CN106168790B (en) | 2016-02-29 | 2016-02-29 | S-shaped acceleration and deceleration control method for changing target speed and position on line |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106168790B (en) |
Families Citing this family (67)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180082115A (en) * | 2017-01-10 | 2018-07-18 | 한화에어로스페이스 주식회사 | Method for generating motion profile using S-curve and Computing device |
JP6474435B2 (en) * | 2017-01-25 | 2019-02-27 | ファナック株式会社 | Machine tool control apparatus and control method for controlling synchronous operation of main shaft and feed shaft |
CN106945042B (en) * | 2017-03-29 | 2019-05-28 | 浙江工业大学 | A kind of discrete S type curve speed control method of manipulator |
WO2018195689A1 (en) * | 2017-04-24 | 2018-11-01 | 深圳配天智能技术研究院有限公司 | S-type velocity planning method, device and system, and robot and numerical control machine tool |
CN107436555B (en) * | 2017-07-28 | 2019-12-13 | 珞石(山东)智能科技有限公司 | Non-zero initial state S-shaped stopping curve speed rule and online solving method thereof |
CN107390695B (en) * | 2017-08-10 | 2020-11-24 | 三一海洋重工有限公司 | Crane motion trajectory planning method and device |
CN107351087A (en) * | 2017-08-29 | 2017-11-17 | 成都乐创自动化技术股份有限公司 | A kind of crawl response control mehtod and system |
CN109596850A (en) * | 2017-09-30 | 2019-04-09 | 深圳迈瑞生物医疗电子股份有限公司 | The control method and sample analyser of sample loading disk |
CN107765648B (en) * | 2017-10-13 | 2020-01-10 | 山东大学 | CNC machining feeding speed planning method and device |
CN107741731B (en) * | 2017-10-16 | 2020-02-14 | 深圳市合信自动化技术有限公司 | Error processing method caused by S-curve calculation precision |
CN107671859B (en) * | 2017-10-20 | 2018-11-02 | 山东大学 | Moving target Dynamic Tracking, system and device based on S curve acceleration and deceleration |
CN108153246B (en) * | 2017-12-26 | 2020-07-10 | 哈工大机器人(合肥)国际创新研究院 | Parameter self-adaptive S-shaped speed planning interpolation method based on designated speed |
CN108380838B (en) * | 2018-02-27 | 2021-04-23 | 首钢京唐钢铁联合有限责任公司 | Pulling speed control method for continuous casting pouring |
CN108319300A (en) * | 2018-03-07 | 2018-07-24 | 深圳市雷赛软件技术有限公司 | The progress control method and device of executing agency |
CN108388206B (en) * | 2018-03-07 | 2020-11-24 | 深圳市汇川技术股份有限公司 | Real-time dynamic programming method and system for feed speed |
CN110365280A (en) * | 2018-04-03 | 2019-10-22 | 东元电机股份有限公司 | Motor control system and its method |
CN108847807B (en) * | 2018-06-28 | 2021-03-05 | 广州视源电子科技股份有限公司 | Method, device and equipment for planning motion trail of motor and storage medium |
CN108628259B (en) * | 2018-07-12 | 2021-03-12 | 贵阳合众精密机械制造有限公司 | Acceleration and deceleration movement control method for rigid tapping of drilling and tapping center |
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 |
CN108958169B (en) * | 2018-07-27 | 2021-04-06 | 山东大学 | PVT control method based on S curve |
CN110377065B (en) * | 2018-08-24 | 2022-11-08 | 北京京东乾石科技有限公司 | Speed control method, apparatus and computer readable storage medium |
CN109240359B (en) * | 2018-08-29 | 2021-05-18 | 浙江工业大学 | Speed planning method for picking and placing components by suction nozzle of chip mounter head |
CN110175339B (en) * | 2018-09-20 | 2023-01-10 | 北京神工科技有限公司 | Optimal time distribution method and device for S-type acceleration and deceleration |
JP6966415B2 (en) * | 2018-12-26 | 2021-11-17 | ファナック株式会社 | Control method, control device and program |
CN109861621A (en) * | 2019-03-08 | 2019-06-07 | 杭州中冠瀚明科技有限公司 | The high accuracy positioning hovering method and control system of cementing machine trolley |
CN109991934B (en) * | 2019-03-10 | 2021-02-09 | 天津大学 | Time-optimal online S-type acceleration and deceleration planning method |
CN110000794B (en) * | 2019-05-06 | 2022-08-23 | 江苏集萃智能制造技术研究所有限公司 | Truncation type asymmetric speed planning method based on cooperative robot |
CN110244789B (en) * | 2019-05-21 | 2022-11-25 | 南京理工大学 | Method for reducing walking impact of material box |
CN110286653A (en) * | 2019-06-14 | 2019-09-27 | 杭州爱科科技股份有限公司 | Speed calculation method for arbitrary curve movement S feed speed control |
CN110450166B (en) * | 2019-08-22 | 2022-10-14 | 上海新时达机器人有限公司 | Corner acceleration optimization method and device based on S-shaped curve robot transition track planning |
CN111060150B (en) * | 2019-12-05 | 2021-04-20 | 南京航空航天大学 | Motion carrier monitoring method based on MEMS acceleration sensor and air pressure sensor |
CN113031508A (en) * | 2019-12-09 | 2021-06-25 | 北京精雕科技集团有限公司 | Machine tool soft limiting implementation method combining position protection and speed protection |
CN111045461B (en) * | 2019-12-19 | 2023-05-16 | 浙江博尼时尚控股集团有限公司 | Continuous small line segment discrete speed control method for cutting bed |
CN111158318B (en) * | 2020-01-16 | 2022-10-18 | 江南大学 | Flexible acceleration and deceleration planning method for asymmetric quartic curve |
CN111245332B (en) * | 2020-01-18 | 2022-05-24 | 南京岸鸣智能科技有限公司 | Motor speed control method and control system |
CN113156926B (en) * | 2020-01-22 | 2024-05-17 | 深圳市优必选科技股份有限公司 | Method for establishing finite state machine of robot, finite state machine and robot |
CN111482601B (en) * | 2020-03-27 | 2022-02-22 | 陕西天元智能再制造股份有限公司 | Coaxial powder feeding 3D laser printing control method for inhibiting acceleration and deceleration printing of high points |
CN111487930B (en) * | 2020-04-24 | 2022-08-05 | 东莞市精驰软件有限公司 | Motion control system, method and device based on symmetric graph replacement technology, machine tool and storage medium |
CN111562766B (en) * | 2020-05-08 | 2023-06-02 | 重庆科技学院 | Cross sliding table performance simulation control method, system, storage medium and computer |
CN113671898B (en) * | 2020-05-14 | 2023-12-08 | 大族激光科技产业集团股份有限公司 | Numerical control machining method, system, computer equipment and storage medium |
CN113885443B (en) * | 2020-07-01 | 2023-11-21 | 大族激光科技产业集团股份有限公司 | Linear acceleration and deceleration control method based on piecewise filtering and jerk limiting |
CN114077226B (en) * | 2020-08-11 | 2023-10-27 | 大族激光科技产业集团股份有限公司 | S-shaped curve speed planning method, control terminal and computer readable storage medium |
CN112078631B (en) * | 2020-08-31 | 2022-08-12 | 通号城市轨道交通技术有限公司 | Train speed control method and system |
CN112277273A (en) * | 2020-10-10 | 2021-01-29 | 深圳市山龙智控有限公司 | Advanced speed changing method and device based on mechanical arm of injection molding machine |
CN112327954B (en) * | 2020-11-14 | 2021-11-26 | 大连理工大学 | High-precision positioning method for linear motor controlled by asymmetric S-shaped speed curve |
CN112255913B (en) * | 2020-11-14 | 2021-08-10 | 大连理工大学 | Flexible speed planning method for optimal flight shooting efficiency |
CN112532146B (en) * | 2020-11-16 | 2023-02-28 | 深圳市科曼医疗设备有限公司 | Acceleration and deceleration motion control method, device, equipment and medium |
CN112476438B (en) * | 2020-12-11 | 2022-07-29 | 深圳市越疆科技有限公司 | Mechanical arm obstacle avoidance method and device, mechanical arm and robot |
CN113031525B (en) * | 2021-03-03 | 2022-06-21 | 福州大学 | Polynomial acceleration and deceleration motion control method and device applied to numerical control machining |
CN113186665B (en) * | 2021-04-02 | 2022-09-06 | 浙江工业大学 | Smooth speed planning control method of sewing servo motor |
CN113156894B (en) * | 2021-04-07 | 2021-10-01 | 东莞普莱信智能技术有限公司 | Speed planning method for chip packaging control and chip packaging control device |
CN113307164B (en) * | 2021-06-01 | 2022-06-03 | 中联重科股份有限公司 | Steady speed regulation control method and device, rotation system, crane and electronic equipment |
CN113359620B (en) * | 2021-06-15 | 2022-03-15 | 深圳市旗众智能科技有限公司 | Soft limit control method for shaft motion and open type motion controller based on RTX64 |
CN113467466A (en) * | 2021-07-22 | 2021-10-01 | 珠海格力电器股份有限公司 | Industrial robot control method and device and industrial robot |
CN114200892B (en) * | 2021-11-01 | 2024-07-05 | 苏州谋迅智能科技有限公司 | Method and device for smooth output of interactive input device, storage medium and device |
CN114212631B (en) * | 2021-11-04 | 2023-11-14 | 深圳市海浦蒙特科技有限公司 | Elevator operation control method and device, elevator and computer readable storage medium |
CN114019904B (en) * | 2021-11-09 | 2024-05-17 | 深圳市英威腾电气股份有限公司 | Motion control method, system and device |
CN114995533A (en) * | 2022-05-25 | 2022-09-02 | 广东美的厨房电器制造有限公司 | Control method and control device of wine mixing machine, readable storage medium and wine mixing machine |
CN115145170B (en) * | 2022-06-29 | 2024-10-01 | 合肥安达创展科技股份有限公司 | Stereo garage simulation operation control method and system |
CN115016559B (en) * | 2022-08-04 | 2022-12-02 | 深圳市杰美康机电有限公司 | Full closed loop multi-path planning line feeding method and device |
CN115993854B (en) * | 2023-03-21 | 2024-05-10 | 上海果纳半导体技术有限公司 | SMIF (SMIF) open-close device control method, SMIF open-close device control device and storage medium |
CN116020031B (en) * | 2023-03-27 | 2023-06-27 | 广州国家实验室 | Constant volume control method, system and device for breathing machine and storage medium |
CN116483025B (en) * | 2023-04-23 | 2024-03-22 | 赛诺威盛科技(北京)股份有限公司 | Data acquisition system and method in flying focus mode, electronic equipment and medium |
CN116577994B (en) * | 2023-06-25 | 2024-02-27 | 英孚康(浙江)工业技术有限公司 | Redundant fault-tolerant asymmetric S-shaped flexible speed curve self-adaptive planning method |
CN117324685A (en) * | 2023-09-25 | 2024-01-02 | 中冶南方工程技术有限公司 | Control method and system for strip steel transverse cutting unit chasing shear |
CN117891210B (en) * | 2024-03-14 | 2024-06-25 | 济南邦德激光股份有限公司 | Motion control method and device based on maximum achievable speed of S-curve acceleration and deceleration |
CN118316353B (en) * | 2024-04-24 | 2024-09-24 | 韩山师范学院 | Sectional intelligent toilet lid motion control method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050077857A1 (en) * | 2003-09-05 | 2005-04-14 | Siemens Aktiengesellschaft | Method for controlling a rotation speed of a slave drive, a corresponding controller and a corresponding machine |
CN1971457A (en) * | 2005-11-25 | 2007-05-30 | 中国科学院沈阳计算技术研究所有限公司 | Speed control method used for numerical control machine |
CN102722140A (en) * | 2012-06-21 | 2012-10-10 | 中国科学院数学与系统科学研究院 | Multi-period corner small straight-line segment interpolation method based on S curve acceleration/deceleration control |
CN103713581A (en) * | 2013-12-12 | 2014-04-09 | 南京工程学院 | Method for realizing S curve acceleration and deceleration of motion control system |
-
2016
- 2016-02-29 CN CN201610116683.6A patent/CN106168790B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050077857A1 (en) * | 2003-09-05 | 2005-04-14 | Siemens Aktiengesellschaft | Method for controlling a rotation speed of a slave drive, a corresponding controller and a corresponding machine |
CN1971457A (en) * | 2005-11-25 | 2007-05-30 | 中国科学院沈阳计算技术研究所有限公司 | Speed control method used for numerical control machine |
CN102722140A (en) * | 2012-06-21 | 2012-10-10 | 中国科学院数学与系统科学研究院 | Multi-period corner small straight-line segment interpolation method based on S curve acceleration/deceleration control |
CN103713581A (en) * | 2013-12-12 | 2014-04-09 | 南京工程学院 | Method for realizing S curve acceleration and deceleration of motion control system |
Non-Patent Citations (1)
Title |
---|
基于加减速时间控制的S形速度规划新算法研究;郑仲谦等;《机电工程》;20140430;第31卷(第4期);第425-430页第0-5节及图1-8 * |
Also Published As
Publication number | Publication date |
---|---|
CN106168790A (en) | 2016-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106168790B (en) | S-shaped acceleration and deceleration control method for changing target speed and position on line | |
CN101853013B (en) | Acceleration and deceleration control method for high speed machining of numerical control machine | |
CN102722140B (en) | Multi-period corner small straight-line segment interpolation method based on S curve acceleration/deceleration control | |
CN102540978B (en) | High-speed processing-oriented surface quality preferred spline real-time interpolation method | |
CN104160617B (en) | Control device of electric motor | |
CN107765648B (en) | CNC machining feeding speed planning method and device | |
CN107844058B (en) | Motion curve discrete dynamic planning method | |
CN108153246B (en) | Parameter self-adaptive S-shaped speed planning interpolation method based on designated speed | |
US20110035028A1 (en) | Acceleration/deceleration control device | |
CN112965443B (en) | High-precision interpolation control method for corner trajectory tracking of cutting bed | |
CN109313429B (en) | S-shaped speed planning method, device and system, robot and numerical control machine | |
JP2007094936A (en) | Numerical value controller | |
CN116300698A (en) | Thread cutting machining method based on dynamic programming | |
CN111727411A (en) | Equipment motion control method, equipment and storage device | |
CN103163838A (en) | Control method for acceleration and deceleration of numerical control machine tool | |
JPH0969006A (en) | Curve interpolating method for speed control at connecting operation of robot | |
CN113189938A (en) | Speed curve planning method for continuous machining path | |
CN113311783A (en) | S-shaped motion curve planning method and system | |
CN105278462A (en) | Acceleration-deceleration interpolation algorithm for robot control system trajectory | |
CN111487930B (en) | Motion control system, method and device based on symmetric graph replacement technology, machine tool and storage medium | |
JP2007279899A (en) | Numerical control apparatus | |
JP2000148223A (en) | Curve interpolation acceleration and deceleration control method | |
KR100408821B1 (en) | Apparatus and method for controlling numerical of high process | |
CN114995282A (en) | Control method and system for continuous track instruction and related components | |
KR102491234B1 (en) | An apparatus and method for generating sinusoidal motion profile |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200818 |
|
CF01 | Termination of patent right due to non-payment of annual fee |