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

1. What is constant acceleration?

Constant acceleration is the rate at which an object's velocity changes over time. It is a measure of how quickly the object's speed is increasing or decreasing.

2. How is acceleration calculated?

Acceleration is calculated by dividing the change in velocity by the time it takes for that change to occur. The formula for acceleration is a = (vf - vi) / t, where a is acceleration, vf is final velocity, vi is initial velocity, and t is time.

3. How do you find the acceleration of an object that slows down to a standstill?

To find the acceleration of an object that slows down to a standstill, you need to know the initial velocity, final velocity, and time it takes for the object to come to a stop. Plug these values into the acceleration formula and solve for a.

4. Can an object have a negative acceleration?

Yes, an object can have a negative acceleration. This means that the object is slowing down or decelerating. Negative acceleration is also known as deceleration or retardation.

5. How does air resistance affect the acceleration of an object?

Air resistance can have a significant impact on the acceleration of an object. As an object moves through the air, it experiences a force in the opposite direction of its motion, which can slow it down. This force, known as drag, can decrease the object's acceleration and ultimately its speed.

Similar threads

  • Classical Physics
2
Replies
41
Views
2K
  • Classical Physics
Replies
4
Views
1K
Replies
14
Views
319
  • Classical Physics
2
Replies
41
Views
2K
  • Classical Physics
Replies
13
Views
790
  • Classical Physics
Replies
6
Views
2K
Replies
27
Views
2K
  • Classical Physics
Replies
25
Views
1K
Replies
63
Views
3K
Replies
20
Views
683
Back
Top