According to the formula dmax = c/2f, it can be known that the lower the frequency, the greater the maximum value of the measurement distance, which is accompanied by the problem of reduced accuracy and precision or large jitter. On the contrary, the higher the frequency, the higher the accuracy and precision, but increasing the frequency will bring about the problem of decreasing the maximum measured distance of one cycle. One method of solving CW-iToF(Continuous Wave-indirect Time of Flight) range aliasing is dual-frequency measurement, where two different frequencies are used for the same measurement object and the true distance is determined from the results of the two measurements. Currently our CW-iToF camera is using high-frequency 120MHZ to improve the measurement accuracy and precision, and using low-frequency 20MHZ to calculate the current cycle number and then calculate the final true distance. Next, let us look at how to calculate it.
Table of Contents
How to measure maximum detection distance by dual-frequency?
Assuming that the measured phase at a frequency of fA is φA, the measured phase at a frequency of fB is φB, the speed of light is c. Then the maximum measured distance of fA is dA=c/2fA ,the maximum measured distance of fB is dB=c/2fB.
The maximum distance is determined by the dual-frequency greatest common divisor fE:
Convert fA:fB to two integer numbers that are prime numbers to each other MA:MB:
Suppose that φA corresponds to an aliasing number nA(0 ≤ nA ≤ MA -1), φB corresponds to a aliasing number nB(0 ≤ nB ≤ MB -1).
Coverts φA and φB the phase to within [0, 1]:
The true distance can be calculated as dtrue =dA ×(nA + PA) =dB ×(nB + PB).
Take|dA ×(nA + PA) – dB ×(nB + PB)| to get the minimum value, solving for the corresponding nA and nB.Because
the solution of nA and nB can be converted into the following equation:
Therefore the formula for calculating true distance dtrue is:
For example:
Suppose the two measurement frequencies fA =30MHZ and fB =40MHZ, the frequencies fA measured distance is dMA=4.0m, the frequencies fB measured distance is dMB=1.5m, the true distance under dual frequency is solved as follows:
The frequencies fA maximum distance is dA,
The frequencies fB maximum distance is dB,
The dual-frequency greatest common divisor fE = gcd(fA, fB) = 10MHZ,
Minimum y(nA, nB) = MB ×(nA + PA) – MA ×(nB + PB) is obtained by calculating when nA =1, nB =2.
Finally get the true distance dtrue = 5×(1 + 0.8 ) = 9m.
The theoretical maximum measurement distance and error rate of different frequency combination
The following table shows the maximum values of the high and low frequency ration:
High frequency(MHZ) | Low frequency(MHZ) | Theoretical maximum distance |
100 | 15 | 30 |
100 | 45 | 30 |
100 | 65 | 30 |
100 | 10 | 15 |
100 | 30 | 15 |
100 | 70 | 15 |
100 | 20 | 7.5 |
100 | 60 | 7.5 |
100 | 80 | 7.5 |
100 | 25 | 6 |
100 | 50 | 3 |
error rate/% | error rate/% | error rate/% | |
Distance/m | 100MHZ&90MHZ | 100MHZ&80MHZ | 100MHZ&60MHZ |
0.5 | 0 | 0 | 0 |
1.0 | 0 | 0 | 0 |
1.5 | 0 | 0 | 0 |
2.0 | 0.4 | 0 | 0 |
2.5 | 0.8 | 0 | 0 |
3.0 | 4.4 | 0 | 0 |
3.5 | 12.7 | 0.4 | 0.1 |
4.0 | 22.7 | 1.3 | 0.9 |
4.5 | 32.9 | 5 | 1.6 |
5.0 | 40.8 | 10.4 | 8.3 |
5.5 | 48.7 | 16 | 12.2 |
6.0 | 34.8 | 21.6 | 18.9 |
6.5 | 28 | 31.3 | 30 |
7.0 | 32.6 | 39 | 34.4 |
1. The closer the dual freuquency in use, the bigger error rate can happen.
2. The longer distance is, the bigger error rate can happen.