B12 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

B1 · Lesson 2 · Kinematics with calculus

Motion profiles for motors, elevators and print heads

A 3D printer's head, a hard drive's arm and a factory robot all have to move from one spot to another as fast as possible without exceeding their motor's limits. The controller plans a motion profile: speed up at the largest acceleration the motor can give, cruise at the top speed, and slow down to land exactly on target. Planning one is pure kinematics, but with accelerations that change partway through, so the constant-acceleration formulas of lesson 1 aren't enough. Calculus is: velocity is the area under acceleration, and distance is the area under velocity.

  • The curve is the speed of a carriage that accelerates at a, cruises at vmax and decelerates at a to stop at time T. The shaded area is the distance covered.
  • Lower vmax: the cruise gets longer and the move covers less ground in the same time.
  • Raise vmax until the profile becomes a triangle. What limits the move now?

Predict

A carriage accelerates at 2 m/s² up to 1 m/s, cruises, then brakes at 2 m/s² to a stop, taking 2 s in all. How far does it go?

Name it

Rates and areas

Position x(t), velocity v(t) and acceleration a(t) are linked by derivatives and integrals (A5):

v=dxdta=dvdtv(t)=v0+∫0tadt′x(t)=x0+∫0tvdt′

On graphs: velocity is the slope of the position curve, and the distance covered is the area under the velocity curve. The constant-acceleration formulas are the special case a= constant:

v=v0+atx=x0+v0t+12at2v2=v02+2a(x−x0)

Piecewise motion

When the acceleration changes in steps, apply the constant-acceleration formulas to each stretch, starting each one from where the last ended. A trapezoidal profile with acceleration a, top speed vmax and distance d:

  • ramp time tr=vmaxa, ramp distance vmax22a each way;
  • if d>vmax2a the speed reaches vmax, and the move takes T=dvmax+vmaxa;
  • otherwise the profile is a triangle that peaks at ad, taking T=2d/a.

Changing acceleration

When a varies continuously, integrate. Jerk, dadt, is limited in smooth motion systems (S-curve profiles), because sudden changes in acceleration shake the machine. A velocity is largest where the acceleration passes through zero.

Worked example

A carriage must move 1.5 m with a=2 m/s² and vmax=1 m/s. How long does the move take?

Show the solution
  1. The ramps. Each ramp takes 0.5 s and covers 122×2=0.25m
  2. The cruise. The remaining 1.0 m at 1 m/s takes 1 s.
  3. Total time. 0.5+1+0.5=2.0s
  4. Check with the formula. T=dvmax+vmaxa=1.5+0.5=2.0s

Answer the move takes 2.0 s.

Worked example

A vehicle starts from rest with acceleration a(t)=6−2t m/s². Find its speed and position at t=3 s.

Show the solution
  1. Speed. Integrate the acceleration from rest: v=∫0t(6−2t′)dt′=6t−t2v(3)=9m/s
  2. Position. Integrate the speed: x=∫0t(6t′−t′2)dt′=3t2−t33x(3)=27−9=18m
  3. Top speed. At t=3 s the acceleration is zero, so 9 m/s is the top speed.

Answer at 3 s the vehicle is at its top speed of 9 m/s and has gone 18 m.

Worked example

A train accelerates at 1 m/s² to 20 m/s, cruises for 60 s, then brakes at 1.25 m/s² to a stop. How far does it travel, and in what time?

Show the solution
  1. Accelerating. It takes 201=20 s and covers 2022×1=200m
  2. Cruising. 20×60=1200m
  3. Braking. It takes 201.25=16 s and covers 2022×1.25=160m
  4. Totals. d=200+1200+160=1560mt=20+60+16=96s an average of 16.25 m/s.
  5. On a graph. On a velocity-time graph this is a trapezoid, and the distance is its area.

Answer the train travels 1560 m in 96 s.

Check

A carriage moves 2 m with acceleration and braking of 2 m/s² and a top speed of 1 m/s (which it reaches). How long does the move take?

Write units the way you normally would: 1.5 s and 1500 ms are the same answer.

Check

A short move of 0.1 m never reaches top speed: it accelerates at 5 m/s² for half the distance and brakes for the other half. How long does it take?

Write units the way you normally would: 1.5 s and 1500 ms are the same answer.

Check

A cart moving at 3 m/s brakes at 4 m/s². How far does it travel while stopping?

Write units the way you normally would: 1.5 m, 1500 mm and 0.0015 km are the same answer.

Check

A vehicle starts from rest with a(t)=6−2t m/s². What is its speed at t = 2 s?

Write units the way you normally would: 1.5 m/s, 1500 mm/s and 0.0015 km/s are the same answer.

Check

For the same a(t)=6−2t m/s², starting from rest, when is the speed greatest?

Write units the way you normally would: 1.5 s and 1500 ms are the same answer.

Check

A trapezoidal move lasts 2 s, with ramps of 0.5 s at each end and a top speed of 0.5 m/s. How far does it go?

Write units the way you normally would: 1.5 m, 1500 mm and 0.0015 km are the same answer.

Check

A vehicle accelerates at 1 m/s² to 20 m/s, cruises 30 s, then brakes at 1 m/s².

(a)

How far does it travel?

Write units the way you normally would: 1.5 m, 1500 mm and 0.0015 km are the same answer.

(b)

How long does it take?

Check

A move of length d with acceleration a for half the distance and braking at a for the rest (a triangular profile).

Step 1

What is the peak speed?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why is the distance traveled equal to the area under the velocity graph?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.