Indoor visible light positioning method, system, medium and computer equipment for line-of-sight scene
By extracting and encoding the time series characteristics of the signal received by the photodetector, combined with the attention mechanism and residual convolution network, the problem of low indoor visible light positioning accuracy is solved, achieving sub-meter positioning accuracy and applicability to low-cost edge devices. sex.
Patent Information
- Application Number
- CN202410930883.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-12
AI Technical Summary
Existing indoor visible light positioning algorithms have low accuracy in complex and dynamic indoor environments. In particular, methods based on RSS and optical signal propagation models perform poorly when the signal-to-noise ratio is low. Methods based on time differences and angles have poor adaptive capabilities in MIMO scenarios. Low,vision-based methods have high computational cost and,system complexity, making them unsuitable for low-cost edge,devices.
The time series characteristics of the signals received by the photodetector are extracted and encoded. Combined with the pre-trained positioning model, the attention mechanism and residual convolution network are used to improve the positioning accuracy and achieve sub-meter indoor visible light positioning.
It achieves sub-meter positioning accuracy with less training data, improves model feature extraction capabilities through a small amount of spatial random sampling and convolutional layers, and reduces algorithm complexity, making it suitable for low-cost edge devices.
Smart Images

Figure CN118474860B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of indoor positioning technology, and in particular to a method, system, medium and computer equipment for indoor visible light positioning in a line-of-sight scenario. Background Art
[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.
[0003] Positioning is the core technology for realizing the Internet of Everything and location-based service applications. High-precision location information is the basis for providing high-precision location services. Nowadays, for outdoor scenes, satellite positioning technology can achieve sub-meter or even centimeter-level positioning accuracy in open environments. However, satellite positioning is subject to the influence of signal strength and is easily affected by signal interference such as occlusion and multipath effects. In cities with tall buildings or in closed indoor environments, satellite positioning accuracy is low or cannot be achieved. Therefore, it is of great significance to explore high-precision remote sensing technology for indoor scenes.
[0004] At present, advanced network communication technologies such as WIFI, Bluetooth, and ultra-wideband have made great progress in the field of positioning. However, with the increase in user demand, the current problem of tight spectrum resources has attracted great attention. Visible light communication technology has been considered to be an important part of 6G network communication research due to its high communication efficiency, low cost, and rich spectrum resources. It is expected to achieve high-quality communication based on the lighting network, assist or replace the existing wireless indoor communication network, and serve various downstream tasks. For example, the use of visible light technology to achieve high-precision indoor positioning has gradually become a research hotspot in the field of indoor high-precision positioning. Although the visible light communication network has the advantages of high precision in indoor positioning due to its less multipath effect, strong anti-electromagnetic interference ability, high spatial resolution, and wide indoor coverage, it shows a large error in complex and dynamic indoor environments. Therefore, in addition to relying on high-precision signal acquisition equipment, efficient positioning algorithms are also required to achieve indoor visible light high-precision positioning.
[0005] Existing indoor visible light positioning algorithms are mainly divided into five categories: received signal strength (RSS), time difference (TDOA), angle (AOA), optical signal propagation model and vision. Among them, the methods based on RSS and optical signal propagation model have high algorithm complexity due to the nonlinear change characteristics of signal strength, and perform poorly at low signal-to-noise ratio; the methods based on time difference (TDOA) and angle (AOA) have low adaptability in MIMO (a communication system that uses multiple antennas at the transmitting and receiving ends at the same time) scenarios; the vision-based methods have too high computational cost and system complexity, and are not suitable for low-cost edge devices. Summary of the invention
[0006] In order to address the deficiencies in the prior art, the present invention provides a method, system, medium and computer device for indoor visible light positioning in a line-of-sight scenario, which extracts the temporal characteristics of the received signal and encodes and embeds them into the model data, thereby improving the positioning accuracy of the model and achieving sub-meter positioning accuracy while using less training data.
[0007] In order to achieve the above object, the present invention adopts the following technical solution:
[0008] In a first aspect, the present invention provides a method for indoor visible light positioning in a line-of-sight scenario.
[0009] A method for indoor visible light positioning in a line-of-sight scene includes the following steps:
[0010] A receiving signal of a photoelectric detector for obtaining the movement status of an indoor space;
[0011] Extracting time series features from the received signal, encoding the time series features, and embedding the encoded time series features into the received signal to obtain an embedded signal;
[0012] Based on the embedded signal and the pre-trained positioning model, the real-time position of the mobile photodetector is obtained.
[0013] As a further limitation of the first aspect of the present invention, obtaining the real-time position of the mobile photodetector according to the embedded signal and the pre-trained positioning model includes:
[0014] The embedded signal is used as the input of the fully connected layer, and then passes through the convolution layer and the segmentation layer in sequence to obtain the key vector, query vector and value vector of the attention mechanism. The obtained key vector, query vector and value vector are used as the input of the multi-head attention module.
[0015] The output of the multi-head attention module passes through the first residual connection and normalization layer, the feedforward layer and the second residual connection, the normalization layer, the residual convolutional network and the fully connected layer in sequence to obtain the real-time position of the moving photodetector.
[0016] As a further limitation of the first aspect of the present invention, the key vector, the query vector and the value vector serve as inputs of a first residual connection and normalization layer, and the outputs of the first residual connection and normalization layer serve as inputs of a second residual connection and normalization layer.
[0017] As a further limitation of the first aspect of the present invention, the residual convolutional network includes a first convolutional layer, a first batch of normalization layers, an activation function layer, a second convolutional layer and a second batch of normalization layers connected in sequence.
[0018] In a second aspect, the present invention provides an indoor visible light positioning system in a line-of-sight scenario.
[0019] A visible light positioning system for indoor scene in line of sight, comprising:
[0020] The signal acquisition unit is configured to: acquire a received signal of a photoelectric detector of a movement state of an indoor space;
[0021] A signal embedding unit is configured to: extract time series features from the received signal, encode the time series features, and embed the encoded time series features into the received signal to obtain an embedded signal;
[0022] The position generation unit is configured to obtain the real-time position of the mobile photoelectric detector according to the embedded signal and the pre-trained positioning model.
[0023] As a further limitation of the second aspect of the present invention, obtaining the real-time position of the mobile photoelectric detector according to the embedded signal and the pre-trained positioning model includes:
[0024] The embedded signal is used as the input of the fully connected layer, and then passes through the convolution layer and the segmentation layer in sequence to obtain the key vector, query vector and value vector of the attention mechanism. The obtained key vector, query vector and value vector are used as the input of the multi-head attention module.
[0025] The output of the multi-head attention module passes through the first residual connection and normalization layer, the feedforward layer and the second residual connection, the normalization layer, the residual convolutional network and the fully connected layer in sequence to obtain the real-time position of the moving photodetector.
[0026] As a further limitation of the second aspect of the present invention, the key vector, the query vector and the value vector serve as inputs of a first residual connection and normalization layer, and the outputs of the first residual connection and normalization layer serve as inputs of a second residual connection and normalization layer.
[0027] As a further limitation of the second aspect of the present invention, the residual convolutional network includes a first convolutional layer, a first batch of normalization layers, an activation function layer, a second convolutional layer and a second batch of normalization layers connected in sequence.
[0028] In a third aspect, the present invention provides a computer device, comprising: a processor and a computer-readable storage medium;
[0029] a processor adapted to execute a computer program;
[0030] A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the method for indoor visible light positioning in a line-of-sight scene as described in the first aspect of the present invention is implemented.
[0031] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program is suitable for being loaded by a processor and executing the indoor visible light positioning method in a line-of-sight scenario as described in the first aspect of the present invention.
[0032] Compared with the prior art, the present invention has the following beneficial effects:
[0033] 1. The present invention innovatively proposes a visible light positioning strategy for indoor line-of-sight scenarios, extracts the temporal characteristics of the received signal and encodes and embeds it into the model data, thereby improving the positioning accuracy of the model and achieving sub-meter positioning accuracy while using less training data.
[0034] 2. The present invention innovatively proposes a visible light positioning strategy for indoor line-of-sight scenarios, adopts a visible light positioning scheme with a small amount of spatial random sampling, and adds two convolutional layers to the model to improve the feature extraction capability of the model, thereby further improving the positioning accuracy of the model.
[0035] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings in the specification, which constitute a part of the present invention, 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 improper limitations on the present invention.
[0037] Figure 1 A schematic diagram of the flow of the indoor visible light positioning method in a line-of-sight scenario provided in Example 1 of the present invention;
[0038] Figure 2 A schematic diagram of an indoor space and a moving photoelectric detector provided in Example 1 of the present invention;
[0039] Figure 3 A schematic diagram of a positioning model provided in Example 1 of the present invention;
[0040] Figure 4 A schematic diagram of the positioning effect provided by Embodiment 1 of the present invention;
[0041] Figure 5 A schematic diagram of an indoor visible light positioning system for a line-of-sight scenario provided in Embodiment 2 of the present invention;
[0042] Figure 6 This is a schematic diagram of an electronic device provided in Example 3 of the present invention. DETAILED DESCRIPTION
[0043] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0044] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0045] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0046] Embodiment 1:
[0047] This implementation proposes a line-of-sight scenario indoor visible light positioning method. In an indoor environment, continuous signals are sampled at a small number of random coordinate positions. A nonlinear mapping between the received signal and the position coordinates is constructed through a deep learning method based on the Attention mechanism. The time series attribute in the received signal is used as a feature and encoded into the received signal. An end-to-end indoor visible light positioning method is constructed, and the positioning accuracy is further improved by combining the residual network.
[0048] Visible light is used for indoor positioning because visible light communication technology has the advantages of less electromagnetic interference, uniform indoor coverage, high-speed data transmission, and rich spectrum resources compared to traditional wireless communication technologies such as WIFI, Radar, and UWB.
[0049] Visible light communication technology combines lighting circuits with communication networks, sends broadcast signals through high-frequency flashing LEDs, and uses photodetectors (PDs) to receive signals sent by LEDs to achieve wireless data transmission. VLC technology is also affected by the multipath effect like traditional wireless communication technology. Line-of-sight propagation signals and non-line-of-sight propagation signals will be generated at the receiving end. The so-called line-of-sight propagation signal is that the receiver directly captures the wireless signal sent by the transmitter, while the non-line-of-sight propagation signal refers to the signal that reaches the receiver after the signal is transmitted through the multipath channel. The multipath problem of visible light signal propagation in indoor scenes mainly comes from multiple reflections on the wall, so the ability of indoor walls to absorb light becomes an important factor affecting multipath propagation. Therefore, in indoor visible light communication scenarios, when there is a line-of-sight path between the light source and the receiver, the multipath propagation signal reflected by the wall will be submerged.
[0050] Indoor visible light positioning technology is inspired by traditional wireless indoor positioning technologies such as WIFI. It relies on the time difference between sending and receiving optical signals for physical modeling, or relies on the transmission characteristics of visible light communication systems to achieve positioning. The former enhances spatial perception and improves positioning accuracy by introducing MIMO, but this is overly dependent on the sensitivity of hardware and system complexity, and the corresponding algorithm complexity will also increase; the latter mainly uses the received signal strength indicator (RSSI) or channel state information (CSI) to analyze the received signal and build a nonlinear signal transmission model to achieve precise positioning. The successful application of deep learning technology in the field of positioning has further improved the effectiveness and reliability of indoor visible light positioning technology by designing a deep learning model of "received data-coordinate" nonlinear mapping.
[0051] The attention mechanism is an important step in the development of neural networks. It not only solves the information bottleneck problem, enabling the model to better capture and express information in complex data, but also alleviates the gradient vanishing problem to a certain extent. The core idea of the attention mechanism is to give different weights to different parts of the input data so that the model can focus on the most important information. When processing sequence data, such as natural language processing or video analysis, the attention mechanism can help the model allocate attention weights at different time steps in order to capture key contextual information. When processing image data, the attention mechanism can help the model allocate attention weights at different regions in order to capture the most representative features.
[0052] The key (K), query (Q) and value (V) vectors are obtained by linearly transforming the input vector, and then the query (Q) is interacted with the key (Key) (usually through dot product), and then softmax The function is calculated as shown in formula (1):
[0053] (1);
[0054] in, d k is the vector dimension.
[0055] The indoor visible light positioning method based on deep learning described in this implementation adopts a method of placing a photoelectric detector (PD) in the indoor space to receive signals, collects signals sent by LEDs arranged indoors, processes the signals at the PD receiving end, obtains channel state information model data or received signal strength related to the relative position information of LEDs and PDs, and then constructs a data set containing position features, and adopts an offline training model or an online prediction method to achieve high-precision indoor visible light positioning. In actual scenarios, the received signal at each spatial coordinate position is a continuous time signal. In addition to the intuitive signal strength information and channel state information, this signal also contains time series characteristics, and this time series characteristic may be a key factor affecting positioning accuracy.
[0056] Specifically, Figure 1 As shown, the indoor visible light positioning in the line-of-sight scenario proposed in this implementation includes the following processes:
[0057] S1: The receiving signal of the photoelectric detector for obtaining the movement status of the indoor space;
[0058] S2: extracting time series features from the received signal, encoding the time series features, and embedding the encoded time series features into the received signal to obtain an embedded signal;
[0059] S3: Based on the embedded signal and the pre-trained positioning model, the real-time position of the mobile photodetector is obtained.
[0060] In step S1 of this implementation, if Figure 2 As shown, there are indoor spaces with length, width and height of L, W and H respectively, and the number of N t The LEDs are fixed on the indoor ceiling, and a portable mobile device with a photodetector receiving device R i In L x W x H moves at a constant speed in the space, and it is known that R i The transmitted signal is sampled once every time the fixed distance D is moved. Assume that the visible light communication in this scenario sends a signal X based on OFDM modulation. Each frame of X contains S subframes, each subframe has N OFDM symbols, and each OFDM symbol carries M subcarriers. Block pilot insertion is used, and the received signal model is:
[0061] (2);
[0062] Wherein, N is the shot noise and thermal noise in the signal transmission process, which is generally considered to be Gaussian white noise that obeys the normal distribution. H is the signal state information, which is related to the angle and distance in the communication process between LED and PD. The present invention only considers the channel transmission model under the line-of-sight condition, and its time domain channel response is shown in formula (3):
[0063] (3);
[0064] in, , d is the distance between LED and PD, is the field of view of PD, A PD is the effective area of PD, θ and phi are the radiation angle and incident angle respectively, T s ( φ ) is the gain of the optical filter, g( φ ) is the gain of the optical concentrator: (4);
[0065] Where n is the refractive index of the optical concentrator. An optical filter is a device with a transmittance or reflectance that is related to the wavelength. An optical concentrator is also called an optical concentrator. In a photodiode, its function is to focus the incident light onto the photosensitive area of the photodiode, thereby improving the photocurrent response of the photodiode.
[0066] According to the above theoretical model, the LED array coordinates are fixed Tn (x0, y0, z0), then select any point in space R i As the coordinates of PD, such as Figure 2 As shown, set its coordinates to p i =(x i ,y i , z i ), the signal received by this point over continuous time T is recorded as Y i , each R i With each T n The distance between , construct a data set about receiving signals and coordinates carrying location features, ,in is the signal y k The pilot extracted from i is a spatial position point, each i There may be multiple k Moment point, That is k The coordinates of the moment.
[0067] In step S2 of this implementation, the present invention designs a deep learning network based on the transmission model of a known pilot signal in a channel under a LOS (line of sight) environment to achieve high-precision indoor visible light positioning. The main function of the pilot signal is to provide a stable reference for the received signal, and a relatively small amount of data is used to cover the global characteristics of the signal transmission process as much as possible, but it also wastes part of the spectrum resources; although the addition of a deep learning framework can fit the signal transmission process with high quality, it wastes more resources to clip the received data tensor to express the global characteristics of the signal transmission process, and the diversity of input data will cause the model network parameters to increase. Therefore, considering the computing power of the edge receiving device in the actual scenario, and comprehensively considering the advantages and disadvantages of various pilot insertion methods, the block pilot mode is selected in the present invention.
[0068] In this implementation, the pilot is extracted at the receiving end, which is extracted before the model training. That is to say, the extracted pilot signal will be used as the data set for the training model. The purpose is to replace the entire received signal with the extracted pilot signal to achieve rapid convergence. Therefore, the timing characteristics are embedded in the pilot signal. The pilot is a method in signal processing, which is to insert a known signal into certain positions in the transmitted signal, and then extract the data at these positions in the received signal, which is the pilot extraction mentioned here. In this article, the grid pilot form is used.
[0069] The present invention utilizes the strong perception of the attention mechanism on global features, and extracts the pilot in the received signal, thereby compressing the training data while strengthening the representation of the data and reducing the complexity of the network; the present invention extracts the timing characteristics of the continuous-time signal, encodes the timing characteristics using the position code in the Transformer encoder module as a template, and embeds them in the received signal; the present invention adopts the split YP vector method to calculate the K, Q, and V vectors, because they are obtained through complex nonlinear calculations with known pilots, which effectively reduces the calculation complexity of the model and accelerates convergence.
[0070] Specifically, Figure 3 As shown, according to the embedded signal and the pre-trained positioning model, the real-time position of the mobile photodetector is obtained, including:
[0071] The embedded signal is used as the input of the fully connected layer, and then passes through the convolution layer and the segmentation layer in sequence to obtain the key vector, query vector and value vector of the attention mechanism. The obtained key vector, query vector and value vector are used as the input of the multi-head attention module.
[0072] The output of the multi-head attention module passes through the first residual connection and normalization layer, the feedforward layer and the second residual connection, the normalization layer, the residual convolutional network and the fully connected layer in sequence to obtain the real-time position of the moving photodetector.
[0073] The key vector, query vector, and value vector are used as inputs to the first residual connection and normalization layer, and the outputs of the first residual connection and normalization layer are used as inputs to the second residual connection and normalization layer.
[0074] The residual convolutional network includes a first convolutional layer, a first batch of normalization layers, an activation function layer, a second convolutional layer, and a second batch of normalization layers connected in sequence.
[0075] Since Mean Absolute Error (MAE) directly calculates the absolute value of the error, when the error distribution is very wide, the value of MAE may become very large, while Root Mean Square Error (RMSE) is relatively stable. Therefore, RMSE has higher numerical stability than MAE. In this paper, considering that the PD position in the VLP system is not fixed, its position error distribution is uneven. Therefore, the present invention selects RMSE as the loss function of the indoor visible light positioning model in this paper to calculate the predicted coordinate matrix With the observation coordinate matrix P The deviation between them is shown in formula (6):
[0076] (6);
[0077] Among them, the P coordinate matrix is known, which can be understood as the label of the training data set. is the predicted coordinate at time k, For known k Coordinates at time, prediction matrix It is the prediction result obtained by the neural network of the present invention.
[0078] The present invention uses the signal propagation model described in formulas (2) and (3) to generate the data set required for the experiment. The experimental data set is designed with reference to the MINST data set format. The ratio of the training set, the validation set, and the test set is 8:1:1. In this process, some parameters are set, as shown in Table 1. The experimental scenario is as follows: Figure 1 The indoor space shown is 5m×5m×3m, with a 4×4 equally spaced LED array installed on the top. It is assumed that the receiving device carrying the PD is always parallel and facing the ceiling, the transmitted signal adopts the DCO-OFDM modulation method and the signal reception process is not affected by the NLOS propagation signal.
[0079] Table 1: Parameter settings
[0080]
[0081] The present invention designs four groups of comparative experiments, the experimental models are Transformer Encoder + Convlayer + Time Series encoding (TeCTs), Transformer encoder + Conv layer (TeC), Transformer encoder + time series encoding (TeTs) and only Transformer Encoder (TeN), the purpose is to verify the feasibility of using Transformer Encoder as the backbone network to realize the positioning of indoor visible light scenes through the experimental results of these four models, and to observe whether the addition of time series coding and a residual block composed of two Conv layers can have a positive impact on the positioning accuracy of the model. Evaluation indicators We use the error cumulative distribution function (CDF) to intuitively show the positioning performance of the model described in the present invention.
[0082] like Figure 4 As shown in the figure, it can be seen from the experimental results that the attention mechanism is effective in indoor positioning algorithms. At the same time, in the experiment, we found that adding time series encoding can improve the convergence performance of the model, and the impact on positioning accuracy is very significant. This verifies our theoretical analysis of time series features in the third part. By embedding time feature encoding, the mapping performance of the model between continuous time signals and coordinates can be improved. In addition, according to the experimental results, the addition of residual blocks further improves the accuracy of the entire model. However, when the residual block is added when the model does not use time feature encoding, too many network parameters cause the model to overfit, and even when using the minimum loss, the positioning accuracy is the worst among the four groups of experiments. This further confirms the important role of time features in indoor visible light positioning systems based on deep learning methods.
[0083] In summary, the present invention proposes a visible light positioning method in an indoor line-of-sight scenario using the attention mechanism. Through experimental results, we find that using the time series attributes of the training data can better help the model capture the mapping relationship between data and spatial coordinates. By encoding the time series features, a sub-meter positioning result of nearly 60% can be obtained when training with small sample data. After the residual module is connected to the model, the positioning accuracy can be improved by another 6%. In addition, the simulation results also show that the time series feature relationship plays an important role in the positioning algorithm based on deep learning.
[0084] Embodiment 2:
[0085] like Figure 5As shown, this implementation provides a visible light positioning system for indoor scenes in a line of sight, including:
[0086] The signal acquisition unit is configured to: acquire the receiving signal of the photoelectric detector of the indoor space movement state; the specific working method of this unit is the same as the process of step S1 in embodiment 1, which will not be repeated here;
[0087] A signal embedding unit is configured to: extract the time series features in the received signal, encode the time series features, and embed the encoded time series features into the received signal to obtain an embedded signal; the specific working method of this unit is the same as the process of step S2 in embodiment 1, which will not be repeated here;
[0088] The position generation unit is configured to obtain the real-time position of the mobile photoelectric detector according to the embedded signal and the pre-trained positioning model.
[0089] It is understandable that the above-mentioned units can be separately or completely combined into one or several other units to constitute, or one (some) of the units can be further divided into multiple smaller units in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the positioning system may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.
[0090] According to another embodiment of the present application, the system described in this embodiment can be constructed and the positioning method of the embodiment of the present application can be implemented by running a computer program (including program code) capable of executing the steps involved in the corresponding method described in Example 1 on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). The computer program can be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device through the computer-readable recording medium and run therein.
[0091] Embodiment 3:
[0092] like Figure 6As shown, this implementation provides an electronic device, which includes a processor 1001, a communication interface 1002, and a computer-readable storage medium 1003. The processor 1001, the communication interface 1002, and the computer-readable storage medium 1003 may be connected via a bus or other means.
[0093] Among them, the communication interface 1002 is used to receive and send data, the computer-readable storage medium 1003 can be stored in the memory of the electronic device, the computer-readable storage medium 1003 is used to store a computer program, the computer program includes program instructions, and the processor 1001 is used to execute the program instructions stored in the computer-readable storage medium 1003.
[0094] The processor 1001 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device, which is suitable for implementing one or more instructions, and specifically suitable for loading and executing one or more instructions to implement corresponding method processes or corresponding functions.
[0095] The processor 1001 is configured to execute the following process:
[0096] Obtaining the received signal of the photoelectric detector of the indoor space movement state; the specific working method is the same as the process of step S1 in embodiment 1, which will not be repeated here;
[0097] Extracting time series features from the received signal, encoding the time series features, and embedding the encoded time series features into the received signal to obtain an embedded signal; the specific working method is the same as the process of step S2 in embodiment 1, and will not be repeated here;
[0098] The position generation unit is configured to obtain the real-time position of the mobile photoelectric detector according to the embedded signal and the pre-trained positioning model.
[0099] Embodiment 4:
[0100] This embodiment provides a computer-readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the electronic device and, of course, extended storage media supported by the electronic device. The computer-readable storage medium provides a storage space that stores the processing system of the electronic device.
[0101] In addition, the storage space also stores one or more instructions suitable for being loaded and executed by the processor, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage; optionally, it may also be at least one computer-readable storage medium located away from the aforementioned processor.
[0102] In one embodiment, the computer-readable storage medium stores one or more instructions; the processor loads and executes the one or more instructions stored in the computer-readable storage medium to implement the following process:
[0103] Obtaining the received signal of the photoelectric detector of the indoor space movement state; the specific working method is the same as the process of step S1 in embodiment 1, which will not be repeated here;
[0104] Extracting time series features from the received signal, encoding the time series features, and embedding the encoded time series features into the received signal to obtain an embedded signal; the specific working method is the same as the process of step S2 in embodiment 1, and will not be repeated here;
[0105] The position generation unit is configured to obtain the real-time position of the mobile photoelectric detector according to the embedded signal and the pre-trained positioning model.
[0106] 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 visible light positioning method for indoor scene in line of sight, characterized in that: The process includes: A receiving signal of a photoelectric detector for obtaining the movement status of an indoor space; Extracting time series features from the received signal, encoding the time series features, and embedding the encoded time series features into the received signal to obtain an embedded signal; According to the embedded signal and the pre-trained positioning model, the real-time position of the mobile photodetector is obtained; Among them, according to the embedded signal and the pre-trained positioning model, the real-time position of the mobile photoelectric detector is obtained, including: The embedded signal is used as the input of the fully connected layer, and then passes through the convolution layer and the segmentation layer in sequence to obtain the key vector, query vector and value vector of the attention mechanism. The obtained key vector, query vector and value vector are used as the input of the multi-head attention module. The output of the multi-head attention module is sequentially passed through the first residual connection and normalization layer, the feedforward layer and the second residual connection, the normalization layer, the residual convolution network and the fully connected layer to obtain the real-time position of the moving photodetector; Among them, the key vector, query vector and value vector are used as inputs of the first residual connection and normalization layer, and the output of the first residual connection and normalization layer is used as input of the second residual connection and normalization layer; Among them, the residual convolutional network includes a first convolutional layer, a first batch of normalization layers, an activation function layer, a second convolutional layer and a second batch of normalization layers connected in sequence.
2. A visible light positioning system for indoor scene with line of sight, characterized in that: include: The signal acquisition unit is configured to: acquire a received signal of a photoelectric detector of a movement state of an indoor space; A signal embedding unit is configured to: extract time series features from the received signal, encode the time series features, and embed the encoded time series features into the received signal to obtain an embedded signal; The position generation unit is configured to: obtain the real-time position of the mobile photodetector according to the embedded signal and the pre-trained positioning model; Among them, according to the embedded signal and the pre-trained positioning model, the real-time position of the mobile photoelectric detector is obtained, including: The embedded signal is used as the input of the fully connected layer, and then passes through the convolution layer and the segmentation layer in sequence to obtain the key vector, query vector and value vector of the attention mechanism. The obtained key vector, query vector and value vector are used as the input of the multi-head attention module. The output of the multi-head attention module is sequentially passed through the first residual connection and normalization layer, the feedforward layer and the second residual connection, the normalization layer, the residual convolution network and the fully connected layer to obtain the real-time position of the moving photodetector; Among them, the key vector, query vector and value vector are used as inputs of the first residual connection and normalization layer, and the output of the first residual connection and normalization layer is used as input of the second residual connection and normalization layer; Among them, the residual convolutional network includes a first convolutional layer, a first batch of normalization layers, an activation function layer, a second convolutional layer and a second batch of normalization layers connected in sequence.
3. A computer device, characterized in that: include: a processor and a computer readable storage medium; a processor adapted to execute a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the indoor visible light positioning method in a line-of-sight scene as claimed in claim 1 is implemented.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the indoor visible light positioning method in a line-of-sight scenario as claimed in claim 1.
Citation Information
Patent Citations
Visible light communication positioning method based on CDMA modulation and positioning system adopted by same
CN105871462A
Visible light positioning method and system based on support vector machine regression
CN109511095A
Indoor visible light communication positioning method and system based on machine learning and OFDM
CN111404607A
Strong-robustness wireless positioning method based on deep learning
CN113347559A
Visible light indoor positioning system and method based on neural network
CN114786119A
