SLAAES9 March 2025 MSP430FR5043 , MSP430FR6005 , MSP430FR6007 , MSP430FR6043 , MSP430FR6045 , MSP430FR6047
Estimating an accurate absToF in water means that a temperature sensor is not needed to compute the velocity of sound in water. In the USS SW Library used in this reference design, the absToF is determined by computing the envelope of the received signal.
A peak value for each lobe is first computed. Then, the maximum lobe peak is chosen. The envelope crossing threshold as a given ratio of this maximum is then determined. The algorithm picks the nearest lobe peak to the threshold as the absTOF measurement end point. The absToF is then calculated by a constant offset from this threshold crossing of the envelope, as shown in below figure.
Figure 2-2 Lobe AlgorithmThe UPS and DNS absToF are therefore given by Equation 5.
where:
Typically, this value can range from 35 to 70µs. The absTOF offset corresponds to the time from the ADC trigger to the envelope crossing a certain ratio of the signal maximum. TI recommends to choose the second visible lobe according to the ADC capture data, since the first lobe is usually weak and sometimes hard to distinguish from the noise.