My vehicle needs to pace another vehicle

  • Thread starter Thread starter charlievictor
  • Start date Start date
  • Tags Tags
    Vehicle
AI Thread Summary
The discussion revolves around a software developer working on a dial display for a car rally computer, specifically focusing on controlling a stepper motor to synchronize with another vehicle's position. The developer seeks to determine the maximum speed (v2) their vehicle can achieve while accelerating and decelerating to pace another vehicle traveling at speed v1, without relying on the time variable t3. They present equations related to the motion of both vehicles and have derived a solution using the quadratic formula. Ultimately, the developer successfully figures out how to calculate v2 by substituting t3 into their equations. The conversation highlights the intersection of software development and physics in practical applications.
charlievictor
Messages
2
Reaction score
0
This is not really homework but it is work (fun) and I'm doing it at home. I’m a software guy and haven’t done a lot of physics in awhile. Actually, I’m building a dial display for a car rally computer. It’s basically a clock like display that reads out the odometer. I’m working on the stepper motor control loop for this. I’m trying to predict where the dial needs to move to in order to synch up with the car’s position. In order not to confuse the issue too much, I’ve boiled it down to the following problem. I think I have a solution that works except that the answer depends on the position where the two vehicles merge (t3). Is there a way solve this without having to know t3?

Homework Statement



  • I’m in a vehicle traveling at a constant speed of v0. I could be traveling forward (+) or reverse (-).
  • Another vehicle is traveling at a constant speed of v1. It also could be traveling forward (+) or backward (-).
  • The other vehicle is a distance of d1 from me at the start (with both vehicals moving). It could be ether in the positive or negative direction.
  • I want to change my vehicle speed while undergoing a constant acceleration (a) and de-acceleration (-a) to arrive at the other vehicle and pace it at its speed of v1.
  • I would like to know what my maximum speed (v2) I would reach during this maneuver.

Homework Equations



(I'll try to attached my scanned in PDF but here goes)

d2 = 1/2at22 + v0t2
v2 = at2 + v0

d3 = -1/2a(t3-t2)2 + v2(t3-t2) + d2
v3 = v1 = -a(t3-t2) + v2

d3 = v1t3 + d1

I know v0, v1, d1, and a.

I want to solve for v2 without depending on t3.

The Attempt at a Solution



(see my attached my scanned in PDF)

v2 = Sqr((2av1t3 + 2ad1 + v12 + v02)/2)

I plotted this in Excel and it seems to work.

But it seems to me that I should be able to sove this without using t3 or d3.

Thanks in advance.
 

Attachments

Physics news on Phys.org
I figured it out.

For the part of my problem where my vehicle is accelerating to meet the other vehicle, this equation applies:

t2 = (v2 - v0) / a

For the second part where I'm trying to slow down to pace the other vehicle, this one applies:

t3 - t2 = (v2 - v1) / a

If I solve for t3 I get:

t3 = (2v2 - v1 - v0) / a

I my attached PDF work notes, the last equation was this:

2v22 = 2av1t3 + 2ad1 + v12 + v02

If I substitute in my t3 from above, I get this:

0 = 2v22 -4v1v2 + (2v0v1 + v12 - v02 - 2ad1)

I used the quadratic formula to solve this for v2.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'Collision of a bullet on a rod-string system: query'
In this question, I have a question. I am NOT trying to solve it, but it is just a conceptual question. Consider the point on the rod, which connects the string and the rod. My question: just before and after the collision, is ANGULAR momentum CONSERVED about this point? Lets call the point which connects the string and rod as P. Why am I asking this? : it is clear from the scenario that the point of concern, which connects the string and the rod, moves in a circular path due to the string...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...

Similar threads

Back
Top