Find the constant acceleration of an object that slows down to a standstill

In summary, you can use a cubic equation to find the acceleration of a car that is moving at a constant speed.
  • #1
Guitz
22
8
Hi all,

Let V be an initial velocity, D any distance, and T a time duration. which algorithm allows to obtain a constant acceleration A that make the object to brake from V to a zero speed over D during T?

Thanks
 
Physics news on Phys.org
  • #2
None. Constant acceleration means that it is still ON when the object comes instantaneously to rest. This means that at the next moment, it will move in a direction opposite to its previous non-zero velocity. Throw a rock straight up in the air and see what happens. The acceleration is constant.

Note: The title says "standstill" which means that the object comes to rest and stays at rest.
 
  • Like
Likes Lnewqban and Vanadium 50
  • #3
well i will fix that this way :
if my object is close enough to a certain position X (after covering the distance D during the time interval T), then i update both the velocity and acceleration to zero, and i move my object at this precise location X.
 
  • #4
Guitz said:
Hi all,

Let V be an initial velocity, D any distance, and T a time duration. which algorithm allows to obtain a constant acceleration A that make the object to brake from V to a zero speed over D during T?

Thanks
You have $$D=\frac{1}{2}aT^2 + V T$$ which is one equation in one unknown.

Edit: never mind there is also $$aT+V=0$$ which gives two equations in one unknown. The problem is over specified and cannot be solved. You can specify either the time it takes to reach ##D## or you can specify that you stop at ##D##, but you cannot specify both that it takes a certain time and that you stop at ##D##.
 
Last edited:
  • Like
Likes Vanadium 50
  • #5
Thanks for your replies.

No berkeman this is not for schoolwork. I'm developping a software plugin in which cars follow spline S. An array of struct (SpeedLimit, Acceleration, Position, Tangent,...) is used, among other things, to define the speed of the car along S. When the car crosses the penultimate element of the array I must update the acceleration so that the car stops neither before nor after the destination position vector.
 
  • Wow
Likes PeroK
  • #6
Guitz said:
When the car crosses the penultimate element of the array I must update the acceleration so that the car stops neither before nor after the destination position vector.
Then you cannot specify the time ##T## that is required
 
  • #7
Dale said:
Then you cannot specify the time ##T## that is required
I'll pick T = 2 seconds
 
  • #8
Guitz said:
I'll pick T = 2 seconds
You cannot do that. You must leave ##t## as an unknown to be solved.
 
  • Like
Likes Vanadium 50
  • #9
Dale said:
You cannot do that. You must leave ##t## as an unknown to be solved.
The unknown is A my friend
 
  • #10
You have four constraints:
- At [itex]t = 0[/itex], [itex]s = 0[/itex] and [itex]\dot s = v[/itex].
- At [itex]t = T[/itex], [itex]s = d[/itex] and [itex]\dot s = 0[/itex].

Using these, you can find [itex]s[/itex] as a cubic function of [itex]t[/itex] with [itex]\dddot s = k[/itex]; the acceleration will not be constant, but vary linearly with [itex]t[/itex].

If you impose the condition that the acceleration is constant, then [itex]d[/itex] and [itex]t[/itex] must be related by [tex]
d = \frac{vt}{2}[/tex] and under this constraint [tex]a = -\frac{v^2}{2d}.[/tex]
 
  • Like
Likes Dale
  • #11
Since this is a software-controlled moving object, you know where the object is and how fast it is moving as you advance time by equal intervals ##dt##. When it is at distance ##D_0## from where you where you want it to stop and is moving with speed ##V_0## then
  1. Use the equation $$2AD_0=-V_0^2$$ to find the acceleration.
  2. Let the algorithm move the car to position ##D_k## according to $$D_k=V_0(k~dt)+\frac{1}{2}A(k~dt)^2$$ but monitor its velocity using $$V_k=V_0+A(k~dt)$$ Here, ##k = 1,2,3,\dots~## is a running counter that marks the passage of time in increments ##dt##.
  3. At the ##kth## step test the velocity ##V_{k+1}## coming up at the next step. If it is negative, tell the algorithm to leave the object where it is and stop.
The perceived motion would be like throwing a rock straight up in the air and have someone catch it when it's almost at rest. How close is "almost" depends on the size of your ##dt##.
 
  • Like
Likes Guitz
  • #12
Guitz said:
The unknown is A my friend
You have two equations so you need two unknowns. Two equations in two unknowns is solvable. Two equations in one unknown is not solvable. You need both ##a## and ##t## as unknowns.
 
Last edited:
  • #13
thanks again for your help, it works like a charm :smile:
 
  • Like
Likes kuruman
  • #14
Guitz said:
thanks again for your help, it works like a charm :smile:
If at all possible can you post a video? I am curious to see how it turned out. Thanks.
 
  • #15
kuruman said:
If at all possible can you post a video? I am curious to see how it turned out. Thanks.
Sure i post it tomorrow my friend.
 
  • Like
Likes berkeman
  • #16
Hi kuruman,

there she is :
 
  • Love
Likes kuruman

FAQ: Find the constant acceleration of an object that slows down to a standstill

What is constant acceleration?

Constant acceleration refers to a situation in which an object's velocity changes at a uniform rate over time. This means the acceleration remains the same throughout the motion.

How do you calculate constant acceleration when an object comes to a standstill?

To calculate the constant acceleration of an object that slows down to a standstill, you can use the kinematic equation: \( a = \frac{{v_f - v_i}}{t} \), where \( v_f \) is the final velocity (0 for standstill), \( v_i \) is the initial velocity, and \( t \) is the time taken to come to a stop.

What information is needed to find the constant acceleration?

To find the constant acceleration, you need to know the initial velocity of the object, the time it takes to come to a standstill, and the final velocity (which will be zero since the object comes to a stop).

Can you determine the distance traveled before coming to a stop with constant acceleration?

Yes, you can determine the distance traveled using the kinematic equation: \( d = v_i \cdot t + \frac{1}{2} a \cdot t^2 \), where \( d \) is the distance, \( v_i \) is the initial velocity, \( t \) is the time, and \( a \) is the constant acceleration.

What are some practical examples of objects slowing down to a standstill with constant acceleration?

Practical examples include a car coming to a stop at a traffic light, a ball rolling to a stop due to friction, or a train decelerating to a halt at a station. In each case, the object experiences a uniform deceleration until it comes to a standstill.

Similar threads

Replies
41
Views
3K
Replies
4
Views
2K
Replies
41
Views
3K
Replies
6
Views
2K
Replies
13
Views
1K
Replies
27
Views
2K
Replies
25
Views
2K
Back
Top