WO2024088243A1 - Uwb-based positioning method and device, and medium - Google Patents

Uwb-based positioning method and device, and medium Download PDF

Info

Publication number
WO2024088243A1
WO2024088243A1 PCT/CN2023/126138 CN2023126138W WO2024088243A1 WO 2024088243 A1 WO2024088243 A1 WO 2024088243A1 CN 2023126138 W CN2023126138 W CN 2023126138W WO 2024088243 A1 WO2024088243 A1 WO 2024088243A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
positioning
positioning information
information
timestamp
Prior art date
Application number
PCT/CN2023/126138
Other languages
French (fr)
Chinese (zh)
Inventor
李宝利
Original Assignee
歌尔科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 歌尔科技有限公司 filed Critical 歌尔科技有限公司
Publication of WO2024088243A1 publication Critical patent/WO2024088243A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • the present invention relates to the field of communication technology, and in particular to a UWB-based positioning method, device and medium.
  • Ultra-wideband (UWB) positioning technology is an emerging technology in the field of indoor positioning. It is a low-power radio technology used in the field of wireless communications and uses nanosecond or sub-nanosecond pulses to achieve wireless communications.
  • the current ranging and positioning methods use only one ranging method or positioning method to determine the terminal's location information based on the signal parameters between the base station and the terminal, resulting in a single positioning measurement method, and the errors it generates cannot be eliminated.
  • the traditional positioning algorithm causes errors due to interference such as reflection, multipath propagation, non-line-of-sight propagation, and noise during propagation, resulting in large deviations in the terminal's location information and low accuracy.
  • the purpose of the present invention is to provide a UWB-based positioning method, device and medium, so that the location information of a terminal is within a preset area, the deviation of the positioning information is reduced, and the accuracy of terminal positioning is improved.
  • the present invention provides a UWB-based positioning method, comprising:
  • the distance value between each base station and the terminal is obtained by the number of ranging times, the ranging algorithm and the position information of each base station to determine multiple positioning information corresponding to the terminal;
  • a corresponding positioning strategy is determined according to a relationship between a plurality of positioning information and a preset condition to obtain final location information of the terminal, wherein the preset condition is that the plurality of positioning information is in a current preset area.
  • the distance value between each base station and the terminal is obtained through the number of ranging times, the ranging algorithm and the position information of each base station to determine multiple positioning information corresponding to the terminal, including:
  • the current positioning information corresponding to the terminal with the current number of ranging times is determined according to the relationship between the current distance value and the position information of each base station.
  • determining the current distance value corresponding to each base station and the terminal at the current number of ranging times according to the ranging algorithm and the signal parameter includes:
  • timestamps of pulse signals transmitted between each base station and the terminal wherein the timestamps include at least a first timestamp and a second timestamp of a group of pulse signals transmitted by each base station to the terminal, a third timestamp and a fourth timestamp of a group of response pulse signals transmitted by the terminal to each base station, and the signal parameter is the transmitted timestamp;
  • the current distance value between each base station and the terminal is determined by the relationship between the one-way delay time and the speed.
  • the process of establishing the first timestamp and the second timestamp includes the following steps:
  • the process of establishing the third timestamp and the fourth timestamp includes the following steps:
  • the third timestamp and the response signal are sent to each base station so that each base station records the response signal and the reception time of the third timestamp as the fourth timestamp.
  • determining a corresponding positioning strategy according to the relationship between the plurality of positioning information and the preset conditions to obtain the final location information of the terminal includes:
  • each standard distance value is a distance value between each base station determined by the location information of each base station
  • the final location information of the terminal is determined according to the relationship between the multiple positioning information.
  • the process of establishing the current preset area specifically includes:
  • the circular area is divided according to the target positioning information and the relationship between the diameter and length values to determine the current preset area.
  • determining the location information of the terminal according to the relationship between each measured distance value and the error mean value includes:
  • Each measured distance value and the error mean are processed separately to obtain a first distance value, a second distance value and a third distance value of the corresponding terminal;
  • the location information of the terminal is determined according to the relationship among the first distance value, the second distance value, the third distance value and the location information of each base station.
  • determining the final location information of the terminal according to the relationship between the multiple positioning information includes:
  • the multiple positioning information are averaged to obtain the final positioning information as the final location information of the terminal;
  • one piece of positioning information is selected from the multiple positioning information as the final location information of the terminal.
  • the present invention further provides a UWB-based positioning device, comprising:
  • An acquisition module used to acquire location information of each base station, wherein the number of base stations is at least three;
  • a first determination module is used to obtain the distance value between each base station and the terminal through the number of ranging times, the ranging algorithm and the position information of each base station to determine multiple positioning information corresponding to the terminal;
  • the second determination module is used to determine a corresponding positioning strategy according to a relationship between a plurality of positioning information and a preset condition to obtain final location information of the terminal, wherein the preset condition is that the plurality of positioning information is in a current preset area.
  • the present invention further provides a UWB-based positioning device, comprising:
  • the processor is used to implement the steps of the above-mentioned UWB-based positioning method when executing the computer program.
  • the present invention also provides a computer-readable storage medium, on which a computer program is stored.
  • a computer program is stored on which a computer program is stored.
  • the steps of the above-mentioned UWB-based positioning method are implemented.
  • the present invention provides a UWB-based positioning method, including: obtaining the location information of each base station, wherein the number of base stations is at least three; obtaining the distance value between each base station and the terminal through the number of ranging times, ranging algorithm and the location information of each base station to determine multiple positioning information corresponding to the terminal; determining the corresponding positioning strategy according to the relationship between the multiple positioning information and the preset conditions to obtain the final location information of the terminal, wherein the preset condition is that the multiple positioning information is in the current preset area.
  • the method obtains the distance value between each base station and the terminal through the ranging algorithm, determines the positioning information corresponding to the terminal according to the distance value, and then determines the corresponding positioning strategy according to the relationship between the positioning information and the preset conditions.
  • the combination of the ranging algorithm and the positioning strategy reduces the error of the transmission signal between the base station and the terminal, and the positioning information of the terminal obtained has a lower error than the positioning information obtained by the existing single positioning method; at the same time, the corresponding positioning strategy is determined according to the relationship between the multiple positioning information and the preset conditions, so that the terminal's location information is within the preset area, reducing the deviation of the positioning information and improving the accuracy of the terminal positioning.
  • the present invention also provides a UWB-based positioning device and medium, which have the same beneficial effects as the above-mentioned UWB-based positioning method.
  • FIG1 is a flow chart of a UWB-based positioning method provided by an embodiment of the present invention.
  • FIG2 is a schematic diagram of a terminal positioning method provided by an embodiment of the present invention.
  • FIG3 is a structural diagram of a UWB-based positioning device provided in an embodiment of the present invention.
  • FIG. 4 is a structural diagram of another UWB-based positioning device provided in an embodiment of the present invention.
  • the core of the present invention is to provide a UWB-based positioning method, device and medium, so that the location information of the terminal is within a preset area, the deviation of the positioning information is reduced, and the accuracy of terminal positioning is improved.
  • the UWB-based positioning method provided by the present invention can be applied to various positioning electronic devices, such as smart watches, smart bracelets, rings, virtual reality (VR), augmented reality devices (AR) and other smart wearable devices, as well as locators, mobile phones and other mobile devices.
  • various positioning electronic devices such as smart watches, smart bracelets, rings, virtual reality (VR), augmented reality devices (AR) and other smart wearable devices, as well as locators, mobile phones and other mobile devices.
  • FIG. 1 is a flow chart of a UWB-based positioning method provided by an embodiment of the present invention. As shown in FIG. 1 , the method includes:
  • S11 Acquire location information of each base station, where the number of base stations is at least three;
  • S12 Obtain the distance value between each base station and the terminal through the number of ranging times, ranging algorithm and location information of each base station to determine multiple positioning information corresponding to the terminal;
  • the preset condition is that a plurality of positioning information is in the current preset area.
  • the location information of each base station is obtained.
  • the base station uses the earth as the horizontal coordinate, and the coordinates of the base station can be the location information of the base station.
  • the number of base stations can be determined according to the accuracy requirements of UWB positioning technology, as well as the dimensional requirements.
  • UWB positioning technology is applicable to zero-dimensional, one-dimensional, Two-dimensional and three-dimensional positioning. In zero dimension, that is, existence or non-existence, in this case, it is generally considered based on the coverage range of a single base station. Depending on environmental interference and shielding, the coverage range is generally 10 to 100 meters in radius. In zero dimension, accuracy is generally not emphasized, and the focus is on whether the control area is fully covered.
  • One dimension i.e. one directional dimension, is based on the principle of two points in a line. At least two base stations are required. The accuracy can be adjusted according to the environment. Theoretically, it can reach 10cm. The general environment will have an accuracy of 30-100cm. Two dimensions, i.e. positioning in a plane area, can output specific X and Y dimensional coordinates. The minimum requirement is 3 base stations from the technical principle, but the minimum requirement is 4 base stations from the application effect. Based on the different environmental complexity and different accuracy requirements, the distance of base station deployment will be different. In areas with higher requirements, high-quality and high-precision calculations are generally performed by increasing the density of base stations.
  • the highest accuracy of two dimensions can be 10cm, but it belongs to a specific constant environment.
  • the normal use environment can achieve 30-50cm accuracy.
  • Three dimensions i.e., on the basis of two dimensions, height information is added to achieve three-dimensional positioning, and the output is three-axis data X, Y, Z.
  • three-dimensional positioning is composed of two plane positioning at different heights. Therefore, the number of base stations will generally be doubled. At present, fewer scenes will use it in this way because the cost will be doubled, and the height accuracy is generally practical to be about 100cm, which is difficult to achieve ultra-high accuracy.
  • the number of base stations is at least three, which can meet most application scenarios.
  • the number of ranging times determines the number of positioning information currently required according to the preset number, that is, the number of ranging times is the same as the number of positioning information. It can be understood that the number of ranging times is set according to the empirical value. For example, the number of ranging times is 10 times, and 10 positioning information corresponding to the terminal are obtained. Since the positioning information obtained is prone to accidental or erroneous, multiple positioning information will be set to avoid errors or accidental effects on the determination of the final location information of the terminal. A direct relationship is determined based on the location information of each base station and the unknown location information of the terminal. The relationship between the sum of the square differences of the location information of each base station and the unknown location information of the terminal is equal to the distance value between each base station and the terminal.
  • the specific formula is as follows:
  • the location information of each base station is represented by the coordinate axis as (x 1 ,y 1 ), (x 2 ,y 2 ), (x 3 ,y 3 ), and the unknown location information of the terminal is (x,y), and its distance values correspond to r 1 , r 2 , and r 3 , respectively. Since the location information of each base station is known, its distance value can be obtained based on the pulse signal transmission of each base station and the terminal, as well as the ranging algorithm, and then the unknown location information of the terminal, that is, the positioning information, can be obtained by reverse deduction according to the above formula.
  • the specific formula is as follows:
  • the ranging algorithm can be the same or different in each ranging process.
  • the positioning information obtained is obtained according to different ranging algorithms or by using the same ranging algorithm at different times, and the present invention does not make specific limitations.
  • the current ranging generally adopts ToF single-sided two-way ranging (Single Sided-Two-Way Ranging, SS-TWR), which has a relatively strict constraint that the sending device and the receiving device must be clock synchronized.
  • the double-sided two-way ranging method Double Sided-Two-Way Ranging, DS-TWR
  • DS-TWR Double Sided-Two-Way Ranging
  • module B After a certain processing method is applied to the UWB signal, module B simultaneously transmits a response nature and a request nature signal at Tb2, which is received by module A at its own timestamp Ta2. After a period of processing, the response signal is replied at Ta3, which is received by module B at its timestamp Tb3.
  • the specific formula is as follows:
  • the second method solves the problem of clock offset, but the time consumption of ranging increases. Therefore, the ranging algorithm determined by combining the two methods and considering clock frequency shift and reducing time consumption can also be applied to the embodiments of the present invention.
  • Its ranging algorithm can be any one or more of the algorithms mentioned above.
  • the ranging algorithm of the present invention can also be other ranging algorithms, such as angle of arrival ranging (Angle of Arrival, AOA), received signal strength indicator ranging (Received Signal Strength Indication, RSSI), circular positioning (Time of Arrival, TOA), passive time difference positioning (Time Difference of Arrival, TDOA), etc.
  • the present invention does not make specific limitations, as long as the positioning information of the terminal can be obtained.
  • step S12 After obtaining multiple positioning information in step S12, it determines the corresponding positioning strategy according to the relationship between the multiple positioning information and the preset conditions.
  • the multiple positioning information meets the preset conditions, it means that the deviation between the multiple positioning information is small, and the final location information of the terminal can be determined based on the multiple positioning information.
  • the multiple positioning information does not meet the preset conditions, it means that the deviation between the multiple positioning information is large, and the positioning information needs to be reselected.
  • the reselected positioning information needs to be combined with the actual distance of each base station to determine the error mean to obtain the current positioning information, update the positioning information, and re-judge whether it meets the current preset conditions. If so, it means that the deviation of the corrected positioning information is small.
  • the positioning strategy is based on using the common intersection of the circles of the base stations as the location information of the terminal.
  • the circles corresponding to the base stations cannot intersect or the intersection is not one point but multiple points, that is, the terminal has multiple positioning information.
  • the embodiment of the present invention corrects the multiple positioning information so that it is in the current preset area to reduce the deviation of the positioning information.
  • the preset condition is that multiple positioning information are in the current preset area. Since the positioning information is different each time, the corresponding current preset area is also different. The preset area is updated in real time and the positioning deviation is corrected until the deviation meets certain conditions, that is, the current multiple positioning information is in the current preset area. In this way, the terminal location information obtained is more accurate.
  • An embodiment of the present invention provides a UWB-based positioning method, comprising: obtaining location information of each base station, wherein the number of base stations is at least three; The method obtains the distance value between each base station and the terminal based on the location information of the station to determine the multiple positioning information corresponding to the terminal; determines the corresponding positioning strategy according to the relationship between the multiple positioning information and the preset conditions to obtain the final location information of the terminal, wherein the preset condition is that the multiple positioning information is in the current preset area. The method obtains the distance value between each base station and the terminal through a ranging algorithm, determines the positioning information corresponding to the terminal according to the distance value, and then determines the corresponding positioning strategy according to the relationship between the positioning information and the preset conditions.
  • the combination of the ranging algorithm and the positioning strategy reduces the error of the transmission signal between the base station and the terminal, and the positioning information of the terminal obtained has a lower error than the positioning information obtained by the existing single positioning method; at the same time, the corresponding positioning strategy is determined according to the relationship between the multiple positioning information and the preset conditions, so that the terminal's location information is within the preset area, reducing the deviation of the positioning information and improving the accuracy of the terminal positioning.
  • the distance value between each base station and the terminal is obtained by using the number of ranging times, the ranging algorithm and the location information of each base station in step S12 to determine multiple positioning information corresponding to the terminal, including:
  • the current positioning information corresponding to the terminal with the current number of ranging times is determined according to the relationship between the current distance value and the position information of each base station.
  • the signal parameters between each base station and the terminal are obtained under the current number of ranging times, and the signal parameters can be the timestamp information of the sending and receiving of the transmission signals of each base station and the terminal. According to each timestamp information, the current distance value corresponding to each base station and the terminal can be obtained according to the ranging algorithm.
  • the location information of each base station is known.
  • the current positioning information of the terminal can be obtained by reversely deducing the formula of the unknown location information of the terminal according to the above embodiment, and then multiple positioning information under the number of ranging times can be obtained.
  • the ranging algorithm may apply an existing ranging algorithm, or may adopt a combination of multiple ranging algorithms to form a new ranging algorithm, which is not limited here.
  • the embodiment of the present invention provides a process for obtaining the distance value between each base station and the terminal through the number of ranging times, the ranging algorithm and the position information of each base station to determine multiple positioning information corresponding to the terminal, and measures the distance value through the signal parameters between each base station and the terminal (the flight time of the pulse signal between each base station and the terminal) to obtain the positioning information of the terminal.
  • the current distance value corresponding to each base station and the terminal of the current ranging number is determined according to the ranging algorithm and the signal parameter, including:
  • timestamps of pulse signals transmitted between each base station and the terminal wherein the timestamps include at least a first timestamp and a second timestamp of a group of pulse signals transmitted by each base station to the terminal, a third timestamp and a fourth timestamp of a group of response pulse signals transmitted by the terminal to each base station, and the signal parameter is the transmitted timestamp;
  • the current distance value between each base station and the terminal is determined by the relationship between the one-way delay time and the speed.
  • multiple groups of timestamps can be obtained, including at least one group of timestamps sent from the base station to the terminal, and one group of timestamps sent from the terminal to the base station.
  • two groups are included, and four timestamps (first timestamp, second timestamp, third timestamp and fourth timestamp) obtained through the bidirectional transmission are included.
  • the transmission directions between the base station and the terminal include two, one transmission direction is the first timestamp and second timestamp corresponding to the transmission from the base station to the terminal, and the other transmission direction is the third timestamp and fourth timestamp corresponding to the transmission from the base station to the terminal.
  • the specific third timestamp and fourth timestamp are the timestamps corresponding to the response pulse signal, and the pulse signal is associated with the response pulse signal to obtain more accurate timestamp information.
  • multiple bidirectional transmissions includes multiple groups of timestamp information, namely multiple first timestamps, multiple second timestamps, multiple third timestamps and multiple fourth timestamps.
  • the timestamp information obtained from multiple bidirectional transmissions facilitates the subsequent calculation of the distance value between the base station and the terminal to be more accurate. At the same time, it also takes up more time. In terms of engineering implementation, the distance between the base station and the terminal is far, and it takes more time after multiple bidirectional transmissions, which increases the time consumption of the distance value obtained later.
  • the timestamp information of the pulse signal sending record can be the timestamp when the entire pulse signal is sent as the first or fourth timestamp, or the timestamp when the pulse signal is just started as the first or fourth timestamp.
  • the present invention does not limit this.
  • the timestamp when the entire pulse signal is sent is used as the timestamp for recording.
  • the timestamp when the pulse signal from the other end just starts is used as the timestamp for recording, or the timestamp information when the pulse signal is completely received at this end is used as the timestamp for recording.
  • the entire receiving process avoids interference information caused by receiving, so the second and fourth timestamps for recording are used as the timestamp for recording when the pulse signal is completely received.
  • the delay time can be a delay in the transmission protocol, or a delay in receiving or sending between the local end and the other end. It is not limited here and can be set according to actual conditions.
  • the delay in the transmission protocol it can be a transmission protocol delay from A to B, or a transmission protocol delay from B to A.
  • the embodiment of the present invention considers bidirectional transmission, that is, bidirectional transmission formed by A transmitting from B once and B transmitting from A once.
  • each base station sends a pulse signal to the terminal at time Ta1, the time when the terminal receives the pulse signal is time Tb1. Only pulse signals can be sent, or pulse signals and timestamp information of Ta1 moment can be sent.
  • the terminal only knows the moment of the pulse signal it receives as Tb1 moment (second timestamp). Since the clock sources used by the base station and the terminal are different, the terminal needs to send a reply signal (response signal) of the pulse signal to the base station again.
  • the terminal records the current sending moment as Tb2 moment (third timestamp), and the base station receives the reply signal as Ta2 moment (fourth timestamp).
  • the fourth timestamp minus the first timestamp is the entire transmission time of the transmission between the base station and the terminal
  • the third timestamp minus the second timestamp is the transmission time of the terminal.
  • Ta2 is the fourth timestamp
  • Ta1 is the first timestamp
  • Tb2 is the third timestamp
  • Tb1 is the fourth timestamp
  • the current distance between the base station and the terminal is determined based on the relationship between time and speed, and the speed is usually the propagation speed of light (3*10 8 m/s). Therefore, the distance between the terminal and the base station is T*C, where C is the speed of light.
  • the speed of light refers to the propagation speed of light waves or electromagnetic waves in a vacuum or medium.
  • the speed of light in a vacuum is the maximum speed of natural objects found so far. It has nothing to do with the speed of the observer relative to the light source, that is, the speed of light measured in the inertial system at rest and in motion relative to the light source is the same.
  • the pulse signal sent between the base station and the terminal may also be that the terminal sends a pulse signal to the base station, the base station responds to the pulse signal to obtain a response signal, and then sends the response signal to the terminal. This is not limited here, as long as the distance between the base station and the terminal can be obtained.
  • the process of establishing the first timestamp and the second timestamp includes the following steps:
  • the process of establishing the third timestamp and the fourth timestamp includes the following steps:
  • the third timestamp and the response signal are sent to each base station so that each base station records the response signal and the reception time of the third timestamp is the fourth timestamp.
  • the sending time of the pulse signal sent by each base station is recorded as the first timestamp, and the first timestamp is sent to the terminal together with the pulse signal as the sending carrying information of the pulse signal.
  • the terminal can see the first timestamp information, that is, the sending timestamp of the pulse signal sent by the base station, and can also use the receiving time of the pulse signal and the first timestamp as the second timestamp. At this time, the delay time of the one-way transmission sent by the base station to the terminal can be obtained.
  • the terminal sends a response signal to the answer pulse signal to the base station, and the sending time of the response signal by the terminal is the third timestamp.
  • the third timestamp and the response signal are sent to the base station together.
  • the base station can see the third timestamp information, that is, the sending timestamp of the response signal sent by the terminal. At this time, the delay time of the one-way transmission sent by the terminal to the base station can be obtained.
  • the transmission delay time of the entire transmission process can be obtained by adding the two delay times. It can be understood that the above description can be used to know the delay times of the one-way transmission of this end and the other end respectively. Since the transmitted pulse signal and the response signal are different, whether the delay time from the base station to the terminal will be different from the delay time from the terminal to the base station. In order to obtain a more accurate delay time, the formula is the same as the one-way delay time mentioned in this embodiment.
  • the embodiment of the present invention provides a process for determining the current distance value corresponding to each base station and the terminal according to the ranging algorithm and signal parameters for determining the current ranging times.
  • the base station and the terminal know each other's sending time, which ensures that the clock synchronization offset is small and reduces the error.
  • the four timestamps of bidirectional transmission can solve the ranging time consumption problem, reduce the generation of time consumption problems, and improve the efficiency and accuracy of ranging.
  • the step S13 of determining the corresponding positioning strategy according to the relationship between the plurality of positioning information and the preset conditions to obtain the final position information of the terminal includes:
  • each standard distance value is a distance value between each base station determined by the location information of each base station
  • the final location information of the terminal is determined according to the relationship between the multiple positioning information.
  • the multiple positioning information meets the preset conditions. If so, it means that the current multiple positioning information is in the current preset area, and the deviations between the various positioning information are small. No correction is required, and the final location information of the terminal is directly determined based on the current multiple positioning information. If not, it means that there may be several positioning information in the current multiple positioning information that are not in the current preset area, and the deviations between the various positioning information are large, and correction is required, the purpose of which is to make all the current multiple positioning information in the current preset area.
  • the actual distance value between each base station and the measured distance value between each base station and the terminal at the current moment are determined according to the ranging algorithm.
  • the actual distance value is the value measured by the pulse signal transmission between each base station measured by the ranging algorithm, which takes into account the actual transmission environment (the existence of interference factors). Since the corresponding distance value at different times will be affected by the current transmission environment, it is necessary to obtain the distance value measured by the pulse signal transmission between each base station and the terminal at the current moment, that is, the measured distance value.
  • the error mean is determined by the relationship between each actual distance value and each standard distance value. Specifically, each actual distance value minus each standard distance value obtains the corresponding real-time error, and each real-time error is averaged to obtain the error mean.
  • Each standard distance value is the distance value between each base station determined by the location information of each base station. For example, if there are three base stations, the distance values obtained are three, namely, the distance between base station 1 and base station 2, the distance between base station 1 and base station 3, and the distance between base station 2 and base station 3. Since the coordinate value of the base station is certain and its location information is certain, the distance between each base station is certain.
  • the standard distance value is measured in an environment without interference, and the error is small and can be ignored.
  • the standard distance value is used as the standard reference value for ranging and positioning.
  • FIG2 is a schematic diagram of a terminal positioning method provided by an embodiment of the present invention.
  • the standard distance value between base station 1 and base station 2 is ToF 1_2
  • the standard distance value between base station 2 and base station 3 is ToF 2_3
  • the standard distance value between base station 1 and base station 3 is ToF 1_3
  • the corresponding actual distance values are ToF' 1_2 ToF' 1_3 , ToF' 2_3 .
  • the specific formula for determining the mean error is as follows:
  • ⁇ t is the mean error.
  • the location information of the terminal is determined according to the relationship between the measured distance value and the error mean.
  • the measured distance value is the same as the distance value between each base station and the terminal obtained by the ranging algorithm, and the corresponding measured distance value (r 1 , r 2 , r 3 ) is obtained by adding the error mean value to the measured distance value.
  • the value obtained is the current corrected local ranging positioning value (r 1 ', r 2 ', r 3 '), and the location information of the terminal can be obtained by the positioning information formula (refer to the above embodiment).
  • determining the location information of the terminal according to the relationship between each measured distance value and the error mean value includes:
  • Each measured distance value and the error mean are processed separately to obtain a first distance value, a second distance value and a third distance value of the corresponding terminal;
  • the location information of the terminal is determined according to the relationship among the first distance value, the second distance value, the third distance value and the location information of each base station.
  • each measured distance value is processed with the error mean value to obtain the corresponding first distance value r 1 ', second distance value r 2 ' and third distance value r 3 '.
  • the specific formula is as follows:
  • the location information of the terminal is obtained according to the first distance value, the second distance value, the third distance value and the location information of each base station, combined with the formula for obtaining the unknown location information of the terminal by reverse deduction in the above embodiment.
  • the new multiple positioning information continues to be judged whether it meets the preset conditions, until the corresponding final position information is output after the preset conditions are met.
  • the embodiment of the present invention provides a process for determining the final location information of the terminal by determining the corresponding positioning strategy according to the relationship between multiple positioning information and preset conditions.
  • the final location information of the terminal is determined from the positioning information.
  • the corresponding positioning strategy is determined so that the terminal's location information is within the preset area, reducing the deviation of the positioning information and improving the accuracy of the terminal positioning.
  • the process of establishing the current preset area in the preset condition specifically includes:
  • the circular area is divided according to the target positioning information and the relationship between the diameter and length values to determine the current preset area.
  • any two positioning information are selected from multiple positioning information to determine their length values, and a length value is determined by pairing two positioning information.
  • the maximum length value is continuously selected from each length value, so that the maximum length value is used as the diameter length of the preset area.
  • the positioning information of the maximum length value can be determined as two target positioning information, and the circular area is divided by the diameter length values of the current two target positioning information to determine as the current preset area.
  • the size and position of the preset area also change in real time, so as to better determine the final position information for the current multiple positioning information and improve real-time performance and accuracy.
  • the shape of the current preset area can be the circular area mentioned above, or it can be a semi-fan-shaped area or a rectangular area, etc.
  • the circular area determined by the diameter length value is more convenient and quick, so that the time to determine the preset area is shorter.
  • the process of establishing the current preset area of the preset conditions provided in the embodiment of the present invention is more convenient and quicker to determine the circular area by the diameter length value, so that the time for determining the preset area is shorter.
  • determining the final location information of the terminal according to the relationship between the multiple positioning information includes:
  • the multiple positioning information are averaged to obtain the final positioning information as the final location information of the terminal;
  • one piece of positioning information is selected from the multiple positioning information as the final location information of the terminal.
  • the multiple positioning information is averaged to obtain the final positioning information. For example, there are 5 positioning information, and the coordinates of the positioning information are (x 1 ', y 1 '), (x 2 ', y 2 '), (x 3 ', y 3 '), (x 4 ', y 4 '), (x 5 ', y 5 ').
  • the corresponding x' value of the final positioning information obtained by the average processing is:
  • the y' value of the final position information obtained by mean processing is:
  • the coordinate value (x', y') of its final position information is obtained by combining x' and y'.
  • the mean value processing provided in the embodiment of the present invention is only one embodiment, and the final position information can also be obtained through standard deviation or other algorithm processing.
  • the embodiment of the present invention determines the final location information of the terminal according to the relationship between multiple location information. If multiple location information are the same, one location information is determined as the final location information. If multiple location information are different, the final location information is obtained by averaging. This makes the process of determining the final location information simpler and improves its accuracy.
  • FIG3 is a structural diagram of a UWB-based positioning device provided by an embodiment of the present invention. As shown in FIG3, the UWB-based positioning device includes:
  • An acquisition module 11 is used to acquire location information of each base station, wherein the number of base stations is at least three;
  • a first determination module 12 is used to obtain the distance value between each base station and the terminal through the number of ranging times, the ranging algorithm and the position information of each base station to determine multiple positioning information corresponding to the terminal;
  • the second determination module 13 is used to determine a corresponding positioning strategy according to the relationship between the multiple positioning information and the preset condition to obtain the final location information of the terminal, wherein the preset condition is that the multiple positioning information is in the current preset area.
  • FIG. 4 is a structural diagram of another UWB-based positioning device provided in an embodiment of the present invention. As shown in FIG. 4 , the device includes:
  • the processor 22 is used to implement the steps of the UWB-based positioning method when executing the computer program.
  • the UWB-based positioning device provided in this embodiment may include but is not limited to mobile devices such as wearable devices, locators, smart phones, tablet computers, laptops or desktop computers.
  • the processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
  • the processor 22 may be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA).
  • DSP digital signal processor
  • FPGA field-programmable gate array
  • PDA programmable logic array
  • the processor 22 may also include a main processor and a coprocessor.
  • the main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU);
  • the coprocessor is a low-power processor for processing data in the standby state.
  • the processor 22 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen.
  • the processor 22 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
  • AI artificial intelligence
  • the memory 21 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 21 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices and flash memory storage devices.
  • the memory 21 is used to store at least the following computer program 211, wherein after the computer program is loaded and executed by the processor 22, it can implement the relevant UWB-based positioning method disclosed in any of the above embodiments.
  • the resources stored in the memory 21 may also include an operating system 212 and data 213, and the storage method may be temporary storage or permanent storage.
  • the operating system 212 may include Windows, Unix, Linux, etc.
  • the data 213 may include but is not limited to data related to the UWB-based positioning method, etc.
  • the UWB-based positioning device may further include a display screen 23 , an input/output interface 24 , a communication interface 25 , a power supply 26 , and a communication bus 27 .
  • FIG. 4 does not constitute a limitation on the UWB-based positioning device, and may include more or fewer components than those shown in the figure.
  • the processor 22 implements the UWB-based positioning method provided by any of the above embodiments by calling the instructions stored in the memory 21 .
  • the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor 22, the steps of the above-mentioned UWB-based positioning method are implemented.
  • the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium and executes all or part of the steps of the method described in each embodiment of the present invention.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Some embodiments of the present application disclose a UWB-based positioning method and device, and a medium, applicable to the technical field of communications. Distance values between base stations and a terminal are obtained by means of the number of rangings, a ranging algorithm, and position information of the base stations, positioning information corresponding to the terminal is determined according to the distance values, and then a corresponding positioning policy is determined according to the relationship between the positioning information and a preset condition, wherein the preset condition is that a plurality of pieces of positioning information are in a current preset region. The combination of the ranging algorithm and the positioning policy reduces the error of signal transmission between the base stations and the terminal, and the obtained positioning information of the terminal has lower error than positioning information obtained by an existing single positioning method. Moreover, the corresponding positioning policy is determined according to the relationship between the plurality of pieces of positioning information and the preset condition, so that the position information of the terminal is in the preset region, thereby reducing the deviation of the positioning information, and improving the positioning accuracy of the terminal.

Description

一种基于UWB的定位方法、装置及介质A positioning method, device and medium based on UWB
本申请要求于2022年10月27日提交中国专利局、申请号为202211325492.2、发明名称为“一种基于UWB的定位方法、装置及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application filed with the China Patent Office on October 27, 2022, with application number 202211325492.2 and invention name “A UWB-based positioning method, device and medium”, the entire contents of which are incorporated by reference in this application.
技术领域Technical Field
本发明涉及通信技术领域,特别是涉及一种基于UWB的定位方法、装置及介质。The present invention relates to the field of communication technology, and in particular to a UWB-based positioning method, device and medium.
背景技术Background technique
超宽带定位技术(Ultra Wide Band,UWB)是室内定位领域的一项新兴技术,应用于无线通信领域的一种低功耗的无线电技术,采用纳秒级或亚纳秒级的脉冲实现无线通信。Ultra-wideband (UWB) positioning technology is an emerging technology in the field of indoor positioning. It is a low-power radio technology used in the field of wireless communications and uses nanosecond or sub-nanosecond pulses to achieve wireless communications.
目前的测距定位方法仅通过一种测距方法或者定位方法,对基站与终端之间的信号参数确定其终端的位置信息,导致的定位测算方法单一,其产生的误差无法消除。并且传统定位算法针对传播中的反射、多径传播、非视距传播和噪声等干扰造成误差,使得得到的终端的位置信息偏差较大,精确性较低。The current ranging and positioning methods use only one ranging method or positioning method to determine the terminal's location information based on the signal parameters between the base station and the terminal, resulting in a single positioning measurement method, and the errors it generates cannot be eliminated. In addition, the traditional positioning algorithm causes errors due to interference such as reflection, multipath propagation, non-line-of-sight propagation, and noise during propagation, resulting in large deviations in the terminal's location information and low accuracy.
因此,寻求一种UWB定位方法是本领域技术人员亟需要解决的。Therefore, it is urgent for those skilled in the art to find a UWB positioning method.
发明内容Summary of the invention
本发明的目的是提供一种基于UWB的定位方法、装置及介质,使得终端的位置信息处于预设区域内,减小定位信息的偏差,提高终端定位的精确度。The purpose of the present invention is to provide a UWB-based positioning method, device and medium, so that the location information of a terminal is within a preset area, the deviation of the positioning information is reduced, and the accuracy of terminal positioning is improved.
为解决上述技术问题,本发明提供一种基于UWB的定位方法,包括:In order to solve the above technical problems, the present invention provides a UWB-based positioning method, comprising:
获取各基站的位置信息,其中基站的数量至少为三个;Obtaining location information of each base station, where the number of base stations is at least three;
通过测距次数、测距算法以及各基站的位置信息得到各基站与终端之间的距离值以确定终端对应的多个定位信息;The distance value between each base station and the terminal is obtained by the number of ranging times, the ranging algorithm and the position information of each base station to determine multiple positioning information corresponding to the terminal;
根据多个定位信息与预设条件的关系确定对应的定位策略以得到终端的最终位置信息,其中预设条件为多个定位信息处于当前预设区域。A corresponding positioning strategy is determined according to a relationship between a plurality of positioning information and a preset condition to obtain final location information of the terminal, wherein the preset condition is that the plurality of positioning information is in a current preset area.
优选地,通过测距次数、测距算法以及各基站的位置信息得到各基站与终端之间的距离值以确定终端对应的多个定位信息,包括:Preferably, the distance value between each base station and the terminal is obtained through the number of ranging times, the ranging algorithm and the position information of each base station to determine multiple positioning information corresponding to the terminal, including:
获取当前测距次数下对应的各基站与终端之间的信号参数;Obtain the signal parameters between each base station and the terminal corresponding to the current ranging number;
根据测距算法以及信号参数确定当前测距次数的各基站与终端对应的当前距离值;Determine the current distance value between each base station and the terminal corresponding to the current number of ranging times according to the ranging algorithm and the signal parameters;
根据当前距离值以及各基站的位置信息的关系确定当前测距次数的终端对应的当前定位信息。The current positioning information corresponding to the terminal with the current number of ranging times is determined according to the relationship between the current distance value and the position information of each base station.
优选地,根据测距算法以及信号参数确定当前测距次数的各基站与终端对应的当前距离值,包括: Preferably, determining the current distance value corresponding to each base station and the terminal at the current number of ranging times according to the ranging algorithm and the signal parameter includes:
获取各基站与终端之间传输脉冲信号的时间戳,其中时间戳至少包括一组各基站向终端传输脉冲信号的第一时间戳和第二时间戳,一组终端向各基站传输应答脉冲信号的第三时间戳和第四时间戳,信号参数为传输的时间戳;Obtaining timestamps of pulse signals transmitted between each base station and the terminal, wherein the timestamps include at least a first timestamp and a second timestamp of a group of pulse signals transmitted by each base station to the terminal, a third timestamp and a fourth timestamp of a group of response pulse signals transmitted by the terminal to each base station, and the signal parameter is the transmitted timestamp;
根据第一时间戳与第四时间戳作差处理得到第一差值;Performing a difference process on the first timestamp and the fourth timestamp to obtain a first difference value;
根据第二时间戳与第三时间戳作差处理得到第二差值;Performing a difference process on the second timestamp and the third timestamp to obtain a second difference value;
将第一差值和第二差值作差处理得到各基站与终端的双向延时时间;Performing difference processing on the first difference and the second difference to obtain a two-way delay time between each base station and the terminal;
将双向延时时间除以2得到单向延时时间;Divide the two-way delay time by 2 to get the one-way delay time;
将单向延时时间与速度之间的关系确定各基站与终端之间的当前距离值。The current distance value between each base station and the terminal is determined by the relationship between the one-way delay time and the speed.
优选地,第一时间戳和第二时间戳的建立过程包括以下步骤:Preferably, the process of establishing the first timestamp and the second timestamp includes the following steps:
接收由各基站发送脉冲信号至终端的第一时间戳;Receiving a first timestamp of a pulse signal sent by each base station to the terminal;
接收各基站发送的脉冲信号,并记录接收第一时间戳的接收时刻为第二时间戳;Receiving the pulse signal sent by each base station, and recording the receiving time of the first timestamp as the second timestamp;
对应地,第三时间戳和第四时间戳的建立过程包括以下步骤:Correspondingly, the process of establishing the third timestamp and the fourth timestamp includes the following steps:
根据各基站发送的脉冲信号生成应答脉冲信号的响应信号,记录响应信号的发送时刻为第三时间戳;generating a response signal of the answer pulse signal according to the pulse signal sent by each base station, and recording the sending time of the response signal as a third timestamp;
将第三时间戳和响应信号发送至各基站以便于各基站记录响应信号、第三时间戳的接收时刻为第四时间戳。The third timestamp and the response signal are sent to each base station so that each base station records the response signal and the reception time of the third timestamp as the fourth timestamp.
优选地,根据多个定位信息与预设条件的关系确定对应的定位策略以得到终端的最终位置信息,包括:Preferably, determining a corresponding positioning strategy according to the relationship between the plurality of positioning information and the preset conditions to obtain the final location information of the terminal includes:
判断多个定位信息是否满足预设条件;Determine whether multiple positioning information meets preset conditions;
若否,则根据测距算法分别确定当前时刻的各基站之间的实际距离值和各基站与终端之间的实测距离值;If not, then determine the actual distance values between the base stations and the actual distance values between the base stations and the terminal at the current moment according to the ranging algorithm;
根据各实际距离值与各标准距离值的关系确定误差均值,并根据实测距离值与误差均值的关系确定终端的位置信息,其中各标准距离值为通过各基站的位置信息确定的各基站之间的距离值;Determine an error mean value according to the relationship between each actual distance value and each standard distance value, and determine the location information of the terminal according to the relationship between the measured distance value and the error mean value, wherein each standard distance value is a distance value between each base station determined by the location information of each base station;
将终端的位置信息作为新的定位信息;Using the terminal's location information as new positioning information;
根据测距次数合并至多个定位信息以选取当前时刻接近的测距次数对应的多个定位信息得到新的多个定位信息,并返回至判断多个定位信息是否满足预设条件的步骤;Merge multiple positioning information according to the number of ranging times to select multiple positioning information corresponding to the number of ranging times close to the current moment to obtain new multiple positioning information, and return to the step of determining whether the multiple positioning information meets the preset conditions;
若是,则根据多个定位信息之间的关系确定终端的最终位置信息。If so, the final location information of the terminal is determined according to the relationship between the multiple positioning information.
优选地,当前预设区域的建立过程具体包括:Preferably, the process of establishing the current preset area specifically includes:
在多个定位信息中选取任意两个定位信息确定对应的长度值;Select any two pieces of positioning information from the plurality of positioning information to determine corresponding length values;
在各长度值中选取最大长度值,并将最大长度值作为直径长度值;Select the maximum length value among the length values, and use the maximum length value as the diameter length value;
根据最大长度值确定对应的目标定位信息;Determine the corresponding target positioning information according to the maximum length value;
根据目标定位信息以及直径长度值的关系划分圆形区域以确定当前预设区域。 The circular area is divided according to the target positioning information and the relationship between the diameter and length values to determine the current preset area.
优选地,根据各实测距离值与误差均值的关系确定终端的位置信息,包括:Preferably, determining the location information of the terminal according to the relationship between each measured distance value and the error mean value includes:
将各实测距离值与误差均值分别作和处理得到对应的终端的第一距离值、第二距离值和第三距离值;Each measured distance value and the error mean are processed separately to obtain a first distance value, a second distance value and a third distance value of the corresponding terminal;
根据第一距离值、第二距离值和第三距离值以及各基站的位置信息的关系确定终端的位置信息。The location information of the terminal is determined according to the relationship among the first distance value, the second distance value, the third distance value and the location information of each base station.
优选地,根据多个定位信息之间的关系确定终端的最终位置信息,包括:Preferably, determining the final location information of the terminal according to the relationship between the multiple positioning information includes:
判断多个定位信息之间是否相同;Determine whether multiple positioning information are the same;
若不同,则将多个定位信息进行平均值处理得到最终定位信息以作为终端的最终位置信息;If they are different, the multiple positioning information are averaged to obtain the final positioning information as the final location information of the terminal;
若相同,则在多个定位信息中选取一个定位信息作为终端的最终位置信息。If they are the same, one piece of positioning information is selected from the multiple positioning information as the final location information of the terminal.
为解决上述技术问题,本发明还提供一种基于UWB的定位装置,包括:In order to solve the above technical problems, the present invention further provides a UWB-based positioning device, comprising:
获取模块,用于获取各基站的位置信息,其中基站的数量至少为三个;An acquisition module, used to acquire location information of each base station, wherein the number of base stations is at least three;
第一确定模块,用于通过测距次数、测距算法以及各基站的位置信息得到各基站与终端之间的距离值以确定终端对应的多个定位信息;A first determination module is used to obtain the distance value between each base station and the terminal through the number of ranging times, the ranging algorithm and the position information of each base station to determine multiple positioning information corresponding to the terminal;
第二确定模块,用于根据多个定位信息与预设条件的关系确定对应的定位策略以得到终端的最终位置信息,其中预设条件为多个定位信息处于当前预设区域。The second determination module is used to determine a corresponding positioning strategy according to a relationship between a plurality of positioning information and a preset condition to obtain final location information of the terminal, wherein the preset condition is that the plurality of positioning information is in a current preset area.
为解决上述技术问题,本发明还提供一种基于UWB的定位装置,包括:In order to solve the above technical problems, the present invention further provides a UWB-based positioning device, comprising:
存储器,用于存储计算机程序;Memory for storing computer programs;
处理器,用于执行计算机程序时实现如上述基于UWB的定位方法的步骤。The processor is used to implement the steps of the above-mentioned UWB-based positioning method when executing the computer program.
为解决上述技术问题,本发明还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如上述基于UWB的定位方法的步骤。In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned UWB-based positioning method are implemented.
本发明提供的一种基于UWB的定位方法,包括:获取各基站的位置信息,其中基站的数量至少为三个;通过测距次数、测距算法以及各基站的位置信息得到各基站与终端之间的距离值以确定终端对应的多个定位信息;根据多个定位信息与预设条件的关系确定对应的定位策略以得到终端的最终位置信息,其中预设条件为多个定位信息处于当前预设区域。该方法通过测距算法得到各基站与终端之间的距离值,根据距离值确定终端对应的定位信息,再根据定位信息与预设条件的关系确定对应的定位策略,测距算法以及定位策略的结合降低基站与终端之间传输信号的误差,得到的终端的定位信息相对比现有的单一定位方法得到的定位信息的误差性较低;同时根据多个定位信息与预设条件的关系确定对应的定位策略,使得终端的位置信息处于预设区域内,减小定位信息的偏差,提高终端定位的精确度。 The present invention provides a UWB-based positioning method, including: obtaining the location information of each base station, wherein the number of base stations is at least three; obtaining the distance value between each base station and the terminal through the number of ranging times, ranging algorithm and the location information of each base station to determine multiple positioning information corresponding to the terminal; determining the corresponding positioning strategy according to the relationship between the multiple positioning information and the preset conditions to obtain the final location information of the terminal, wherein the preset condition is that the multiple positioning information is in the current preset area. The method obtains the distance value between each base station and the terminal through the ranging algorithm, determines the positioning information corresponding to the terminal according to the distance value, and then determines the corresponding positioning strategy according to the relationship between the positioning information and the preset conditions. The combination of the ranging algorithm and the positioning strategy reduces the error of the transmission signal between the base station and the terminal, and the positioning information of the terminal obtained has a lower error than the positioning information obtained by the existing single positioning method; at the same time, the corresponding positioning strategy is determined according to the relationship between the multiple positioning information and the preset conditions, so that the terminal's location information is within the preset area, reducing the deviation of the positioning information and improving the accuracy of the terminal positioning.
另外,本发明还提供了一种基于UWB的定位装置及介质,具有如上述基于UWB的定位方法相同的有益效果。In addition, the present invention also provides a UWB-based positioning device and medium, which have the same beneficial effects as the above-mentioned UWB-based positioning method.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例,下面将对实施例中所需要使用的附图做简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1为本发明实施例提供的一种基于UWB的定位方法的流程图;FIG1 is a flow chart of a UWB-based positioning method provided by an embodiment of the present invention;
图2为本发明实施例提供的一种终端定位方法的示意图;FIG2 is a schematic diagram of a terminal positioning method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种基于UWB的定位装置的结构图;FIG3 is a structural diagram of a UWB-based positioning device provided in an embodiment of the present invention;
图4为本发明实施例提供的另一种基于UWB的定位装置的结构图。FIG. 4 is a structural diagram of another UWB-based positioning device provided in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下,所获得的所有其他实施例,都属于本发明保护范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.
本发明的核心是提供一种基于UWB的定位方法、装置及介质,使得终端的位置信息处于预设区域内,减小定位信息的偏差,提高终端定位的精确度。The core of the present invention is to provide a UWB-based positioning method, device and medium, so that the location information of the terminal is within a preset area, the deviation of the positioning information is reduced, and the accuracy of terminal positioning is improved.
为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
需要说明的是,本发明提供的基于UWB的定位方法,可以适用于各种定位的电子设备,例如智能手表、智能手环、戒指、虚拟现实(Virtual Reality,VR)、增强现实设备(Augmented Reality,AR)等智能穿戴设备,以及定位器、手机等移动设备均适用。It should be noted that the UWB-based positioning method provided by the present invention can be applied to various positioning electronic devices, such as smart watches, smart bracelets, rings, virtual reality (VR), augmented reality devices (AR) and other smart wearable devices, as well as locators, mobile phones and other mobile devices.
图1为本发明实施例提供的一种基于UWB的定位方法的流程图,如图1所示,该方法包括:FIG. 1 is a flow chart of a UWB-based positioning method provided by an embodiment of the present invention. As shown in FIG. 1 , the method includes:
S11:获取各基站的位置信息,其中基站的数量至少为三个;S11: Acquire location information of each base station, where the number of base stations is at least three;
S12:通过测距次数、测距算法以及各基站的位置信息得到各基站与终端之间的距离值以确定终端对应的多个定位信息;S12: Obtain the distance value between each base station and the terminal through the number of ranging times, ranging algorithm and location information of each base station to determine multiple positioning information corresponding to the terminal;
S13:根据多个定位信息与预设条件的关系确定对应的定位策略以得到终端的最终位置信息;S13: determining a corresponding positioning strategy according to a relationship between the plurality of positioning information and the preset conditions to obtain final position information of the terminal;
其中预设条件为多个定位信息处于当前预设区域。The preset condition is that a plurality of positioning information is in the current preset area.
具体地,获取各基站的位置信息,基站以大地作为水平面坐标,其基站的坐标可以为基站的位置信息。对于基站的数量可以根据UWB定位技术的精度要求决定,同时还有维度的要求。UWB定位技术,适用于零维、一维、 二维、三维定位。在零维时,即存在与否,此情况下,一般基于单个基站覆盖范围进行考虑,根据环境干扰遮挡等不同,覆盖范围一般在10~100米半径,0维下,一般不强调精度,重点看管控区域是否覆盖完整。Specifically, the location information of each base station is obtained. The base station uses the earth as the horizontal coordinate, and the coordinates of the base station can be the location information of the base station. The number of base stations can be determined according to the accuracy requirements of UWB positioning technology, as well as the dimensional requirements. UWB positioning technology is applicable to zero-dimensional, one-dimensional, Two-dimensional and three-dimensional positioning. In zero dimension, that is, existence or non-existence, in this case, it is generally considered based on the coverage range of a single base station. Depending on environmental interference and shielding, the coverage range is generally 10 to 100 meters in radius. In zero dimension, accuracy is generally not emphasized, and the focus is on whether the control area is fully covered.
一维,即一个方向维度,基于两点成一线原理,至少需要2个基站,精度根据环境不同,可进行距离调整,理论可以到10cm,一般环境会在30~100cm精度;二维,即一个平面区域内定位,可输出具体X,Y两个维度坐标,技术原理看最低要求是3个基站,但应用效果看,最低要求是4个基站,基于环境复杂度的不同,及精度要求不同,基站远近部署距离会有差异,要求较高的区域,一般通过增加基站密度进行高质量高精度计算,二维最高精度可以10cm,但属于特定恒定环境,正常使用环境可以做到30~50cm精度;三维,即在二维的基础上,增加高度信息,实现立体定位,输出为三轴数据X,Y,Z,三维定位原则上是由两个不同高度的平面定位组成,所以,基站数量一般会进行翻倍,目前较少场景会如此使用,因为成本将翻倍产生,且高度上精度一般实用为100cm左右,难以做到特高精度。作为优选实施例,其基站的数量至少为三个可以满足绝大多数应用场景。One dimension, i.e. one directional dimension, is based on the principle of two points in a line. At least two base stations are required. The accuracy can be adjusted according to the environment. Theoretically, it can reach 10cm. The general environment will have an accuracy of 30-100cm. Two dimensions, i.e. positioning in a plane area, can output specific X and Y dimensional coordinates. The minimum requirement is 3 base stations from the technical principle, but the minimum requirement is 4 base stations from the application effect. Based on the different environmental complexity and different accuracy requirements, the distance of base station deployment will be different. In areas with higher requirements, high-quality and high-precision calculations are generally performed by increasing the density of base stations. The highest accuracy of two dimensions can be 10cm, but it belongs to a specific constant environment. The normal use environment can achieve 30-50cm accuracy. Three dimensions, i.e., on the basis of two dimensions, height information is added to achieve three-dimensional positioning, and the output is three-axis data X, Y, Z. In principle, three-dimensional positioning is composed of two plane positioning at different heights. Therefore, the number of base stations will generally be doubled. At present, fewer scenes will use it in this way because the cost will be doubled, and the height accuracy is generally practical to be about 100cm, which is difficult to achieve ultra-high accuracy. As a preferred embodiment, the number of base stations is at least three, which can meet most application scenarios.
步骤S12中,测距次数,其根据预设次数确定当前需要定位信息的个数,也就是说,测距次数与定位信息的个数相同。可以理解的是,测距次数根据经验值设定,例如测距次数为10次,其得到终端对应的10个定位信息。由于得到的一个定位信息容易存在偶然性或误差性,故将设置多个定位信息,以避免误差或者偶然影响终端的最终位置信息的确定。在根据各基站的位置信息与终端的未知位置信息确定一种直接关系,其各基站的位置信息与终端的未知位置信息的平方差和的关系等于各基站与终端之间的距离值,具体公式如下:
In step S12, the number of ranging times determines the number of positioning information currently required according to the preset number, that is, the number of ranging times is the same as the number of positioning information. It can be understood that the number of ranging times is set according to the empirical value. For example, the number of ranging times is 10 times, and 10 positioning information corresponding to the terminal are obtained. Since the positioning information obtained is prone to accidental or erroneous, multiple positioning information will be set to avoid errors or accidental effects on the determination of the final location information of the terminal. A direct relationship is determined based on the location information of each base station and the unknown location information of the terminal. The relationship between the sum of the square differences of the location information of each base station and the unknown location information of the terminal is equal to the distance value between each base station and the terminal. The specific formula is as follows:
其中各基站的位置信息以坐标轴表示为(x1,y1)、(x2,y2)、(x3,y3),终端的未知位置信息为(x,y),其距离值分别对应r1、r2、r3。由于各基站的位置信息已知,其距离值根据各基站以及终端的脉冲信号传输,以及测距算法可以得知,进而可以根据上述公式逆推得到终端的未知位置信息,也就是定位信息。具体公式如下:
The location information of each base station is represented by the coordinate axis as (x 1 ,y 1 ), (x 2 ,y 2 ), (x 3 ,y 3 ), and the unknown location information of the terminal is (x,y), and its distance values correspond to r 1 , r 2 , and r 3 , respectively. Since the location information of each base station is known, its distance value can be obtained based on the pulse signal transmission of each base station and the terminal, as well as the ranging algorithm, and then the unknown location information of the terminal, that is, the positioning information, can be obtained by reverse deduction according to the above formula. The specific formula is as follows:
需要说明的是,其测距算法,由于测距次数可以为多次,其测距算法可以在每次测距过程中采用的算法相同,也可以不同。当测距算法在测距次数 中不同时,其获取到的定位信息根据不同的测距算法或者不同时刻采用相同的测距算法获取得到,本发明不做具体限定。It should be noted that, since the number of ranging measurements can be multiple, the ranging algorithm can be the same or different in each ranging process. At different times, the positioning information obtained is obtained according to different ranging algorithms or by using the same ranging algorithm at different times, and the present invention does not make specific limitations.
测距算法中,目前测距一般采用ToF的单边双向测距(Single Sided-Two-Way Ranging,SS-TWR),其有一个比较严格的约束,发送设备和接收设备必须时钟同步。为了降低时钟偏移的影响,UWB测距中经常采用双边双向测距方法(Double Sided-Two-Way Ranging,DS-TWR)。反向测量补偿,A模块在其时间戳上的Ta1时刻发射请求性质的脉冲信号,B模块在其时间戳上的Tb1时刻接收到该信号,然后对UWB信号加以一定的处理手段后,B模块在Tb2时刻同时发射响应性质和请求性质的信号被A模块在自己的时间戳Ta2时刻接收,处理一段时间后在Ta3时刻回复响应信号被B模块在其时间戳的Tb3时刻接收,其公式具体如下:
In the ranging algorithm, the current ranging generally adopts ToF single-sided two-way ranging (Single Sided-Two-Way Ranging, SS-TWR), which has a relatively strict constraint that the sending device and the receiving device must be clock synchronized. In order to reduce the impact of clock offset, the double-sided two-way ranging method (Double Sided-Two-Way Ranging, DS-TWR) is often used in UWB ranging. Reverse measurement compensation, module A transmits a pulse signal of request nature at Ta1 on its timestamp, and module B receives the signal at Tb1 on its timestamp. After a certain processing method is applied to the UWB signal, module B simultaneously transmits a response nature and a request nature signal at Tb2, which is received by module A at its own timestamp Ta2. After a period of processing, the response signal is replied at Ta3, which is received by module B at its timestamp Tb3. The specific formula is as follows:
第二种方法解决了时钟偏移的问题,但是测距的耗时增加。因此,可以考虑时钟频移以及减少耗时的目的作为两种方法的结合确定的测距算法也可以应用至本发明实施例中。其测距算法可以是上述提到的算法中任意一种或者多种,需要说明的是,本发明的测距算法还可以是其他测距算法,例如到达角测距(Angle of Arrival,AOA)、接收信号强度指示器测距(Received Signal Strength Indication,RSSI)、圆周定位(Time of Arrival,TOA)、无源时差定位(Time Difference of Arrival,TDOA)等,本发明不做具体限定,只要能够得到终端的定位信息即可。The second method solves the problem of clock offset, but the time consumption of ranging increases. Therefore, the ranging algorithm determined by combining the two methods and considering clock frequency shift and reducing time consumption can also be applied to the embodiments of the present invention. Its ranging algorithm can be any one or more of the algorithms mentioned above. It should be noted that the ranging algorithm of the present invention can also be other ranging algorithms, such as angle of arrival ranging (Angle of Arrival, AOA), received signal strength indicator ranging (Received Signal Strength Indication, RSSI), circular positioning (Time of Arrival, TOA), passive time difference positioning (Time Difference of Arrival, TDOA), etc. The present invention does not make specific limitations, as long as the positioning information of the terminal can be obtained.
在步骤S12中得到多个定位信息之后,其根据多个定位信息与预设条件的关系确定对应的定位策略,当多个定位信息满足预设条件时,则说明多个定位信息之间的偏差较小,可以根据多个定位信息确定其终端的最终位置信息。当多个定位信息不满足预设条件时,则说明多个定位信息之间的偏差较大,需要重新选取定位信息,其重新选取的定位信息需要结合各基站的实际距离确定误差均值,以得到当前的定位信息,更新定位信息,重新判断是否满足当前的预设条件,若是,则说明校正后的定位信息其偏差较小。After obtaining multiple positioning information in step S12, it determines the corresponding positioning strategy according to the relationship between the multiple positioning information and the preset conditions. When the multiple positioning information meets the preset conditions, it means that the deviation between the multiple positioning information is small, and the final location information of the terminal can be determined based on the multiple positioning information. When the multiple positioning information does not meet the preset conditions, it means that the deviation between the multiple positioning information is large, and the positioning information needs to be reselected. The reselected positioning information needs to be combined with the actual distance of each base station to determine the error mean to obtain the current positioning information, update the positioning information, and re-judge whether it meets the current preset conditions. If so, it means that the deviation of the corrected positioning information is small.
定位策略基于以基站的圆形的共同交点作为终端的位置信息。通常情况下,造成各基站对应的圆形无法相交或者相交处不是一个点而是多个点,也就是其终端的定位信息有多个。本发明实施例将其多个定位信息经过校正使其处于当前预设区域以缩小定位信息的偏差。The positioning strategy is based on using the common intersection of the circles of the base stations as the location information of the terminal. Usually, the circles corresponding to the base stations cannot intersect or the intersection is not one point but multiple points, that is, the terminal has multiple positioning information. The embodiment of the present invention corrects the multiple positioning information so that it is in the current preset area to reduce the deviation of the positioning information.
对应地,预设条件为多个定位信息处于当前预设区域,由于每次的定位信息不同,其对应的当前预设区域也不同,实时更新预设区域,校正定位偏差,直至偏差满足一定条件,也就是使得当前的多个定位信息处于当前预设区域即可,这样得到的终端的位置信息较为准确。Correspondingly, the preset condition is that multiple positioning information are in the current preset area. Since the positioning information is different each time, the corresponding current preset area is also different. The preset area is updated in real time and the positioning deviation is corrected until the deviation meets certain conditions, that is, the current multiple positioning information is in the current preset area. In this way, the terminal location information obtained is more accurate.
本发明实施例提供的一种基于UWB的定位方法,包括:获取各基站的位置信息,其中基站的数量至少为三个;通过测距次数、测距算法以及各基 站的位置信息得到各基站与终端之间的距离值以确定终端对应的多个定位信息;根据多个定位信息与预设条件的关系确定对应的定位策略以得到终端的最终位置信息,其中预设条件为多个定位信息处于当前预设区域。该方法通过测距算法得到各基站与终端之间的距离值,根据距离值确定终端对应的定位信息,再根据定位信息与预设条件的关系确定对应的定位策略,测距算法以及定位策略的结合降低基站与终端之间传输信号的误差,得到的终端的定位信息相对比现有的单一定位方法得到的定位信息的误差性较低;同时根据多个定位信息与预设条件的关系确定对应的定位策略,使得终端的位置信息处于预设区域内,减小定位信息的偏差,提高终端定位的精确度。An embodiment of the present invention provides a UWB-based positioning method, comprising: obtaining location information of each base station, wherein the number of base stations is at least three; The method obtains the distance value between each base station and the terminal based on the location information of the station to determine the multiple positioning information corresponding to the terminal; determines the corresponding positioning strategy according to the relationship between the multiple positioning information and the preset conditions to obtain the final location information of the terminal, wherein the preset condition is that the multiple positioning information is in the current preset area. The method obtains the distance value between each base station and the terminal through a ranging algorithm, determines the positioning information corresponding to the terminal according to the distance value, and then determines the corresponding positioning strategy according to the relationship between the positioning information and the preset conditions. The combination of the ranging algorithm and the positioning strategy reduces the error of the transmission signal between the base station and the terminal, and the positioning information of the terminal obtained has a lower error than the positioning information obtained by the existing single positioning method; at the same time, the corresponding positioning strategy is determined according to the relationship between the multiple positioning information and the preset conditions, so that the terminal's location information is within the preset area, reducing the deviation of the positioning information and improving the accuracy of the terminal positioning.
在上述实施例的基础上,步骤S12中的通过测距次数、测距算法以及各基站的位置信息得到各基站与终端之间的距离值以确定终端对应的多个定位信息,包括:On the basis of the above embodiment, the distance value between each base station and the terminal is obtained by using the number of ranging times, the ranging algorithm and the location information of each base station in step S12 to determine multiple positioning information corresponding to the terminal, including:
获取当前测距次数下对应的各基站与终端之间的信号参数;Obtain the signal parameters between each base station and the terminal corresponding to the current ranging number;
根据测距算法以及信号参数确定当前测距次数的各基站与终端对应的当前距离值;Determine the current distance value between each base station and the terminal corresponding to the current number of ranging times according to the ranging algorithm and the signal parameters;
根据当前距离值以及各基站的位置信息的关系确定当前测距次数的终端对应的当前定位信息。The current positioning information corresponding to the terminal with the current number of ranging times is determined according to the relationship between the current distance value and the position information of each base station.
具体地,以当前测距次数下,获取各基站与终端之间的信号参数,其信号参数可以是各基站与终端传输信号对应各自的发送和接收的时间戳信息。根据各时间戳信息,再依据测距算法可以得到各基站与终端对应的当前距离值。Specifically, the signal parameters between each base station and the terminal are obtained under the current number of ranging times, and the signal parameters can be the timestamp information of the sending and receiving of the transmission signals of each base station and the terminal. According to each timestamp information, the current distance value corresponding to each base station and the terminal can be obtained according to the ranging algorithm.
在得到各基站与终端对应的当前距离值之后,其各基站的位置信息已知,根据上述实施例逆推得到的终端的未知位置信息的公式可以得到其终端的当前定位信息,进而可以得到测距次数下的多个定位信息。After obtaining the current distance value corresponding to each base station and the terminal, the location information of each base station is known. The current positioning information of the terminal can be obtained by reversely deducing the formula of the unknown location information of the terminal according to the above embodiment, and then multiple positioning information under the number of ranging times can be obtained.
测距算法可以应用现有的测距算法,也可以采用多种测距算法结合形成新的测距算法,在此不做限定。The ranging algorithm may apply an existing ranging algorithm, or may adopt a combination of multiple ranging algorithms to form a new ranging algorithm, which is not limited here.
本发明实施例提供的通过测距次数、测距算法以及各基站的位置信息得到各基站与终端之间的距离值以确定终端对应的多个定位信息的过程,通过各基站与终端之间的信号参数(脉冲信号在各基站与终端之间的飞行时间)测量其距离值,以便于得到终端的定位信息。The embodiment of the present invention provides a process for obtaining the distance value between each base station and the terminal through the number of ranging times, the ranging algorithm and the position information of each base station to determine multiple positioning information corresponding to the terminal, and measures the distance value through the signal parameters between each base station and the terminal (the flight time of the pulse signal between each base station and the terminal) to obtain the positioning information of the terminal.
在上述实施例的基础上,由于各测距算法中,各模块之间的时钟不同步,或者测量误差较大,或者飞行时间较长,同时采集多个单向传输的时间戳信息以形成的耗时较长等问题,故结合各测距算法出现的问题,作为一种优选实施例,根据测距算法以及信号参数确定当前测距次数的各基站与终端对应的当前距离值,包括: On the basis of the above embodiments, since in each ranging algorithm, the clocks between the modules are not synchronized, or the measurement error is large, or the flight time is long, and it takes a long time to collect the timestamp information of multiple unidirectional transmissions at the same time, etc., combined with the problems of each ranging algorithm, as a preferred embodiment, the current distance value corresponding to each base station and the terminal of the current ranging number is determined according to the ranging algorithm and the signal parameter, including:
获取各基站与终端之间传输脉冲信号的时间戳,其中时间戳至少包括一组各基站向终端传输脉冲信号的第一时间戳和第二时间戳,一组终端向各基站传输应答脉冲信号的第三时间戳和第四时间戳,信号参数为传输的时间戳;Obtaining timestamps of pulse signals transmitted between each base station and the terminal, wherein the timestamps include at least a first timestamp and a second timestamp of a group of pulse signals transmitted by each base station to the terminal, a third timestamp and a fourth timestamp of a group of response pulse signals transmitted by the terminal to each base station, and the signal parameter is the transmitted timestamp;
根据第一时间戳与第四时间戳作差处理得到第一差值;Performing a difference process on the first timestamp and the fourth timestamp to obtain a first difference value;
根据第二时间戳与第三时间戳作差处理得到第二差值;Performing a difference process on the second timestamp and the third timestamp to obtain a second difference value;
将第一差值和第二差值作差处理得到各基站与终端的双向延时时间;Performing difference processing on the first difference and the second difference to obtain a two-way delay time between each base station and the terminal;
将双向延时时间除以2得到单向延时时间;Divide the two-way delay time by 2 to get the one-way delay time;
将单向延时时间与速度之间的关系确定各基站与终端之间的当前距离值。The current distance value between each base station and the terminal is determined by the relationship between the one-way delay time and the speed.
具体地,在基站与终端进行双向传输时,可以得到多组的时间戳,其中至少包括一组从基站到终端发送的时间戳,一组从终端向基站发送的时间戳,从一个双向传输来看,包括两组,通过双向传输得到的四个时间戳(第一时间戳、第二时间戳、第三时间戳和第四时间戳),通常情况下,基站与终端的传输方向包括两个,一个传输方向为基站向终端传输对应的第一时间戳和第二时间戳,另一个传输方向为基站向终端传输对应的第三时间戳和第四时间戳,其具体的第三时间戳和第四时间戳为应答脉冲信号对应的时间戳,将其脉冲信号与应答脉冲信号相关联,以便于得到较为准确的时间戳信息。Specifically, when the base station and the terminal perform bidirectional transmission, multiple groups of timestamps can be obtained, including at least one group of timestamps sent from the base station to the terminal, and one group of timestamps sent from the terminal to the base station. From the perspective of a bidirectional transmission, two groups are included, and four timestamps (first timestamp, second timestamp, third timestamp and fourth timestamp) obtained through the bidirectional transmission are included. Usually, the transmission directions between the base station and the terminal include two, one transmission direction is the first timestamp and second timestamp corresponding to the transmission from the base station to the terminal, and the other transmission direction is the third timestamp and fourth timestamp corresponding to the transmission from the base station to the terminal. The specific third timestamp and fourth timestamp are the timestamps corresponding to the response pulse signal, and the pulse signal is associated with the response pulse signal to obtain more accurate timestamp information.
若从多个双向传输来看,包括多组的时间戳信息,即多个第一时间戳、多个第二时间戳、多个第三时间戳和多个第四时间戳。当前,多个双向传输得到的时间戳信息,便于后续计算基站与终端的距离值较为准确。同时也占用了较多的时耗问题,在工程实现方面,基站与终端之间的距离较远,其经过多个双向传输,其占用较多的时间,使得后续得到的距离值的时耗增加。If we look at multiple bidirectional transmissions, it includes multiple groups of timestamp information, namely multiple first timestamps, multiple second timestamps, multiple third timestamps and multiple fourth timestamps. Currently, the timestamp information obtained from multiple bidirectional transmissions facilitates the subsequent calculation of the distance value between the base station and the terminal to be more accurate. At the same time, it also takes up more time. In terms of engineering implementation, the distance between the base station and the terminal is far, and it takes more time after multiple bidirectional transmissions, which increases the time consumption of the distance value obtained later.
在本实施例中,对应发送的第一时间戳和第三时间戳,其脉冲信号发送记录的时间戳信息可以是发送整个脉冲信号完成的时间戳作为第一时间戳或第四时间戳,也可以是刚开始发送脉冲信号的时间戳作为第一时间戳或第四时间戳,本发明不做限定,为了避免发送脉冲信号过程中的其他信号干扰,即将发送整个脉冲信号完成的时间戳作为记录的时间戳。同样,在接收的第二时间戳和第四时间戳,其从对方端过来的脉冲信号刚开始作为记录的时间戳,或者在脉冲信号在本端完全接收完毕作为记录的时间戳信息,本发明不做限定,作为优选实施例,接收的整个过程避免接收导致的干扰信息,故将完全接收完毕作为记录的第二时间戳和第四时间戳。In this embodiment, corresponding to the first and third timestamps sent, the timestamp information of the pulse signal sending record can be the timestamp when the entire pulse signal is sent as the first or fourth timestamp, or the timestamp when the pulse signal is just started as the first or fourth timestamp. The present invention does not limit this. In order to avoid interference from other signals in the process of sending the pulse signal, the timestamp when the entire pulse signal is sent is used as the timestamp for recording. Similarly, in the received second and fourth timestamps, the timestamp when the pulse signal from the other end just starts is used as the timestamp for recording, or the timestamp information when the pulse signal is completely received at this end is used as the timestamp for recording. The present invention does not limit this. As a preferred embodiment, the entire receiving process avoids interference information caused by receiving, so the second and fourth timestamps for recording are used as the timestamp for recording when the pulse signal is completely received.
需要说明的是,延时时间可以是传输协议出现的延时,也可以是本端与对端自身接收或发送出现的延时,在此不做限定,可根据实际情况考虑设定。关于传输协议出现的延时,可以是A到B出现的传输协议延时,也可以是B到A出现的传输协议延时。为了避免单向传输的传输协议延时,故本发明实施例考虑双向传输,即A到B传输一次,B到A传输一次形成的双向传输。It should be noted that the delay time can be a delay in the transmission protocol, or a delay in receiving or sending between the local end and the other end. It is not limited here and can be set according to actual conditions. Regarding the delay in the transmission protocol, it can be a transmission protocol delay from A to B, or a transmission protocol delay from B to A. In order to avoid the transmission protocol delay of unidirectional transmission, the embodiment of the present invention considers bidirectional transmission, that is, bidirectional transmission formed by A transmitting from B once and B transmitting from A once.
为了节省时耗,其包括两组的时间戳记录信息,当各基站将脉冲信号在Ta1时刻发送至终端后,终端接收到脉冲信号的时刻为Tb1时刻,其发送过程 可以仅发送脉冲信号,或者脉冲信号和Ta1时刻的时间戳信息。当基站仅发送脉冲信号至终端时,终端仅知道自身接收到的脉冲信号时刻作为Tb1时刻(第二时间戳)。由于基站与终端使用的时钟源不同,故需要再次由终端发送脉冲信号的应答信号(响应信号)至基站,终端记录当前发送的时刻为Tb2时刻(第三时间戳),基站接收应答信号的接收时刻为Ta2时刻(第四时间戳),此时作为基站,知道自身的发送脉冲信号的第一时间戳和接收应答脉冲信号的第四时间戳;作为终端,知道自身的接收脉冲信号的第三时间戳和发送应答脉冲信号的第三时间戳。故第四时间戳-第一时间戳得到的为基站与终端传输的整个传输时间,第三时间戳-第二时间戳得到的为终端的传输时间,再次将整个传输时间-终端的传输时间,可以得到双向传输的延时时间,也就可以知道单向传输的延时时间T,其公式具体如下:
In order to save time, it includes two sets of timestamp recording information. When each base station sends a pulse signal to the terminal at time Ta1, the time when the terminal receives the pulse signal is time Tb1. Only pulse signals can be sent, or pulse signals and timestamp information of Ta1 moment can be sent. When the base station only sends pulse signals to the terminal, the terminal only knows the moment of the pulse signal it receives as Tb1 moment (second timestamp). Since the clock sources used by the base station and the terminal are different, the terminal needs to send a reply signal (response signal) of the pulse signal to the base station again. The terminal records the current sending moment as Tb2 moment (third timestamp), and the base station receives the reply signal as Ta2 moment (fourth timestamp). At this time, as a base station, it knows its own first timestamp of sending pulse signals and the fourth timestamp of receiving reply pulse signals; as a terminal, it knows its own third timestamp of receiving pulse signals and the third timestamp of sending reply pulse signals. Therefore, the fourth timestamp minus the first timestamp is the entire transmission time of the transmission between the base station and the terminal, and the third timestamp minus the second timestamp is the transmission time of the terminal. By subtracting the entire transmission time from the transmission time of the terminal again, the delay time of the two-way transmission can be obtained, and the delay time T of the one-way transmission can also be known. The specific formula is as follows:
其中,Ta2为第四时间戳,Ta1为第一时间戳,Tb2为第三时间戳,Tb1为第四时间戳。Among them, Ta2 is the fourth timestamp, Ta1 is the first timestamp, Tb2 is the third timestamp, and Tb1 is the fourth timestamp.
得到单向延时时间后,基站与终端之间的当前距离值根据时间与速度的关系确定,其速度通常为光的传播速度(3*108m/s),故终端与基站之间的距离为T*C,其C为光速。光速是指光波或电磁波在真空或介质中的传播速度。真空中的光速是目前所发现的自然界物体运动的最大速度。它与观测者相对于光源的运动速度无关,即相对于光源静止和运动的惯性系中测到的光速是相同的。After obtaining the one-way delay time, the current distance between the base station and the terminal is determined based on the relationship between time and speed, and the speed is usually the propagation speed of light (3*10 8 m/s). Therefore, the distance between the terminal and the base station is T*C, where C is the speed of light. The speed of light refers to the propagation speed of light waves or electromagnetic waves in a vacuum or medium. The speed of light in a vacuum is the maximum speed of natural objects found so far. It has nothing to do with the speed of the observer relative to the light source, that is, the speed of light measured in the inertial system at rest and in motion relative to the light source is the same.
需要说明的是,本发明实施例中其基站与终端之间的脉冲信号的发送,也可以是终端向基站发送脉冲信号,基站根据脉冲信号进行应答得到应答信号,进而将应答信号发送至终端。在此不做限定,只要能够得到基站与终端之间的距离即可。It should be noted that in the embodiment of the present invention, the pulse signal sent between the base station and the terminal may also be that the terminal sends a pulse signal to the base station, the base station responds to the pulse signal to obtain a response signal, and then sends the response signal to the terminal. This is not limited here, as long as the distance between the base station and the terminal can be obtained.
为了使得基站与终端之间的信号传输以及时间戳信息的了解,其在发送过程中可以携带对应的发送时间戳,以便于对端知道当前本端的发送时间戳。作为一种优选实施例,第一时间戳和第二时间戳的建立过程包括以下步骤:In order to facilitate the signal transmission and timestamp information between the base station and the terminal, the corresponding sending timestamp can be carried during the sending process so that the other end knows the current sending timestamp of the local end. As a preferred embodiment, the process of establishing the first timestamp and the second timestamp includes the following steps:
接收由各基站发送脉冲信号至终端的第一时间戳;Receiving a first timestamp of a pulse signal sent by each base station to the terminal;
接收各基站发送的脉冲信号,并记录接收第一时间戳的接收时刻为第二时间戳;Receiving the pulse signal sent by each base station, and recording the receiving time of the first timestamp as the second timestamp;
对应地,第三时间戳和第四时间戳的建立过程包括以下步骤:Correspondingly, the process of establishing the third timestamp and the fourth timestamp includes the following steps:
根据各基站发送的脉冲信号生成应答脉冲信号的响应信号,记录响应信号的发送时刻为第三时间戳;generating a response signal of the answer pulse signal according to the pulse signal sent by each base station, and recording the sending time of the response signal as a third timestamp;
将第三时间戳和响应信号发送至各基站以便于各基站记录响应信号、第三时间戳的接收时刻为第四时间戳。The third timestamp and the response signal are sent to each base station so that each base station records the response signal and the reception time of the third timestamp is the fourth timestamp.
具体地,记录各基站发送脉冲信号的发送时刻作为第一时间戳,同时第一时间戳作为脉冲信号的发送携带信息与脉冲信号一并发送至终端,其作为 终端可以看到第一时间戳信息,也就是基站发送脉冲信号的发送时间戳,也可以根据脉冲信号与第一时间戳的接收时刻作为第二时间戳。此时可以得到基站向终端发送的单向传输的延时时间。Specifically, the sending time of the pulse signal sent by each base station is recorded as the first timestamp, and the first timestamp is sent to the terminal together with the pulse signal as the sending carrying information of the pulse signal. The terminal can see the first timestamp information, that is, the sending timestamp of the pulse signal sent by the base station, and can also use the receiving time of the pulse signal and the first timestamp as the second timestamp. At this time, the delay time of the one-way transmission sent by the base station to the terminal can be obtained.
终端向基站发送应答脉冲信号的响应信号,其在终端发送响应信号的发送时刻为第三时间戳,同时将第三时间戳与响应信号一并发送至基站,作为基站可以看到第三时间戳信息,也就是终端发送响应信号的发送时间戳,此时可以得到终端向基站发送的单向传输的延时时间。The terminal sends a response signal to the answer pulse signal to the base station, and the sending time of the response signal by the terminal is the third timestamp. The third timestamp and the response signal are sent to the base station together. The base station can see the third timestamp information, that is, the sending timestamp of the response signal sent by the terminal. At this time, the delay time of the one-way transmission sent by the terminal to the base station can be obtained.
将其两种延时时间相加可以得到整个传输过程的传输延时时间,可以理解的是,通过上述的描述可以知道分别作为本端与对端的单向传输的延时时间,由于传输的脉冲信号与响应信号不同,其是否会出现基站向终端的延时时间与终端向基站的延时时间不同,为了得到较为准确的延时时间,即与本实施例中提到的单向延时时间的公式相同。The transmission delay time of the entire transmission process can be obtained by adding the two delay times. It can be understood that the above description can be used to know the delay times of the one-way transmission of this end and the other end respectively. Since the transmitted pulse signal and the response signal are different, whether the delay time from the base station to the terminal will be different from the delay time from the terminal to the base station. In order to obtain a more accurate delay time, the formula is the same as the one-way delay time mentioned in this embodiment.
本发明实施例提供的根据测距算法以及信号参数确定当前测距次数的各基站与终端对应的当前距离值的确定过程,在考虑时钟偏移以及测距耗时的问题上,通过基站与终端之间互相知道对端的发送时刻,其保证时钟同步偏移较小,减少误差。再通过双向传输的四个时间戳可以解决测距耗时的问题,减少耗时问题的产生,提高测距的效率以及准确度。The embodiment of the present invention provides a process for determining the current distance value corresponding to each base station and the terminal according to the ranging algorithm and signal parameters for determining the current ranging times. In consideration of the clock offset and ranging time consumption, the base station and the terminal know each other's sending time, which ensures that the clock synchronization offset is small and reduces the error. The four timestamps of bidirectional transmission can solve the ranging time consumption problem, reduce the generation of time consumption problems, and improve the efficiency and accuracy of ranging.
在上述实施例的基础上,步骤S13中的根据多个定位信息与预设条件的关系确定对应的定位策略以得到终端的最终位置信息,包括:On the basis of the above embodiment, the step S13 of determining the corresponding positioning strategy according to the relationship between the plurality of positioning information and the preset conditions to obtain the final position information of the terminal includes:
判断多个定位信息是否满足预设条件;Determine whether multiple positioning information meets preset conditions;
若否,则根据测距算法分别确定当前时刻的各基站之间的实际距离值和各基站与终端之间的实测距离值;If not, then determine the actual distance values between the base stations and the actual distance values between the base stations and the terminal at the current moment according to the ranging algorithm;
根据各实际距离值与各标准距离值的关系确定误差均值,并根据实测距离值与误差均值的关系确定终端的位置信息,其中各标准距离值为通过各基站的位置信息确定的各基站之间的距离值;Determine an error mean value according to the relationship between each actual distance value and each standard distance value, and determine the location information of the terminal according to the relationship between the measured distance value and the error mean value, wherein each standard distance value is a distance value between each base station determined by the location information of each base station;
将终端的位置信息作为新的定位信息;Using the terminal's location information as new positioning information;
根据测距次数合并至多个定位信息以选取当前时刻接近的测距次数对应的多个定位信息得到新的多个定位信息,并返回至判断多个定位信息是否满足预设条件的步骤;Merge multiple positioning information according to the number of ranging times to select multiple positioning information corresponding to the number of ranging times close to the current moment to obtain new multiple positioning information, and return to the step of determining whether the multiple positioning information meets the preset conditions;
若是,则根据多个定位信息之间的关系确定终端的最终位置信息。If so, the final location information of the terminal is determined according to the relationship between the multiple positioning information.
需要说明的是,判断多个定位信息是否满足预设条件,如果满足,则说明当前的多个定位信息处于当前预设区域,其各个定位信息之间偏差较小。不需要校正,直接根据当前的多个定位信息确定终端的最终位置信息。如果不满足,则说明当前的多个定位信息中可能有几个定位信息不处于当前预设区域,其各个定位信息之间偏差较大,需要进行校正,其目的使得当前的多个定位信息全部处于当前预设区域。 It should be noted that it is determined whether the multiple positioning information meets the preset conditions. If so, it means that the current multiple positioning information is in the current preset area, and the deviations between the various positioning information are small. No correction is required, and the final location information of the terminal is directly determined based on the current multiple positioning information. If not, it means that there may be several positioning information in the current multiple positioning information that are not in the current preset area, and the deviations between the various positioning information are large, and correction is required, the purpose of which is to make all the current multiple positioning information in the current preset area.
在不满足预设条件的情况下,再根据测距算法以确定当前时刻的各基站之间的实际距离值和各基站与终端之间的实测距离值,其实际距离值为通过测距算法测得各基站之间的脉冲信号传输测得的值,其考虑实际的传输环境(干扰因素的存在)。由于不同时刻其对应的距离值会根据当前传输环境受到影响,其需要获取当前时刻的各基站与终端之间的脉冲信号传输测得的距离值,即实测距离值。If the preset conditions are not met, the actual distance value between each base station and the measured distance value between each base station and the terminal at the current moment are determined according to the ranging algorithm. The actual distance value is the value measured by the pulse signal transmission between each base station measured by the ranging algorithm, which takes into account the actual transmission environment (the existence of interference factors). Since the corresponding distance value at different times will be affected by the current transmission environment, it is necessary to obtain the distance value measured by the pulse signal transmission between each base station and the terminal at the current moment, that is, the measured distance value.
通过各实际距离值与各标准距离值的关系确定误差均值,具体地将各实际距离值-各标准距离值得到对应的实时误差,将各实时误差平均处理得到误差均值。其各标准距离值为通过各基站的位置信息确定的各基站之间的距离值,例如有三个基站,其得到的距离值为三个,基站1与基站2之间的距离,基站1与基站3之间的距离,基站2与基站3之间的距离。由于基站的坐标值一定,其位置信息一定,故各基站之间的距离一定,其该标准距离值在没有干扰环境下测量得到,误差较小,可以忽略其误差。将该标准距离值作为测距定位的标准参考值。The error mean is determined by the relationship between each actual distance value and each standard distance value. Specifically, each actual distance value minus each standard distance value obtains the corresponding real-time error, and each real-time error is averaged to obtain the error mean. Each standard distance value is the distance value between each base station determined by the location information of each base station. For example, if there are three base stations, the distance values obtained are three, namely, the distance between base station 1 and base station 2, the distance between base station 1 and base station 3, and the distance between base station 2 and base station 3. Since the coordinate value of the base station is certain and its location information is certain, the distance between each base station is certain. The standard distance value is measured in an environment without interference, and the error is small and can be ignored. The standard distance value is used as the standard reference value for ranging and positioning.
例如三个基站,图2为本发明实施例提供的一种终端定位方法的示意图,如图2所示,其基站1与基站2之间的标准距离值ToF1_2,基站2与基站3之间的标准距离值ToF2_3,基站1与基站3之间的标准距离值ToF1_3。其对应的实际距离值分别为ToF'1_2ToF'1_3、ToF'2_3。其误差均值的确定具体公式如下:
For example, there are three base stations. FIG2 is a schematic diagram of a terminal positioning method provided by an embodiment of the present invention. As shown in FIG2, the standard distance value between base station 1 and base station 2 is ToF 1_2 , the standard distance value between base station 2 and base station 3 is ToF 2_3 , and the standard distance value between base station 1 and base station 3 is ToF 1_3 . The corresponding actual distance values are ToF' 1_2 ToF' 1_3 , ToF' 2_3 . The specific formula for determining the mean error is as follows:
其中,Δt为误差均值。Among them, Δt is the mean error.
根据实测距离值与误差均值的关系确定终端的位置信息。对于实测距离值与通过测距算法得到的各基站与终端之间的距离值方法相同,其对应的实测距离值(r1、r2、r3)。在实测距离值的基础上分别加误差均值得到的值为当前校正后的本地测距定位值(r1'、r2'、r3'),通过定位信息公式(参照上述实施例)即可得到其终端的位置信息。The location information of the terminal is determined according to the relationship between the measured distance value and the error mean. The measured distance value is the same as the distance value between each base station and the terminal obtained by the ranging algorithm, and the corresponding measured distance value (r 1 , r 2 , r 3 ) is obtained by adding the error mean value to the measured distance value. The value obtained is the current corrected local ranging positioning value (r 1 ', r 2 ', r 3 '), and the location information of the terminal can be obtained by the positioning information formula (refer to the above embodiment).
作为一种优选实施例,根据各实测距离值与误差均值的关系确定终端的位置信息,包括:As a preferred embodiment, determining the location information of the terminal according to the relationship between each measured distance value and the error mean value includes:
将各实测距离值与误差均值分别作和处理得到对应的终端的第一距离值、第二距离值和第三距离值;Each measured distance value and the error mean are processed separately to obtain a first distance value, a second distance value and a third distance value of the corresponding terminal;
根据第一距离值、第二距离值和第三距离值以及各基站的位置信息的关系确定终端的位置信息。The location information of the terminal is determined according to the relationship among the first distance value, the second distance value, the third distance value and the location information of each base station.
结合上述的例子,其将各实测距离值与误差均值作和处理得到对应的第一距离值r1'、第二距离值r2'和第三距离值r3'。其具体公式如下:
In combination with the above example, each measured distance value is processed with the error mean value to obtain the corresponding first distance value r 1 ', second distance value r 2 ' and third distance value r 3 '. The specific formula is as follows:
根据第一距离值、第二距离值和第三距离值以及各基站的位置信息,结合上述实施例中的逆推得到终端的未知位置信息的公式得到终端的位置信息。The location information of the terminal is obtained according to the first distance value, the second distance value, the third distance value and the location information of each base station, combined with the formula for obtaining the unknown location information of the terminal by reverse deduction in the above embodiment.
将当前的位置信息作为新的定位信息,其根据测距次数合并至多个定位信息。例如测距次数N=10,其新的定位信息合并后作为第11个定位信息,由于每次的定位信息的个数仅为测距次数保持相同,故在新的定位信息到来时,其原第一个定位信息撤掉,以此选取当前时刻接近的测距次数对应的多个定位信息得到对应的新的定位信息。也就是每次出现新的定位信息时,需要根据测距次数移位对应的多个定位信息作为当前新的多个定位信息。The current location information is used as the new positioning information, which is merged into multiple positioning information according to the number of ranging times. For example, if the number of ranging times N = 10, the new positioning information is merged as the 11th positioning information. Since the number of positioning information each time is only the number of ranging times, when the new positioning information arrives, the original first positioning information is removed, so as to select the multiple positioning information corresponding to the number of ranging times close to the current moment to obtain the corresponding new positioning information. That is, each time new positioning information appears, it is necessary to shift the corresponding multiple positioning information according to the number of ranging times as the current new multiple positioning information.
将新的多个定位信息继续判断是否满足预设条件,直至满足预设条件后输出对应的最终位置信息。The new multiple positioning information continues to be judged whether it meets the preset conditions, until the corresponding final position information is output after the preset conditions are met.
本发明实施例提供的根据多个定位信息与预设条件的关系确定对应的定位策略以得到终端的最终位置信息的确定过程,当多个定位信息满足预设条件时,其由该定位信息中确定终端的最终位置信息,当多个定位信息未满足预设条件时,则需要校正定位信息的定位策略,以得到新的定位信息,再次判断是否满足预设条件,直到满足预设条件后得到最终位置信息即可。实现定位信息处于预设区域内时,确定对应的定位策略,使得终端的位置信息处于预设区域内,减小定位信息的偏差,提高终端定位的精确度。The embodiment of the present invention provides a process for determining the final location information of the terminal by determining the corresponding positioning strategy according to the relationship between multiple positioning information and preset conditions. When multiple positioning information meets the preset conditions, the final location information of the terminal is determined from the positioning information. When multiple positioning information does not meet the preset conditions, it is necessary to correct the positioning strategy of the positioning information to obtain new positioning information, and determine whether the preset conditions are met again until the final location information is obtained after the preset conditions are met. When the positioning information is within the preset area, the corresponding positioning strategy is determined so that the terminal's location information is within the preset area, reducing the deviation of the positioning information and improving the accuracy of the terminal positioning.
在上述实施例的基础上,预设条件中的当前预设区域的建立过程具体包括:Based on the above embodiment, the process of establishing the current preset area in the preset condition specifically includes:
在多个定位信息中选取任意两个定位信息确定对应的长度值;Select any two pieces of positioning information from the plurality of positioning information to determine corresponding length values;
在各长度值中选取最大长度值,并将最大长度值作为直径长度值;Select the maximum length value among the length values, and use the maximum length value as the diameter length value;
根据最大长度值确定对应的目标定位信息;Determine the corresponding target positioning information according to the maximum length value;
根据目标定位信息以及直径长度值的关系划分圆形区域以确定当前预设区域。The circular area is divided according to the target positioning information and the relationship between the diameter and length values to determine the current preset area.
具体地,在多个定位信息中选取任意两个定位信息确定其长度值,两两定位信息确定一个长度值,在各长度值中继续选取最大长度值,以此将最大长度值作为预设区域的直径长度。Specifically, any two positioning information are selected from multiple positioning information to determine their length values, and a length value is determined by pairing two positioning information. The maximum length value is continuously selected from each length value, so that the maximum length value is used as the diameter length of the preset area.
由于最大长度值通过定位信息确定,故可以确定最大长度值的定位信息为两个目标定位信息,以当前两个目标定位信息的直径长度值划分圆形区域以确定为当前预设区域。 Since the maximum length value is determined by the positioning information, the positioning information of the maximum length value can be determined as two target positioning information, and the circular area is divided by the diameter length values of the current two target positioning information to determine as the current preset area.
可以理解的是,由于定位信息的选取每次不同,其预设区域的大小以及位置也是实时变动,以便于更好的针对当前的多个定位信息确定其最终位置信息,提高实时性与准确性。It is understandable that, since the selection of positioning information is different each time, the size and position of the preset area also change in real time, so as to better determine the final position information for the current multiple positioning information and improve real-time performance and accuracy.
另外,关于当前预设区域的形状可以是上述的圆形区域,也可以是半扇形区域或者矩形区域等,作为一种优选实施例,为了更好的实时根据定位信息以确定其预设区域,以直径长度值确定的圆形区域更为方便快捷,使得确定的预设区域的时间较短。In addition, the shape of the current preset area can be the circular area mentioned above, or it can be a semi-fan-shaped area or a rectangular area, etc. As a preferred embodiment, in order to better determine the preset area based on the positioning information in real time, the circular area determined by the diameter length value is more convenient and quick, so that the time to determine the preset area is shorter.
本发明实施例提供的预设条件的当前预设区域的建立过程,以直径长度值确定的圆形区域更为方便快捷,使得确定的预设区域的时间较短。The process of establishing the current preset area of the preset conditions provided in the embodiment of the present invention is more convenient and quicker to determine the circular area by the diameter length value, so that the time for determining the preset area is shorter.
在上述实施例的基础上,根据多个定位信息之间的关系确定终端的最终位置信息,包括:Based on the above embodiment, determining the final location information of the terminal according to the relationship between the multiple positioning information includes:
判断多个定位信息之间是否相同;Determine whether multiple positioning information are the same;
若不同,则将多个定位信息进行平均值处理得到最终定位信息以作为终端的最终位置信息;If they are different, the multiple positioning information are averaged to obtain the final positioning information as the final location information of the terminal;
若相同,则在多个定位信息中选取一个定位信息作为终端的最终位置信息。If they are the same, one piece of positioning information is selected from the multiple positioning information as the final location information of the terminal.
可以理解的是,在多个定位信息满足预设条件时,也就是多个定位信息处于当前预设区域时,其定位信息之间的偏差较小,继续判断多个定位信息之间是否相同。如果相同,则确定多个定位信息相较于一点,其选取一个定位信息作为终端的最终位置信息即可。It is understandable that when multiple positioning information meets the preset conditions, that is, when multiple positioning information is in the current preset area, the deviation between the positioning information is small, and it is continued to determine whether the multiple positioning information is the same. If the same, it is determined that the multiple positioning information is compared to one point, and one positioning information is selected as the final location information of the terminal.
如果不同,但是定位信息偏差较小,其将多个定位信息进行平均值处理得到最终位置信息。例如存在5个定位信息,其定位信息的坐标分别为(x1',y1')、(x2',y2')、(x3',y3')、(x4',y4')、(x5',y5')。对应的均值处理得到的最终位置信息的x'值为:
If they are different, but the deviation of the positioning information is small, the multiple positioning information is averaged to obtain the final positioning information. For example, there are 5 positioning information, and the coordinates of the positioning information are (x 1 ', y 1 '), (x 2 ', y 2 '), (x 3 ', y 3 '), (x 4 ', y 4 '), (x 5 ', y 5 '). The corresponding x' value of the final positioning information obtained by the average processing is:
均值处理得到的最终位置信息的y'值为:
The y' value of the final position information obtained by mean processing is:
通过x'和y'合并得到其最终位置信息的坐标值(x',y')。The coordinate value (x', y') of its final position information is obtained by combining x' and y'.
需要说明的是,本发明实施例提供的均值处理仅是一种实施例,还可以通过标准差或者其他算法处理得到最终位置信息。It should be noted that the mean value processing provided in the embodiment of the present invention is only one embodiment, and the final position information can also be obtained through standard deviation or other algorithm processing.
本发明实施例体用的根据多个定位信息之间的关系确定终端的最终位置信息,若多个定位信息相同,则确定一个定位信息作为最终位置信息,若多个定位信息不相同,则进行均值处理得到最终位置信息。使得确定的最终位置信息的过程较为简便,同时提高其精确度。 The embodiment of the present invention determines the final location information of the terminal according to the relationship between multiple location information. If multiple location information are the same, one location information is determined as the final location information. If multiple location information are different, the final location information is obtained by averaging. This makes the process of determining the final location information simpler and improves its accuracy.
上述详细描述了基于UWB的定位方法对应的各个实施例,在此基础上,本发明还公开与上述方法对应的基于UWB的定位装置,图3为本发明实施例提供的一种基于UWB的定位装置的结构图。如图3所示,基于UWB的定位装置包括:The above describes in detail various embodiments corresponding to the UWB-based positioning method. On this basis, the present invention also discloses a UWB-based positioning device corresponding to the above method. FIG3 is a structural diagram of a UWB-based positioning device provided by an embodiment of the present invention. As shown in FIG3, the UWB-based positioning device includes:
获取模块11,用于获取各基站的位置信息,其中基站的数量至少为三个;An acquisition module 11 is used to acquire location information of each base station, wherein the number of base stations is at least three;
第一确定模块12,用于通过测距次数、测距算法以及各基站的位置信息得到各基站与终端之间的距离值以确定终端对应的多个定位信息;A first determination module 12 is used to obtain the distance value between each base station and the terminal through the number of ranging times, the ranging algorithm and the position information of each base station to determine multiple positioning information corresponding to the terminal;
第二确定模块13,用于根据多个定位信息与预设条件的关系确定对应的定位策略以得到终端的最终位置信息,其中预设条件为多个定位信息处于当前预设区域。The second determination module 13 is used to determine a corresponding positioning strategy according to the relationship between the multiple positioning information and the preset condition to obtain the final location information of the terminal, wherein the preset condition is that the multiple positioning information is in the current preset area.
由于装置部分的实施例与上述的实施例相互对应,因此装置部分的实施例请参照上述方法部分的实施例描述,在此不再赘述。Since the embodiments of the device part correspond to the above embodiments, please refer to the description of the embodiments of the method part for the embodiments of the device part, and will not be repeated here.
对于本发明提供的一种基于UWB的定位装置的介绍请参照上述方法实施例,本发明在此不再赘述,其具有上述基于UWB的定位方法相同的有益效果。For an introduction to a UWB-based positioning device provided by the present invention, please refer to the above method embodiment, and the present invention will not be repeated here. It has the same beneficial effects as the above UWB-based positioning method.
图4为本发明实施例提供的另一种基于UWB的定位装置的结构图,如图4所示,该装置包括:FIG. 4 is a structural diagram of another UWB-based positioning device provided in an embodiment of the present invention. As shown in FIG. 4 , the device includes:
存储器21,用于存储计算机程序;A memory 21, used for storing computer programs;
处理器22,用于执行计算机程序时实现基于UWB的定位方法的步骤。The processor 22 is used to implement the steps of the UWB-based positioning method when executing the computer program.
本实施例提供的基于UWB的定位装置可以包括但不限于可穿戴设备、定位器、智能手机、平板电脑、笔记本电脑或者台式电脑等移动设备。The UWB-based positioning device provided in this embodiment may include but is not limited to mobile devices such as wearable devices, locators, smart phones, tablet computers, laptops or desktop computers.
其中,处理器22可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器22可以采用数字信号处理器(Digital Signal Processor,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器22也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(Central Processing Unit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器22可以集成有图像处理器(Graphics Processing Unit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器22还可以包括人工智能(Artificial Intelligence,AI)处理器,该AI处理器用于处理有关机器学习的计算操作。Among them, the processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 22 may be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 22 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 22 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 22 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
存储器21可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器21还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。本实施例中,存储器21至少用于存储以下计算机程序211,其中,该计算机程序被处理器22加载并执行之后,能够实现前述任一实施例公开的基于UWB的定位方法的相 关步骤。另外,存储器21所存储的资源还可以包括操作系统212和数据213等,存储方式可以是短暂存储或者永久存储。其中,操作系统212可以包括Windows、Unix、Linux等。数据213可以包括但不限于基于UWB的定位方法所涉及到的数据等等。The memory 21 may include one or more computer-readable storage media, which may be non-transitory. The memory 21 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In this embodiment, the memory 21 is used to store at least the following computer program 211, wherein after the computer program is loaded and executed by the processor 22, it can implement the relevant UWB-based positioning method disclosed in any of the above embodiments. In addition, the resources stored in the memory 21 may also include an operating system 212 and data 213, and the storage method may be temporary storage or permanent storage. The operating system 212 may include Windows, Unix, Linux, etc. The data 213 may include but is not limited to data related to the UWB-based positioning method, etc.
在一些实施例中,基于UWB的定位装置还可包括有显示屏23、输入输出接口24、通信接口25、电源26以及通信总线27。In some embodiments, the UWB-based positioning device may further include a display screen 23 , an input/output interface 24 , a communication interface 25 , a power supply 26 , and a communication bus 27 .
领域技术人员可以理解,图4中示出的结构并不构成对基于UWB的定位装置的限定,可以包括比图示更多或更少的组件。Those skilled in the art will appreciate that the structure shown in FIG. 4 does not constitute a limitation on the UWB-based positioning device, and may include more or fewer components than those shown in the figure.
处理器22通过调用存储于存储器21中的指令以实现上述任一实施例所提供的基于UWB的定位方法。The processor 22 implements the UWB-based positioning method provided by any of the above embodiments by calling the instructions stored in the memory 21 .
对于本发明提供的一种基于UWB的定位装置的介绍请参照上述方法实施例,本发明在此不再赘述,其具有上述基于UWB的定位方法相同的有益效果。For an introduction to a UWB-based positioning device provided by the present invention, please refer to the above method embodiment, and the present invention will not be repeated here. It has the same beneficial effects as the above UWB-based positioning method.
进一步的,本发明还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器22执行时实现如上述基于UWB的定位方法的步骤。Furthermore, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor 22, the steps of the above-mentioned UWB-based positioning method are implemented.
可以理解的是,如果上述实施例中的方法以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and executes all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
对于本发明提供的一种计算机可读存储介质的介绍请参照上述方法实施例,本发明在此不再赘述,其具有上述基于UWB的定位方法相同的有益效果。For an introduction to a computer-readable storage medium provided by the present invention, please refer to the above method embodiment, which will not be described in detail herein. It has the same beneficial effects as the above UWB-based positioning method.
以上对本发明所提供的一种基于UWB的定位方法、基于UWB的定位装置及介质进行了详细介绍。说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The above is a detailed introduction to a UWB-based positioning method, a UWB-based positioning device and a medium provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can refer to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或 者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。 It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or require The term "includes" or "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

Claims (11)

  1. 一种基于UWB的定位方法,其特征在于,包括:A positioning method based on UWB, characterized by comprising:
    获取各基站的位置信息,其中所述基站的数量至少为三个;Acquire location information of each base station, wherein the number of the base stations is at least three;
    通过测距次数、测距算法以及各所述基站的位置信息得到各所述基站与终端之间的距离值以确定所述终端对应的多个定位信息;Obtain the distance value between each base station and the terminal by using the number of ranging times, the ranging algorithm and the position information of each base station to determine a plurality of positioning information corresponding to the terminal;
    根据多个所述定位信息与预设条件的关系确定对应的定位策略以得到所述终端的最终位置信息,其中预设条件为多个所述定位信息处于当前预设区域。A corresponding positioning strategy is determined according to a relationship between the plurality of positioning information and a preset condition to obtain final location information of the terminal, wherein the preset condition is that the plurality of positioning information is in a current preset area.
  2. 根据权利要求1所述的基于UWB的定位方法,其特征在于,所述通过测距次数、测距算法以及各所述基站的位置信息得到各所述基站与终端之间的距离值以确定所述终端对应的多个定位信息,包括:The UWB-based positioning method according to claim 1, characterized in that the distance value between each base station and the terminal is obtained by the number of ranging times, the ranging algorithm and the position information of each base station to determine the multiple positioning information corresponding to the terminal, including:
    获取当前测距次数下对应的各所述基站与所述终端之间的信号参数;Obtaining signal parameters between each of the base stations and the terminal corresponding to the current number of ranging times;
    根据所述测距算法以及所述信号参数确定所述当前测距次数的各所述基站与所述终端对应的当前距离值;Determine, according to the ranging algorithm and the signal parameter, a current distance value corresponding to each of the base stations and the terminal for the current number of ranging times;
    根据所述当前距离值以及各所述基站的位置信息的关系确定所述当前测距次数的所述终端对应的当前定位信息。The current positioning information corresponding to the terminal for the current number of ranging times is determined according to the relationship between the current distance value and the position information of each base station.
  3. 根据权利要求2所述的基于UWB的定位方法,其特征在于,所述根据所述测距算法以及所述信号参数确定所述当前测距次数的各所述基站与所述终端对应的当前距离值,包括:The UWB-based positioning method according to claim 2, characterized in that the current distance value corresponding to each of the base stations and the terminal for the current number of ranging measurements is determined according to the ranging algorithm and the signal parameter, comprising:
    获取各所述基站与所述终端之间传输脉冲信号的时间戳,其中所述时间戳至少包括一组所述各所述基站向所述终端传输所述脉冲信号的第一时间戳和第二时间戳,一组所述终端向所述各所述基站传输应答所述脉冲信号的第三时间戳和第四时间戳,所述信号参数为传输的所述时间戳;Acquire timestamps of pulse signals transmitted between each of the base stations and the terminal, wherein the timestamps include at least a group of first timestamps and second timestamps of each of the base stations transmitting the pulse signals to the terminal, and a group of third timestamps and fourth timestamps of each of the terminals transmitting responses to the pulse signals to the base stations, and the signal parameter is the transmitted timestamps;
    根据所述第一时间戳与所述第四时间戳作差处理得到第一差值;Performing a difference process between the first timestamp and the fourth timestamp to obtain a first difference value;
    根据所述第二时间戳与所述第三时间戳作差处理得到第二差值;Performing a difference process on the second timestamp and the third timestamp to obtain a second difference value;
    将所述第一差值和所述第二差值作差处理得到所述各所述基站与所述终端的双向延时时间;Performing difference processing on the first difference and the second difference to obtain a two-way delay time between each of the base stations and the terminal;
    将所述双向延时时间除以2得到单向延时时间;Divide the two-way delay time by 2 to obtain the one-way delay time;
    将所述单向延时时间与速度之间的关系确定所述各所述基站与所述终端之间的所述当前距离值。The current distance value between each of the base stations and the terminal is determined by using the relationship between the one-way delay time and the speed.
  4. 根据权利要求3所述的基于UWB的定位方法,其特征在于,所述第一时间戳和所述第二时间戳的建立过程包括以下步骤:The UWB-based positioning method according to claim 3, characterized in that the process of establishing the first timestamp and the second timestamp comprises the following steps:
    接收由各所述基站发送所述脉冲信号至所述终端的所述第一时间戳;Receiving the first timestamp of the pulse signal sent by each of the base stations to the terminal;
    接收各所述基站发送的所述脉冲信号,并记录接收所述第一时间戳的接收时刻为所述第二时间戳;receiving the pulse signal sent by each of the base stations, and recording a receiving time of the first timestamp as the second timestamp;
    对应地,所述第三时间戳和所述第四时间戳的建立过程包括以下步骤:Correspondingly, the process of establishing the third timestamp and the fourth timestamp includes the following steps:
    根据各所述基站发送的所述脉冲信号生成应答所述脉冲信号的响应信号,记录所述响应信号的发送时刻为所述第三时间戳; generating a response signal in response to the pulse signal according to the pulse signal sent by each of the base stations, and recording the sending time of the response signal as the third timestamp;
    将所述第三时间戳和所述响应信号发送至各所述基站以便于各所述基站记录所述响应信号、所述第三时间戳的接收时刻为所述第四时间戳。The third timestamp and the response signal are sent to each of the base stations so that each of the base stations records the response signal and the reception time of the third timestamp as the fourth timestamp.
  5. 根据权利要求1至4任意一项所述的基于UWB的定位方法,其特征在于,所述根据多个所述定位信息与预设条件的关系确定对应的定位策略以得到所述终端的最终位置信息,包括:The UWB-based positioning method according to any one of claims 1 to 4, characterized in that the determining of the corresponding positioning strategy according to the relationship between the plurality of positioning information and the preset conditions to obtain the final location information of the terminal comprises:
    判断多个所述定位信息是否满足所述预设条件;Determining whether the plurality of positioning information meets the preset condition;
    若否,则根据所述测距算法分别确定当前时刻的各所述基站之间的实际距离值和各所述基站与所述终端之间的实测距离值;If not, determining the actual distance values between the base stations and the measured distance values between the base stations and the terminal at the current moment respectively according to the ranging algorithm;
    根据各所述实际距离值与各标准距离值的关系确定误差均值,并根据所述实测距离值与所述误差均值的关系确定所述终端的位置信息,其中各所述标准距离值为通过各所述基站的位置信息确定的各所述基站之间的距离值;Determine an error mean value according to a relationship between each of the actual distance values and each of the standard distance values, and determine the location information of the terminal according to a relationship between the measured distance value and the error mean value, wherein each of the standard distance values is a distance value between each of the base stations determined by the location information of each of the base stations;
    将所述终端的位置信息作为新的所述定位信息;Using the location information of the terminal as the new positioning information;
    根据所述测距次数合并至多个所述定位信息以选取所述当前时刻接近的所述测距次数对应的多个所述定位信息得到新的多个所述定位信息,并返回至所述判断多个所述定位信息是否满足所述预设条件的步骤;Merge the multiple positioning information according to the number of ranging times to select the multiple positioning information corresponding to the number of ranging times close to the current moment to obtain new multiple positioning information, and return to the step of determining whether the multiple positioning information meets the preset condition;
    若是,则根据多个所述定位信息之间的关系确定所述终端的最终位置信息。If so, the final location information of the terminal is determined according to the relationship between the multiple positioning information.
  6. 根据权利要求5所述的基于UWB的定位方法,其特征在于,所述当前预设区域的建立过程具体包括:The UWB-based positioning method according to claim 5, characterized in that the process of establishing the current preset area specifically includes:
    在多个所述定位信息中选取任意两个所述定位信息确定对应的长度值;Select any two of the positioning information from the plurality of positioning information to determine corresponding length values;
    在各长度值中选取最大长度值,并将所述最大长度值作为直径长度值;Selecting a maximum length value from among the length values, and using the maximum length value as the diameter length value;
    根据所述最大长度值确定对应的目标定位信息;Determine corresponding target positioning information according to the maximum length value;
    根据所述目标定位信息以及所述直径长度值的关系划分圆形区域以确定所述当前预设区域。The circular area is divided according to the target positioning information and the relationship between the diameter length value to determine the current preset area.
  7. 根据权利要求6所述的基于UWB的定位方法,其特征在于,所述根据各所述实测距离值与所述误差均值的关系确定所述终端的位置信息,包括:The UWB-based positioning method according to claim 6, characterized in that the determining the location information of the terminal according to the relationship between each of the measured distance values and the error mean value comprises:
    将各所述实测距离值与所述误差均值分别作和处理得到对应的所述终端的第一距离值、第二距离值和第三距离值;Performing and processing on each of the measured distance values and the error mean respectively to obtain a corresponding first distance value, a second distance value and a third distance value of the terminal;
    根据所述第一距离值、所述第二距离值和所述第三距离值以及各所述基站的位置信息的关系确定所述终端的位置信息。The location information of the terminal is determined according to the relationship among the first distance value, the second distance value, the third distance value, and the location information of each of the base stations.
  8. 根据权利要求7所述的基于UWB的定位方法,其特征在于,所述根据多个所述定位信息之间的关系确定所述终端的最终位置信息,包括:The UWB-based positioning method according to claim 7, characterized in that the determining the final location information of the terminal according to the relationship between the plurality of positioning information comprises:
    判断多个所述定位信息之间是否相同;Determining whether the plurality of positioning information are the same;
    若不同,则将多个所述定位信息进行平均值处理得到最终定位信息以作为所述终端的最终位置信息;If they are different, averaging the plurality of positioning information to obtain final positioning information as the final position information of the terminal;
    若相同,则在多个所述定位信息中选取一个定位信息作为所述终端的最终位置信息。If they are the same, one piece of positioning information is selected from the multiple pieces of positioning information as the final position information of the terminal.
  9. 一种基于UWB的定位装置,其特征在于,包括: A UWB-based positioning device, comprising:
    获取模块,用于获取各基站的位置信息,其中所述基站的数量至少为三个;An acquisition module, used to acquire location information of each base station, wherein the number of the base stations is at least three;
    第一确定模块,用于通过测距次数、测距算法以及各所述基站的位置信息得到各所述基站与终端之间的距离值以确定所述终端对应的多个定位信息;A first determination module, configured to obtain the distance value between each base station and the terminal through the number of ranging times, the ranging algorithm and the position information of each base station to determine a plurality of positioning information corresponding to the terminal;
    第二确定模块,用于根据多个所述定位信息与预设条件的关系确定对应的定位策略以得到所述终端的最终位置信息,其中预设条件为多个所述定位信息处于当前预设区域。The second determination module is used to determine a corresponding positioning strategy according to a relationship between the plurality of positioning information and a preset condition to obtain final location information of the terminal, wherein the preset condition is that the plurality of positioning information is in a current preset area.
  10. 一种基于UWB的定位装置,其特征在于,包括:A UWB-based positioning device, comprising:
    存储器,用于存储计算机程序;Memory for storing computer programs;
    处理器,用于执行所述计算机程序时实现如权利要求1至8任一项所述的基于UWB的定位方法的步骤。A processor, configured to implement the steps of the UWB-based positioning method as described in any one of claims 1 to 8 when executing the computer program.
  11. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8任一项所述的基于UWB的定位方法的步骤。 A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the UWB-based positioning method as described in any one of claims 1 to 8 are implemented.
PCT/CN2023/126138 2022-10-27 2023-10-24 Uwb-based positioning method and device, and medium WO2024088243A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211325492.2A CN115665660A (en) 2022-10-27 2022-10-27 UWB-based positioning method, device and medium
CN202211325492.2 2022-10-27

Publications (1)

Publication Number Publication Date
WO2024088243A1 true WO2024088243A1 (en) 2024-05-02

Family

ID=84992812

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/126138 WO2024088243A1 (en) 2022-10-27 2023-10-24 Uwb-based positioning method and device, and medium

Country Status (2)

Country Link
CN (1) CN115665660A (en)
WO (1) WO2024088243A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118234017A (en) * 2024-05-23 2024-06-21 浙江深寻科技有限公司 UWB (ultra wide band) base station-free emergency positioning system applied to urban complex building

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665660A (en) * 2022-10-27 2023-01-31 歌尔科技有限公司 UWB-based positioning method, device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160056999A (en) * 2014-11-12 2016-05-23 조선대학교산학협력단 System and method for providing service position determination of mobile terminal in wireless mobile communication
KR101709411B1 (en) * 2015-11-18 2017-02-24 이화여자대학교 산학협력단 Method for positioning based on weighted triangulation and method for indoor positioning using the same
CN110868752A (en) * 2018-08-28 2020-03-06 阿里巴巴集团控股有限公司 Terminal positioning method and device
WO2021244331A1 (en) * 2020-06-02 2021-12-09 Oppo广东移动通信有限公司 Positioning service method, and related apparatus
WO2022199496A1 (en) * 2021-03-24 2022-09-29 华为技术有限公司 Uwb base station abnormality detection method, and electronic device
CN115665660A (en) * 2022-10-27 2023-01-31 歌尔科技有限公司 UWB-based positioning method, device and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160056999A (en) * 2014-11-12 2016-05-23 조선대학교산학협력단 System and method for providing service position determination of mobile terminal in wireless mobile communication
KR101709411B1 (en) * 2015-11-18 2017-02-24 이화여자대학교 산학협력단 Method for positioning based on weighted triangulation and method for indoor positioning using the same
CN110868752A (en) * 2018-08-28 2020-03-06 阿里巴巴集团控股有限公司 Terminal positioning method and device
WO2021244331A1 (en) * 2020-06-02 2021-12-09 Oppo广东移动通信有限公司 Positioning service method, and related apparatus
WO2022199496A1 (en) * 2021-03-24 2022-09-29 华为技术有限公司 Uwb base station abnormality detection method, and electronic device
CN115665660A (en) * 2022-10-27 2023-01-31 歌尔科技有限公司 UWB-based positioning method, device and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118234017A (en) * 2024-05-23 2024-06-21 浙江深寻科技有限公司 UWB (ultra wide band) base station-free emergency positioning system applied to urban complex building

Also Published As

Publication number Publication date
CN115665660A (en) 2023-01-31

Similar Documents

Publication Publication Date Title
WO2024088243A1 (en) Uwb-based positioning method and device, and medium
CN110099354B (en) Ultra-wideband communication two-dimensional positioning method combining TDOA and TOF
EP2727392B1 (en) Distributed positioning mechanism for wireless communication devices
EP3627259A1 (en) Positioning method and system, electronic device, and computer-readable storage medium
CN107113762B (en) Positioning method, positioning server and positioning system
WO2019165632A1 (en) Indoor positioning method, apparatus and equipment
CN111381209A (en) Distance measurement positioning method and device
WO2021227741A1 (en) Information reporting method, apparatus and device, and readable storage medium
CN111542128B (en) UWB-based equipment interaction method, device and equipment
JP2020193972A (en) Method and apparatus for positioning with wireless signals
CN109495840B (en) Wireless communication method, device, system and storage medium
CN110572774A (en) indoor multi-base-station extension method based on UWB self-positioning
CN113311384A (en) Unilateral bidirectional distance measurement method and device
US20230110357A1 (en) Wireless positioning
CN116594028B (en) Verification method and device for alignment parameters, storage medium and electronic equipment
WO2023202141A1 (en) Display method, control device and computer storage medium
KR101162727B1 (en) Reference signal sending method and system for mearsuring location, location mearsuring method, apparatus and system using it, time synchronization method and apparatus using it
CN114845386B (en) Time synchronization and positioning method and system based on UWB base station secondary self-correction
CN114222362B (en) Positioning method and positioning device
Huang et al. A practical localization algorithm based on wireless sensor networks
CN109041213A (en) Adaptive location modification method and device in a kind of room AP
CN107404757A (en) The localization method and system of a kind of user equipment (UE)
Xiaomao et al. Improved master-slave time synchronization algorithm based on TDOA positioning
CN110611878A (en) High-precision positioning system and method based on one-dimensional deployment of base station
CN117135326A (en) Projection picture processing method, apparatus, electronic device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23881821

Country of ref document: EP

Kind code of ref document: A1