# Patent

## Title
Automated multi-vehicle position, orientation and identification system and method

## Abstract

The present invention provides a system and method for relative localization that provides an orientation signal and a position signal between at least two vehicles. The present invention also provides for vehicle formation, such that there is a leading vehicle and a follower vehicle that maintain a specific formation relative to one another. The orientation, relative position and identity signals are utilized to control that formation. Each vehicle has at least three ultrasonic sensors, at least one ultrasonic source and an optional pair of FM receiver/transmitter. By installing several acoustic sensors whose relative position are known and by measuring the difference in the time of arrival of the same signal from the various sensors on the same vehicle, the difference in time can be converted into a difference of distance and then into relative position of the sensors from the source based on the Time Difference of Arrival (TDOA).

## Background
TECHNICAL FIELD
The present invention relates to automated, multi-vehicle relative position and orientation, vehicle identification systems and digital signal processing.
BACKGROUND
The prior art includes a number of partial and complete solutions to the problem of controlling and guiding unmanned vehicles. Many prior art systems use the following systems, individually or in combination, to determine the angle and relative position between a group of unmanned vehicles: a global positioning system (GPS); utilizing wireless signals and various algorithms to calculate the relative position of the vehicles; laser range finders (LRF); systems using cameras; sound navigation or ranging (SONAR) systems; and radio detection and ranging (RADAR) systems.
However, the aforementioned solutions have a number of drawbacks. Firstly, the GPS system does not function efficiently in urban zones or between buildings. Secondly, the SONAR and LRF systems that are mounted on unmanned vehicles can assist by determining the distance between vehicles and objects within the vehicle's line of sight However, these systems are not capable of specifically identifying objects. Therefore, it is impossible to determine whether the measured distance is the distance to another vehicle or an unknown object. Thirdly, there are no commercially available camera systems that can be mounted aboard unmanned vehicles and that can assist with locating and identifying a neighbouring vehicle in real time.
As such, there is a need for a system that is capable of relative localization between at least two manned or unmanned vehicles in real-time or near real-time.
SUMMARY
The present invention seeks to provide an automated multi-vehicle position, orientation and identification system and method. More specifically, the present invention provides a system and method for relative localization that provides an orientation signal and a position signal between at least two vehicles. The present invention also provides for vehicle formation, such that there is a leading vehicle and a follower vehicle that maintain a specific formation relative to one another. The orientation, the relative position and the identification signals are utilized to form and maintain that formation.
Each vehicle has at least four ultrasonic sensors and at least one ultrasonic source. The vehicle localization system is based on the assumption that sound waves travel at a specific speed. By installing several acoustic sensors whose relative position are known and by measuring the difference between the time of arrival of the same signal from the various sensors on the same vehicle, the difference in time can be converted into the relative position of the sensors from the source based on the well-known concept of Time Difference of Arrival (TDOA).
The present invention only requires vehicle's on-board available information to ensure that the vehicle formation is maintained. Measurements are also taken in real-time and the location of several vehicles can be determined at once. The present invention has particular application for unmanned vehicles, mobile robots, and small aerial vehicles.
Advantageously, the system is small, of low-cost and requires limited energy consumption.
In a first aspect, the present invention provides a system for locating a first vehicle relative to a second vehicle comprising: at least one ultrasonic source, operatively coupled to the first vehicle, for transmitting a signal; at least four sensors, operatively coupled to the second vehicle for receiving the signal; and signal processing means, operatively coupled to the second vehicle, for processing the signal received by each of the at least four sensors to determine the relative location of the second vehicle to the first vehicle based on differences in time of arrival of the same signal by each of the at least four sensors.
In a second aspect, the present invention provides a method for locating a first vehicle relative to a second vehicle comprising steps of: (a) from a source operatively coupled to a first vehicle, transmitting a signal; (b) to at least four sensors operatively coupled to a second vehicle, receiving the signal; (c) processing the signal received by each of the at least four sensors; and (d) determining the relative location of the second vehicle to the first vehicle based on differences in time of arrival of the same signal by each of the at least four sensors.
In a third aspect, the present invention provides system for locating a first vehicle relative to a second vehicle comprising: at least one source, operatively coupled to the first vehicle, for transmitting a source signal; at least three sensors, operatively coupled to the second vehicle for receiving the source signal; and signal processing means, operatively coupled to the second vehicle; a RF receiver operatively coupled to the at least one source; and a RF transmitter, operatively coupled to the signal processing means, for sending a radio frequency (RF) signal to the RF receiver; wherein the signal processing means processes the source signal received by each of the at least three sensors to determine the relative location of the second vehicle to the first vehicle based on differences in time of arrival of the same signal by each of the at least three sensors and based on a round trip time of the RF signal to be received by the RF receiver and for the source signal to be transmitted to the at least three sensors; wherein the at least one source sends the source signal when the RF signal is received by the RF receiver.
In a fourth aspect, the present invention provides method for locating a first vehicle relative to a second vehicle comprising steps of: (a) from at least three sensors operatively coupled to a second vehicle, transmitting a RF signal; (b) to a source operatively coupled to at least one sensor, receiving the RF signal; (c) from the source, transmitting a source signal when the RF signal is received; (d) to at least three sensors operatively coupled to a second vehicle, receiving the source signal; (e) processing the source signal received by each of the at least three sensors; and (f) determining the relative location of the second vehicle to the first vehicle based on differences in time of arrival of the source signal by each of the at least three sensors and based on a round trip time of the RF signal to be received and for the source signal to be transmitted to the at least three sensors.



BRIEF DESCRIPTION OF THE DRAWINGS
The embodiments of the present invention will now be described by reference to the following figures, in which identical reference numerals in different figures indicate identical elements and in which:
FIG. 1 is a high level block diagram of the system according to an aspect of the present invention;
FIG. 2 is a graphical illustration of how the present invention operates according to an aspect of the present invention;
FIG. 3 is a system diagram showing the interconnections between the various components of the present invention for an unmanned vehicle according to an aspect of the present invention;
FIG. 4 is a system diagram showing interconnections between various components including a hardware modification for estimating the distance between the source and the sensors for an unmanned vehicle according to an aspect of the present invention;
FIG. 5 is a system diagram showing the interconnections of various components utilized to calculate the round trip time (RTT) and to estimate the distance between two vehicles according to an aspect of the present invention;
FIG. 6 shows the software architecture and the interaction between the user space, the kernel and the peripherals of the digital signal processor (DSP) according to an aspect of the present invention;
FIG. 7 is a schematic diagram of the circuit for generating ultrasonic waves according to an aspect of the present invention;
FIG. 8 is a schematic diagram of four steps involved in the calculation of time difference of arrival based on the generation of multiple detection points exploiting the known wave form according to an aspect of the present invention;
FIG. 9 is a flowchart showing the process 700 applied to the data within the detection intervals for estimating the sample corresponding to each signal peak obtained by each sensor according to an aspect of the present invention;
FIGS. 10A, 10B, 10C, and 10D are graphical representations of the process for determining the time of arrival of the signal of one of two active sources based on the experimental data received by one ultrasonic sensor in accordance with an aspect of the present invention;
FIG. 11 is a schematic diagram of the methodology for determining the position of the sources using TDOA algorithms in accordance with an aspect of the present invention;
FIG. 12 is a geometrical representation showing that whether a second vehicle is located at position A or at position B, the central point V is visible to vehicle 2 at the same position, but the distance between the vehicle 2 and both sources differs in accordance with an aspect of the present invention;
FIG. 13 is a geometrical representation of a triangle formed by joining lines between sources 1 and 2 and sensor 1 as projected on the x-y plane in accordance with an aspect of the present invention;
FIG. 14 is a geometrical representation of a triangle formed by connecting the segments between source 1, source 2 and sensor 1 in order to represent the relative heading calculation in accordance with an aspect of the present invention;
FIG. 15 is a block diagram of an experimental set-up in accordance with an infrared localization system for results validation in accordance with an aspect of the present invention;
FIG. 16 is a block diagram of an experimental set-up in accordance with an extra RF synchronization sub-system and an infrared localization system for results validation;
FIGS. 17 and 18 show the unmanned vehicles, as well as the ultrasonic sources and sensors and the infra-red reflecting markers used in the experiment in accordance with the present invention; and
FIG. 19 shows a DSP and an AFE used in the experiment in accordance with the present invention.



DETAILED DESCRIPTION
FIG. 1 is a high level block diagram of the system 100 of the present invention. The system 100 elements shown here are for a formation of two vehicles, including a master and a follower. Multiples vehicles, and therefore further elements, are envisaged by the present invention. The system 100 includes two ultrasonic sources 110 on-board a master vehicle, and four ultrasonic sensors 120 on-board a follower vehicle, receiver and signal processing means 130 on-board the follower vehicle, and a formation control system 140 on-board the follower vehicle.
In accordance with the present invention, the ultrasonic sources 110 transmit sound waves that are received by ultrasonic sensors 120. The receiver and signal processing means 130 processes electrical waves produced by the four ultrasonic sensors 120. Both source signals are separated and the relative orientation and position between the master and follower vehicles is determined. The formation control system 140 then maintains a formation between the master and follower vehicle, such that, for example, the follower maintains a particular orientation and position from the master.
FIG. 2 is a graphical illustration of how the present invention operates. A matrix of ultrasonic sensors is installed on the vehicle identified as the follower. At least four sensors must be present. This matrix collects the signals emitted by two ultrasonic sources located on the vehicle in the formation identified as the master on FIG. 2.
It should be noted that the master vehicle must be in the line of sight of the follower for the purposes of the present invention. In addition, the minimum number of ultrasonic sensors required per vehicle is four. The minimum number of sources required per vehicle is two if relative heading is needed for formation control and one source per vehicle if only relative position is required.
As shown in FIG. 3, the signals collected by the matrix of sensors are digitized with an AFE (Analog Front End). These digitized signals are subsequently processed by a DSP (Digital Signal Processor) to determine the time difference of arrival (TDOA). Thereafter, the position of the sources is estimated with the TDOA measurements.
The sources emit a particular waveform that provides an estimate of the time of arrival of the signals. These sources will emit pure sinusoidal waves during a short period of time and then do not emit anything for a relatively large period of time (as shown on FIG. 7). The time of arrival of the signal thus corresponds to the moment when the sinusoidal wave is detected.
Referring again to FIG. 2, each source emits a sinusoidal wave at an Eigen frequency that is distinct from the other.
FIG. 3 is a system diagram showing the interconnections between the various components of the present invention for an unmanned vehicle in accordance with the present invention. According to the present invention, the received signals are processed through a band pass filter in order to separate each source. For example, the filters utilized are finite impulse response (FIR) filters with constant delay and N=33 points and a numerical bandwidth of 0.02. Each filter introduces the same delay. The signal processing allows the present invention to identify a neighbouring vehicle (that has sources operating at Eigen frequencies distinct from those coming from the other vehicles) and to treat the signals emanating from each source independently of the other source(s), to determine the relative position and the orientation between two vehicles.
The localization system is based on the assumption that sound waves travel at a fixed speed in the air, i.e., 343 m/s under normal ambient conditions. It is thus possible to install several acoustic sensors whose relative position is known by measuring the difference in the time of arrival of the same signal to the various sensors (by relying on the well-known concept of TDOA). This difference in time can thereafter be converted into a difference in distance that is then converted in relative positions in accordance with the present invention.
On each vehicle, at least four ultrasonic sensors will receive sound waves. The AFE then converts the analog signal from the ultrasonic sensors into a digital signal. The DSP is also provided with a multitude of inputs and outputs to exchange data with several peripherals. The DSP applies digital filters to the data received from the AFE and estimates the time of arrival of the signals. As the AFE cannot directly send the digital data to the DSP, because the electrical signals produced by the AFE are not compatible with the entries of the DSP, a DSP-AFE interface circuit is utilized, as shown in FIG. 3.
Referring again to FIG. 3, the unmanned vehicle is identified as Robot, LVDS refers low voltage differential signalling, CMOS refers to complementary metal-oxide-semiconductor, and SPI is a serial peripheral interface.
Referring now to FIG. 4, the present invention also provides for radio frequency (RF) synchronization. In another aspect of the present invention, the system includes a wireless link between the DSP and ultrasonic sources. This modification allows the system to estimate the distance between sources and sensors with more precision than the system of the present invention shown in FIG. 3.
FIG. 5 is a diagram that illustrates how the round trip time (RTT) is calculated. The RTT is the time taken for the synchronization signal to travel from the DSP to the ultrasonic source using an RF link and back to the ultrasonic sensor via the sound wave. This measurement is used to determine the distance between sources and sensors with high precision, thus increasing the overall precision of the system. It should be noted that the RF synchronization signal is received by a frequency modulation (FM) receiver and is sent to the ultrasonic wave generation circuit. This signal controls the PWM wave period (TPWM) and when the rise of the PWM signal occurs. The PWM signal is illustrated at FIG. 7.
It should be noted that a FM receiver and transmitter can be added to the system in order to increase the precision of the system. As shown in FIGS. 4 and 5, it is possible to calculate the time for the ultrasonic sound wave to travel from the source to the sensor 1 (also known as the propagation delay). The propagation delay is then used to estimate the source's distance from the sensor 1.
FIG. 6 shows the software architecture and the interaction between the user space, the kernel and the peripherals of the DSP in accordance with the present invention. According to the present invention, the DSP operates under an operating system (OS). For exemplary purposes, it operates Linux for embedded processors (uClinux). The architecture of this OS is very similar to the architecture of Linux. Operations as well as the management of peripherals are carried out in the kernel by the drivers.
Referring to FIG. 6, the kernel and the user space can communicate via an input/output control (IOCTL) interface. The kernel receives data from the Serial Port (SPORT) for processing. Then, the kernel requires the driver to begin operating. The received data are sent for signal processing via the interface. The DSP also communicates through the SPI to configure registers of the AFE, as well as the Ethernet port to send TDOA measurements to the unmanned vehicle. The unmanned vehicle has processing capability to then estimate the position of the sources based on the TDOA measurements.
The sound waves are composed of a carrier wave modulated by a Pulse Width Modulation (PWM) signal. Each sound wave has been chosen because it enables the estimation of TDOA measurements. The PWM signal is common to each source located on the same vehicle, yet the carrier wave for each source uses an Eigen frequency.
As mentioned previously, at least two sources are required to estimate the relative orientation between two vehicles. However, it should be mentioned that the present invention may estimate the relative position between two vehicles with only one source. As shown on FIG. 12, the vehicle 2 at position A and position B are different only in terms of relative heading, yet the relative position is still the same according to vehicle 2's coordinate system. Position A and position B could not be differentiated if vehicle 1 had only one source (located at the V point), but the position of vehicle 1 would still be known in relation to vehicle 2. With two sources, position A and position B may be differentiated because the system can estimate the relative heading.
FIG. 7 is a schematic diagram of the circuit for generating ultrasonic waves from the two ultrasonic sources denoted as source h and source g, where Tcsh is the carrier period of the source h, THPWM the wave high period and TLPWM is the wave low period of the PWM wave. The period of the PWM wave is TPWM=TLPWM+THPWM.
The process for determining the TDOA is carried out periodically, at a fixed rate. The process detects the time of arrival of the ultrasonic waves at two different times from the signal received by the first sensor. Specifically, the process determines two point of detection. The process then estimates the PWM wave period TPWM, which is the delay between the two peaks, and the time of arrival of the first peak for the signals received by all of the ultrasonic sensors. With the time of the first peak of all channels and the PWM wave period, the present invention determines points of detections for all channels. These points represent intervals in which the signal power is at its maximum, i.e., where a peak occurs. Inside these intervals, the present invention searches for the sample corresponding to the time of arrival of the signal received by each sensor within intervals centered around points of detection. This technique saves computation time to find the sample corresponding to the time of arrival while keeping the accuracy of one sample period.
FIG. 8 is a schematic diagram of four steps—Step 1, Step 2, Step 3, and Step 4—involved in the calculation of the time difference of arrival based on the generation of multiple detection points. Step 1 consists of applying a band-pass filter to isolate the desired source. In this particular embodiment, the band-pass filter is an FIR filter with a constant delay having N=33 points and a numerical bandwidth of 0.02. The filter is applied to signals received by each of the four ultrasonic sensors. Here, the number of filtered samples corresponds to three times the period of the PWM wave (to estimate the period of the PWM wave). However, the above parameters for sampling and number of sensors may vary in accordance with the present invention.
Referring again to FIG. 8, step 2 determines the delay between the two peaks based on the filtered data from step 1, so as to find the sample corresponding to the time of arrival for a specific sensor. In other words, the process must determine the specific sample where the first instance of the sinusoidal wave is detected.
Following that, step 3 consists of detecting the first instance of a sinusoidal wave received by all of the sensors on Channels 1, 2, 3, and 4. At step 3, the data is filtered by the same band-pass filter as used in step 1 before the sinusoidal wave detection occurs.
Step 4 calculates the points of detections. A point of detections represents a series of samples in for which a peak has occurred. To estimate the time of arrival of the signal, the process seeks out the time when the signal power peaks within intervals around points of detections. When working with digitized signals, the time can be converted into samples. For instance, the period of the PWM wave TPWM thus corresponds to a number of samples NPWM. The PWM wave becomes a number of high and low samples noted as NHPWM and NLPWM. The sample where a rise K is detected for the source h (shown in FIG. 7) with sensor i noted as Iish[k].
At step 3, the peak time of one of the sensors allows searching within a smaller area where the first peak in the signal received by other sensors. This search interval is delimited by the distance between sensors. It should be noted that the difference in distance between the source and the sensors cannot be larger than the distance between the sensors. Therefore, the detection interval will include twice the number of samples corresponding to the maximum distance between two sensors. The number of samples representing the maximum distance is given by following equation:




  
    
      
        
          N
          D
          max
        
        =
        
          
            max
            
              
                i
                =
                
                  {
                  
                    1
                    ⁢
                    
                      
                    
                    ⁢
                    ...
                    ⁢
                    
                      
                    
                    ⁢
                    M
                  
                  }
                
              
              ,
              
                j
                =
                
                  {
                  
                    i
                    ⁢
                    
                      
                    
                    ⁢
                    ...
                    ⁢
                    
                      
                    
                    ⁢
                    M
                  
                  }
                
              
            
          
          ⁢
          
            
              (
              
                D
                
                  i
                  ,
                  j
                
              
              )
            
            
              
                C
                s
              
              ⁢
              
                T
                s
              
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




where M is the number of sensors used, Di,j is the distance between sensor i and sensor j, Cs is the propagation velocity of the wave (for ultrasounds in air under normal ambient conditions, Cs=343 m/s) and Ts is the sampling period of the signals (Ts=2.4 μs for the developed system).

In FIG. 8, the detection interval of the first peak is centered on the rise of sensor 1. Indeed, at step 2, the samples of the first two peaks are estimated. The detection of the first peak for each sensor is determined for NDmax samples before and after the first peak is estimated at channel 1 I1sh [0].
At FIG. 8, the detection intervals for step 4 are centered on samples of the first peak at channel i. The number of interval detection samples 2Nr is determined experimentally. Yet, Nr must be sufficiently large so that the peaks are well within the detection intervals to accommodate for measurements errors. The detection interval is duplicated thereafter periodically.
FIG. 9 is a flowchart showing the process 700 applied to the data detected within the detection intervals for estimating the sample corresponding to each signal peak obtained by each sensor. According to the process 700, step 710 involves receiving the signal at a particular sensor. Following that, Step 720 selects the intervals of samples before and after the point of detection. Next, step 730 selects a particular source for band-pass filtration. Following that, step 740 determines the absolute value for the filtered signal, and then in step 750 a moving average is obtained to determine the signal envelope for the particular source selected. Finally, step 760 determines the time of arrival of the signal to complete the process.
FIGS. 10A, 10B, 10C, and 10D are graphical representations of the process for determining the time of arrival of the signal for one of two active sources based on the experimental data received. The first source operates at 40 KHz, and the second source operates at 25 KHz. The high and the low times of the PWM wave are THPWM=198.2 μs and TLPWM=7.8 ms, respectively. As shown in FIG. 10B, the data is filtered by the band-pass filter in order to select the desired source. As shown in FIG. 10C, the absolute value is then calculated based on the filtered data so as to maintain the signal amplitude. A moving average filter (of 30 points in this example) is then applied to calculate the signal envelope as shown in FIG. 10D. The envelope is then used to determine the sample corresponding to the time of arrival of the signal.
For further clarity, FIG. 10A relates to Step 710, in FIG. 9. FIG. 10B relates to step 730 in FIG. 9. FIG. 10C relates to step 740 in FIG. 9. And FIG. 10D relates to step 750 in FIG. 9.
With reference to FIG. 10D, to determine the sample corresponding to the peak time from the signal envelope, the process initially detects the minimum and the maximum (Amin and Amax) of the envelope. A decision threshold Athreshold is calculated based on the below equation (2). The process seeks the sample thereafter where the amplitude of the envelope is closer to the threshold, and yet located between the minimum and maximum. This sample corresponds to the time of arrival of the signal.




  
    
      
        
          A
          threshold
        
        =
        
          
            
              A
              min
            
            +
            
              A
              max
            
          
          2
        
      
    
    
      
        (
        2
        )
      
    
  




As mentioned previously, a vehicle includes two sources: source 1 and source 2. The position of source 1 in Cartesian space is noted as xs1, ys1 and zs1 and that of the source 2 is noted as xs2, ys2 and zs2. The distance between the source h and the sensor i is noted rish.
Based on equation (2) and by assuming that the sensors are in the plan x=0 and that the first sensor is located at the origin of the frame of reference, the error value of the position of the two sources is as follows:




  
    
      
        
          
        
        ⁢
        
          
            
              
                ɛ
                _
              
              
                i
                1
              
            
            =
            
              
                
                  
                    
                      
                        G
                        _
                      
                      ^
                    
                    
                      i
                      1
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
                ⁢
                
                  
                    
                      
                        z
                        _
                      
                      ^
                    
                    
                      i
                      1
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              +
              
                
                  
                    
                      h
                      _
                    
                    ^
                  
                  
                    i
                    1
                  
                
                ⁡
                
                  [
                  k
                  ]
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          where
        
      
    
    
      
        (
        3
        )
      
    
  
  
    
      
        
          
            
              
                G
                _
              
              ^
            
            
              i
              1
            
          
          ⁡
          
            [
            k
            ]
          
        
        =
        
          [
          
            
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    y
                    
                      2
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    z
                    
                      2
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    
                      
                        r
                        ^
                      
                      
                        2
                        ,
                        1
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                0
              
              
                0
              
              
                0
              
            
            
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    y
                    
                      3
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    z
                    
                      3
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    
                      
                        r
                        ^
                      
                      
                        3
                        ,
                        1
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                0
              
              
                0
              
              
                0
              
            
            
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    y
                    
                      4
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    z
                    
                      4
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    
                      
                        r
                        ^
                      
                      
                        4
                        ,
                        1
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                0
              
              
                0
              
              
                0
              
            
            
              
                0
              
              
                0
              
              
                0
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    y
                    
                      2
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    z
                    
                      2
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    
                      
                        r
                        ^
                      
                      
                        2
                        ,
                        1
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
            
            
              
                0
              
              
                0
              
              
                0
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    y
                    
                      3
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    z
                    
                      3
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    
                      
                        r
                        ^
                      
                      
                        3
                        ,
                        1
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
            
            
              
                0
              
              
                0
              
              
                0
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    y
                    
                      4
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    z
                    
                      4
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    
                      
                        r
                        ^
                      
                      
                        4
                        ,
                        1
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        4
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  h
                  _
                
                ^
              
              
                i
                1
              
            
            ⁡
            
              [
              k
              ]
            
          
          =
          
            [
            
              
                
                  
                    
                      (
                      
                        
                          K
                          2
                        
                        -
                        
                          K
                          1
                        
                      
                      )
                    
                    -
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            
                              2
                              ,
                              1
                            
                            
                              s
                              1
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                  
                
              
              
                
                  
                    
                      (
                      
                        
                          K
                          3
                        
                        -
                        
                          K
                          1
                        
                      
                      )
                    
                    -
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            
                              3
                              ,
                              1
                            
                            
                              s
                              1
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                  
                
              
              
                
                  
                    
                      (
                      
                        
                          K
                          4
                        
                        -
                        
                          K
                          1
                        
                      
                      )
                    
                    -
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            
                              4
                              ,
                              1
                            
                            
                              s
                              1
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                  
                
              
              
                
                  
                    
                      (
                      
                        
                          K
                          2
                        
                        -
                        
                          K
                          1
                        
                      
                      )
                    
                    -
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            
                              2
                              ,
                              1
                            
                            
                              s
                              2
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                  
                
              
              
                
                  
                    
                      (
                      
                        
                          K
                          3
                        
                        -
                        
                          K
                          1
                        
                      
                      )
                    
                    -
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            
                              3
                              ,
                              1
                            
                            
                              s
                              2
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                  
                
              
              
                
                  
                    
                      (
                      
                        
                          K
                          4
                        
                        -
                        
                          K
                          1
                        
                      
                      )
                    
                    -
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            
                              4
                              ,
                              1
                            
                            
                              s
                              2
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        5
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  z
                  _
                
                ^
              
              
                i
                1
              
            
            ⁡
            
              [
              k
              ]
            
          
          =
          
            [
            
              
                
                  
                    
                      
                        y
                        ^
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        z
                        ^
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        r
                        ^
                      
                      1
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        y
                        ^
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        z
                        ^
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        r
                        ^
                      
                      1
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        6
        )
      
    
  




where εi1 is the error value for the intermediate method 1, yj,i and zj,i represent the difference in distance between the sensors j and i in the y and z axis respectively. The difference in distance is estimated by comparing the source h to sensor i and j at time k noted as {circumflex over (r)}j,ish[k]. The squared distance between sensor i and the origin of the axis system is noted as Ki.

As detailed below, the final method (method f) will be composed of intermediate methods 1 through 4. The intermediate method 1 is the method that estimates the relative position of both sources independently, the intermediate method 2 exploits the fact that both sources share the same PWM signal, the intermediate method 3 exploits the fact that the distance between both sources is known. This provides an increased precision on the relative position and the relative orientation. Furthermore, the intermediate method 4 applies a low-pass filter on the estimated position in order to reduce the output's variation caused by measurement noise.
The equation (3) provides the estimated error vector of the intermediate method 1. As detailed below, the error vector of the method f will be composed of intermediate error vectors. The method f error vector will then be used to estimate the relative position and orientation by minimizing the squared sum of the error vector components.
Since two sources are mounted on the same vehicle, it is possible to modify the original process to include extra information provided by the system. Indeed, when the sources emit signals at the same time, the information regarding the distance between the two sources and the same vehicle's sensors can be utilized. The difference in distance between the sources 1 and 2 with respect to a particular sensor will be noted as:

ris2−s1=ris2−ris1  (7)

The equation (7) can be included directly in the linear equations system (3) for i=1. This additional information is very advantageous because it provides extra information to the system. However, equation (7) cannot be formulated directly with i≠1. To include measurements for the differences in time between the detection of the signals, emitted by the two sources, by the other sensors, it is necessary to reformulate equation (7). The equation that provides the distance of a source relative to the sensor i of the system is now formulated as:

(xs1−xi)2+(ys1−yi)+(zs1−zi)2=(ris1)2  (8)

where the position of each sensor in the Cartesian frame of reference is noted as xi, yi and zi. By substituting equation (7) with equation (8), the following equation is produced:

(xs2−xi)2+(ys2−yi)2+(zs2−zi)2=(ris1+ris2−s1)2=(ris1)2+(ris2−s1)2+2ris1ris2−s1  (9)

One can simplify equation (9) to obtain the following equations:




  
    
      
        
          
            
              (
              
                
                  x
                  
                    s
                    2
                  
                
                -
                
                  x
                  i
                
              
              )
            
            2
          
          +
          
            
              (
              
                
                  y
                  
                    s
                    2
                  
                
                -
                
                  y
                  i
                
              
              )
            
            2
          
          +
          
            
              (
              
                
                  z
                  
                    s
                    2
                  
                
                -
                
                  z
                  i
                
              
              )
            
            2
          
        
        =
        
          
            
              (
              
                
                  x
                  
                    s
                    1
                  
                
                -
                
                  x
                  i
                
              
              )
            
            2
          
          +
          
            
              (
              
                
                  y
                  
                    s
                    1
                  
                
                -
                
                  y
                  i
                
              
              )
            
            2
          
          +
          
            
              (
              
                
                  z
                  
                    s
                    1
                  
                
                -
                
                  z
                  i
                
              
              )
            
            2
          
          +
          
            
              (
              
                r
                i
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
              )
            
            2
          
          +
          
            2
            ⁢
            
              r
              i
              
                s
                1
              
            
            ⁢
            
              r
              i
              
                
                  s
                  2
                
                -
                
                  s
                  1
                
              
            
          
        
      
    
    
      
        (
        10
        )
      
    
  
  
    
      
        
          
            
              (
              
                x
                
                  s
                  2
                
              
              )
            
            2
          
          +
          
            
              (
              
                y
                
                  s
                  2
                
              
              )
            
            2
          
          +
          
            
              (
              
                z
                
                  s
                  2
                
              
              )
            
            2
          
        
        =
        
          
            2
            ⁢
            
              x
              i
            
            ⁢
            
              x
              
                s
                2
              
            
          
          +
          
            2
            ⁢
            
              y
              i
            
            ⁢
            
              y
              
                s
                2
              
            
          
          +
          
            2
            ⁢
            
              z
              i
            
            ⁢
            
              z
              
                s
                2
              
            
          
          +
          
            
              (
              
                x
                
                  s
                  1
                
              
              )
            
            2
          
          +
          
            
              (
              
                y
                
                  s
                  1
                
              
              )
            
            2
          
          +
          
            
              (
              
                z
                
                  s
                  1
                
              
              )
            
            2
          
          -
          
            2
            ⁢
            
              x
              i
            
            ⁢
            
              x
              
                s
                1
              
            
          
          -
          
            2
            ⁢
            
              y
              i
            
            ⁢
            
              y
              
                s
                1
              
            
          
          -
          
            2
            ⁢
            
              z
              i
            
            ⁢
            
              z
              
                s
                1
              
            
          
          +
          
            
              (
              
                r
                i
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
              )
            
            2
          
          +
          
            2
            ⁢
            
              r
              i
              
                s
                1
              
            
            ⁢
            
              r
              i
              
                
                  s
                  2
                
                -
                
                  s
                  1
                
              
            
          
        
      
    
    
      
        (
        11
        )
      
    
  




To calculate the distance between the two sources Ds2−s1, the following equation is utilized:

(xs1−xs2)2+(ys1−ys2)2+(zs1−zs2)2=(Ds2−s1)2  (12)

(Ds2−s1)2=(xs1)2+(ys1)2+(zs1)2+(xs2)2+(ys2)2+(zs2)2−2xs1xs2−2ys1ys2−2zs1zs2  (13)

By replacing equation (11) into equation (13), the following equation is produced:




   
  
    
      
        
          
            
              (
              
                D
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
              )
            
            2
          
          =
          
            
              
                (
                
                  x
                  
                    s
                    1
                  
                
                )
              
              2
            
            +
            
              
                (
                
                  y
                  
                    s
                    1
                  
                
                )
              
              2
            
            +
            
              
                (
                
                  z
                  
                    s
                    1
                  
                
                )
              
              2
            
            -
            
              2
              ⁢
              
                x
                
                  s
                  1
                
              
              ⁢
              
                x
                
                  s
                  2
                
              
            
            -
            
              2
              ⁢
              
                y
                
                  s
                  1
                
              
              ⁢
              
                y
                
                  s
                  2
                
              
            
            -
            
              2
              ⁢
              
                z
                
                  s
                  1
                
              
              ⁢
              
                z
                
                  s
                  2
                
              
            
            +
            
              2
              ⁢
              
                x
                i
              
              ⁢
              
                x
                
                  s
                  2
                
              
            
            +
            
              2
              ⁢
              
                y
                i
              
              ⁢
              
                y
                
                  s
                  2
                
              
            
            +
            
              2
              ⁢
              
                z
                i
              
              ⁢
              
                z
                
                  s
                  2
                
              
            
            +
            
              
                (
                
                  x
                  
                    s
                    1
                  
                
                )
              
              2
            
            +
            
              
                (
                
                  y
                  
                    s
                    1
                  
                
                )
              
              2
            
            +
            
              
                (
                
                  z
                  
                    s
                    1
                  
                
                )
              
              2
            
            -
            
              2
              ⁢
              
                x
                i
              
              ⁢
              
                x
                
                  s
                  1
                
              
            
            -
            
              2
              ⁢
              
                y
                i
              
              ⁢
              
                y
                
                  s
                  1
                
              
            
            -
            
              2
              ⁢
              
                z
                i
              
              ⁢
              
                z
                
                  s
                  1
                
              
            
            +
            
              
                (
                
                  r
                  i
                  
                    
                      s
                      2
                    
                    -
                    
                      s
                      1
                    
                  
                
                )
              
              2
            
            +
            
              2
              ⁢
              
                r
                i
                
                  s
                  1
                
              
              ⁢
              
                r
                i
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
            
          
        
      
      
        
          (
          14
          )
        
      
    
  




Such that:




   
  
    
      
        
          
            
              (
              
                D
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
              )
            
            2
          
          =
          
            
              2
              ⁢
              
                
                  (
                  
                    x
                    
                      s
                      1
                    
                  
                  )
                
                2
              
            
            +
            
              2
              ⁢
              
                
                  (
                  
                    y
                    
                      s
                      1
                    
                  
                  )
                
                2
              
            
            +
            
              2
              ⁢
              
                
                  (
                  
                    z
                    
                      s
                      1
                    
                  
                  )
                
                2
              
            
            -
            
              2
              ⁢
              
                x
                
                  s
                  1
                
              
              ⁢
              
                x
                
                  s
                  2
                
              
            
            -
            
              2
              ⁢
              
                y
                
                  s
                  1
                
              
              ⁢
              
                y
                
                  s
                  2
                
              
            
            -
            
              2
              ⁢
              
                z
                
                  s
                  1
                
              
              ⁢
              
                z
                
                  s
                  2
                
              
            
            +
            
              2
              ⁢
              
                
                  x
                  i
                
                ⁡
                
                  (
                  
                    
                      x
                      
                        s
                        2
                      
                    
                    -
                    
                      x
                      
                        s
                        1
                      
                    
                  
                  )
                
              
            
            +
            
              2
              ⁢
              
                
                  y
                  i
                
                ⁡
                
                  (
                  
                    
                      y
                      
                        s
                        2
                      
                    
                    -
                    
                      y
                      
                        s
                        1
                      
                    
                  
                  )
                
              
            
            +
            
              2
              ⁢
              
                
                  z
                  i
                
                ⁡
                
                  (
                  
                    
                      z
                      
                        s
                        2
                      
                    
                    -
                    
                      z
                      
                        s
                        1
                      
                    
                  
                  )
                
              
            
            +
            
              
                (
                
                  r
                  i
                  
                    
                      s
                      2
                    
                    -
                    
                      s
                      1
                    
                  
                
                )
              
              2
            
            +
            
              2
              ⁢
              
                r
                i
                
                  s
                  1
                
              
              ⁢
              
                r
                i
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
            
          
        
      
      
        
          (
          15
          )
        
      
    
  




By taking equation (15) and setting i=1, and subtracting the same equation with any i value results in:




  
    
      
        0
        =
        
          
            2
            ⁢
            
              
                x
                
                  i
                  ,
                  1
                
              
              ⁡
              
                (
                
                  
                    x
                    
                      s
                      2
                    
                  
                  -
                  
                    x
                    
                      s
                      1
                    
                  
                
                )
              
            
          
          +
          
            2
            ⁢
            
              
                y
                
                  i
                  ,
                  1
                
              
              ⁡
              
                (
                
                  
                    y
                    
                      s
                      2
                    
                  
                  -
                  
                    y
                    
                      s
                      1
                    
                  
                
                )
              
            
          
          +
          
            2
            ⁢
            
              
                z
                
                  i
                  ,
                  1
                
              
              ⁡
              
                (
                
                  
                    z
                    
                      s
                      2
                    
                  
                  -
                  
                    z
                    
                      s
                      1
                    
                  
                
                )
              
            
          
          +
          
            
              (
              
                r
                i
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
              )
            
            2
          
          +
          
            2
            ⁢
            
              r
              i
              
                s
                1
              
            
            ⁢
            
              r
              i
              
                
                  s
                  2
                
                -
                
                  s
                  1
                
              
            
          
          -
          
            
              (
              
                r
                1
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
              )
            
            2
          
          -
          
            2
            ⁢
            
              r
              1
              
                s
                1
              
            
            ⁢
            
              r
              1
              
                
                  s
                  2
                
                -
                
                  s
                  1
                
              
            
          
        
      
    
    
      
        (
        16
        )
      
    
  




And simplified as




   
  
    
      
        
          0
          =
          
            
              2
              ⁢
              
                
                  x
                  
                    i
                    ,
                    1
                  
                
                ⁡
                
                  (
                  
                    
                      x
                      
                        s
                        2
                      
                    
                    -
                    
                      x
                      
                        s
                        1
                      
                    
                  
                  )
                
              
            
            +
            
              2
              ⁢
              
                
                  y
                  
                    i
                    ,
                    1
                  
                
                ⁡
                
                  (
                  
                    
                      y
                      
                        s
                        2
                      
                    
                    -
                    
                      y
                      
                        s
                        1
                      
                    
                  
                  )
                
              
            
            +
            
              2
              ⁢
              
                
                  z
                  
                    i
                    ,
                    1
                  
                
                ⁡
                
                  (
                  
                    
                      z
                      
                        s
                        2
                      
                    
                    -
                    
                      z
                      
                        s
                        1
                      
                    
                  
                  )
                
              
            
            +
            
              
                (
                
                  r
                  i
                  
                    
                      s
                      2
                    
                    -
                    
                      s
                      1
                    
                  
                
                )
              
              2
            
            -
            
              
                (
                
                  r
                  1
                  
                    
                      s
                      2
                    
                    -
                    
                      s
                      1
                    
                  
                
                )
              
              2
            
            +
            
              2
              ⁢
              
                (
                
                  
                    r
                    1
                    
                      s
                      1
                    
                  
                  +
                  
                    r
                    
                      i
                      ,
                      1
                    
                    
                      s
                      1
                    
                  
                
                )
              
              ⁢
              
                r
                i
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
            
            -
            
              2
              ⁢
              
                r
                1
                
                  s
                  1
                
              
              ⁢
              
                r
                1
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
            
          
        
      
      
        
          (
          17
          )
        
      
    
  




Leading to the final form of the equation that uses the difference in distance measured between the two sources compared to each sensor.




   
  
    
      
        
          0
          =
          
            
              2
              ⁢
              
                
                  x
                  
                    i
                    ,
                    1
                  
                
                ⁡
                
                  (
                  
                    
                      x
                      
                        s
                        2
                      
                    
                    -
                    
                      x
                      
                        s
                        1
                      
                    
                  
                  )
                
              
            
            +
            
              2
              ⁢
              
                
                  y
                  
                    i
                    ,
                    1
                  
                
                ⁡
                
                  (
                  
                    
                      y
                      
                        s
                        2
                      
                    
                    -
                    
                      y
                      
                        s
                        1
                      
                    
                  
                  )
                
              
            
            +
            
              2
              ⁢
              
                
                  z
                  
                    i
                    ,
                    1
                  
                
                ⁡
                
                  (
                  
                    
                      z
                      
                        s
                        2
                      
                    
                    -
                    
                      z
                      
                        s
                        1
                      
                    
                  
                  )
                
              
            
            +
            
              
                (
                
                  r
                  i
                  
                    
                      s
                      2
                    
                    -
                    
                      s
                      1
                    
                  
                
                )
              
              2
            
            -
            
              
                (
                
                  r
                  1
                  
                    
                      s
                      2
                    
                    -
                    
                      s
                      1
                    
                  
                
                )
              
              2
            
            +
            
              2
              ⁢
              
                
                  r
                  1
                  
                    s
                    1
                  
                
                ⁡
                
                  (
                  
                    
                      r
                      i
                      
                        
                          s
                          2
                        
                        -
                        
                          s
                          1
                        
                      
                    
                    -
                    
                      r
                      1
                      
                        
                          s
                          2
                        
                        -
                        
                          s
                          1
                        
                      
                    
                  
                  )
                
              
            
            +
            
              2
              ⁢
              
                r
                
                  i
                  ,
                  1
                
                
                  s
                  1
                
              
              ⁢
              
                r
                i
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
            
          
        
      
      
        
          (
          18
          )
        
      
    
  




It should be noted that equation (18) is linear in relation to the position of sources 1 and 2. It is therefore possible to obtain an error vector similar to the equation (3) that includes the measured difference in distance between the two sources compared to each sensor with i=2,3,4. The equation (7) may also be included with i=1, so as to provide an error vector for the intermediate method 2:




  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  ɛ
                  _
                
                
                  i
                  2
                
              
              ⁡
              
                [
                k
                ]
              
            
            =
            
              
                
                  
                    
                      
                        G
                        _
                      
                      ^
                    
                    
                      i
                      2
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
                ⁢
                
                  
                    
                      
                        z
                        _
                      
                      ^
                    
                    
                      i
                      2
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              +
              
                
                  
                    
                      h
                      _
                    
                    ^
                  
                  
                    i
                    2
                  
                
                ⁡
                
                  [
                  k
                  ]
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          where
        
      
    
    
      
        (
        19
        )
      
    
  
  
    
      
        
          
            
              
                G
                _
              
              ^
            
            
              i
              2
            
          
          ⁡
          
            [
            k
            ]
          
        
        =
        
          [
          
            
              
                0
              
              
                0
              
              
                
                  -
                  1
                
              
              
                0
              
              
                0
              
              
                1
              
            
            
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    y
                    
                      2
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    z
                    
                      2
                      ,
                      1
                    
                  
                
              
              
                
                  2
                  ⁢
                  
                    (
                    
                      
                        
                          
                            r
                            ^
                          
                          2
                          
                            
                              s
                              2
                            
                            -
                            
                              s
                              1
                            
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                      -
                      
                        
                          
                            r
                            ^
                          
                          1
                          
                            
                              s
                              2
                            
                            -
                            
                              s
                              1
                            
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                    
                    )
                  
                
              
              
                
                  2
                  ⁢
                  
                    y
                    
                      2
                      ,
                      1
                    
                  
                
              
              
                
                  2
                  ⁢
                  
                    z
                    
                      2
                      ,
                      1
                    
                  
                
              
              
                0
              
            
            
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    y
                    
                      3
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    z
                    
                      3
                      ,
                      1
                    
                  
                
              
              
                
                  2
                  ⁢
                  
                    (
                    
                      
                        
                          
                            r
                            ^
                          
                          3
                          
                            
                              s
                              2
                            
                            -
                            
                              s
                              1
                            
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                      -
                      
                        
                          
                            r
                            ^
                          
                          1
                          
                            
                              s
                              2
                            
                            -
                            
                              s
                              1
                            
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                    
                    )
                  
                
              
              
                
                  2
                  ⁢
                  
                    y
                    
                      3
                      ,
                      1
                    
                  
                
              
              
                
                  2
                  ⁢
                  
                    z
                    
                      3
                      ,
                      1
                    
                  
                
              
              
                0
              
            
            
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    y
                    
                      4
                      ,
                      1
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    z
                    
                      4
                      ,
                      1
                    
                  
                
              
              
                
                  2
                  ⁢
                  
                    (
                    
                      
                        
                          
                            r
                            ^
                          
                          4
                          
                            
                              s
                              2
                            
                            -
                            
                              s
                              1
                            
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                      -
                      
                        
                          
                            r
                            ^
                          
                          1
                          
                            
                              s
                              2
                            
                            -
                            
                              s
                              1
                            
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                    
                    )
                  
                
              
              
                
                  2
                  ⁢
                  
                    y
                    
                      4
                      ,
                      1
                    
                  
                
              
              
                
                  2
                  ⁢
                  
                    z
                    
                      4
                      ,
                      1
                    
                  
                
              
              
                0
              
            
          
          ]
        
      
    
    
      
        (
        20
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  h
                  _
                
                ^
              
              
                i
                2
              
            
            ⁡
            
              [
              k
              ]
            
          
          =
          
            [
            
              
                
                  
                    -
                    
                      
                        
                          r
                          ^
                        
                        1
                        
                          
                            s
                            2
                          
                          -
                          
                            s
                            1
                          
                        
                      
                      ⁡
                      
                        [
                        k
                        ]
                      
                    
                  
                
              
              
                
                  
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            2
                            
                              
                                s
                                2
                              
                              -
                              
                                s
                                1
                              
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                    -
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            1
                            
                              
                                s
                                2
                              
                              -
                              
                                s
                                1
                              
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                    +
                    
                      2
                      ⁢
                      
                        
                          
                            r
                            ^
                          
                          
                            2
                            ,
                            1
                          
                          
                            s
                            1
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                      ⁢
                      
                        
                          
                            r
                            ^
                          
                          2
                          
                            
                              s
                              2
                            
                            -
                            
                              s
                              1
                            
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                    
                  
                
              
              
                
                  
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            3
                            
                              
                                s
                                2
                              
                              -
                              
                                s
                                1
                              
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                    -
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            1
                            
                              
                                s
                                2
                              
                              -
                              
                                s
                                1
                              
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                    +
                    
                      2
                      ⁢
                      
                        
                          
                            r
                            ^
                          
                          
                            3
                            ,
                            1
                          
                          
                            s
                            1
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                      ⁢
                      
                        
                          
                            r
                            ^
                          
                          3
                          
                            
                              s
                              2
                            
                            -
                            
                              s
                              1
                            
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                    
                  
                
              
              
                
                  
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            4
                            
                              
                                s
                                2
                              
                              -
                              
                                s
                                1
                              
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                    -
                    
                      
                        (
                        
                          
                            
                              r
                              ^
                            
                            1
                            
                              
                                s
                                2
                              
                              -
                              
                                s
                                1
                              
                            
                          
                          ⁡
                          
                            [
                            k
                            ]
                          
                        
                        )
                      
                      2
                    
                    +
                    
                      2
                      ⁢
                      
                        
                          
                            r
                            ^
                          
                          
                            4
                            ,
                            1
                          
                          
                            s
                            1
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                      ⁢
                      
                        
                          
                            r
                            ^
                          
                          4
                          
                            
                              s
                              2
                            
                            -
                            
                              s
                              1
                            
                          
                        
                        ⁡
                        
                          [
                          k
                          ]
                        
                      
                    
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        21
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  z
                  _
                
                ^
              
              
                i
                2
              
            
            ⁡
            
              [
              k
              ]
            
          
          =
          
            [
            
              
                
                  
                    
                      
                        y
                        ^
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        z
                        ^
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        r
                        ^
                      
                      1
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        y
                        ^
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        z
                        ^
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        r
                        ^
                      
                      1
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        22
        )
      
    
  




To increase the accuracy of the present invention, the distance between the two sources Ds2−s1 can be incorporated into the equations system. However, the expression of the distance between the two sources is not linear. As such, it is possible to resolve the system of equations with weighted least-squares (WLS) using an iterative method for numerical resolution. The current iteration is represented by subscript (•)l. Based on equation (13), the error vector for the intermediate method 3 is given as:




  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  ɛ
                  _
                
                
                  i
                  3
                
              
              ⁡
              
                [
                
                  k
                  l
                
                ]
              
            
            =
            
              
                
                  
                    
                      
                        G
                        _
                      
                      ^
                    
                    
                      i
                      3
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
                ⁢
                
                  
                    
                      
                        z
                        _
                      
                      ^
                    
                    
                      i
                      3
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
              +
              
                
                  
                    
                      h
                      _
                    
                    ^
                  
                  
                    i
                    3
                  
                
                ⁡
                
                  [
                  
                    k
                    l
                  
                  ]
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          where
        
      
    
    
      
        (
        23
        )
      
    
  
  
    
      
        
          
            
              
                G
                _
              
              ^
            
            
              i
              3
            
          
          ⁡
          
            [
            
              k
              l
            
            ]
          
        
        =
        
          [
          
            
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    
                      
                        y
                        ^
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        
                          l
                          -
                          1
                        
                      
                      ]
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    
                      
                        z
                        ^
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        
                          l
                          -
                          1
                        
                      
                      ]
                    
                  
                
              
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      
                        l
                        -
                        1
                      
                    
                    ]
                  
                
              
              
                0
              
              
                0
              
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      
                        l
                        -
                        1
                      
                    
                    ]
                  
                
              
            
            
              
                0
              
              
                0
              
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      
                        l
                        -
                        1
                      
                    
                    ]
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    
                      
                        y
                        ^
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        
                          l
                          -
                          1
                        
                      
                      ]
                    
                  
                
              
              
                
                  
                    -
                    2
                  
                  ⁢
                  
                    
                      
                        z
                        ^
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        
                          l
                          -
                          1
                        
                      
                      ]
                    
                  
                
              
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      
                        l
                        -
                        1
                      
                    
                    ]
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        24
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  h
                  _
                
                ^
              
              
                i
                3
              
            
            ⁡
            
              [
              
                k
                l
              
              ]
            
          
          =
          
            [
            
              
                
                  
                    
                      -
                      
                        
                          (
                          
                            D
                            
                              
                                s
                                2
                              
                              -
                              
                                s
                                1
                              
                            
                          
                          )
                        
                        2
                      
                    
                    -
                    
                      2
                      ⁢
                      
                        
                          
                            x
                            ^
                          
                          
                            s
                            1
                          
                        
                        ⁡
                        
                          [
                          
                            k
                            
                              l
                              -
                              1
                            
                          
                          ]
                        
                      
                      ⁢
                      
                        
                          
                            x
                            ^
                          
                          
                            s
                            2
                          
                        
                        ⁡
                        
                          [
                          
                            k
                            
                              l
                              -
                              1
                            
                          
                          ]
                        
                      
                    
                  
                
              
              
                
                  
                    
                      -
                      
                        
                          (
                          
                            D
                            
                              
                                s
                                2
                              
                              -
                              
                                s
                                1
                              
                            
                          
                          )
                        
                        2
                      
                    
                    -
                    
                      2
                      ⁢
                      
                        
                          
                            x
                            ^
                          
                          
                            s
                            1
                          
                        
                        ⁡
                        
                          [
                          
                            k
                            
                              l
                              -
                              1
                            
                          
                          ]
                        
                      
                      ⁢
                      
                        
                          
                            x
                            ^
                          
                          
                            s
                            2
                          
                        
                        ⁡
                        
                          [
                          
                            k
                            
                              l
                              -
                              1
                            
                          
                          ]
                        
                      
                    
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        25
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  z
                  _
                
                ^
              
              
                i
                3
              
            
            ⁡
            
              [
              
                k
                l
              
              ]
            
          
          =
          
            [
            
              
                
                  
                    
                      
                        y
                        ^
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        z
                        ^
                      
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        l
                      
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        r
                        ^
                      
                      1
                      
                        s
                        1
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        l
                      
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        y
                        ^
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        l
                      
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        z
                        ^
                      
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        l
                      
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        r
                        ^
                      
                      1
                      
                        s
                        2
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        l
                      
                      ]
                    
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        26
        )
      
    
  




Where {circumflex over (x)}s1[kl], ŷs1[kl], {circumflex over (z)}s1[kl], {circumflex over (r)}1s1[kl], {circumflex over (x)}s2[kl], ŷs2[kl], {circumflex over (z)}s2[kl] and represent the position of sources 1 and 2 for time k in the iteration l. The error vector for the time k at the iteration l is represented by εi3[kl].
It should be mentioned that the equations (24) and (25) use the position of the sources estimated at the preceding iteration. However, when these equations are used for the first iteration l=0, the position estimated at the preceding iteration does not exist. For the first iteration, the position estimated at the last iteration for the previous series of iterations is utilized. In other words:




  
    
      
        
          [
          
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      0
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      0
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      0
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      0
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      0
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      0
                    
                    ]
                  
                
              
            
          
          ]
        
        =
        
          [
          
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          1
                        
                        )
                      
                      N
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          1
                        
                        )
                      
                      N
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          1
                        
                        )
                      
                      N
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          1
                        
                        )
                      
                      N
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          1
                        
                        )
                      
                      N
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          1
                        
                        )
                      
                      N
                    
                    ]
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        27
        )
      
    
  




Where N is the number of iterations carried out at every instance in time k.
The system of equations can also include the estimated position of the sources at a preceding instance of time k. For that, one assumes that the current predicted position is the position estimated at the preceding instance in time. This assumption can be expressed as follows:




  
    
      
        
          [
          
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      h
                    
                  
                  ⁡
                  
                    [
                    
                      
                        k
                        
                          l
                          -
                          1
                        
                      
                      ❘
                      
                        
                          (
                          
                            k
                            -
                            1
                          
                          )
                        
                        N
                      
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      h
                    
                  
                  ⁡
                  
                    [
                    
                      
                        k
                        
                          l
                          -
                          1
                        
                      
                      ❘
                      
                        
                          (
                          
                            k
                            -
                            1
                          
                          )
                        
                        N
                      
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      h
                    
                  
                  ⁡
                  
                    [
                    
                      
                        k
                        
                          l
                          -
                          1
                        
                      
                      ❘
                      
                        
                          (
                          
                            k
                            -
                            1
                          
                          )
                        
                        N
                      
                    
                    ]
                  
                
              
            
          
          ]
        
        =
        
          [
          
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      h
                    
                  
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          1
                        
                        )
                      
                      N
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      h
                    
                  
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          1
                        
                        )
                      
                      N
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      h
                    
                  
                  ⁡
                  
                    [
                    
                      
                        (
                        
                          k
                          -
                          1
                        
                        )
                      
                      N
                    
                    ]
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        28
        )
      
    
  




The intermediate error vector is defined as follows:




  
    
      
        
          
            
              
                ɛ
                _
              
              
                i
                4
              
            
            ⁡
            
              [
              
                k
                l
              
              ]
            
          
          =
          
            
              
                
                  
                    G
                    _
                  
                  ^
                
                
                  i
                  4
                
              
              ⁢
              
                
                  
                    
                      z
                      _
                    
                    ^
                  
                  
                    i
                    4
                  
                
                ⁡
                
                  [
                  k
                  ]
                
              
            
            +
            
              
                
                  
                    h
                    _
                  
                  ^
                
                
                  i
                  4
                
              
              ⁡
              
                [
                
                  k
                  l
                
                ]
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          where
          ⁢
          
            :
          
        
      
    
    
      
        (
        29
        )
      
    
  
  
    
      
        
          
            G
            _
          
          
            i
            4
          
        
        =
        
          
            I
            _
          
          6
        
      
    
    
      
        (
        30
        )
      
    
  




where IM is the matrix of size M×M

The system of equations i1 corresponds to the method suggested at equation (3) for two sources. The intermediate method i2 is based on the difference in time of arrival of the signals coming from sources 1 and 2 to the various sensors. The intermediate method i3 is based on the fact that the distance between the two sources is known. The intermediate method i4 utilizes the position found at the preceding instance time for low-pass filtering of a position estimated by the system. Based on the intermediate methods i1, i2, i3 and i4, it is possible to define a method that is based on all of the intermediate equations. The matrix Ĝf[kl], the vector ĥf[kl] and the vector {circumflex over (z)}f[kl] can be defined as follows:




  
    
      
        
          
            
              G
              _
              ^
            
            f
          
          ⁡
          
            [
            
              k
              l
            
            ]
          
        
        =
        
          [
          
            
              
                
                  
                    
                      G
                      _
                      ^
                    
                    
                      i
                      1
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
            
              
                
                  
                    
                      G
                      _
                      ^
                    
                    
                      i
                      2
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
            
              
                
                  
                    
                      G
                      _
                      ^
                    
                    
                      i
                      3
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    G
                    _
                  
                  
                    i
                    4
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        33
        )
      
    
  
  
    
      
        
          
            
              h
              _
              ^
            
            f
          
          ⁡
          
            [
            
              k
              l
            
            ]
          
        
        =
        
          -
          
            [
            
              
                
                  
                    
                      
                        h
                        _
                        ^
                      
                      
                        i
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        h
                        _
                        ^
                      
                      
                        i
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        h
                        _
                        ^
                      
                      
                        i
                        3
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        l
                      
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        h
                        _
                        ^
                      
                      
                        i
                        4
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        l
                      
                      ]
                    
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        34
        )
      
    
  
  
    
      
        
          
            
              z
              _
              ^
            
            f
          
          ⁡
          
            [
            
              k
              l
            
            ]
          
        
        =
        
          [
          
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        35
        )
      
    
  




The position of the source can be estimated with weighted least squares (WLS) as follows:




  
    
      
        
          
            
              z
              _
              ^
            
            f
          
          ⁡
          
            [
            
              k
              l
            
            ]
          
        
        =
        
          
            
              (
              
                
                  
                    (
                    
                      
                        
                          G
                          _
                          ^
                        
                        f
                      
                      ⁡
                      
                        [
                        
                          k
                          l
                        
                        ]
                      
                    
                    )
                  
                  T
                
                ⁢
                
                  
                    
                      W
                      _
                    
                    f
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
                ⁢
                
                  
                    
                      G
                      _
                      ^
                    
                    f
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
              )
            
            
              -
              1
            
          
          ⁢
          
            
              (
              
                
                  
                    G
                    _
                    ^
                  
                  f
                
                ⁡
                
                  [
                  
                    k
                    l
                  
                  ]
                
              
              )
            
            T
          
          ⁢
          
            
              
                W
                _
              
              f
            
            ⁡
            
              [
              k
              ]
            
          
          ⁢
          
            
              
                h
                _
                ^
              
              f
            
            ⁡
            
              [
              
                k
                l
              
              ]
            
          
        
      
    
    
      
        (
        36
        )
      
    
  
  
    
      
        
          
            
              W
              _
            
            f
          
          ⁡
          
            [
            k
            ]
          
        
        =
        
          [
          
            
              
                
                  
                    
                      W
                      _
                    
                    
                      i
                      1
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    4
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    2
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    6
                  
                
              
            
            
              
                
                  
                    0
                    _
                  
                  
                    4
                    ,
                    6
                  
                
              
              
                
                  
                    
                      W
                      _
                    
                    
                      i
                      2
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    4
                    ,
                    2
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    4
                    ,
                    6
                  
                
              
            
            
              
                
                  
                    0
                    _
                  
                  
                    2
                    ,
                    6
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    2
                    ,
                    4
                  
                
              
              
                
                  
                    
                      W
                      _
                    
                    
                      i
                      3
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    2
                    ,
                    6
                  
                
              
            
            
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    6
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    4
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    2
                  
                
              
              
                
                  
                    
                      W
                      _
                    
                    
                      i
                      4
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        37
        )
      
    
  




where Wf[k] is the weight matrix of the error and the matrices Wi1[k], Wi2[k], Wi3[k], Wi4[k] are the matrices for weighting the vectors of error values εi1[k], εi2[k], εi3[kl] and εi4[kl] respectively and the matrix 0M,N is a matrix of zeros of size M×N.

where





  
    
      
        
          
            
              W
              _
            
            
              i
              1
            
          
          ⁡
          
            [
            k
            ]
          
        
        =
        
          [
          
            
              
                
                  ρ
                  
                    s
                    1
                  
                
              
              
                0
              
              
                0
              
              
                0
              
              
                0
              
              
                0
              
            
            
              
                0
              
              
                
                  ρ
                  
                    s
                    1
                  
                
              
              
                0
              
              
                0
              
              
                0
              
              
                0
              
            
            
              
                0
              
              
                0
              
              
                
                  ρ
                  
                    s
                    1
                  
                
              
              
                0
              
              
                0
              
              
                0
              
            
            
              
                0
              
              
                0
              
              
                0
              
              
                
                  ρ
                  
                    s
                    2
                  
                
              
              
                0
              
              
                0
              
            
            
              
                0
              
              
                0
              
              
                0
              
              
                0
              
              
                
                  ρ
                  
                    s
                    2
                  
                
              
              
                0
              
            
            
              
                0
              
              
                0
              
              
                0
              
              
                0
              
              
                0
              
              
                
                  ρ
                  
                    s
                    2
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        38
        )
      
    
  
  
    
      
        
          
            
              W
              _
            
            
              i
              2
            
          
          ⁡
          
            [
            k
            ]
          
        
        =
        
          ζ
          ⁢
          
            
          
          ⁢
          
            
              I
              _
            
            4
          
        
      
    
    
      
        (
        39
        )
      
    
  
  
    
      
        
          
            
              W
              _
            
            
              i
              3
            
          
          ⁡
          
            [
            k
            ]
          
        
        =
        
          η
          ⁢
          
            
          
          ⁢
          
            
              I
              _
            
            2
          
        
      
    
    
      
        (
        40
        )
      
    
  
  
    
      
        
          
            
              W
              _
            
            
              i
              4
            
          
          ⁡
          
            [
            k
            ]
          
        
        =
        
          γ
          ⁢
          
            
          
          ⁢
          
            
              I
              _
            
            6
          
        
      
    
    
      
        (
        41
        )
      
    
  




Where ζ, η, γ, ρs1 and ρs2 are constants determined experimentally.

FIG. 11 is a schematic diagram of the methodology for determining the position of the sources in accordance with an aspect of the present invention. For each point in time k, the estimation method performs N iterations on the TDOA measurements. The estimation method is iterative because, as shown in FIG. 11, the intermediate method 3 is an iterative method. At the intermediate method 3, the position predicted at k is the position at a point in time of k−1 because the intermediate method 4 uses the estimated position of the sources from the preceding point in time. The intermediate method 1 uses the TDOA measurements for sources 1 and 2 and the intermediate method 2 uses the difference in the time of arrival of the signals coming from sources 1 and 2 as compared to the various sensors.
The relative orientation is determined as the angle between the coordinates of the master vehicle and that of the follower vehicle (see FIG. 2). As shown in FIG. 12, whether vehicle 2 is located at position A or at position B, the central point V is visible to vehicle 2 at the same position of X=R and Y=0. However, the relative orientation differs. Vehicle 2 can estimate the relative orientation to vehicle 1 based on the difference in distance between the two sources on vehicle 1 compared to the ultrasonic sensors on vehicle 2.
With regard to determining the relative orientation, the relative orientation of the vehicle to the system of axis must be known. More precisely, this angle must be in the horizontal plane x-y. FIG. 13 is a geometrical representation of a triangle formed by joining lines between sources 1 and 2 and sensor 1 as projected on plane x-y. The distance between the two sources as projected on the horizontal plane is noted as Dxyss−s1. The distance between source 1 and sensor 1 as projected on the horizontal plane is noted as r1,xys1. The distance between source 2 and sensor 1 as projected on the horizontal plane is noted as r1,xys2. The point V is the central point between source 1 and source 2. The angle θ1,xys2−s1 is the angle between the segment uniting sensor 1 and the point V and the segment uniting the point V and source 1.
The coordinates of the point V are calculated based on the following equation:




  
    
      
        
          [
          
            
              
                
                  x
                  v
                
              
            
            
              
                
                  y
                  v
                
              
            
            
              
                
                  z
                  v
                
              
            
          
          ]
        
        =
        
          
            1
            2
          
          ⁢
          
            (
            
              
                [
                
                  
                    
                      
                        x
                        
                          s
                          1
                        
                      
                    
                  
                  
                    
                      
                        y
                        
                          s
                          1
                        
                      
                    
                  
                  
                    
                      
                        z
                        
                          s
                          1
                        
                      
                    
                  
                
                ]
              
              +
              
                [
                
                  
                    
                      
                        x
                        
                          s
                          2
                        
                      
                    
                  
                  
                    
                      
                        y
                        
                          s
                          2
                        
                      
                    
                  
                  
                    
                      
                        z
                        
                          s
                          2
                        
                      
                    
                  
                
                ]
              
            
            )
          
        
      
    
    
      
        (
        42
        )
      
    
  




To calculate the angle, the law of cosines is applied to the triangle formed by the segments r1,xys1, r1,xys2 and Dxys2−s1:




  
    
      
        
          θ
          
            1
            ,
            xy
          
          
            
              s
              2
            
            -
            
              s
              1
            
          
        
        =
        
          arccos
          (
          
            
              
                
                  (
                  
                    r
                    
                      1
                      ,
                      xy
                    
                    v
                  
                  )
                
                2
              
              +
              
                
                  (
                  
                    
                      D
                      xy
                      
                        
                          s
                          2
                        
                        -
                        
                          s
                          1
                        
                      
                    
                    2
                  
                  )
                
                2
              
              -
              
                
                  (
                  
                    r
                    
                      1
                      ,
                      xy
                    
                    
                      s
                      1
                    
                  
                  )
                
                2
              
            
            
              
                r
                
                  1
                  ,
                  xy
                
                v
              
              ⁢
              
                D
                xy
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
            
          
          )
        
      
    
    
      
        (
        43
        )
      
    
  




The values r1,xys1, r1,xys2 and r1,xyv are calculated as follows:




  
    
      
        
          [
          
            
              
                
                  r
                  
                    1
                    ,
                    xy
                  
                  
                    s
                    1
                  
                
              
            
            
              
                
                  r
                  
                    1
                    ,
                    xy
                  
                  
                    s
                    2
                  
                
              
            
            
              
                
                  r
                  
                    1
                    ,
                    xy
                  
                  v
                
              
            
          
          ]
        
        =
        
          [
          
            
              
                
                  
                    
                      
                        (
                        
                          x
                          
                            s
                            1
                          
                        
                        )
                      
                      2
                    
                    +
                    
                      
                        (
                        
                          y
                          
                            s
                            1
                          
                        
                        )
                      
                      2
                    
                  
                
              
            
            
              
                
                  
                    
                      
                        (
                        
                          x
                          
                            s
                            2
                          
                        
                        )
                      
                      2
                    
                    +
                    
                      
                        (
                        
                          y
                          
                            s
                            2
                          
                        
                        )
                      
                      2
                    
                  
                
              
            
            
              
                
                  
                    
                      
                        (
                        
                          x
                          v
                        
                        )
                      
                      2
                    
                    +
                    
                      
                        (
                        
                          y
                          v
                        
                        )
                      
                      2
                    
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        44
        )
      
    
  




The equation (44) provides required variables in order to estimate the angle θ1,xys2−s1 between the axis connecting the two sources and the segment connecting sensor 1 and the point V projected on the x-y plane.
FIG. 14 is illustrates how to calculate the relative orientation θrel. FIG. 14 is a geometrical representation of a triangle formed by connecting the segments between source 1, source 2 and sensor 1. It should be noted that sensor 1 is located at x=0 and y=0 in the x-y plane. The angle θ1,xys2−s1 is calculated based on equation (43) and the angle φv is calculated using the following equation:




  
    
      
        
          φ
          v
        
        =
        
          arctan
          (
          
            
              y
              v
            
            
              x
              v
            
          
          )
        
      
    
    
      
        (
        45
        )
      
    
  




In FIG. 14, the segment AB is parallel to the axis y and passes through the point V. It should also be noted here that it is possible to determine θrel with only θ1,xys2−s1 and φv based on determining the intermediate angles α and β as follows:




  
    
      
        α
        =
        
          
            π
            2
          
          -
          
            φ
            v
          
        
      
    
    
      
        (
        46
        )
      
    
  
  
    
      
        β
        =
        
          π
          -
          α
        
      
    
    
      
        (
        47
        )
      
    
  
  
    
      
        
          θ
          rel
        
        =
        
          π
          -
          
            (
            
              
                θ
                
                  1
                  ,
                  xy
                
                
                  
                    s
                    2
                  
                  -
                  
                    s
                    1
                  
                
              
              +
              β
            
            )
          
        
      
    
    
      
        (
        48
        )
      
    
  




By substituting the equation (46) into the equation (47) and the equation (47) into the equation (48), the relative orientation based on φv and θ1,xys2−s1 is determined as follows:




  
    
      
        
          θ
          rel
        
        =
        
          
            π
            2
          
          -
          
            θ
            
              1
              ,
              xy
            
            
              
                s
                2
              
              -
              
                s
                1
              
            
          
          -
          
            φ
            v
          
        
      
    
    
      
        (
        49
        )
      
    
  




The accuracy of the present invention depends on the geometric formation of the ultrasonic sensors. As the distance between the ultrasonic sensors on a vehicle increases, the accuracy of the location detection increases. However, for unmanned vehicles, the distance between the ultrasonic sensors on the same vehicle is limited.
According to another aspect of the present invention, RF synchronization can be added to increase the precision of the present invention. Indeed, by calculating the RTT, it is possible to estimate the distance between sources and ultrasonic sensors using at least one ultrasonic source and one ultrasonic sensor. The precision on the distance does not depend on the sensor geometry.
Utilizing RF synchronization also increases the maximum distance between sources and sensors without needing to increase the distance between sensors. The maximum distance is only limited by the ultrasonic and the RF transmitted power.
The RTT is given by the following equation:

RTT=Tl+Ts  (50)

Where Tl and Ts are the propagation delay of the RF wave and the ultrasonic wave respectively.
Tl and Ts can be calculated by following equations




  
    
      
        
          T
          l
        
        =
        
          
            r
            1
            
              s
              h
            
          
          
            c
            l
          
        
      
    
    
      
        (
        51
        )
      
    
  
  
    
      
        
          T
          s
        
        =
        
          
            r
            1
            
              s
              h
            
          
          
            c
            s
          
        
      
    
    
      
        (
        52
        )
      
    
  




Where cl=3×108 m/s the speed of light in the air and cs=343 m/s and is the speed of sound in the air at ambient normal conditions.
By replacing equations (51) and (52) in the equation (50) and isolating r1sh:




  
    
      
        
          r
          1
          
            s
            h
          
        
        =
        
          
            
              
                RTT
                1
                
                  s
                  h
                
              
              ⁢
              
                c
                l
              
              ⁢
              
                c
                s
              
            
            
              
                c
                l
              
              +
              
                c
                s
              
            
          
          ≈
          
            
              RTT
              1
              
                s
                h
              
            
            
              c
              s
            
          
        
      
    
    
      
        (
        53
        )
      
    
  




Another intermediate method is introduced here to include the distance between the sensor 1 and the source h in the equation system:




  
    
      
        
          
            
              
                ɛ
                _
              
              
                i
                5
              
            
            ⁡
            
              [
              k
              ]
            
          
          =
          
            
              
                
                  G
                  _
                  ^
                
                
                  i
                  5
                
              
              ⁢
              
                
                  
                    z
                    _
                    ^
                  
                  
                    i
                    5
                  
                
                ⁡
                
                  [
                  k
                  ]
                
              
            
            +
            
              
                
                  h
                  _
                  ^
                
                
                  i
                  5
                
              
              ⁡
              
                [
                k
                ]
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          where
          ⁢
          
            :
          
        
      
    
    
      
        (
        54
        )
      
    
  
  
    
      
        
          
            G
            _
          
          
            i
            5
          
        
        =
        
          [
          
            
              
                0
              
              
                0
              
              
                1
              
              
                0
              
              
                0
              
              
                0
              
            
          
          ]
        
      
    
    
      
        (
        55
        )
      
    
  
  
    
      
        
          
            
              h
              _
              ^
            
            
              i
              5
            
          
          ⁡
          
            [
            k
            ]
          
        
        =
        
          -
          
            [
            
              
                
                  RTT
                  1
                  
                    s
                    h
                  
                
                ⁡
                
                  [
                  k
                  ]
                
              
              
                c
                s
              
            
            ]
          
        
      
    
    
      
        (
        56
        )
      
    
  
  
    
      
        
          
            
              z
              _
              ^
            
            
              i
              5
            
          
          ⁡
          
            [
            k
            ]
          
        
        =
        
          [
          
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        57
        )
      
    
  
  
    
      
        
          
            
              W
              _
            
            
              i
              5
            
          
          ⁡
          
            [
            k
            ]
          
        
        =
        v
      
    
    
      
        (
        58
        )
      
    
  




The intermediate method 5 can now be merged with the method f:




  
    
      
        
          
            
              G
              _
              ^
            
            f
            RF
          
          ⁡
          
            [
            
              k
              l
            
            ]
          
        
        =
        
          [
          
            
              
                
                  
                    
                      G
                      _
                      ^
                    
                    
                      i
                      1
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
            
              
                
                  
                    
                      G
                      _
                      ^
                    
                    
                      i
                      2
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
            
              
                
                  
                    
                      G
                      _
                      ^
                    
                    
                      i
                      3
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    G
                    _
                  
                  
                    i
                    4
                  
                
              
            
            
              
                
                  
                    
                      G
                      _
                    
                    
                      i
                      5
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        59
        )
      
    
  
  
    
      
        
          
            
              h
              _
              ^
            
            f
            RF
          
          ⁡
          
            [
            
              k
              l
            
            ]
          
        
        =
        
          -
          
            [
            
              
                
                  
                    
                      
                        h
                        _
                        ^
                      
                      
                        i
                        1
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        h
                        _
                        ^
                      
                      
                        i
                        2
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        h
                        _
                        ^
                      
                      
                        i
                        3
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        l
                      
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        h
                        _
                        ^
                      
                      
                        i
                        4
                      
                    
                    ⁡
                    
                      [
                      
                        k
                        l
                      
                      ]
                    
                  
                
              
              
                
                  
                    
                      
                        h
                        _
                        ^
                      
                      
                        i
                        5
                      
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        60
        )
      
    
  
  
    
      
        
          
            
              z
              _
              ^
            
            f
            RF
          
          ⁡
          
            [
            
              k
              l
            
            ]
          
        
        =
        
          [
          
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      1
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      y
                      ^
                    
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      z
                      ^
                    
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
            
              
                
                  
                    
                      r
                      ^
                    
                    1
                    
                      s
                      2
                    
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        61
        )
      
    
  




The position of the source can be estimated with weighted least squares (WLS):




  
    
      
        
          
            
              
                z
                _
                ^
              
              f
              RF
            
            ⁡
            
              [
              
                k
                l
              
              ]
            
          
          =
          
            
              
                (
                
                  
                    
                      (
                      
                        
                          
                            G
                            _
                            ^
                          
                          f
                          RF
                        
                        ⁡
                        
                          [
                          
                            k
                            l
                          
                          ]
                        
                      
                      )
                    
                    T
                  
                  ⁢
                  
                    
                      
                        W
                        _
                      
                      f
                      RF
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                  ⁢
                  
                    
                      
                        G
                        _
                        ^
                      
                      f
                      RF
                    
                    ⁡
                    
                      [
                      
                        k
                        l
                      
                      ]
                    
                  
                
                )
              
              
                -
                1
              
            
            ⁢
            
              
                (
                
                  
                    
                      G
                      _
                      ^
                    
                    f
                    RF
                  
                  ⁡
                  
                    [
                    
                      k
                      l
                    
                    ]
                  
                
                )
              
              T
            
            ⁢
            
              
                
                  W
                  _
                
                f
                RF
              
              ⁡
              
                [
                k
                ]
              
            
            ⁢
            
              
                
                  h
                  _
                  ^
                
                f
                RF
              
              ⁡
              
                [
                
                  k
                  l
                
                ]
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        and
      
    
    
      
        (
        62
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          [
          
            
              
                
                  
                    
                      W
                      _
                    
                    
                      i
                      1
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    4
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    2
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    6
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    1
                  
                
              
            
            
              
                
                  
                    0
                    _
                  
                  
                    4
                    ,
                    6
                  
                
              
              
                
                  
                    
                      W
                      _
                    
                    
                      i
                      2
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    4
                    ,
                    2
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    4
                    ,
                    6
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    4
                    ,
                    1
                  
                
              
            
            
              
                
                  
                    0
                    _
                  
                  
                    2
                    ,
                    6
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    2
                    ,
                    4
                  
                
              
              
                
                  
                    
                      W
                      _
                    
                    
                      i
                      3
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    2
                    ,
                    6
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    2
                    ,
                    1
                  
                
              
            
            
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    6
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    4
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    2
                  
                
              
              
                
                  
                    
                      W
                      _
                    
                    
                      i
                      4
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    6
                    ,
                    1
                  
                
              
            
            
              
                
                  
                    0
                    _
                  
                  
                    1
                    ,
                    6
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    1
                    ,
                    4
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    1
                    ,
                    2
                  
                
              
              
                
                  
                    0
                    _
                  
                  
                    1
                    ,
                    6
                  
                
              
              
                
                  
                    
                      W
                      _
                    
                    
                      i
                      5
                    
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
            
          
          ]
        
      
    
    
      
        (
        63
        )
      
    
  




The additional aspect of RF synchronization provides several advantages:

    
    
        Broader choice of array structure:
        
            Removing constraint on the array's geometry;
            Removing the correlation between the array's geometry and the precision on the distance measurement;
        
        
        The array structure can be reduced in size:
        
            Reducing the array's weight;
            Reducing non-linearity on position measures by reducing sensors location uncertainties;
        
        
        Increasing the precision on the measure of the distance of sources, which will increase the precision of measures on the X, Y and Z axis;
        The maximal distance is limited only by the transmission power of ultrasonic sources;
        Eliminate ambiguous zones;
        Reduce the minimal number of ultrasonic sensors to 3 instead of 4; and
        Add redundancy to the system.
    
    


FIGS. 15 through 19 show an experimental set-up in accordance with the present invention. FIG. 15 is a block diagram of an experimental set-up 1300 utilizing infra-red cameras system for validation purposes. The experimental set-up 1300 shows an ultrasonic source and infrared markers 1310 that would be located on a first vehicle (not shown). The ultrasonic sensor sends ultrasound waves for receipt by the matrix of sensors 1340 on a second vehicle (not shown). The sensors 1340 send the signals received to the AFE 1350 for signal conversion. The AFE 1350 then sends the converted signals to the DSP 1360 for signal processing. The DSP is operatively coupled to a central processing unit (CPU) 2 1370 for determining the relative position and orientation of the second vehicle relative to the first vehicle.
The infrared markers reflect back infrared light from the infrared cameras 1320 mounted on the walls. The infrared cameras 1320 are operatively coupled to CPU 1 1330 to process the recorded infrared signals in order to determine the location of the second vehicle relative to the first vehicle. Both the CPU 1 (1330) and the infrared cameras (1320) provide means of validation and are further embodiments of the present invention.
FIG. 16 is a block diagram of an experimental set-up 1400 utilizing infra-red cameras system for validation purposes. The experimental set-up 1400 shows an ultrasonic source and infrared markers 1420 that would be located on a first vehicle (not shown). The ultrasonic sensor sends ultrasound waves received by the matrix of sensors 1440 on a second vehicle (not shown). The sensors 1440 send the signals received to the AFE 1450 for signal conversion. The AFE 1450 then sends the converted signals to the DSP 1460 for signal processing. The DSP is operatively coupled to a CPU 2 (central processing unit) 2 1470 for determining the relative position and orientation of the second vehicle relative to the first vehicle. The DSP 1460 is operatively coupled to the FM Transmitter 1480 which sends and RF synchronization signal to the FM receiver 1490. The FM receiver 1490 is operatively coupled to the ultrasonic source 1410. The ultrasonic source 1410 sends ultrasonic pulses when the RF synchronization signal received from 1490 rises (from logic low to logic high).
The infrared markers reflect back infrared light from the infrared cameras 1420 mounted on the walls. The infrared cameras 1420 are operatively coupled to CPU 1 1430 to process the recorded infrared signals in order to determine the location of the second vehicle relative to the first vehicle. Both the CPU 1 (1430) and the infrared cameras (1420) provide means of validation and are further embodiments of the present invention.
Although two CPUs are shown, the present invention only requires one CPU for TDOA algorithms and formation controllers. This CPU can be a desktop computer (used as a base station) or an embedded computer located on board unmanned vehicles. Alternatively, the CPU 1 is not required since it serves only for validation means. A single CPU may be used in accordance with an aspect of the present invention.
In experiments, a mobile robot was equipped with two ultrasonic sources operating to 32.8 KHz and 25 KHz, respectively. The two sources were at a distance of 0.28 m from one another. An aerial vehicle (of quad rotor type) was equipped with four ultrasonic sensors with the following configuration:




  
    
      
        
          [
          
            
              
                
                  x
                  1
                
              
              
                
                  x
                  2
                
              
              
                
                  x
                  3
                
              
              
                
                  x
                  4
                
              
            
            
              
                
                  y
                  1
                
              
              
                
                  y
                  2
                
              
              
                
                  y
                  3
                
              
              
                
                  y
                  4
                
              
            
            
              
                
                  z
                  1
                
              
              
                
                  z
                  2
                
              
              
                
                  z
                  3
                
              
              
                
                  z
                  4
                
              
            
          
          ]
        
        =
        
          [
          
            
              
                0
              
              
                0
              
              
                0
              
              
                0
              
            
            
              
                0
              
              
                0.0042
              
              
                0.3937
              
              
                
                  -
                  0.4318
                
              
            
            
              
                0
              
              
                0.326
              
              
                0
              
              
                0
              
            
          
          ]
        
      
    
    
      
        (
        64
        )
      
    
  




Where xi, yi and zi represent the position of sensor i in the Cartesian frame of reference. The air vehicle tried to follow the mobile robot to a distance of 1 m, by using only the relative positioning system in this particular embodiment of the present invention. Here, the commercial system of localization by infra-red cameras recorded positions for offline validation purposes.
Since the air vehicles used had limited payload capacities, only the ultrasonic sensors and their infrastructure were installed on board the vehicles. The AFE and the DSP were installed on a table. Long wires were connected to the sensors and the AFE.
The following materials were used to carry out the experimentation:

    
    
        Two ultrasonic sources (32.8 KHz and 25 KHz);
        A sound wave generation circuit customized for this experiment;
        Four ultrasonic sensors SPM404UD5 by Knowles AcousticsTM;
        A mechanical stand for the sensors made of balsa;
        An analog front end board (simultaneous analog to digital converter and programmable gain amplifiers), AFE-5851 by Texas InstrumentsTM;
        A digital signal processor, Blackfin-537 by Analog DevicesTM;
        An interface board for electric level conversion, customized for the experiment;
        Measurement and testing equipment (Computer QuaRC: for the data back-up and TDOA localization algorithms, and an infrared tracking system (OptiTrack): for localization validation);
        Unmanned vehicles;
        One COTS (Commercial Over The Shelf) FM transmitter; and
        One COTS FM receiver.
    
    


It is readily understood by the skilled artisan that various configurations and materials may have been used in experimentation. The above materials were chosen based on what was readily available to the researchers at the time the experiments were developed, and not based on what is readily available in the marketplace.
FIGS. 17 and 18 show the unmanned vehicles, as well as the ultrasonic sources and sensors and the infrared reflecting balls.
FIG. 19 shows a DSP and an AFE used in the experiment.
The method steps of the invention may be embodied in sets of executable machine code stored in a variety of formats such as object code or source code. Such code is described generically herein as programming code, or a computer program for simplification. Clearly, the executable machine code may be integrated with the code of other programs, implemented as subroutines, by external program calls or by other techniques as known in the art.
The embodiments of the invention may be executed by a computer processor or similar device programmed in the manner of method steps, or may be executed by an electronic system which is provided with means for executing these steps. Similarly, an electronic memory means such computer diskettes, CD-ROMs, Random Access Memory (RAM), Read Only Memory (ROM) or similar computer software storage media known in the art, may be programmed to execute such method steps. As well, electronic signals representing these method steps may also be transmitted via a communication network.
Embodiments of the invention may be implemented in any conventional computer programming language. For example, preferred embodiments may be implemented in a procedural programming language (e.g.“C”) or an object oriented language (e.g.“C++”). Alternative embodiments of the invention may be implemented as pre-programmed hardware elements, other related components, or as a combination of hardware and software components. Embodiments can be implemented as a computer program product for use with a computer system. Such implementations may include a series of computer instructions fixed either on a tangible medium, such as a computer readable medium (e.g., a diskette, CD-ROM, ROM, or fixed disk) or transmittable to a computer system, via a modem or other interface device, such as a communications adapter connected to a network over a medium. The medium may be either a tangible medium (e.g., optical or electrical communications lines) or a medium implemented with wireless techniques (e.g., microwave, infrared or other transmission techniques). The series of computer instructions embodies all or part of the functionality previously described herein. Those skilled in the art should appreciate that such computer instructions can be written in a number of programming languages for use with many computer architectures or operating systems. Furthermore, such instructions may be stored in any memory device, such as semiconductor, magnetic, optical or other memory devices, and may be transmitted using any communications technology, such as optical, infrared, microwave, or other transmission technologies. It is expected that such a computer program product may be distributed as a removable medium with accompanying printed or electronic documentation (e.g., shrink wrapped software), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server over the network (e.g., the Internet or World Wide Web). Of course, some embodiments of the invention may be implemented as a combination of both software (e.g., a computer program product) and hardware. Still other embodiments of the invention may be implemented as entirely hardware, or entirely software (e.g., a computer program product).
A person understanding this invention may now conceive of alternative structures and embodiments or variations of the above all of which are intended to fall within the scope of the invention as defined in the claims that follow.

## Claims

1. A system for locating a first vehicle relative to a second vehicle comprising:
at least one source, operatively coupled to the first vehicle, for transmitting a signal;
at least four sensors, operatively coupled to the second vehicle, for receiving the signal; and
signal processing means, operatively coupled to the second vehicle, for processing the signal received by each of the at least four sensors to determine the relative location of the second vehicle to the first vehicle based on differences in time of arrival of the same signal by each of the at least four sensors;
wherein the first vehicle and the second vehicle are both unmanned;
wherein the time of arrival of the signal at each of the at least four sensors corresponds to an initial detection of a sinusoidal wave at each of the at least four sensors;
wherein the system determines the time of arrival of the signal from a series of samples taken along a period of time when the sinusoidal wave is at its peak, the time of arrival being determined to be when a first peak of the sinusoidal wave within the series of samples is detected;
wherein the peak of the sinusoidal wave occurs when a power of the signal is at a maximum level; and
wherein the relative location is validated by an infrared tracking means that includes at least one infrared camera that is in operative communication with at least one infrared marker operatively coupled to the first vehicle.

2. The system as in claim 1, wherein the at least one source is two sources, wherein each source transmits a unique signal that is received by the at least four sensors.

3. The system as in claim 2, wherein the signal processing means determines the relative orientation of the second vehicle to the first vehicle based on the difference in distance between the two sources compared to any two of the at least four sensors.

4. The system as in claim 2, wherein the signal processing means includes a band pass filter for processing the signals received by the at least four sensors into independent signals.

5. The system as in claim 1, wherein each sensor of the at least four sensors receives the signal from the at least one source.

6. The system as in claim 1, wherein the at least one source is an ultrasonic source for transmitting sound waves.

7. The system as in claim 1, wherein each of the at least four sensors is an ultrasonic sensor for receiving sound waves.

8. The system as in claim 1, wherein at least one of the first vehicle and the second vehicle is an aerial vehicle.

9. A method for locating a first vehicle relative to a second vehicle comprising steps of:
(a) transmitting, by a digital signal transmitter, a signal from a source operatively coupled to the first vehicle;
(b) receiving the signal by at least four sensors operatively coupled to the second vehicle;
(c) processing, by a processor, the signal received by each of the at least four sensors;
(d) determining, by the processor, the relative location of the second vehicle to the first vehicle based on differences in time of arrival of the signal by each of the at least four sensors; and
(e) validating the relative location through an infrared tracking means that includes at least one infrared camera that is in operative communication with at least one infrared marker operatively coupled to the first vehicle;
wherein the first vehicle and the second vehicle are both unmanned;
wherein the source emits a sinusoidal wave intermittently;
wherein the time of arrival of the signal at each of the at least four sensors corresponds to an initial detection of the sinusoidal wave at each of the at least four sensors;
wherein a series of samples is taken along a period of time when the sinusoidal wave is at its peak so as to determine the time of arrival of the signal, the time of arrival being determined to be when a first peak of the sinusoidal wave within the series of samples is detected; and
wherein the peak of the sinusoidal wave occurs when a power of the signal is at a maximum level.

10. The method as in claim 9, wherein steps (a) through (d) are performed continuously to maintain a specific distance between the first vehicle and the second vehicle as the vehicles move position.

11. The method as in claim 9, wherein two unique signals are transmitted by two sources on the first vehicle for receipt by each of the at least four sensors.

12. The method as in claim 11, wherein step (d) determines the relative orientation of the second vehicle to the first vehicle based on the difference in distance between the two sources compared to one of the at least four sensors.

13. The method as in claim 12, wherein steps (a) through (d) are performed continuously to maintain a specific distance and orientation between the first vehicle and the second vehicle as at least one of the vehicles move position.

14. A system for locating a first vehicle relative to a second vehicle comprising:
at least one source, operatively coupled to the first vehicle, for transmitting a signal;
at least four sensors, operatively coupled to the second vehicle, for receiving the signal; and
signal processing means, operatively coupled to the second vehicle, for processing the signal received by each of the at least four sensors to determine the relative location of the second vehicle to the first vehicle based on differences in time of arrival of the same signal by each of the at least four sensors;
wherein the first vehicle and the second vehicle are both unmanned;
wherein the time of arrival of the si nal at each of the at least four sensors corresponds to an initial detection of a sinusoidal wave at each of the at least four sensors;
wherein the system determines the time of arrival of the signal from a series of samples taken along a period of time when the sinusoidal wave is at its peak, the time of arrival being determined to be when a first peak of the sinusoidal wave within the series of samples is detected;
wherein the peak of the sinusoidal wave occurs when a power of the signal is at a maximum level;
wherein the relative location is validated by an infrared tracking means that includes at least one infrared camera that is in operative communication with at least one infrared marker operatively coupled to the first vehicle; and
wherein at least one of the first vehicle and the second vehicle is an aerial vehicle.