Open lauralindzey opened 2 years ago
I would love to see this implemented but it is a tricky problem.
Here's a suggestion to get things started:
assume N is the number of beams in the return.
In either case I'm suggesting we linearize the uncertainty in the neighborhood of the detection. That way we can have a covariance matrix that can play nicely with TF.
The units of these uncertainties will be seconds since we are working in time space. They could be easily converted to range space. The covariance matrices could then pass through a coordinate transformation to rotate them to the sensor frame to give uncertainties in x,y,and z.
Something to consider We need to think about how angular uncertainty is related to beamwidth.
@valschmidt I would love to hear your thoughts on this one.
This can get really complex. The process of getting from travel time and beam pointing uncertainty to sounding uncertainty is not as simple as propagation of the uncertainty through a rotation because of the refraction involved. [Also sometimes the transmitted signal has to be ray-traced separately from the receive signal, but I won't even go there.]
I wonder if this topic might deserve a REP to take the time to explain some of these details and some simplifying assumptions that can be made that will work for most people, as well as the conventions used by these messages. And then define the message definitions that make those assumptions.
The simplifying assumptions with regard to uncertainty I would suggest:
Beam width can cause angular uncertainty in the detection when the range to an object varies over the size of the beam. This can be hard to quantify unless you know the object ahead of time. For the seafloor that is guaranteed to extend across the whole of the beam, it is given by
sigma = d [ 1 - cos (bw/2)]
where sigma is the 1-sigma depth uncertainty due to this effect, d is the depth to the detected seafloor detected at the edge of the beam (the worst case), and bw is the beam width of the beam. Typically the only beam width that is considered is the along-track beam width, because in the across track direction, detections are made using the split beam phase method which can resolve detections within the beam. Technically amplitude detections suffer from this uncertainty in both along-track and across-track directions, but it's usually neglected.
-Val
Thanks for the reply @valschmidt. Based on your experience do you have a suggestion for what messages the sensor should report. I think it's important that we keep the fields in the message as close to what's reported by the sensor as possible.
From your comments it looks like angular uncertainty is pretty negligible relative to beam width. 2 way travel time doesn't seem to be a big factor in the uncertainty according to your equation but it may be reported by the sonar.
Therefore I propose this:
I think this method removes most assumptions from the message itself for data logging purposes.
What do you think?
-Kris
@valschmidt says: