A UWB non-line-of-sight multi-classification recognition method and system based on domain adversarial learning

By using the domain adversarial learning method in the UWB indoor positioning system to extract and train the UWB non-line-of-sight multi-class recognition model, the problem of low accuracy of the UWB indoor positioning system under non-line-of-sight and multi-path effects is solved, and cross-scenario recognition is achieved. Accurate non-line-of-sight signal recognition and multi-class recognition.

CN118503857BActive Publication Date: 2024-09-13CENT SOUTH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410923860.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-13
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

The existing UWB indoor positioning system has low positioning accuracy under non-line-of-sight and multi-path effects. Existing non-line-of-sight recognition methods cannot effectively identify feature distribution and subdivided scenes in complex environments, resulting in misclassification and low recognition accuracy.

Method used

The UWB non-line-of-sight multi-class recognition method based on domain adversarial learning is used to collect CIR data in the source domain and target domain, extract features and build a domain adversarial network model, and use feature extractors and label predictors for adversarial training to achieve non-linear Multi-class recognition of line-of-sight signals.

Benefits of technology

It improves the robustness and recognition accuracy of UWB indoor positioning, can accurately identify non-line-of-sight signal types in different scenarios, and enhances the robustness of the model and the accuracy of the recognition results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118503857B
    Figure CN118503857B
Patent Text Reader

Abstract

The present invention discloses a UWB non-line-of-sight multi-classification recognition method and system based on domain adversarial learning. The method collects CIR data of source domain environments and target domain environments under multiple non-line-of-sight scenarios, extracts a first feature for distinguishing similar non-line-of-sight scenarios, and uses the first feature together to perform adversarial training on a model, so that a domain classifier in the model cannot judge whether the CIR data comes from a source domain environment or a target domain environment, while a label predictor can accurately judge the non-line-of-sight scenario type of the source domain environment CIR data, thereby realizing multi-classification recognition of non-line-of-sight signals in a cross-scenario UWB positioning network. No matter how the application scenario changes or there are differences between the source domain environment and the target domain environment, the non-line-of-sight signal type can still be accurately identified, thereby improving the robustness of the model, and in combination with the first feature, non-line-of-sight scenes with similar features can be accurately distinguished, thereby improving the accuracy of the non-line-of-sight multi-classification recognition result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of non-line-of-sight recognition, and in particular to a UWB non-line-of-sight multi-classification recognition method and system based on domain adversarial learning, an electronic device, and a computer-readable storage medium. Background Art

[0002] Positioning technology is becoming increasingly important in the Internet of Everything and location-based services. With the development of mobile communications and positioning technology, the demand for accurate indoor positioning is increasing. Although systems such as GPS and Beidou are widely used outdoors, their positioning effect is poor indoors due to satellite signal attenuation and reflection. Traditional indoor positioning technologies such as infrared, Wi-Fi, Bluetooth, and radio frequency identification cannot meet the accuracy requirements due to signal interference. Therefore, researchers are exploring alternative technologies, among which ultra-wideband (UWB) positioning technology stands out due to its excellent anti-interference performance. However, UWB indoor positioning systems are susceptible to non-light of sight (NLOS) and multipath effects, resulting in a significant decrease in positioning accuracy. Therefore, how to identify non-light of sight and multipath effects is crucial to improving the accuracy of UWB indoor positioning. Common existing non-line-of-sight recognition methods include hypothesis testing, machine learning, and deep learning. For example, the "Non-line-of-sight signal recognition method based on random forest" (CN112800983A) applied by Yulin Normal University uses random forest to identify signal features to determine whether the signal is non-line-of-sight, but it does not consider the distribution of features in complex environments, which can easily lead to misclassification; in addition, the "Device and algorithm for UWB line-of-sight / non-line-of-sight recognition" (CN117851881A) applied by Southeast University uses feature selection and self-attention mechanisms to train the model to identify UWB line-of-sight / non-line-of-sight, and deploy it in the TinyML computing module, but it requires a large amount of data to be collected for training, the process is cumbersome, and the recognition accuracy is low when migrating to a new environment. In addition, the existing non-line-of-sight recognition methods only study the binary classification problem, ignore the subdivision scenarios of non-line-of-sight, and cannot evaluate the severity of non-line-of-sight and multipath effects, limiting the effectiveness of subsequent link strategies. Summary of the invention

[0003] The present invention provides a UWB non-line-of-sight multi-classification recognition method and system based on domain adversarial learning, an electronic device, and a computer-readable storage medium, which can realize multi-classification recognition of non-line-of-sight signals in a cross-scenario UWB positioning network and has good robustness and recognition accuracy.

[0004] According to one aspect of the present invention, a UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning is provided, comprising the following contents:

[0005] CIR data are collected in a source domain environment and a target domain environment having multiple non-line-of-sight scenes respectively, and a first feature for distinguishing similar non-line-of-sight scenes is extracted from the CIR data of the source domain environment, and a training data set is constructed based on the CIR data of the source domain environment, the CIR data of the target domain environment, and the first feature;

[0006] Constructing a domain adversarial network model, the domain adversarial network model includes a feature extractor, a domain classifier and a label predictor, wherein the feature extractor is used to extract a second feature from the CIR data, the domain classifier is used to determine whether the CIR data is from a source domain environment or a target domain environment according to the extracted second feature, and the label predictor is used to fuse the first feature and the second feature of the source domain environment, and determine the non-line-of-sight scene type of the CIR data of the source domain environment based on the fused feature;

[0007] The domain adversarial network model is trained adversarially using the training data set until the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature, then the training ends;

[0008] The CIR data to be identified is obtained and the first feature of the CIR data to be identified is extracted. The CIR data to be identified and the first feature thereof are input into the feature extractor and label predictor of the trained domain adversarial network model. The non-line-of-sight scene type of the CIR data to be identified is output through the label predictor.

[0009] Furthermore, the process of using the training data set to perform adversarial training on the domain adversarial network model until the domain classifier cannot determine whether the second feature extracted by the feature extractor is from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature includes the following:

[0010] Selecting multiple CIR data of source domain environments and target domain environments from the training data set, and extracting features using a feature extractor, respectively obtaining second features of the source domain environment CIR data and the target domain environment CIR data and marking and distinguishing them, so as to construct a first training sample set;

[0011] Selecting CIR data of multiple source domain environments and their corresponding first features from the training data set, using a feature extractor to extract features from the CIR data of the source domain environment to obtain a second feature, fusing the first feature and the second feature and adding a corresponding non-line-of-sight scene type label to construct a second training sample set;

[0012] The overall loss function of the domain adversarial network model is set, the first training sample set is input into the domain classifier, and the second training sample set is input into the label predictor for iterative training. During the iteration process, the network parameters of the feature extractor, the domain classifier, and the label predictor are continuously adjusted so that the overall loss function meets the accuracy requirements to ensure that the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature.

[0013] Furthermore, the overall loss function of the domain adversarial network model is:

[0014]

[0015] Among them, L represents the overall loss, represents the loss of the label predictor, represents the loss of the domain classifier, represents the regularization parameter, m represents the number of training samples, represents the jth fusion feature of the source domain environment, Represents the cross entropy calculation function between the predicted label and the true label calculated by the label predictor, represents the second feature of the j-th source domain environment CIR data, represents the second feature of the j-th target domain environment CIR data, Represents the function for calculating the cross entropy between the predicted labels and the true labels calculated by the domain classifier.

[0016] Further, the first characteristics include kurtosis factor, average excess delay, root mean square delay spread, received first path signal strength indication difference and time of flight ranging method distance error.

[0017] Further, the received first path signal strength indication difference is calculated based on the following formula:

[0018]

[0019] Among them, RFPSD represents the received first path signal strength indication difference, FP represents the first path signal strength indication, RX represents the received total signal strength indication, F1, F2 and F3 represent the first, second and third harmonics of the first path signal amplitude respectively, A represents a constant, PAC represents the preamble code accumulated count value, and CIP represents the channel impulse response power value.

[0020] Furthermore, the time-of-flight ranging distance error is calculated based on the following formula:

[0021]

[0022] Where TFRE represents the distance error of the time-of-flight ranging method, d1 represents the estimated first path distance, d2 represents the ranging value based on the time-of-flight method, and P T represents the transmission power, G R represents the total antenna gain of the anchor antenna and the tag antenna, f R represents the center frequency, and c represents the signal transmission speed.

[0023] Furthermore, the amount of CIR data collected in the source domain environment is greater than the amount of CIR data collected in the target domain environment.

[0024] In addition, the present invention also provides a UWB non-line-of-sight multi-classification recognition system based on domain adversarial learning, comprising:

[0025] A data acquisition module is used to respectively collect CIR data in a source domain environment and a target domain environment having multiple non-line-of-sight scenes, extract a first feature for distinguishing similar non-line-of-sight scenes from the CIR data of the source domain environment, and construct a training data set based on the CIR data of the source domain environment, the CIR data of the target domain environment, and the first feature;

[0026] A model building module, used to build a domain adversarial network model, wherein the domain adversarial network model includes a feature extractor, a domain classifier and a label predictor, wherein the feature extractor is used to extract a second feature from the CIR data, the domain classifier is used to determine whether the CIR data is from a source domain environment or a target domain environment based on the extracted second feature, and the label predictor is used to fuse the first feature and the second feature of the source domain environment, and determine the non-line-of-sight scene type of the CIR data of the source domain environment based on the fused feature;

[0027] An adversarial training module is used to perform adversarial training on the domain adversarial network model using a training data set until the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature, then the training ends;

[0028] The classification and recognition module is used to obtain the CIR data to be identified and extract the first feature of the CIR data to be identified, input the CIR data to be identified and its first feature into the feature extractor and label predictor of the trained domain adversarial network model, and output the non-line-of-sight scene type of the CIR data to be identified through the label predictor.

[0029] In addition, the present invention also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor executes the steps of the above method by calling the computer program stored in the memory.

[0030] In addition, the present invention also provides a computer-readable storage medium for storing a computer program for performing UWB non-line-of-sight multi-classification recognition based on domain adversarial learning, wherein the computer program executes the steps of the method described above when running on a computer.

[0031] The present invention has the following beneficial effects:

[0032] The UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning of the present invention collects CIR data of a source domain environment and CIR data of a target domain environment with multiple non-line-of-sight scenes, and extracts a first feature for distinguishing similar non-line-of-sight scenes to perform adversarial training on the model, so that the domain classifier in the model cannot judge whether the CIR data comes from the source domain environment or the target domain environment, while the label predictor can accurately judge the non-line-of-sight scene type of the source domain environment CIR data, thereby realizing multi-classification recognition of non-line-of-sight signals in a cross-scene UWB positioning network. No matter how the application scenario changes or there are differences between the source domain environment and the target domain environment, the type of the non-line-of-sight signal can still be accurately identified, which greatly improves the robustness of the model, and can accurately distinguish non-line-of-sight scenes with similar features in combination with the first feature, which greatly improves the accuracy of the non-line-of-sight multi-classification recognition result.

[0033] In addition, the UWB non-line-of-sight multi-classification recognition system based on domain adversarial learning of the present invention also has the above advantages.

[0034] In addition to the above-described purposes, features and advantages, the present invention has other purposes, features and advantages. The present invention will be further described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The drawings constituting a part of this application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0036] Figure 1 It is a flowchart of a UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning in a preferred embodiment of the present application.

[0037] Figure 2 yes Figure 1 Schematic diagram of the sub-process of step S3 in FIG.

[0038] Figure 3 It is a schematic diagram of the distribution of principal components of features extracted from CIR data of the source domain and the target domain respectively based on the trained feature extractor in the preferred embodiment of the present application, wherein (a) represents the schematic diagram of the distribution of principal components of features of the source domain, and (b) represents the schematic diagram of the distribution of principal components of features of the target domain.

[0039] Figure 4 It is a schematic diagram of the confusion matrix results of the domain adversarial network model identifying six types of occlusion types experimentally measured in the preferred embodiment of the present application.

[0040] Figure 5 It is a schematic diagram of the module structure of a UWB non-line-of-sight multi-classification recognition system based on domain adversarial learning in a preferred embodiment of the present application. DETAILED DESCRIPTION

[0041] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0042] Reference Figure 1 The preferred embodiment of the present application provides a UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning, including the following contents:

[0043] Step S1: CIR data is collected in a source domain environment and a target domain environment having multiple non-line-of-sight scenes respectively, and a first feature for distinguishing similar non-line-of-sight scenes is extracted from the CIR data of the source domain environment, and a training data set is constructed based on the CIR data of the source domain environment, the CIR data of the target domain environment, and the first feature;

[0044] Step S2: constructing a domain adversarial network model, wherein the domain adversarial network model includes a feature extractor, a domain classifier, and a label predictor, wherein the feature extractor is used to extract a second feature from the CIR data, the domain classifier is used to determine whether the CIR data is from a source domain environment or a target domain environment according to the extracted second feature, and the label predictor is used to fuse the first feature and the second feature of the source domain environment, and determine the non-line-of-sight scene type of the CIR data of the source domain environment based on the fused feature;

[0045] Step S3: using the training data set to perform adversarial training on the domain adversarial network model until the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature, then the training ends;

[0046] Step S4: Acquire the CIR data to be identified and extract the first feature of the CIR data to be identified, input the CIR data to be identified and its first feature into the feature extractor and label predictor of the trained domain adversarial network model, and output the non-line-of-sight scene type of the CIR data to be identified through the label predictor.

[0047] It can be understood that the UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning in this embodiment collects CIR data of the source domain environment and the target domain environment CIR data with multiple non-line-of-sight scenes, and extracts the first feature used to distinguish similar non-line-of-sight scenes to perform adversarial training on the model, so that the domain classifier in the model cannot determine whether the CIR data comes from the source domain environment or the target domain environment, and the label predictor can accurately determine the non-line-of-sight scene type of the source domain environment CIR data, thereby realizing multi-classification recognition of non-line-of-sight signals in cross-scene UWB positioning networks. Regardless of how the application scenario changes or there are differences between the source domain environment and the target domain environment, the type of non-line-of-sight signals can still be accurately identified, which greatly improves the robustness of the model, and combined with the first feature, non-line-of-sight scenes with similar features can be accurately identified, greatly improving the accuracy of the non-line-of-sight multi-classification recognition results.

[0048] Specifically, in step S1, CIR (Channel impulse response) data is collected in a source domain environment and a target domain environment having multiple non-line-of-sight scenes, respectively. CIR data is often used to identify line-of-sight signals and non-line-of-sight signals. Among them, multiple non-line-of-sight scenes refer to scenes with multiple different occlusion types and multipath effects, such as human body occlusion scenes, wall occlusion scenes, glass occlusion scenes, or other obstacle occlusion scenes. In addition, the source domain refers to the field where the model is pre-trained, and the target domain refers to the field where the trained model is to be applied. Among them, the amount of CIR data collected in the source domain environment is greater than the amount of CIR data collected in the target domain environment, and even the amount of CIR data in the source domain environment is one order of magnitude larger than the amount of CIR data in the target domain environment, that is, comprehensive and sufficient CIR data collection is required in the source domain environment, while only a small amount of representative CIR data collection is required in the target domain environment. Then, the first feature for distinguishing similar non-line-of-sight scenes is extracted from the CIR data of the source domain environment, which is conducive to the subsequent model fusing the first feature to identify non-line-of-sight scenes with similar features, thereby improving the accuracy of the model's multi-classification recognition. In addition, a training data set is constructed based on the collected source domain environment CIR data, the target domain environment CIR data, and the first feature to facilitate adversarial training of the subsequent domain adversarial network model. Optionally, the dielectric constants of the source domain and the target domain differ greatly, so that the source domain environment CIR data and the target domain environment CIR data differ greatly, which is conducive to improving the robustness of the model. It can be understood that the present invention does not require extensive experimental data collection in the target domain, but only needs to collect a small amount of target domain environment CIR data.

[0049] In step S2, a domain adversarial network model is constructed, wherein the domain adversarial network model includes a feature extractor, a domain classifier, and a label predictor, wherein the feature extractor is used to extract a second feature from the CIR data, that is, to extract deep features from the source domain environment CIR data and the target domain environment CIR data, the domain classifier is used to judge whether the CIR data comes from the source domain environment or the target domain environment based on the extracted second feature, and the label predictor is used to fuse the first feature and the second feature of the source domain environment CIR data, and judge the non-line-of-sight scene type of the source domain environment CIR data based on the fused feature, so as to realize multi-classification recognition of non-line-of-sight signals, which is conducive to the subsequent accurate and effective mitigation of ranging errors. Wherein, the feature extractor adopts a convolutional neural network, preferably including a multi-branch convolution kernel and a maximum pooling operator, and the second feature extracted from the CIR data can be expressed as:

[0050]

[0051] Among them, f represents the second feature, which is a one-dimensional vector, represents a nonlinear activation function, represents the feature map extracted by the qth feature extraction layer at time (t-1), and They represent the weight parameter and bias parameter of the qth feature extraction layer, respectively, and Q represents the number of feature extraction layers. In addition, the domain classifier and label predictor can use a softmax classifier. In other embodiments, the domain classifier can also use an existing binary classifier, and the label predictor can also use other existing multi-classifiers.

[0052] like Figure 2 As shown, in step S3, the process of using the training data set to perform adversarial training on the domain adversarial network model until the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature includes the following:

[0053] Step S31: selecting CIR data of multiple source domain environments and target domain environments from the training data set, and extracting features using a feature extractor to obtain second features of the source domain environment CIR data and the target domain environment CIR data, respectively, and marking and distinguishing them, so as to construct a first training sample set;

[0054] Step S32: selecting CIR data of multiple source domain environments and their corresponding first features from the training data set, using a feature extractor to extract features from the CIR data of the source domain environment to obtain a second feature, fusing the first feature and the second feature and adding a corresponding non-line-of-sight scene type label to construct a second training sample set;

[0055] Step S33: setting the overall loss function of the domain adversarial network model, inputting the first training sample set into the domain classifier, and inputting the second training sample set into the label predictor for iterative training, and continuously adjusting the network parameters of the feature extractor, the domain classifier, and the label predictor during the iteration process, so that the overall loss function meets the accuracy requirements, to ensure that the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature.

[0056] It can be understood that m samples are first selected from the source domain environment CIR data and the target domain environment CIR data, and then the feature extractor is used to extract features from the source domain environment CIR data and the target domain environment CIR data respectively, so as to obtain the second feature of the source domain environment CIR data and the second feature of the target domain environment CIR data, and mark and distinguish them, so as to construct a first training sample set, which can be expressed as and , where subscripts s and t represent the source domain and target domain respectively, superscript j represents the jth second feature, m represents the number of samples, 0 represents the source domain label, and 1 represents the target domain label. The first training sample set includes multiple first training samples, each of which includes a second feature and a corresponding label, and the first training sample set is used to train the domain classifier.

[0057] Then, select CIR data of multiple source environments and their corresponding first features, use a feature extractor to extract features from the CIR data of the source environment to obtain a second feature, then fuse the first feature and the second feature and add the corresponding non-line-of-sight scene type label, so as to construct a second training sample set. Optionally, the source environment CIR data selected at this time can be the same as the source environment CIR data selected above, so that the process of extracting the second feature from the source environment CIR data can be omitted, which is conducive to improving efficiency. Of course, in other embodiments of the present invention, the source environment CIR data selected at this time can also be different from the source environment CIR data selected above, which enhances the diversity of training data and is conducive to improving the training effect of the model. Among them, the second training sample set includes multiple second training samples, each second training sample includes a fusion feature and a non-line-of-sight scene type label, and the non-line-of-sight scene type label is used to distinguish different non-line-of-sight scenes, such as distinguishing between human occlusion scenes, glass occlusion scenes, wall occlusion scenes or other obstacle occlusion scenes.

[0058] Next, the overall loss function of the domain adversarial network model is set, where the overall loss function of the domain adversarial network model is:

[0059]

[0060] Among them, L represents the overall loss, represents the loss of the label predictor, represents the loss of the domain classifier, represents the regularization parameter, which is used to prevent overfitting of the training network, m represents the number of training samples, represents the jth fusion feature of the source domain environment, Represents the cross entropy calculation function between the predicted label and the true label calculated by the label predictor, represents the second feature of the j-th source domain environment CIR data, represents the second feature of the j-th target domain environment CIR data, Represents the function for calculating the cross entropy between the predicted labels and the true labels calculated by the domain classifier.

[0061] Then, the first training sample is input into the domain classifier, and the second training sample set is input into the label predictor for iterative training. During the iteration process, the network parameters of the feature extractor, the domain classifier and the label predictor are continuously adjusted so that the overall loss function meets the accuracy requirements to ensure that the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature.

[0062] Specifically, during the iteration process, the parameters of the feature extractor and label predictor are kept constant, and the loss function of each domain classifier parameter is calculated using back propagation. The gradient of the update domain classifier is adjusted by the gradient descent algorithm. For example, the updated weight parameter can be expressed as: ,in, represents the updated weight parameter, represents the weight parameter before updating, represents the gradient operator until the loss function L d If the value is less than the preset threshold, the recognition accuracy of the domain classifier meets the requirements. At this time, the domain classifier can accurately distinguish whether the CIR data comes from the source domain environment or the target domain environment. Then keep the parameters of the domain classifier constant, and update the network parameters of the label predictor and feature extractor through the back propagation algorithm and the gradient descent algorithm. For example, the updated weight parameters can be expressed as: ,in, and Represent the updated weight parameters of the label predictor and feature extractor respectively, and Respectively represent the weight parameters of the label predictor and feature extractor before updating, and denote the gradient operators of the label predictor and feature extractor respectively, Represents the loss function of the feature extractor. By continuously adjusting the network parameters of the label predictor and feature extractor, the overall loss of the model approaches 0, preferably 0, that is, L is equal to 0, which is the loss of the label predictor L y The loss L of the domain classifier d The values ​​multiplied by the regularization parameter λ cancel each other out, and the iteration terminates. At this time, the domain classifier of the domain adversarial network model cannot distinguish whether the CIR data comes from the source domain environment or the target domain environment, while the label predictor can accurately identify the non-line-of-sight scene type of the CIR data in the source domain environment, thereby achieving Nash equilibrium. It can be understood that the purpose of adversarial training is to train the feature extraction ability of the feature extractor. After adversarial training, the feature extractor can extract homogeneous and distinguishable features in CIR data that are invariant between different domain environments and distinguishable between different non-line-of-sight scenes, greatly improving the multi-classification accuracy and robustness of the label predictor.

[0063] It can be understood that when the present invention performs adversarial training on the domain adversarial network model, the parameters of the feature extractor and the label predictor are first kept constant, and the parameters of the domain classifier are updated to obtain a domain classifier with high recognition accuracy. At this time, the domain classifier can accurately identify whether the CIR data comes from the source domain environment or the target domain environment; then the parameters of the domain classifier are kept constant, and the parameters of the feature extractor and the label predictor are continuously updated. When the overall loss is zero, the domain classifier can no longer distinguish whether the CIR data comes from the source domain environment or the target domain environment, while the label predictor can accurately identify the non-line-of-sight scene type of the CIR data in the source domain environment; due to the use of two-stage iterative training, the second stage of iterative training is performed on the basis of the domain classifier with high recognition accuracy obtained after the first stage of iterative training, thereby improving the reliability and recognition accuracy of the model.

[0064] Optionally, the first feature includes a kurtosis factor, an average additional delay, a root mean square delay spread, a received first path signal strength indication difference, and a time-of-flight ranging method distance error. It can be understood that under different non-line-of-sight conditions, the collected CIR data timing waveform will be different. The present invention extracts the above five first features from the CIR data timing waveform, which is conducive to accurately identifying non-line-of-sight scenes with similar features, and greatly improves the accuracy of non-line-of-sight multi-classification recognition results. Among them, the specific calculation formulas of the kurtosis factor, the average additional delay, and the root mean square delay spread belong to the prior art and will not be repeated here.

[0065] Optionally, the received first path signal strength indication difference is calculated based on the following formula:

[0066]

[0067] Among them, RFPSD represents the received first path signal strength indication difference, in dBm, FP represents the first path signal strength indication, in dBm, RX represents the received total signal strength indication, in dBm, F1, F2 and F3 represent the first, second and third harmonics of the first path signal amplitude respectively, A represents a constant, for example, when the pulse repetition frequency is 64MHz, the constant A is equal to 121.74, PAC represents the preamble code cumulative count value, CIP represents the channel impulse response power value, As a correction factor, it is used to convert the register value of the UWB device DWM1000 into the correct amplitude and thus into dBm.

[0068] In addition, the time-of-flight odometry distance error is calculated based on the following formula:

[0069]

[0070] Where TFRE represents the distance error of the time-of-flight ranging method, d1 represents the estimated first path distance, d2 represents the ranging value based on the time-of-flight method, and P T Indicates the transmission power at 33.5dB / TX gain, G R represents the total antenna gain of the anchor antenna and the tag antenna, each is 3dBi, f R represents the center frequency, for example, 6489.6MHz, and c represents the signal transmission speed. The above five first features are all single values, which can be combined into a one-dimensional vector, and then the vector is concatenated with the second feature to obtain the fused feature.

[0071] It can be understood that due to the multipath effect, the power dissipation in the non-line-of-sight scenario exceeds the power dissipation in the line-of-sight environment, resulting in the first path of the line-of-sight signal having more power than the first path of the non-line-of-sight signal, and the power dissipation in different non-line-of-sight scenarios is also different, which makes the RFPSD and TFRE in different non-line-of-sight scenarios different. Therefore, using RFPSD and TFRE as the first features for multi-classification recognition of non-line-of-sight signals greatly improves the recognition accuracy.

[0072] It can be understood that in step S4, the CIR data to be identified is obtained and its corresponding first feature is extracted, and the CIR data to be identified and its first feature are input into the feature extractor and label predictor in the trained domain adversarial network model, and the non-line-of-sight scene type of the CIR data to be identified can be output through the label predictor. Specifically, the CIR data to be identified is input into the trained feature extractor to extract the second feature of the CIR data to be identified, and then the second feature and the first feature are fused, and the trained label predictor performs multi-classification recognition based on the fused features, and outputs the non-line-of-sight scene type of the CIR data to be identified, thereby realizing the subdivision recognition of non-line-of-sight occlusion between base stations and between base stations and labels in a multi-base station indoor positioning system, which is conducive to accurately assessing the severity of non-line-of-sight and multipath effects.

[0073] Optionally, in other embodiments of the present invention, source domain environment CIR data containing line-of-sight scenes may also be collected for training, so that the domain adversarial network model can also accurately identify line-of-sight signals. In addition, the above steps S1 to S3 are offline training, and step S4 is online recognition. Of course, in other embodiments of the present invention, steps S1 to S3 may also be trained online.

[0074] It can be understood that in order to prove the effectiveness of the UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning of the present invention, the inventor of the present application collected 12,000 sets of source domain environment CIR data with different occlusion types and 1,500 sets of target domain environment CIR data with different occlusion types for training. The feature extractor extracts the features of the source domain environment CIR data and the target domain environment CIR data by principal component analysis. Figure 3 As shown in the figure, it can be found that the main component distribution of the features extracted from the source domain and the target domain is roughly the same, and the six different non-line-of-sight scenes Sec1~Sec6 are also distinguishable, that is, the feature extractor realizes the extraction of homogeneous distinguishable features, and only 1500 sets of target domain data are needed to train a classification model with good performance. In addition, the inventor of this application uses the six types of office occlusions as the source domain training model, and the results of identifying the same type of six types of occlusions in the lobby as the target domain are shown in the figure below. Figure 4 As shown, from Figure 4 From the confusion matrix results in , we can see that the prediction rate and recall rate of occlusion recognition for the six target domains 1 to 6 are both over 95.5%, which achieves accurate recognition of various types of UWB signal occlusions across environments, can evaluate the severity of non-line-of-sight and multipath effects, and can provide support for subsequent mitigation strategies.

[0075] In addition, if Figure 5 As shown, another embodiment of the present invention further provides a UWB non-line-of-sight multi-classification recognition system based on domain adversarial learning, preferably using the method as described above, the system comprising:

[0076] A data acquisition module is used to respectively collect CIR data in a source domain environment and a target domain environment having multiple non-line-of-sight scenes, extract a first feature for distinguishing similar non-line-of-sight scenes from the CIR data of the source domain environment, and construct a training data set based on the CIR data of the source domain environment, the CIR data of the target domain environment, and the first feature;

[0077] A model building module, used to build a domain adversarial network model, wherein the domain adversarial network model includes a feature extractor, a domain classifier and a label predictor, wherein the feature extractor is used to extract a second feature from the CIR data, the domain classifier is used to determine whether the CIR data is from a source domain environment or a target domain environment according to the extracted second feature, and the label predictor is used to fuse the first feature and the second feature of the source domain environment, and judge the non-line-of-sight scene type of the CIR data of the source domain environment based on the fused feature;

[0078] An adversarial training module is used to perform adversarial training on the domain adversarial network model using a training data set until the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature, then the training ends;

[0079] The classification and recognition module is used to obtain the CIR data to be identified and extract the first feature of the CIR data to be identified, input the CIR data to be identified and its first feature into the feature extractor and label predictor of the trained domain adversarial network model, and output the non-line-of-sight scene type of the CIR data to be identified through the label predictor.

[0080] It can be understood that the UWB non-line-of-sight multi-classification recognition system based on domain adversarial learning in this embodiment collects CIR data of the source domain environment and the target domain environment CIR data with multiple non-line-of-sight scenes, and extracts the first feature used to distinguish similar non-line-of-sight scenes to perform adversarial training on the model, so that the domain classifier in the model cannot determine whether the CIR data comes from the source domain environment or the target domain environment, and the label predictor can accurately determine the non-line-of-sight scene type of the source domain environment CIR data, thereby realizing multi-classification recognition of non-line-of-sight signals in cross-scene UWB positioning networks. Regardless of how the application scenario changes or there are differences between the source domain environment and the target domain environment, the type of non-line-of-sight signals can still be accurately identified, which greatly improves the robustness of the model, and combined with the first feature, non-line-of-sight scenes with similar features can be accurately identified, greatly improving the accuracy of the non-line-of-sight multi-classification recognition results.

[0081] In addition, another embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor executes the steps of the above method by calling the computer program stored in the memory.

[0082] In addition, another embodiment of the present invention further provides a computer-readable storage medium for storing a computer program for performing UWB non-line-of-sight multi-classification recognition based on domain adversarial learning, wherein the computer program executes the steps of the method described above when running on a computer.

[0083] Common computer-readable storage media include: floppy disks, flexible disks, hard disks, magnetic tapes, any other magnetic media, CD-ROMs, any other optical media, punch cards, paper tapes, any other physical media with patterns of holes, random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), flash-erasable programmable read-only memory (FLASH-EPROM), any other memory chip or cartridge, or any other medium that can be read by a computer. Instructions can further be transmitted or received by a transmission medium. The term transmission medium may include any tangible or intangible medium that can be used to store, encode or carry instructions for execution by a machine, and includes digital or analog communication signals or intangible media that facilitate communication of the above instructions. Transmission media include coaxial cables, copper wire, and optical fiber, including the wires of a bus used to transmit a computer data signal.

[0084] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present application may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.

[0085] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0086] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0087] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0088] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0089] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0090] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning, characterized in that: Includes the following: CIR data are collected in a source domain environment and a target domain environment having multiple non-line-of-sight scenes, and a first feature for distinguishing similar non-line-of-sight scenes is extracted from the CIR data of the source domain environment. A training data set is constructed based on the CIR data of the source domain environment, the CIR data of the target domain environment, and the first feature; the first feature includes a received first path signal strength indication difference, and the received first path signal strength indication difference is calculated based on the following formula: ; Wherein, RFPSD represents the received first path signal strength indication difference, FP represents the first path signal strength indication, RX represents the received total signal strength indication, F1, F2 and F3 represent the first, second and third harmonics of the first path signal amplitude respectively, A represents a constant, PAC represents the preamble code accumulated count value, and CIP represents the channel impulse response power value; Constructing a domain adversarial network model, the domain adversarial network model includes a feature extractor, a domain classifier and a label predictor, wherein the feature extractor is used to extract a second feature from the CIR data, the domain classifier is used to determine whether the CIR data is from a source domain environment or a target domain environment according to the extracted second feature, and the label predictor is used to fuse the first feature and the second feature of the source domain environment, and determine the non-line-of-sight scene type of the CIR data of the source domain environment based on the fused feature; The domain adversarial network model is trained adversarially using the training data set until the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature, then the training ends; The CIR data to be identified is obtained and the first feature of the CIR data to be identified is extracted. The CIR data to be identified and the first feature thereof are input into the feature extractor and label predictor of the trained domain adversarial network model. The non-line-of-sight scene type of the CIR data to be identified is output through the label predictor.

2. The UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning as claimed in claim 1, characterized in that: The process of using the training data set to perform adversarial training on the domain adversarial network model until the domain classifier cannot determine whether the second feature extracted by the feature extractor is from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature includes the following: Selecting multiple CIR data of source domain environments and target domain environments from the training data set, and extracting features using a feature extractor, respectively obtaining second features of the source domain environment CIR data and the target domain environment CIR data and marking and distinguishing them, so as to construct a first training sample set; Selecting CIR data of multiple source domain environments and their corresponding first features from the training data set, using a feature extractor to extract features from the CIR data of the source domain environment to obtain a second feature, fusing the first feature and the second feature and adding a corresponding non-line-of-sight scene type label to construct a second training sample set; The overall loss function of the domain adversarial network model is set, the first training sample set is input into the domain classifier, and the second training sample set is input into the label predictor for iterative training. During the iteration process, the network parameters of the feature extractor, the domain classifier, and the label predictor are continuously adjusted so that the overall loss function meets the accuracy requirements to ensure that the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature.

3. The UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning as claimed in claim 2, characterized in that: The overall loss function of the domain adversarial network model is: ; Among them, L represents the overall loss, represents the loss of the label predictor, represents the loss of the domain classifier, represents the regularization parameter, m represents the number of training samples, represents the jth fusion feature of the source domain environment, Represents the cross entropy calculation function between the predicted label and the true label calculated by the label predictor, represents the second feature of the j-th source domain environment CIR data, represents the second feature of the j-th target domain environment CIR data, Represents the function for calculating the cross entropy between the predicted labels and the true labels calculated by the domain classifier.

4. The UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning as claimed in claim 1, characterized in that: The first characteristics also include kurtosis factor, mean excess delay, root mean square delay spread, and time-of-flight ranging error.

5. The UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning as claimed in claim 4, characterized in that: The distance error of time-of-flight odometry is calculated based on the following formula: ; Where TFRE represents the distance error of the time-of-flight ranging method, d1 represents the estimated first path distance, d2 represents the ranging value based on the time-of-flight method, and P T represents the transmission power, G R represents the total antenna gain of the anchor antenna and the tag antenna, f R represents the center frequency, and c represents the signal transmission speed.

6. The UWB non-line-of-sight multi-classification recognition method based on domain adversarial learning as claimed in claim 1, characterized in that: The amount of CIR data collected in the source domain environment is greater than the amount of CIR data collected in the target domain environment.

7. A UWB non-line-of-sight multi-classification recognition system based on domain adversarial learning, using the UWB non-line-of-sight multi-classification recognition method according to any one of claims 1 to 6, characterized in that: include: A data acquisition module is used to respectively collect CIR data in a source domain environment and a target domain environment having multiple non-line-of-sight scenes, extract a first feature for distinguishing similar non-line-of-sight scenes from the CIR data of the source domain environment, and construct a training data set based on the CIR data of the source domain environment, the CIR data of the target domain environment, and the first feature; A model building module, used to build a domain adversarial network model, wherein the domain adversarial network model includes a feature extractor, a domain classifier and a label predictor, wherein the feature extractor is used to extract a second feature from the CIR data, the domain classifier is used to determine whether the CIR data is from a source domain environment or a target domain environment based on the extracted second feature, and the label predictor is used to fuse the first feature and the second feature of the source domain environment, and determine the non-line-of-sight scene type of the CIR data of the source domain environment based on the fused feature; An adversarial training module is used to perform adversarial training on the domain adversarial network model using a training data set until the domain classifier cannot determine whether the second feature extracted by the feature extractor comes from the source domain environment or the target domain environment, and the label predictor determines the non-line-of-sight scene type of the fused feature, then the training ends; The classification and recognition module is used to obtain the CIR data to be identified and extract the first feature of the CIR data to be identified, input the CIR data to be identified and its first feature into the feature extractor and label predictor of the trained domain adversarial network model, and output the non-line-of-sight scene type of the CIR data to be identified through the label predictor.

8. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and the processor executes the steps of the method according to any one of claims 1 to 6 by calling the computer program stored in the memory.

9. A computer-readable storage medium for storing a computer program for performing UWB non-line-of-sight multi-classification recognition based on domain adversarial learning, characterized in that: When the computer program is run on a computer, the computer program executes the steps of the method according to any one of claims 1 to 6.