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.
 
Thread 'Is 'Velocity of Transport' a Recognized Term in English Mechanics Literature?'
Here are two fragments from Banach's monograph in Mechanics I have never seen the term <<velocity of transport>> in English texts. Actually I have never seen this term being named somehow in English. This term has a name in Russian books. I looked through the original Banach's text in Polish and there is a Polish name for this term. It is a little bit surprising that the Polish name differs from the Russian one and also differs from this English translation. My question is: Is there...
I know that mass does not affect the acceleration in a simple pendulum undergoing SHM, but how does the mass on the spring that makes up the elastic pendulum affect its acceleration? Certainly, there must be a change due to the displacement from equilibrium caused by each differing mass? I am talking about finding the acceleration at a specific time on each trial with different masses and comparing them. How would they compare and why?
Back
Top