Trajectory Path from 2 Distance Sensors

AI Thread Summary
The discussion centers on determining the trajectory of an object using data from two distance sensors that cannot measure simultaneously. The object follows a parabolic path, and the sensors provide distance and time measurements but are limited by a 20-degree measurement cone and a minimum time gap of 5 ms. To estimate the trajectory, it is suggested to use a least squares fit approach to analyze multiple consecutive measurements, allowing for the calculation of trajectory parameters. The need for at least four sampling points is emphasized to solve for the unknowns in the trajectory equations, with recommendations to plot the fitted trajectory against raw data for validation. Overall, the approach combines theoretical modeling with practical data analysis to derive the object's path.
PvT Inventor
Messages
3
Reaction score
0
I would like to determine the equation describing the trajectory of an object using data from 2 distance sensors. I figured out how to do this if the sensors take simultaneous measurements but this cannot be done without generating crass talk between the sensors. The object moves too far when the sensors are set to their fastest sequential measurements, so I cannot assume that the measurements are simultaneous. Here's the givens:

The whole problem can be done in 2 dimensions (XY coordinates).
The path of the object is that of a projectile without air resistance so it follows a parabolic path so we that the equation for the object path is quadratic and the object follows all rules for a falling object.
Both sensors are on the y (vertical) axis and the lower one is on the origin.
I am only interested in the path when the object is in "positive" space (both x and y positions are positive).
The sensors return both distance to object and time of measurement but cannot measure simultaneously.
The sensors measure the nearest object within a 20 degree cone, so they cannot be "aimed" parallel to each other, making the problem fairly simple but only uses 2 measurements to determine the path.
The minimum time between measurements is about 5 ms and the object is moving around 5 m/s, so each sensor can take multiple readings.
Maximum range is about 2 meters.
The object is falling and will not pass through the origin, but I see no reason why the problem can't be done in reverse by just reversing the timeline.

What I am really after is the angle of the object path as it passes through the X-axis, but this is easy to obtain if the trajectory equation is known. I can deal with the error in sensor measurements if I know the path equation, so what I need is a theoretical way to determine the path from the distance measurements. Any thoughts on how to approach this problem would be greatly appreciated!
 
Physics news on Phys.org
Just take (for every time) several consecutive measurements (a bit earlier and a bit later) from both detectors and perform least square fit of second-order trajectory to estimate the position at the given time.
 
That is basically what I did when I thought both sensors could measure simultaneously (or close enough to be considered simultaneous). For simultaneous measurements, it is easy to find the XY coordinates for each pari of measurements. Now I get data that is like this:
D1 at time 1, D2 at time 2, D1 at time 3, D2 at time 4. I do not know exact direction of the distance either (plus/minus 20 degrees).

I think to do what you are suggesting you need to have measured points in the XY coordinate plane, and I don't have that.
 
You must assume that trajectory is of the form:x(t)=v_{x0}t+x_0,\quad y(t)=gt^2+v_{y0}t+y_0, then express your distances as a function of (x,y), take 5 points and solve those 5 equations system to obtain (g,v_{x0},v_{y0},x_0,y_0) or (better) take more points and perform least square fit over those 5 parameters in order to minimize sum of squares of differences between measured and predicted distances.
 
I think that concept will work! I was messing around with those equations plus a few others and just couldn't figure out how to put it all together so that I don't increase the number of unknowns with each sampling point. By the way, I am not playing on doing this on some other planet so we know g, leaving 4 unknowns and then I need a minimum of 4 sampling points. I will likely get many more so will then do a least squares fit to get the trajectory. Thanks for your help and I'll follow up when I sit down and work it all through and see how it turns out.
 
Good luck!
You may want to make a plot of the computed (fitted) trajectory against raw data to see if your idealisation (no friction) really works. If you find some systematic discrepancy, then you can try multiple fits for partial data, e.g. points 1-9 gives you estimation of trajectory parameters at point 5th, points 2-10 at point 6th, 3-11 at 7th, etc.
There is no simple rule telling how many points you should use for each estimation - it depends on many factors (how good is your theoretical model), but generally it is good idea to keep at least 5 data points more than no of parameters in each set (for your case 9 points). But if you have large amount of data and they follow the theoretical curve well, much bigger number of points (e.g.30) per dataset may work better.
WHat is the best - you must find by trial and error.
 
The rope is tied into the person (the load of 200 pounds) and the rope goes up from the person to a fixed pulley and back down to his hands. He hauls the rope to suspend himself in the air. What is the mechanical advantage of the system? The person will indeed only have to lift half of his body weight (roughly 100 pounds) because he now lessened the load by that same amount. This APPEARS to be a 2:1 because he can hold himself with half the force, but my question is: is that mechanical...
Some physics textbook writer told me that Newton's first law applies only on bodies that feel no interactions at all. He said that if a body is on rest or moves in constant velocity, there is no external force acting on it. But I have heard another form of the law that says the net force acting on a body must be zero. This means there is interactions involved after all. So which one is correct?
Thread 'Beam on an inclined plane'
Hello! I have a question regarding a beam on an inclined plane. I was considering a beam resting on two supports attached to an inclined plane. I was almost sure that the lower support must be more loaded. My imagination about this problem is shown in the picture below. Here is how I wrote the condition of equilibrium forces: $$ \begin{cases} F_{g\parallel}=F_{t1}+F_{t2}, \\ F_{g\perp}=F_{r1}+F_{r2} \end{cases}. $$ On the other hand...
Back
Top