Positioning method, apparatus, device, and storage medium

By acquiring the CSI of the signal receiving device and utilizing a BP neural network and a sparrow search algorithm, the problem of high cost in millimeter-wave positioning is solved, achieving high-precision indoor positioning, which is suitable for fields such as smart homes and smart healthcare.

CN116471535BActive Publication Date: 2026-11-24CHINA UNITED NETWORK COMM GRP CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211700185.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-28
Publication Date
2026-11-24
Estimated Expiration
2042-12-28

AI Technical Summary

Technical Problem

Existing millimeter-wave positioning technology relies on large-scale array antennas, resulting in high costs and difficulty in achieving high-precision indoor positioning.

Method used

By acquiring the channel state information (CSI) of the signal receiving device, preprocessing it, and inputting it into a pre-trained BP neural network model, combined with the sparrow search algorithm (SSA) for optimization, the signal angle of arrival and the location of the target object are determined, reducing the dependence on large-scale array antennas.

Benefits of technology

It achieves improved accuracy and precision of indoor positioning while reducing positioning costs, and is suitable for high-precision human motion trajectory detection in fields such as smart homes and smart healthcare.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116471535B_ABST
    Figure CN116471535B_ABST
Patent Text Reader

Abstract

The application relates to a positioning method and device, equipment and a storage medium, and relates to the technical field of positioning. The method comprises the following steps: acquiring channel state information of multiple signals received by a signal receiving device, and preprocessing the CSI of the multiple signals to obtain target CSI of a target signal. The CSI of the multiple signals is transmitted by a signal transmitting device, and the CSI comprises signal amplitude, signal time delay and signal phase. The target CSI is input into a pre-trained BP neural network model, and signal parameters are output. The signal parameters comprise a signal angle of arrival. The position of a target object is determined based on the position of the signal receiving device, the position of the signal transmitting device and the signal angle of arrival. Therefore, the cost of positioning is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of positioning technology, and in particular to a positioning method, apparatus, device and storage medium. Background Technology

[0002] Millimeter waves are widely used for indoor positioning due to their short wavelength, high propagation loss, and high time delay resolution, as well as their significantly lower cost compared to lidar or infrared technologies.

[0003] Currently, millimeter-wave positioning technology relies on angle-based methods. Because angle-based positioning requires the use of multiple wireless access points (APs) for location analysis, and mature angle estimation algorithms depend on the orthogonality of the signal and noise subspaces, dedicated large-scale array antennas are needed to accurately estimate angle information for positioning. This results in high positioning costs. Summary of the Invention

[0004] This application provides a positioning method, apparatus, device, and storage medium to reduce positioning costs. The technical solution of this application is as follows:

[0005] According to a first aspect of this application, a positioning method is provided. The method includes: acquiring channel state information (CSI) of multiple signals received by a signal receiving device, and preprocessing the CSI of the multiple signals to obtain a target CSI of a target signal. The CSI of the multiple signals is transmitted by a signal transmitting device, and the CSI includes signal amplitude, signal delay, and signal phase; inputting the target CSI into a pre-trained BP neural network model, and outputting signal parameters. The signal parameters include the signal angle of arrival. Based on the location of the signal receiving device, the location of the signal transmitting device, and the signal angle of arrival, the location of the target object is determined.

[0006] In one possible implementation, the above-mentioned "preprocessing the CSIs of multiple signals to obtain the CSI of the target signal" includes: correcting the signal phase in each CSI according to the least squares linear fitting algorithm, and clustering each corrected CSI according to a preset affine propagation clustering algorithm to obtain the CSI of the target signal.

[0007] In one possible implementation, the signal parameters also include the signal propagation time and the Doppler frequency shift value, and the method further includes: obtaining the moving speed of the target object based on the signal propagation time and the Doppler frequency shift value.

[0008] In one possible implementation, the method further includes: initializing sample training parameters and preset sparrow search algorithm (SSA) parameters; the sample training parameters include multiple sample CSIs and multiple sample signal parameters corresponding to the sample objects, each sample signal parameter including signal propagation duration, Doppler frequency shift value, and signal angle of arrival. The sample training parameters are input into a preset BP neural network model for model training, and the initial fitness value of each sparrow is calculated using the SSA algorithm. The sparrow's position is updated based on the fitness value and SSA parameters, and the updated individual fitness value is obtained. The individual fitness value is compared with the current optimal fitness value to obtain a local optimum, and iterative training is performed. If the number of iterations reaches a preset number, the global optimum is determined, and the BP neural network model is obtained based on the global optimum.

[0009] In one possible implementation, the signal transmitted by the signal transmitting device is a millimeter-wave signal.

[0010] Secondly, a positioning device is provided, comprising: an acquisition unit, a processing unit, an output unit, and a determination unit. The acquisition unit acquires Channel State Information (CSI) of multiple signals received by a signal receiving device; the CSI of the multiple signals is transmitted by a signal transmitting device, and the CSI includes signal amplitude, signal delay, and signal phase. The processing unit preprocesses the CSI of the multiple signals to obtain the target CSI of a target signal. The output unit inputs the target CSI into a pre-trained BP neural network model and outputs signal parameters, including the signal angle of arrival. The determination unit determines the position of a target object based on the position of the signal receiving device, the position of the signal transmitting device, and the signal angle of arrival.

[0011] In one possible implementation, the processing unit is specifically used to: correct the signal phase in each CSI according to the least squares linear fitting algorithm, and cluster each corrected CSI according to the preset affine propagation clustering algorithm to obtain the CSI of the target signal.

[0012] In one possible implementation, the signal parameters also include the signal propagation time and the Doppler frequency shift value. The processing unit is further configured to obtain the moving speed of the target object based on the signal propagation time and the Doppler frequency shift value.

[0013] In one possible implementation, the processing unit is further configured to: initialize sample training parameters and preset sparrow search algorithm (SSA) parameters. The sample training parameters include multiple sample CSIs and multiple sample signal parameters corresponding to the sample objects. Each sample signal parameter includes signal propagation time, Doppler frequency shift value, and signal angle of arrival. The sample training parameters are input into a preset BP neural network model for model training, and the initial fitness value of each sparrow is calculated using the SSA algorithm. The sparrow's position is updated based on the fitness value and SSA parameters, and the updated individual fitness value is obtained. The individual fitness value is compared with the current optimal fitness value to obtain a local optimum, and iterative training is performed. If the number of iterations reaches a preset number, the global optimum is determined, and the BP neural network model is obtained based on the global optimum.

[0014] In one possible implementation, the signal transmitted by the signal transmitting device is a millimeter-wave signal.

[0015] Thirdly, an electronic device is provided, comprising: a processor and a communication interface; the communication interface and the processor are coupled, the processor being used to run computer programs or instructions to implement the positioning method of the first aspect.

[0016] Fourthly, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when a computer executes the instructions, the computer performs the positioning method of the first aspect.

[0017] Fifthly, a computer program product is provided, the computer program product including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the positioning method as described in the first aspect.

[0018] This application provides a positioning method with the following advantages: It acquires Channel State Information (CSI) of multiple signals received by a signal receiving device, and preprocesses the CSI of these signals to obtain the target CSI of the target signal. The CSI of the multiple signals is transmitted by the signal transmitting device, and includes signal amplitude, signal delay, and signal phase. The target CSI is input into a pre-trained BP neural network model, which outputs signal parameters, including the angle of arrival (Angle of Arrival). Based on the location of the signal receiving device, the location of the signal transmitting device, and the Angle of Arrival, the location of the target object is determined. Thus, by determining the Angle of Arrival based on the Channel State Information (CSI) of the target signal, and by locating the target object based on the location of the signal receiving device, the location of the signal transmitting device, and the Angle of Arrival, a large-scale array antenna is eliminated, reducing positioning costs.

[0019] It should be noted that the technical effects of any of the implementation methods in aspects two through five can be found in the technical effects of the corresponding implementation methods in aspect one, and will not be repeated here.

[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application, and do not constitute an undue limitation of this application.

[0022] Figure 1 This is a schematic diagram of the structure of a positioning system provided in an embodiment of this application;

[0023] Figure 2 One of the flowcharts for a positioning method provided in an embodiment of this application;

[0024] Figure 3 A schematic diagram of a signal transmission path provided in an embodiment of this application;

[0025] Figure 4 A second flowchart illustrating a positioning method provided in an embodiment of this application;

[0026] Figure 5 A schematic diagram illustrating a signal angle of arrival as provided in an embodiment of this application;

[0027] Figure 6 A schematic diagram of a Doppler frequency shift provided in an embodiment of this application;

[0028] Figure 7 This is a schematic diagram of the structure of a positioning device provided in an embodiment of this application;

[0029] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0030] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0031] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0032] Before providing a detailed introduction to the transaction methods provided in this application, let me briefly introduce the relevant elements, application scenarios, and implementation environment involved in this application.

[0033] First, a brief introduction to the relevant elements involved in this application will be given.

[0034] Angle-of-arrival (AOA): A positioning algorithm based on the angle of arrival of a signal is a ranging-based positioning algorithm. It uses certain hardware devices to sense the direction of arrival of the signal from the transmitting node, calculates the relative azimuth or angle between the receiving node and the anchor node, and then uses triangulation or other methods to calculate the position of the unknown node.

[0035] Backpropagation (BP) neural networks, proposed in 1986, are multi-layer feedforward neural networks trained using an error backpropagation algorithm. They are one of the most widely used neural network models. While BP neural networks are relatively mature in both network theory and performance, they suffer from problems such as susceptibility to local minima and slow convergence. Intelligent optimization algorithms, however, possess strong robustness and global convergence capabilities. Therefore, optimizing BP neural networks using intelligent optimization algorithms can accelerate the convergence speed and improve the accuracy of capacity prediction.

[0036] The Sparrow Search Algorithm (SSA) is a novel swarm intelligence optimization algorithm proposed in 2020, primarily inspired by the foraging and anti-predation behaviors of sparrows.

[0037] Doppler shift refers to the change in phase and frequency caused by the difference in propagation path when a mobile station moves at a constant speed along a certain direction. This change is commonly referred to as Doppler shift. It reveals the law governing how the properties of a wave change during motion.

[0038] Secondly, a brief introduction to the application scenarios involved in this application will be given.

[0039] As people spend more and more time indoors, the demand for services based on precise indoor positioning is growing. A range of innovative applications in vertical industries, such as smart homes, smart healthcare, and smart shopping guides in new retail, all require accurate perception of the movement of specific objects within indoor environments. Therefore, high-precision indoor human motion trajectory detection and positioning technologies are urgently needed for research.

[0040] Traditional indoor human activity trajectory detection methods mostly employ LiDAR, infrared, visible light, RFID, and Wi-Fi. Cost, system complexity, and stability limitations restrict the large-scale application of LiDAR, infrared, and visible light; RFID, due to power limitations, is only suitable for short-range positioning. Wi-Fi, affected by multipath propagation in its frequency bands, offers limited positioning accuracy. Millimeter waves, due to their short wavelength, high propagation loss, and high latency resolution, are better suited for distinguishing and identifying multipath signals, achieving more accurate indoor positioning. Furthermore, their cost is significantly lower than LiDAR and infrared solutions, making them a promising high-precision indoor human trajectory sensing technology.

[0041] Currently, positioning methods based on millimeter-wave signals include angle-based methods. These angle-based methods require multiple access points (APs) for positioning, and mature angle estimation algorithms rely on the orthogonality of the signal and noise subspaces. Therefore, dedicated large-scale array antennas are necessary to accurately estimate the angle of attack (AOA) information for positioning. This results in high positioning costs.

[0042] To address the aforementioned problems, this application provides a positioning method that acquires Channel State Information (CSI) of multiple signals received by a signal receiving device, and preprocesses the CSI of the multiple signals to obtain the CSI of the target signal. The CSI of the multiple signals is transmitted by the signal transmitting device, and the CSI includes signal amplitude, signal delay, and signal phase. The target CSI is input into a pre-trained BP neural network model, which outputs signal parameters, including the angle of arrival (Angle of Arrival). Based on the location of the signal receiving device, the location of the signal transmitting device, and the Angle of Arrival, the location of the target object is determined. Thus, by determining the Angle of Arrival based on the Channel State Information (CSI) of the target signal, and by locating the target object based on the location of the signal receiving device, the location of the signal transmitting device, and the Angle of Arrival, a large-scale array antenna is eliminated, reducing positioning costs.

[0043] Finally, a brief introduction is given to the implementation environment (implementation architecture) involved in the method provided in this application.

[0044] Figure 1 This is an implementation architecture diagram of a positioning system according to this application. Figure 1A schematic diagram of a positioning system provided in an embodiment of this application is shown. The positioning system 10 may include: a signal transmitting device 11, a signal receiving device 12, and an electronic device 13. The signal receiving device 12 is connected to both the signal transmitting device 11 and the electronic device 13.

[0045] The signal transmitting device 11 is used to transmit signals. The signal transmitting device 11 can be a wireless access point.

[0046] For example, the signal is a millimeter-wave signal.

[0047] The signal receiving device 12 is used to receive signals transmitted by the signal transmitting device 11. The signal receiving device 12 can be a wireless access point.

[0048] The electronic device 13 includes a storage module. The storage module in the electronic device 13 is used to store the location information of the signal transmitting device 11 and the location information of the signal receiving device 12.

[0049] The electronic device 13 also includes a processing module. This processing module acquires Channel State Information (CSI) of multiple signals received by the signal receiving device, preprocesses the CSI of the multiple signals to obtain the CSI of the target signal, and further inputs the target CSI into a pre-trained BP neural network model, outputs signal parameters, and determines the location of the target object based on the location of the signal receiving device, the location of the signal transmitting device, and the signal angle of arrival.

[0050] In some embodiments, electronic device 13 may be in signal receiving device 12.

[0051] In other embodiments, electronic device 13 and signal receiving device 12 are two independent devices.

[0052] For ease of understanding, the positioning method provided in this application will be described in detail below with reference to the accompanying drawings.

[0053] To reduce positioning costs, the positioning method provided in the embodiments of this application is as follows. Figure 2 As shown, the positioning method provided in this application embodiment includes: S201-S204.

[0054] S201. Electronic equipment acquires Channel State Information (CSI) of multiple signals received by signal receiving equipment.

[0055] Among them, the CSI of multiple signals is transmitted by the signal transmitting equipment. The CSI includes signal amplitude, signal delay and signal phase.

[0056] As one possible approach, electronic devices acquire CSI signals from multiple signal receiving devices in real time or periodically.

[0057] In other embodiments, after receiving a signal from a signal transmitting device, the signal receiving device transmits the received signal to the electronic device. Accordingly, the electronic device receives the signal from the signal receiving device and obtains the CSI corresponding to each signal based on the received signal.

[0058] In other embodiments, the electronic device also acquires the time of the Channel State Information (CSI) of multiple signals received by the signal receiving device.

[0059] S202. The electronic device preprocesses the CSI of multiple signals to obtain the target CSI of the target signal.

[0060] As one possible approach, the electronic device corrects the signal phase in each CSI using a least-squares linear fitting algorithm, and then clusters each corrected CSI using a pre-defined affine propagation clustering algorithm to obtain the CSI of the target signal.

[0061] As another possible implementation, the electronic device corrects the signal phase in each CSI using a least-squares linear fitting algorithm and determines the dynamic path through the target object using a preset path recognition algorithm to obtain the CSI of at least one candidate signal. Further, the electronic device clusters the corrected CSI of each candidate signal using a preset affine propagation clustering algorithm to obtain the CSI of the target signal.

[0062] It should be noted that the preset path recognition algorithm and the preset affine propagation clustering algorithm are pre-set in the electronic equipment by the maintenance personnel.

[0063] Understandable, such as Figure 3 As shown, the signal transmitted by the signal transmitting device propagates to the signal receiving device through multiple paths. In this embodiment, the propagation path through the target object is exemplarily defined as the dynamic path, and the propagation path not through the target object is defined as the static propagation path. Therefore, the electronic device determines the CSI (Current Sequence Indicator) of the signal propagating through the target object (exemplary). Figure 3 Path 1) in the diagram represents the CSI of the target signal. This avoids interference with signal strength caused by signal reflection, scattering, or signal blockage in the real environment, which would lead to a decrease in ranging accuracy and thus improve positioning accuracy.

[0064] S203. The electronic device inputs the target CSI into the pre-trained BP neural network model and outputs signal parameters.

[0065] Among them, the signal parameters include the signal angle of arrival.

[0066] As one possible approach, the electronic device inputs the signal amplitude, signal delay, and signal phase from the target CSI into a pre-trained BP neural network model and outputs the signal angle of arrival.

[0067] In other embodiments, the electronic device inputs the signal amplitude, signal delay, and signal phase from the target CSI to a pre-trained BP neural network model and outputs the signal angle of arrival, signal propagation time, and Doppler shift value.

[0068] S204. The electronic device determines the position of the target object based on the position of the signal receiving device, the position of the signal transmitting device, and the angle of arrival of the signal.

[0069] As one possible approach, the electronic device inputs the location of the signal receiving device, the location of the signal transmitting device, and the signal angle of arrival into a preset positioning formula to obtain the location of the target object.

[0070] For example, the preset positioning formulas are shown in Formula 1 and Formula 2.

[0071]

[0072]

[0073] Where x and y are the x-axis and y-axis coordinates of the target object, respectively. x2 and y2 are the x-axis and y-axis coordinates of the signal receiving device, respectively. x1 and y1 are the x-axis and y-axis coordinates of the signal transmitting device, respectively. α is the angle formed by the lines connecting the signal transmitting device and the target object, and by the lines connecting the signal transmitting device and the signal receiving device. β is the angle formed by the lines connecting the signal receiving device and the target object, and by the lines connecting the signal receiving device and the signal transmitting device.

[0074] This application provides a positioning method that brings the following benefits: the angle of arrival of the target signal is determined based on the channel state information (CSI) of the target signal, and the target object is located based on the location of the signal receiving device, the location of the signal transmitting device, and the angle of arrival of the signal, without the need for a large-scale array antenna, thus reducing the positioning cost.

[0075] In one design, to improve positioning accuracy, S202 provided in this application embodiment specifically includes: S2021-S2022.

[0076] S2021. Electronic equipment corrects the signal phase in each CSI according to the least squares linear fitting algorithm.

[0077] S2022. The electronic device clusters each corrected CSI according to a preset affine propagation clustering algorithm to obtain the CSI of the target signal.

[0078] In some designs, to determine the moving speed of a target object, signal parameters also include signal propagation time and Doppler frequency shift value. The positioning method provided in this application embodiment further includes: S205.

[0079] S205. The electronic device obtains the moving speed of the target object based on the signal propagation time and the Doppler frequency shift value.

[0080] In some designs, the deconstruction of the nonlinear relationship between CSI information and signal propagation statistical characteristics is used to improve positioning accuracy. For example... Figure 4 As shown, the positioning method provided in this application embodiment further includes: S206-S213.

[0081] S206. Initialize the electronic device with sample training parameters and the preset Sparrow Search Algorithm (SSA) parameters.

[0082] The sample training parameters include multiple sample CSIs and multiple sample signal parameters corresponding to the sample objects. Each sample signal parameter includes the signal propagation time, Doppler frequency shift value, and signal angle of arrival.

[0083] Specifically, electronic devices utilize the Access Point (AP) providing the physical layer information interface to collect the CSI information of the target to be located, recording the CSI information corresponding to different positions and movement states of the human body as initial input data. CSI is the channel attribute of the communication link from the physical layer; in fact, it is the signal reaching the receiver after reflection, diffraction, and scattering. Signals along different paths will have different delays, attenuations, and phase shifts. The channel is represented by the channel impulse response as shown in Equation 3 below.

[0084]

[0085] Where, α i θ i and τ i Let represent the amplitude, phase, and time delay of the i-th path, respectively, where L is the multipath number and δ(·) is the Dirac function.

[0086] Furthermore, based on the human body's position and motion state, characteristic parameters such as the signal angle of arrival (AoA), signal time of flight (ToF), and Doppler shift (DFS) are calculated as output data for network training.

[0087] For example, such as Figure 5 As shown, A is the signal transmitting device, B is the signal receiving device, and T is the target object. The position of the signal transmitting device A is (x1, y1), the position of the signal receiving device B is (x2, y2), the position of the target object T is (x, y), and the angles of arrival are α and β.

[0088] Combination Figure 5 The angle of arrival (AoA)α is calculated using Formula 4, and the angle of arrival β is calculated using Formula 5.

[0089]

[0090]

[0091] Combination Figure 5 The signal propagation time is calculated as shown in Formula 6 below.

[0092]

[0093] Where Δt represents the signal transmission time, d is the signal propagation length, and c is the signal propagation speed.

[0094] like Figure 6 As shown, human movement alters the length of the signal propagation path, resulting in Doppler frequency shift. Constructing an ellipse with the transmitter and receiver as foci, the velocity of the human target can be decomposed into the normal velocity Vr and the tangential velocity Vt along the ellipse. Due to the properties of an ellipse, the tangential velocity does not contribute to the Doppler frequency shift (DFS). Therefore, the DFS is determined by the normal velocity, as shown in Formula 7 below.

[0095]

[0096] Where Vr is the normal velocity, f is the signal frequency, and c is the signal propagation speed. D This is due to the Doppler frequency shift.

[0097] After recording the CSI information corresponding to different positions and movement states of the human body, the electronic device performs radiation propagation clustering on the above data to obtain the reflection paths that record information related to human movement.

[0098] Given the nonlinear relationship between Channel State Information (CSI) and characteristic parameters such as Angle of Arrival (AoA), Time Delay (ToF), and Doppler Shift (DFS), determining the relationship between CSI and these parameters is particularly important.

[0099] In combination with the above Figure 3 Due to the complex indoor signal propagation environment, it is severely affected by multipath interference. Changes in CSI signals caused by human activity are easily masked by other interference. Therefore, separating the human reflection path from the raw CSI information is extremely important for accurate indoor trajectory perception. Furthermore, the initial CSI information cannot be directly used for human motion perception due to significant phase noise introduced by the hardware circuitry, such as sampling frequency offset and packet detection delay. Therefore, accurately identifying the signal propagation path through the human body can improve positioning accuracy.

[0100] Based on this, after receiving the signal, the electronic device uses least squares linear fitting to correct the phase information of the original CSI, eliminating most of the phase error. Then, it identifies the dynamic path through the CSI channel state information. Finally, it uses an affine propagation clustering algorithm to cluster information such as amplitude and time delay, thereby identifying the dynamic propagation path that only passes through one human body reflection.

[0101] Specifically, the static path does not change with the human body's position; therefore, the signal amplitude, delay, and phase remain essentially constant over a certain period. By setting a preset threshold, it is possible to determine the signal amplitude, delay, and phase based on α. i θ i and τ i The variance of parameters over a period of time is used to identify static paths and dynamic paths of human reflections. Among all dynamic paths, the path that involves only one human reflection is the shortest and has the least loss due to propagation and emission. Therefore, affine propagation clustering is used to normalize α. i θ i and τ i Clustering based on parameters can effectively identify dynamic paths that are reflected by the human body only once.

[0102] Based on the above method, the electronic device acquires α values ​​of a sample object (human body) at different positions and under different motion states. i θ i τ i The signal arrival angle, time delay, and Doppler frequency shift are stored one by one in the storage module as sample training parameters.

[0103] Subsequently, the electronic device initializes the sample training parameters and the preset Sparrow Search Algorithm (SSA) parameters.

[0104] S207. The electronic device inputs the sample training parameters into the preset BP neural network model to train the model.

[0105] Specifically, the electronic device obtains the CSI parameter, denoted as α, after preprocessing and affine propagation clustering, which is reflected only once by the human body. i θ i and τ i These parameters are used as input data for training the BP network. The signal angle of arrival (AoA), signal delay (ToF), and Doppler shift (DFS), calculated based on the sample object's position and motion state, are used as output data for training the pre-defined BP neural network model.

[0106] Furthermore, the input and output layers of the pre-defined BP neural network model in this embodiment are designed as follows:

[0107] The number of neurons in the input layer can be determined based on the needs of the problem being solved and the data representation method.

[0108] For example, this application embodiment uses a rolling prediction method, where the input layer node inputs α from the first N time slots. i θ i and τ i The output layer nodes output the AoA, ToF, and DFS of the (N+1)th time slot. The input layer takes 3N variables as input, and the output layer takes 3 variables as output. Therefore, the number of input layer neurons is 3N, and the number of output layer neurons is 3.

[0109] The number of hidden layers is determined using a classic trial-and-error method. Specifically, the initial number of layers is first calculated based on an empirical formula, and then the number of hidden layers is gradually increased. Samples are selected for training, and the number of hidden layers with the smallest error is chosen. The empirical formula is shown in Formula 8 below.

[0110]

[0111] Where m is the number of hidden layers, s is the number of input layer nodes, l is the number of output layer nodes, and α is an integer between 1 and 10.

[0112] In some embodiments, in the preset BP neural network model, the transfer function of the hidden layer is the tansig function, and the transfer function of the output layer is the purelin function.

[0113] S208. The electronic device calculates the initial fitness value of each sparrow using the SSA algorithm.

[0114] S209. The electronic device updates the sparrow's position based on the fitness value and SSA parameters.

[0115] S210, The electronic device acquires the individual fitness value after the location update.

[0116] S211. The electronic device compares the individual fitness value with the current best fitness value to obtain a local optimum and iteratively trains.

[0117] S212. If the number of iterations reaches the preset number, the electronic device determines the global optimal solution.

[0118] S213. The electronic device obtains a BP neural network model based on the global optimal solution.

[0119] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, the positioning device or electronic device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0120] This application embodiment can, according to the above method, exemplarily divide a positioning device or electronic device into functional modules. For example, the positioning device or electronic device may include functional modules corresponding to each functional division, or two or more functions may be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; in actual implementation, there may be other division methods.

[0121] For example, embodiments of this application also provide a positioning device.

[0122] like Figure 7 As shown, this application embodiment provides a positioning device 40, which includes: an acquisition unit 401, a processing unit 402, an output unit 403, and a determination unit 404.

[0123] The acquisition unit 401 is used to acquire the channel state information (CSI) of multiple signals received by the signal receiving device. The CSI of the multiple signals is transmitted by the signal transmitting device, and the CSI includes signal amplitude, signal delay, and signal phase.

[0124] The processing unit 402 is used to preprocess the CSI of multiple signals to obtain the target CSI of the target signal.

[0125] The output unit 403 is used to input the target CSI into a pre-trained BP neural network model and output signal parameters, including the signal angle of arrival.

[0126] The determining unit 404 is used to determine the position of the target object based on the position of the signal receiving device, the position of the signal transmitting device, and the angle of arrival of the signal.

[0127] Optionally, the processing unit 402 is specifically used to: correct the signal phase in each CSI according to the least squares linear fitting algorithm, and cluster each corrected CSI according to the preset affine propagation clustering algorithm to obtain the CSI of the target signal.

[0128] Optionally, the signal parameters also include the signal propagation time and the Doppler frequency shift value. The processing unit 402 is also used to obtain the moving speed of the target object based on the signal propagation time and the Doppler frequency shift value.

[0129] Optionally, processing unit 402 is further configured to: initialize sample training parameters and preset sparrow search algorithm (SSA) parameters. The sample training parameters include multiple sample CSIs and multiple sample signal parameters corresponding to the sample objects. Each sample signal parameter includes signal propagation time, Doppler frequency shift value, and signal angle of arrival. The sample training parameters are input into a preset BP neural network model for model training, and the initial fitness value of each sparrow is calculated using the SSA algorithm. The sparrow's position is updated based on the fitness value and SSA parameters, and the updated individual fitness value is obtained. The individual fitness value is compared with the current optimal fitness value to obtain a local optimum, and training is iteratively performed. If the number of iterations reaches a preset number, the global optimum is determined, and the BP neural network model is obtained based on the global optimum.

[0130] In one possible implementation, the signal transmitted by the signal transmitting device is a millimeter-wave signal.

[0131] In the case where the functions of the integrated modules described above are implemented in hardware, this application provides a possible structural schematic diagram of the electronic device involved in the above embodiments. For example... Figure 8 As shown, the electronic device 50 includes a processor 501, a memory 502, and a bus 503. The processor 501 and the memory 502 can be connected via the bus 503.

[0132] Processor 501 is the control center of the communication device. It can be a single processor or a collective term for multiple processing elements. For example, processor 501 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0133] As one embodiment, processor 501 may include one or more CPUs, for example Figure 8 CPU 0 and CPU 1 are shown in the diagram.

[0134] The memory 502 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0135] As one possible implementation, the memory 502 can exist independently of the processor 501. The memory 502 can be connected to the processor 501 via a bus 503 and is used to store instructions or program code. When the processor 501 calls and executes the instructions or program code stored in the memory 502, it can implement the sensor determination method provided in the embodiments of this application.

[0136] In another possible implementation, the memory 502 can also be integrated with the processor 501.

[0137] Bus 503 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0138] It should be pointed out that, Figure 8 The structure shown does not constitute a limitation on the electronic device 50. Except... Figure 8 In addition to the components shown, the electronic device 50 may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0139] Optionally, the electronic device 50 provided in this application embodiment may also include a communication interface 504.

[0140] Communication interface 504 is used to connect with other devices via a communication network. This communication network can be Ethernet, a wireless access network, a wireless local area network (WLAN), etc. Communication interface 504 may include a receiving unit for receiving data and a transmitting unit for transmitting data.

[0141] In one design, the communication interface of the electronic device 50 provided in this application embodiment can also be integrated into the processor.

[0142] In another hardware structure of the electronic device provided in this application embodiment, the electronic device may include a processor and a communication interface. The processor is coupled to the communication interface.

[0143] The functions of the processor can be referred to in the processor description above. In addition, the processor also has storage functions, which can be referred to in the memory function description above.

[0144] The communication interface is used to provide data to the processor. This communication interface can be an internal interface of the communication device or an external interface of the communication device.

[0145] It should be noted that the above-mentioned alternative hardware structure does not constitute a limitation on the electronic device. In addition to the above-mentioned alternative hardware component, the electronic device may include more or fewer components, or combine certain components, or have different component arrangements.

[0146] When the functions of the integrated modules described above are implemented in hardware, the present application provides a structural diagram of the middleware involved in the above embodiments, which can be referred to as the structural diagram of the execution machine described above.

[0147] This application also provides a computer-readable storage medium storing instructions. When a computer executes these instructions, the computer performs each step of the positioning method flow shown in the above method embodiments.

[0148] This application also provides a computer program product containing instructions that, when executed on a computer, cause the computer to perform the positioning method described in the above method embodiments.

[0149] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), registers, hard disks, optical fibers, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing, or any other form of computer-readable storage medium in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may reside in an application-specific integrated circuit (ASIC). In the embodiments of this application, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0150] Since the electronic devices, computer-readable storage media, and computer program products in the embodiments of this application can be applied to the above methods, the technical effects they can achieve can also be referred to the above method embodiments. The embodiments of this application will not be repeated here.

[0151] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered within the scope of protection of this application.

Claims

1. A positioning method, characterized in that, The method includes: The method involves acquiring Channel State Information (CSI) of multiple signals received by a signal receiving device, and preprocessing the CSIs of these signals to obtain the target CSI of the target signal. This includes: correcting the signal phase in each CSI using a least-squares linear fitting algorithm; determining the dynamic path through the target object using a preset path identification algorithm based on the relationship between the variance of the signal amplitude, signal delay, and signal phase of each corrected CSI over a period of time and a preset threshold, thereby obtaining the CSI of at least one candidate signal; and clustering the corrected CSIs of each candidate signal using a preset affine propagation clustering algorithm to obtain the target CSI of the target signal that is reflected only once by the target object. The CSIs of the multiple signals are transmitted by the signal transmitting device, and each CSI includes signal amplitude, signal delay, and signal phase. The target CSI is input into a pre-trained BP neural network model, which outputs signal parameters, including the signal angle of arrival. The location of the target object is determined based on the location of the signal receiving device, the location of the signal transmitting device, and the angle of arrival of the signal. The BP neural network model is trained as follows: initializing sample training parameters and preset sparrow search algorithm (SSA) parameters; the sample training parameters include multiple sample CSIs and multiple sample signal parameters corresponding to the sample objects, each sample signal parameter including signal propagation time, Doppler frequency shift value, and signal angle of arrival; inputting the sample training parameters into the preset BP neural network model for model training, and calculating the initial fitness value of each sparrow using the SSA algorithm; updating the sparrow's position based on the fitness value and the SSA parameters, and obtaining the individual fitness value after the position update; comparing the individual fitness value with the current optimal fitness value to obtain a local optimum, and iteratively training; if the number of iterations reaches a preset number, determining the global optimum, and obtaining the BP neural network model based on the global optimum.

2. The positioning method according to claim 1, characterized in that, The signal parameters also include signal propagation time and Doppler frequency shift value, and the method further includes: The moving speed of the target object is obtained based on the signal propagation time and the Doppler frequency shift value.

3. The positioning method according to any one of claims 1-2, characterized in that, The signal transmitted by the signal transmitting device is a millimeter-wave signal.

4. A positioning device, characterized in that, The device includes: an acquisition unit, a processing unit, an output unit, and a determination unit; The acquisition unit is used to acquire channel state information (CSI) of multiple signals received by the signal receiving device; the CSI of the multiple signals is transmitted by the signal transmitting device, and the CSI includes signal amplitude, signal delay and signal phase; The processing unit is used to preprocess the target CSIs of the multiple signals to obtain the CSIs of the target signals, including: correcting the signal phase in each CSI according to a least squares linear fitting algorithm; determining the dynamic path through the target object by using a preset path identification algorithm based on the relationship between the variance of the signal amplitude, signal delay, and signal phase of each corrected CSI over a period of time and a preset threshold, thereby obtaining the CSI of at least one candidate signal; and clustering the CSIs of each candidate signal after correction according to a preset affine propagation clustering algorithm to obtain the target CSI of the target signal that is reflected only once by the target object. The output unit is used to input the target CSI into a pre-trained BP neural network model and output signal parameters; the signal parameters include the signal angle of arrival. The determining unit is used to determine the position of the target object based on the position of the signal receiving device, the position of the signal transmitting device, and the angle of arrival of the signal. The BP neural network model is trained in the following way: initializing sample training parameters and preset sparrow search algorithm (SSA) parameters; the sample training parameters include multiple sample CSIs and multiple sample signal parameters corresponding to the sample object, each sample signal parameter including signal propagation time, Doppler frequency shift value, and signal angle of arrival; inputting the sample training parameters into the preset BP neural network model for model training, and calculating the initial fitness value of each sparrow using the SSA algorithm; updating the sparrow position according to the fitness value and the SSA parameters, and obtaining the individual fitness value after the position update; comparing the individual fitness value with the current optimal fitness value to obtain a local optimum, and iteratively training; if the number of iterations reaches a preset number, determining the global optimum, and obtaining the BP neural network model based on the global optimum.

5. The positioning device according to claim 4, characterized in that, The signal parameters also include signal propagation time and Doppler frequency shift value. The processing unit is further configured to obtain the moving speed of the target object based on the signal propagation time and the Doppler frequency shift value.

6. An electronic device, characterized in that, include: A processor and a communication interface; the communication interface is coupled to the processor, the processor being used to run computer programs or instructions to implement the positioning method as described in any one of claims 1-3.

7. A computer-readable storage medium storing instructions, characterized in that, When the computer executes the instruction, the computer performs the positioning method as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Equipment-free target positioning method based on CSI and DCNN

    CN112135344A

  • Indoor positioning method, device and equipment based on WiFi

    CN114501315A

  • Indoor three-dimensional positioning method for optimizing GRNN based on improved sparrow algorithm

    CN114690117A