Solving for Constant Acceleration and Time in 1D Motion Problem

In summary: I don't care about a specific end displacement from start position. If I want to lock my start velocity, start accel, end velocity, and end displacement values I can... but only if I don't care about a specific end accel.So I think I need to add an additional constraint, but I'm not sure what that would be... any ideas?In summary, the conversation discusses a physics simulation project and the challenge of finding a constant delta acceleration and elapsed time that would satisfy given start and end conditions. The equations for acceleration, velocity, and displacement are provided, and it is suggested to use calculus to solve for the unknown variables. The conversation also mentions the issue of using data inputs that do not exactly
  • #1
Grumple
7
0
Hi Guys,

I'm a programmer working on a hobby project (physics simulation), and came across this forum while looking for ideas related to a 1 dimensional motion problem I have. Hopefully someone can help me out (or at least point me in the right direction!). =)

Homework Statement



An object starts at a known velocity, acceleration, and time (0). It ends at a known velocity, acceleration, and displacement (from start position). I want to find a constant delta acceleration and elapsed time that would satisfy the start and end conditions. For simplicity sake I'm assuming no external acceleration forces, etc, at this point.

Known:
initial velocity (vi)
initial acceleration (ai)
initial time (0)

final velocity (vf)
final acceleration (af)
final displacement from start position (sf)

Unknown:
constant delta acceleration (c)
elapsed time (t)
additional required constraints?

Homework Equations


af = ai + ct
vf = vi + ait + 1/2ct2
sf = vit + 1/2ait2 + 1/6ct3

The Attempt at a Solution


So after having done some reading I think I need to use calculus and start with the formulas above. It seems like I should be able to use basic algebra to solve for c and t at this point. However, I'm not sure if:
(a) That would actually generate correct 'real world' results, and
(b) What additional constraints I would have to consider to ensure the math doesn't break on some arbitrary set of inputs. For example, under what conditions would it be impossible to generate a constant delta acceleration/elapsed time combination that satisfies my start and end conditions?

Thanks for any help/pointers in advance!
 
Physics news on Phys.org
  • #2
The formulae are correct for the classical motion of an object - I see no reason why you shouldn't use them.
Aside from the usual problems with math manipulations (divide by zero, overflow etc) there shouldn't be a problem. The real world is rather better at handling this than computers - it doesn't 'break'.
 
  • #3
Since acceleration is increasing linearly with time, you should be able to base this on the average acceleration versus time. The area under the curve acceleration versus time will be the same for the actual sloped line as well as the horizontal line where the average aceleration versus time occurs, in this case, it's (ai + af) /2. What you have here is a constant "jerk" (rate of change of acceleration versus time). Start with the jerk equation, then work your way back to acceleraion, velocity, and distance equations. It's looks like your equations are correct.

As far as using data inputs, only data that exactly follows a constant jerk situation will work. I'm not sure how the failure modes with non-matching data will occur. An obvious case would be postive acceleration and velocity, but negative displacement, which wouldn't be possible with the given assumptions.
 
  • #4
Since your acceleration is changing linearly with time you may say that

(vf - vi)/t = (af + ai)/2

From the first equation

c = (vf - vi)/t

substituting the two above in your second equation:

(af + ai)/2 = ai + (1/2)(af + ai)/2 t

then you can extract the t value and all the rest.

Best wishes

DaTario
 
  • #5
rcgldr said:
Since acceleration is increasing linearly with time, you should be able to base this on the average acceleration versus time. The area under the curve acceleration versus time will be the same for the actual sloped line as well as the horizontal line where the average aceleration versus time occurs, in this case, it's (ai + af) /2. What you have here is a constant "jerk" (rate of change of acceleration versus time). Start with the jerk equation, then work your way back to acceleraion, velocity, and distance equations. It's looks like your equations are correct.

As far as using data inputs, only data that exactly follows a constant jerk situation will work. I'm not sure how the failure modes with non-matching data will occur. An obvious case would be postive acceleration and velocity, but negative displacement, which wouldn't be possible with the given assumptions.

Thanks for the input, rcgldr. What you are saying makes sense, although I think I am actually trying to do the reverse of what you are saying should work fine. Instead of calculating the constant jerk and elapsed time from a set of real world start and end metrics that I know works out, I am working with real world start point metrics, and arbitrarily chosen end point metrics. I am trying to come up with a solution to generate a constant rate of acceleration change over time that would have my object's velocity and acceleration both meet desired values at a real world displacement from start position.

As an example:
An object is moving in 1d towards a target point. The object will then be moving to an arbitrary second target point. An ideal velocity and acceleration has been calculated towards a 3rd point from the target the object is moving towards now. I need to calculate a constant jerk and elapsed time that would have it change its current vel and accel to the vel and accel that I want the object to be at the instant it arrives at target 1 such that it can seamlessly transition towards target 2.

I've done some playing with the math since posting, and as far as I can tell it is impossible to do this with just a constant rate of change for acceleration. For example, given all the known data above, I seem to be able to calculate any 2 desired metrics at the end point, but can't do that and have the 3rd as well.

So, for example, I think I can generate a rate of acceleration change and elapsed time that will let me arrive at my destination point with a desired end velocity, but not also at a specified end acceleration. I could also arrive at my destination point with a desired end acceleration, but not at the desired end velocity too.

If I want to lock my start velocity, start accel, end velocity, and end accel values I can seemingly generate a working jerk and elapsed time, but my distance has to become variable.

Does this make sense to you? Any suggestions on how to get all the desired metrics to converge at the current target displacement from a known set of start metrics? I am currently investigating ways to break the problem into two stages to create a 'flexible midpoint' so that I can satisfy all desired end metrics, but I'm definitely finding it to be a mind-bender. =)

DaTario said:
Since your acceleration is changing linearly with time you may say that

(vf - vi)/t = (af + ai)/2

From the first equation

c = (vf - vi)/t

substituting the two above in your second equation:

(af + ai)/2 = ai + (1/2)(af + ai)/2 t

then you can extract the t value and all the rest.

Best wishes

DaTario

Hi DaTario,

Could you clarify how you got c = (vf - vi)/t?

Thanks again!
 
  • #6
If c is the uniform rate of change of velocity, I think it is correct to state this. Constant acceleration allows one to state c = (variation of velocity) / (interval of time)

Best wishes

DaTario
 

1. What is variable acceleration?

Variable acceleration refers to the change in an object's velocity over time. This can occur when the speed, direction, or both, of the object's motion changes. It is a common scenario in the study of physics, particularly in problems that involve motion.

2. How is variable acceleration calculated?

To calculate variable acceleration, you need to know the initial velocity, final velocity, and time interval. The formula for variable acceleration is: a = (vf - vi) / t, where a is acceleration, vf is final velocity, vi is initial velocity, and t is time interval. It is important to note that the units for acceleration are meters per second squared (m/s^2).

3. What is the difference between constant and variable acceleration?

The main difference between constant and variable acceleration is that in constant acceleration, the velocity of an object changes at a constant rate, while in variable acceleration, the rate of change in velocity is not constant. In other words, in constant acceleration, the object's velocity changes by the same amount in each unit of time, while in variable acceleration, the change in velocity varies over time.

4. How does air resistance affect variable acceleration?

Air resistance can have a significant impact on variable acceleration. As an object moves through the air, it experiences a force in the opposite direction of its motion due to air resistance. This force can cause a decrease in the object's acceleration, as it must use some of its energy to overcome the resistance. Therefore, in problems involving variable acceleration, air resistance should be taken into account for more accurate calculations.

5. What are some real-life examples of variable acceleration?

Variable acceleration can be observed in many real-life scenarios. For example, a car speeding up or slowing down, a rollercoaster going up and down hills, a rocket launching into space, or a baseball being thrown and caught are all examples of variable acceleration. In all of these cases, the object's velocity is changing over time, resulting in variable acceleration.

Similar threads

Replies
49
Views
1K
  • Introductory Physics Homework Help
Replies
5
Views
1K
Replies
4
Views
894
Replies
1
Views
1K
Replies
6
Views
1K
Replies
7
Views
3K
Replies
4
Views
988
  • Mechanics
Replies
11
Views
2K
Replies
23
Views
1K
Back
Top