The invention discloses a LoRa relative position positioning
algorithm and
system, and the method comprises the steps: S1, deploying LoRa nodes: deploying LoRa child nodes in a target region, so as to guarantee that a network covers the whole region; s2,
beacon collection: sending, receiving and recording of
beacon signals are completed, and an RSSI
signal matrix is formed; s3, an RSSI conversion
distance model: through actual measurement and fitting, establishing a
signal attenuation model between an RSSI
signal and a distance, and converting an RSSI value into a distance
estimation value to form a
distance matrix; s4, matrix filling, wherein the problem of matrix data missing is solved through matrix filling; s5, carrying out multi-dimensional
scale dimension reduction amp on the MDS; and obtaining position information: carrying out dimension reduction
processing on the
distance matrix by using a multi-dimensional scaling method MDS, and finally obtaining the position information of each node. The method does not depend on a
base station, is suitable for an environment with irregular node distribution, and reduces the deployment and maintenance cost; nodes can be easily added on a large scale, and the situation of non-dense distribution or non-uniform distribution does not need to be worried about; the robustness is high, and the influence on the positioning effect is small due to the missing condition of some nodes; moreover, the method does not depend on a central
server, each node can work independently, and the robustness and
fault tolerance of the
system are improved.