# US 2010/0063603 A1 · Adapting Move Constraints for Position Based Moves in a Trajectory Generator

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0063603 A1
- Document ID: US20100063603A1
- Status: Published application
- Kind: A1
- Application number: 12/206,028
- Filed: 2008-09-08
- Published: 2010-03-11
- Earliest claimed: 2008-09-08
- Assignees: National Instruments Corporation
- Inventors: Sundeep Chandhoke
- Web page: https://patentgrep.com/patent/US20100063603A1

## CPC

- G05B 19/40937: {concerning programming of machining or material parameters, pocket machining}
- G05B 19/416: characterised by control of velocity, acceleration or deceleration (G05B19/19 takes precedence)
- G05B 2219/35585: Motion command profile
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

Adapting move constraints for position based moves in a trajectory generator. Specification of a trajectory may be received. The specification may include a geometry of the trajectory, where the geometry specifies a desired trajectory length. A plurality of constraints for the trajectory may be received. The plurality of constraints may include one or more of a velocity, acceleration, or jerk constraint. A motion control profile may be generated based on the plurality of constraints. The method may include determining if a distance of the motion control profile exceeds the desired trajectory length. If the distance of the motion control profile exceeds the desired trajectory length, one or more values of the plurality of constraints may be decreased to make the distance of the motion control profile less than or equal to the desired trajectory length.

## Claims

### Claim 1

A method for generating a trajectory for motion control, comprising:
receiving specification of the trajectory, wherein said receiving the specification comprises receiving a geometry of the trajectory, wherein the geometry specifies a desired trajectory length;
receiving a plurality of constraints for the trajectory, wherein the plurality of constraints comprise one or more of a velocity, acceleration, deceleration, jerk acceleration, or jerk deceleration constraint;
generating a motion control profile based on the plurality of constraints;
determining if a distance of the motion control profile exceeds the desired trajectory length;
if the distance of the motion control profile exceeds the desired trajectory length:
decreasing one or more values of the plurality of constraints for the trajectory to make the distance of the motion control profile less than or equal to the desired trajectory length.

### Claim 2 (depends on 1)

The method of claim 1, wherein said determining if the distance of the motion control profile exceeds the desired trajectory length comprises:
determining a plurality of distance equations based on the motion control profile, wherein the plurality of distance equations each specify distance based on one or more of the plurality of constraints; and
determining if the sum of the distance equations is greater than the desired trajectory length.

### Claim 3 (depends on 1)

The method of claim 1, wherein said receiving the specification and said receiving the plurality of constraints is from a user.

### Claim 4 (depends on 1)

The method of claim 1, wherein the plurality of constraints comprise: velocity, acceleration, deceleration, acceleration jerk, and deceleration jerk.

### Claim 5 (depends on 1)

The method of claim 1, wherein said generating the motion control profile comprises using an s-curve algorithm.

### Claim 6 (depends on 5)

The method of claim 5, wherein said determining if the distance of the motion control profile exceeds the desired trajectory length comprises:
determining a plurality of kinematic equations for the s-curve trajectory, wherein the plurality of kinematic equations comprise:
t
1
=
A
max
/
J
a
=
t
3
t
2
=
V
max
-
V
ini
A
max
-
A
max
J
a
t
5
=
D
max
/
J
d
=
t
7
t
6
=
V
max
-
V
fin
D
max
-
D
max
J
d

### Claim 7 (depends on 6)

The method of claim 6, wherein said determining if the distance of the motion control profile exceeds the desired trajectory length comprises:
determining if equation 1,
V
max
-
V
ini
A
max
<
A
max
J
a
is true;
if the equation 1 is true, reducing Amax until the equation 1 is not true.

### Claim 8 (depends on 6)

The method of claim 6, wherein said determining if the distance of the motion control profile exceeds the desired trajectory length comprises:
determining if equation 2,
V
max
-
V
fin
D
max
<
D
max
J
d
is true;
if the equation 2 is true, reducing Dmax until the equation 2 is not true.

### Claim 9 (depends on 6)

The method of claim 6, wherein said determining if the distance of the motion control profile exceeds the desired trajectory length comprises:
determining the sum of a plurality of distance equations for the motion control profile, wherein the plurality of distance equations comprise:
s
1
=
1
6

Ja
·
t
1
3
+
V
ini
·
t
1
s
2
=
1
2

Ja
·
(
t
1
2
·
t
2
+
t
2
2
·
t
1
)
+
V
ini
·
t
2
s
3
=
Ja
·
(
t
1
2
·
t
2
+
5
6

t
1
3
)
+
V
ini
·
t
1
s
5
=
Jd
·
(
t
5
2
·
t
6
+
5
6

t
5
3
)
+
V
fin
·
t
5
s
6
=
1
2

Jd
·
(
t
5
2
·
t
6
+
t
6
2
·
t
5
)
+
V
fin
·
t
6
s
7
=
1
6

Jd
·
t
5
3
+
V
fin
·
t
5

### Claim 10 (depends on 9)

The method of claim 9, wherein said decreasing one or more values of the plurality of constraints comprises:
reducing the acceleration Am such that s1 and s3 cover less than half of the desired trajectory length; and
reducing the deceleration Dm such that s5 and s6 cover less than half of the desired trajectory length.

### Claim 11 (depends on 10)

The method of claim 10, wherein the method further comprises:
if the distance of the motion control profile exceeds the desired trajectory length, after said reducing the acceleration and said reducing the deceleration:
reducing the maximum velocity (Vmax), acceleration jerk (Ja), and/or deceleration jerk (Jd) until the motion control profile is less than or equal to the desired trajectory length.

### Claim 12

A computer accessible memory medium storing program instructions for generating a trajectory for motion control, wherein the program instructions are executable to:
receive specification of the trajectory, wherein said receiving the specification comprises receiving a geometry of the trajectory, wherein the geometry specifies a desired trajectory length;
receive a plurality of constraints for the trajectory, wherein the plurality of constraints comprise one or more of a velocity, acceleration, or jerk constraint;
generate a motion control profile based on the plurality of constraints;
determine if a distance of the motion control profile exceeds the desired trajectory length;
if the distance of the motion control profile exceeds the desired trajectory length:
decrease one or more values of the plurality of constraints for the trajectory to make the distance of the motion control profile less than or equal to the desired trajectory length.

### Claim 13 (depends on 12)

The memory medium of claim 12, wherein said determining if the distance of the motion control profile exceeds the desired trajectory length comprises:
determining a plurality of distance equations based on the motion control profile, wherein the plurality of distance equations each specify distance based on one or more of the plurality of constraints; and
determining if the sum of the distance equations is greater than the desired trajectory length.

### Claim 14 (depends on 12)

memory medium of claim 12, wherein the plurality of constraints comprise: velocity, acceleration, deceleration, acceleration jerk, and deceleration jerk.

### Claim 15 (depends on 12)

memory medium of claim 12, wherein said generating the motion control profile comprises using an s-curve algorithm.

### Claim 16 (depends on 15)

The memory medium of claim 15, wherein said determining if the distance of the motion control profile exceeds the desired trajectory length comprises:
determining a plurality of kinematic equations for the motion control profile, wherein the plurality of kinematic equations comprise:
t
1
=
A
max
/
J
a
=
t
3
t
2
=
V
max
-
V
ini
A
max
-
A
max
J
a
t
5
=
D
max
/
J
d
=
t
7
t
6
=
V
max
-
V
fin
D
max
-
D
max
J
d

### Claim 17 (depends on 16)

The memory medium of claim 16, wherein said determining if the distance of the motion control profile exceeds the desired trajectory length comprises:
determining if equation 1,
V
max
-
V
ini
A
max
<
A
max
J
a
is true;
if the equation 1 is true, reducing Amax until the equation 1 is not true.

### Claim 18 (depends on 16)

The memory medium of claim 16, wherein said determining if the distance of the motion control profile exceeds the desired trajectory length comprises:
determining if equation 2,
V
max
-
V
fin
D
max
<
D
max
J
d
is true;
if the equation 2 is true, reducing Dmax until the equation 2 is not true.

### Claim 19 (depends on 16)

The memory medium of claim 16, wherein said determining if the distance of the motion control profile exceeds the desired trajectory length comprises:
determining the sum of a plurality of distance equations for the motion control profile, wherein the plurality of distance equations comprise:
s
1
=
1
6

Ja
·
t
1
3
+
V
ini
·
t
1
s
2
=
1
2

Ja
·
(
t
1
2
·
t
2
+
t
2
2
·
t
1
)
+
V
ini
·
t
2
s
3
=
Ja
·
(
t
1
2
·
t
2
+
5
6

t
1
3
)
+
V
ini
·
t
1
s
5
=
Jd
·
(
t
5
2
·
t
6
+
5
6

t
5
3
)
+
V
fin
·
t
5
s
6
=
1
2

Jd
·
(
t
5
2
·
t
6
+
t
6
2
·
t
5
)
+
V
fin
·
t
6
s
7
=
1
6

Jd
·
t
5
3
+
V
fin
·
t
5

### Claim 20 (depends on 19)

The memory medium of claim 19, wherein said decreasing one or more values of the plurality of constraints comprises:
reducing the acceleration Am such that s1 and s3 cover less than half of the desired trajectory length; and
reducing the deceleration Dm such that s5 and s6 cover less than half of the desired trajectory length.

### Claim 21 (depends on 20)

The memory medium of claim 20, wherein the method further comprises:
if the distance of the motion control profile exceeds the desired trajectory length, after said reducing the acceleration and said reducing the deceleration:
reducing the maximum velocity (Vmax), acceleration jerk (Ja), and/or deceleration jerk (Jd) until the motion control profile is less than or equal to the desired trajectory length.

### Claim 22

A system, comprising:
a processor; and
a memory medium storing program instructions for generating a trajectory for motion control, wherein the program instructions are executable by the processor to:
receive specification of the trajectory, wherein said receiving the specification comprises receiving a geometry of the trajectory, wherein the geometry specifies a desired trajectory length;
receive a plurality of constraints for the trajectory, wherein the plurality of constraints comprise one or more of a velocity, acceleration, or jerk constraint;
generate a motion control profile based on the plurality of constraints;
determine if a distance of the motion control profile exceeds the desired trajectory length;
if the distance of the motion control profile exceeds the desired trajectory length:
decrease one or more values of the plurality of constraints for the trajectory to make the distance of the motion control profile less than or equal to the desired trajectory length.
