Ranging method and system based on radio waves

By using radio wave transmitting and receiving devices in wireless ranging technology, a distance analytical equation system and a three-dimensional model are constructed, which solves the accuracy problem of wireless ranging in the case of walls, and realizes efficient and convenient ranging function.

CN119780894AActive Publication Date: 2025-04-08QINGDAO UNIV OF TECH INNOVATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411866979.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-04-08
Estimated Expiration
2044-12-18

AI Technical Summary

Technical Problem

The existing wireless ranging technology is difficult to calculate the exact distance when there is a wall between two points.

Method used

The radio waves with the radio wave receiving device are established through the radio wave transmitting device, radio waves with preset intensity values ​​are sent, the number of walls is obtained, and the distance analytical equations are constructed based on this, the real-time distance measurement value is obtained, and a measurement three-dimensional model is constructed to output the measured distance value between any two points.

Benefits of technology

It realizes distance measurement through the wall, improves measurement efficiency and convenience, and can accurately calculate the distance between two points.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119780894A_ABST
    Figure CN119780894A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of wireless distance measurement, and particularly relates to a distance measurement method and system based on radio waves, and the method comprises the steps: transmitting the radio waves with a preset intensity value to a radio wave receiving device through a radio wave transmitting device, and obtaining two groups of receiving data packets; obtaining the number of walls, constructing a distance analysis equation, constructing a distance analysis equation set based on the wireless signal intensity data recorded in the received data packet, and solving to obtain two groups of real-time distance measurement values; and constructing a measurement three-dimensional model, constructing a plurality of groups of measurement result planes, and outputting an actually measured distance value between any two points according to a user instruction. The thickness and the position of the wall body are calculated according to the attenuation condition of radio waves on a transmission path, a plurality of measurement result planes are constructed, the distance between any two points on the measurement result planes can be directly output, the measurement efficiency is greatly improved, the wall body can be penetrated, and the measurement convenience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of wireless distance measurement, and in particular relates to a distance measurement method and system based on radio waves. Background Art

[0002] Wireless ranging technology refers to the technology that measures the distance between two devices through the propagation characteristics of radio signals in space. It is usually based on the transmitter sending a specific signal. After the receiver receives the signal, it calculates the distance between the two devices based on parameters such as the signal propagation time (such as time of flight method ToF), phase difference, signal strength attenuation or Doppler effect. This technology is widely used in radar systems, GPS positioning, drone navigation, intelligent transportation systems, indoor positioning services and IoT devices, providing accurate distance information to support various automation and intelligent applications.

[0003] In the existing distance measurement process, the distance value is mainly calculated based on the signal attenuation between two points. When there is a wall between the two points, it is difficult to calculate the distance between the two points using the existing measurement method. Summary of the invention

[0004] The purpose of the present invention is to provide a distance measurement method based on radio waves, aiming to solve the problem that when there is a wall between two points, the existing measurement method is difficult to calculate the distance between the two points.

[0005] The present invention is achieved by a radio wave-based distance measurement method, the method comprising:

[0006] Establishing a data connection with a radio wave receiving device through a radio wave transmitting device, wherein the radio wave transmitting device has a transmitting end and the radio wave receiving device has two receiving ends;

[0007] The radio wave transmitting device sends a radio wave with a preset strength value to the radio wave receiving device, and the radio wave receiving device receives the radio wave through a receiving end in the radio wave receiving device to obtain two groups of received data packets, each group of received data packets containing multiple groups of wireless signal strength data;

[0008] Obtain the number of walls, construct a distance analytical equation based on the number of walls, construct a distance analytical equation group based on the wireless signal strength data recorded in the received data packet, and solve to obtain two sets of real-time distance measurement values;

[0009] Construct a measurement 3D model, construct multiple sets of measurement result planes in the measurement 3D model based on the real-time distance measurement value, and output the measured distance value between any two points according to user instructions.

[0010] Preferably, the step of sending radio waves of a preset intensity value to a radio wave receiving device through a radio wave transmitting device, and receiving the radio waves through a receiving end in the radio wave receiving device to obtain two groups of received data packets specifically includes:

[0011] Importing identity authentication data into the radio wave transmitting device, and the radio wave transmitting device transmits the identity authentication data to the outside via radio waves;

[0012] The identity authentication data is detected by the radio wave receiving device and compared with the built-in verification data. If the comparison is successful, a verification pass message is sent to the radio wave receiving device;

[0013] The radio waves are transmitted through the radio wave receiving device, the transmission frequency and transmission signal strength of the radio waves are recorded, and the radio waves are received through the radio wave receiving device to obtain a received data packet.

[0014] Preferably, the steps of obtaining the number of walls, constructing a distance analytical equation based on the number of walls, constructing a distance analytical equation group based on the wireless signal strength data recorded in the received data packet, and solving to obtain two sets of real-time ranging values ​​specifically include:

[0015] Obtain the number of walls between the radio wave transmitting device and the radio wave receiving device, and construct a distance analytical equation based on the number of walls;

[0016] Obtain the type of the wall, determine the basic properties of the wall based on the type of the wall, the basic properties at least including the electrical conductivity and vacuum magnetic permeability of the wall, and determine the constant term of the distance analytical equation;

[0017] A distance analytical equation group is constructed according to the frequency of the radio wave and the corresponding wireless signal strength data, and two sets of real-time distance measurement values ​​are obtained by solving the equation group. The solution also includes the thickness of each wall and the attenuation coefficient of the wall at different frequencies.

[0018] Preferably, the step of constructing a measurement three-dimensional model, constructing multiple groups of measurement result planes in the measurement three-dimensional model based on the real-time distance measurement value, and outputting the measured distance value between any two points according to the user instruction specifically includes:

[0019] Construct a three-dimensional coordinate system, and mark the radio wave transmitting device and the radio wave receiving device in the three-dimensional coordinate system according to the real-time distance measurement value;

[0020] A set of measurement result planes are constructed according to the position of the radio wave receiving device, and the measurement result planes corresponding to each wall surface are constructed in the three-dimensional coordinate system according to the solution results;

[0021] Get user instructions, select two points on the measurement result plane according to the user instructions, and output the corresponding measured distance value.

[0022] Preferably, in the step of sending radio waves of a preset intensity value to the radio wave receiving device through the radio wave transmitting device, the number of times the radio waves are transmitted is determined by the number of walls, and the frequency of the radio waves transmitted each time is different.

[0023] Another object of the present invention is to provide a ranging system based on radio waves, the system comprising:

[0024] A data connection module, used to establish a data connection with the radio wave receiving device through the radio wave transmitting device, wherein the radio wave transmitting device has a transmitting end and the radio wave receiving device has two receiving ends;

[0025] A radio wave transceiver module is used to send radio waves of preset strength value to the radio wave receiving device through the radio wave transmitting device, and receive the radio waves through the receiving end in the radio wave receiving device to obtain two groups of received data packets, each group of received data packets contains multiple groups of wireless signal strength data;

[0026] A distance solving module is used to obtain the number of walls, construct a distance analytical equation based on the number of walls, construct a distance analytical equation group based on the wireless signal strength data recorded in the received data packet, and solve to obtain two sets of real-time distance measurement values;

[0027] The model building module is used to build a measured three-dimensional model, build multiple groups of measurement result planes in the measured three-dimensional model based on real-time distance measurement values, and output the measured distance value between any two points according to user instructions.

[0028] Preferably, the radio wave transceiver module includes:

[0029] An authentication data transmission unit, used for importing identity authentication data into the radio wave transmitting device, and the radio wave transmitting device transmits the identity authentication data outwardly through radio waves;

[0030] A data comparison unit, used to detect the identity authentication data through the radio wave receiving device, compare it with the built-in verification data, and if the comparison is successful, send a verification pass message to the radio wave receiving device;

[0031] The data receiving unit is used to transmit radio waves through the radio wave receiving device, record the transmission frequency and transmission signal strength of the radio waves, receive through the radio wave receiving device, and obtain a received data packet.

[0032] Preferably, the distance solving module includes:

[0033] An equation building unit, used for obtaining the number of walls between the radio wave transmitting device and the radio wave receiving device, and building a distance analytical equation based on the number of walls;

[0034] A constant term calculation unit, used for obtaining the type of the wall, determining the basic properties of the wall based on the type of the wall, the basic properties at least including the electrical conductivity and vacuum magnetic permeability of the wall, and determining the constant term of the distance analytical equation;

[0035] The equation group analysis unit is used to construct a distance analysis equation group according to the frequency of the radio wave and the corresponding wireless signal strength data, and solve the two groups of real-time distance measurement values. The solution also includes the thickness of each wall and the attenuation coefficient of the wall at different frequencies.

[0036] Preferably, the model building module includes:

[0037] A coordinate system construction unit, used to construct a three-dimensional coordinate system, and mark the radio wave transmitting device and the radio wave receiving device in the three-dimensional coordinate system according to the real-time distance measurement value;

[0038] A measurement plane construction unit is used to construct a set of measurement result planes according to the position of the radio wave receiving device, and to construct the measurement result planes corresponding to each wall surface in the three-dimensional coordinate system according to the solution result;

[0039] The distance measurement value output unit is used to obtain user instructions, select two points on the measurement result plane according to the user instructions, and output the corresponding measured distance value.

[0040] Preferably, in the step of sending radio waves of a preset intensity value to the radio wave receiving device through the radio wave transmitting device, the number of times the radio waves are transmitted is determined by the number of walls, and the frequency of the radio waves transmitted each time is different.

[0041] The present invention provides a radio wave-based ranging method, which transmits and receives radio waves through a radio wave transmitting device and a radio wave receiving device, and calculates the thickness and position of the wall according to the attenuation of the radio waves on the transmission path, so that multiple measurement result planes can be constructed, and the distance between any two points on the measurement result plane can be directly output, which greatly improves the measurement efficiency, can penetrate the wall, and improves the convenience of measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A flow chart of a radio wave-based ranging method provided by an embodiment of the present invention;

[0043] Figure 2 A flowchart of the steps of sending radio waves of preset strength value to a radio wave receiving device through a radio wave transmitting device, receiving the radio waves through a receiving end in the radio wave receiving device, and obtaining two groups of received data packets provided in an embodiment of the present invention;

[0044] Figure 3 A flowchart of the steps of obtaining the number of walls, constructing a distance analytical equation based on the number of walls, constructing a distance analytical equation group based on the wireless signal strength data recorded in the received data packet, and solving to obtain two sets of real-time distance measurement values ​​provided in an embodiment of the present invention;

[0045] Figure 4A flowchart of the steps of constructing a measurement three-dimensional model provided by an embodiment of the present invention, constructing multiple groups of measurement result planes in the measurement three-dimensional model based on real-time distance measurement values, and outputting the measured distance value between any two points according to user instructions;

[0046] Figure 5 An architecture diagram of a radio wave-based ranging system provided in an embodiment of the present invention;

[0047] Figure 6 An architecture diagram of a radio wave transceiver module provided in an embodiment of the present invention;

[0048] Figure 7 An architecture diagram of a distance solving module provided in an embodiment of the present invention;

[0049] Figure 8 An architectural diagram of a model building module provided by an embodiment of the present invention;

[0050] Fig. 9 A schematic diagram of the principle of a radio wave based ranging method provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0052] like Figure 1 As shown, it is a flow chart of a ranging method based on radio waves provided by an embodiment of the present invention, and the method includes:

[0053] S100, establishing a data connection with a radio wave receiving device through a radio wave transmitting device, wherein the radio wave transmitting device has a transmitting end, and the radio wave receiving device has two receiving ends.

[0054] In this step, a data connection is established between a radio wave transmitting device and a radio wave receiving device. The radio wave transmitting device and the radio wave receiving device are arranged in the same horizontal plane. The radio wave transmitting device is used to transmit radio waves and can autonomously change the frequency of the radio waves. Two groups of receiving ends are arranged in the radio wave receiving device. The distance between the receiving ends is fixed. When the transmitting end in the radio wave transmitting device transmits radio waves, the two groups of receiving ends can detect the corresponding radio waves. Before performing ranging, the radio wave transmitting device and the radio wave receiving device establish a data connection through a preset frequency band to realize the communication process.

[0055] S200, a radio wave with a preset strength value is sent to a radio wave receiving device through a radio wave transmitting device, and received by a receiving end in the radio wave receiving device to obtain two groups of received data packets, each group of received data packets containing multiple groups of wireless signal strength data.

[0056] In this step, radio waves with a preset intensity value are sent to the radio wave receiving device through the radio wave transmitting device. The radio wave transmitting device will transmit radio waves multiple times. Each time the radio waves are transmitted, the frequency of the radio waves is changed, and the signal intensity of the radio waves transmitted each time is made the same. The radio waves of the corresponding frequency band are received by the receiving end in the radio wave receiving device. When receiving, the signal intensity of the detected radio waves is recorded to generate a receiving data packet.

[0057] S300, obtaining the number of walls, constructing a distance analytical equation based on the number of walls, constructing a distance analytical equation group based on the wireless signal strength data recorded in the received data packet, and solving to obtain two groups of real-time distance measurement values.

[0058] In this step, the number of walls is obtained. The wall is a wall between the radio wave transmitting device and the radio wave receiving device. When the radio wave passes through the wall, the signal strength of the radio wave will be reduced, and the wall has different absorption capacities for radio waves of different frequency bands, that is, when radio waves of different frequency bands pass through the same wall, the loss rate of the signal strength is different. A corresponding distance analytical equation is constructed according to the number of walls, and the number of times the radio wave transmitting device transmits the radio wave is determined according to the number of unknown parameters in the distance analytical equation. Each time the radio wave is transmitted, a set of distance analytical equations is obtained. The data in the received data packet is substituted into the corresponding distance analytical equation to obtain a distance analytical equation group. The number of unknown parameters in the distance analytical equation group is the same as the number of distance analytical equations, so that the value of each unknown parameter can be analyzed to obtain a real-time distance measurement value, which is the straight-line distance between the radio wave transmitting device and the radio wave receiving device.

[0059] S400, constructing a measurement three-dimensional model, constructing multiple groups of measurement result planes in the measurement three-dimensional model based on the real-time distance measurement value, and outputting the measured distance value between any two points according to the user instruction.

[0060] In this step, a three-dimensional measurement model is constructed. When measuring, the radio waves will pass through the wall, and in the process of solving the distance analytical equation, the distance value between the radio wave transmitting device and the wall and the wall thickness and other information are directly calculated. Therefore, the positions of the radio wave transmitting device, the radio wave receiving device and the wall can be marked in the three-dimensional coordinate system according to the above analytical results. Then, the plane where the wall is located is the measurement result plane. If the radio wave transmitting device and the radio wave receiving device are installed on the plane, the corresponding plane can also be used as the measurement result plane. Then, when the measurement value needs to be output, the actual distance value between any two points on the measurement result plane can be quickly output according to the three-dimensional measurement model.

[0061] like Figure 2 As shown, as a preferred embodiment of the present invention, the step of sending radio waves with a preset strength value to the radio wave receiving device through the radio wave transmitting device, receiving the radio waves through the receiving end in the radio wave receiving device, and obtaining two groups of received data packets specifically includes:

[0062] S201, importing identity authentication data into the radio wave transmitting device, and the radio wave transmitting device transmits the identity authentication data to the outside through radio waves.

[0063] In this step, identity authentication data is imported into the radio wave transmitting device, and the identity authentication data is used to confirm the identity of the radio wave receiving device. The radio wave transmitting device and the radio wave receiving device are both connected to the control terminal via wireless communication. When ranging is required, the radio wave transmitting device sends the identity authentication data to the radio wave receiving device via radio waves of a preset frequency band.

[0064] S202, detecting the identity authentication data through the radio wave receiving device, and comparing it with the built-in verification data. If the comparison is successful, sending verification pass information to the radio wave receiving device.

[0065] In this step, the identity authentication data is detected by the radio wave receiving device. The identity authentication data can be a specific string of characters. The strings are checked one by one. If the matching rate reaches a preset value, it is considered to be verified. The radio wave receiving device sends the verification pass information to the radio wave transmitting device through the control terminal.

[0066] S203, transmitting radio waves through the radio wave receiving device, recording the transmitting frequency and transmitting signal strength of the radio waves, receiving through the radio wave receiving device, and obtaining a received data packet.

[0067] In this step, the number of radio wave transmissions is determined according to the number of walls, and a plurality of radio wave frequencies are selected from the radio wave frequency band range that can be transmitted by the radio wave transmitting device. The selected radio wave frequencies divide the radio wave frequency band range into equal parts, thereby controlling the radio wave receiving device to transmit radio waves according to the selected multiple radio wave frequencies. When the radio waves pass through the walls, a part of them is absorbed by the walls, so that the signal strength finally detected by the radio wave receiving device is reduced, and the radio wave receiving device records the value of the above signal strength.

[0068] like Figure 3 As shown, as a preferred embodiment of the present invention, the steps of obtaining the number of walls, constructing a distance analytical equation based on the number of walls, constructing a distance analytical equation group based on the wireless signal strength data recorded in the received data packet, and solving to obtain two sets of real-time ranging values ​​specifically include:

[0069] S301, obtaining the number of walls between the radio wave transmitting device and the radio wave receiving device, and constructing a distance analytical equation based on the number of walls.

[0070] In this step, the number of walls between the radio wave transmitting device and the radio wave receiving device is obtained, such as Fig. 9 As shown, the radio wave transmitting point is A, and the receiving points of the two radio waves are F and K respectively. When the radio wave starts from A and arrives at F, it will pass through points B and C of the first wall, and through points D and E of the second wall. Obviously, A, B, C, D, E and F are collinear. Similarly, when the radio wave starts from A and arrives at K, it will pass through points G and H of the first wall, and through points I and J of the second wall. Obviously, points A, G, H, I, J and K are collinear. Then the distance between AB is L1, the distance between BC is L2, the distance between CD is L3, the distance between DE is L4, the distance between EF is L5, the distance between AG is L6, the distance between GH is L7, the distance between HI is L8, the distance between IJ is L9, and the distance between JK is L10. For the propagation path AF, the distance analytical equation is:

[0071] P0-f k (L1)-f q (L2)-f k (L3)-f q (L4)-f k (L5) = P1

[0072] Among them, P0 is the transmission signal strength of the radio wave, P1 is the reception signal strength of the radio wave detected by the second group of receiving ends, that is, the signal strength detected by the receiving end, and f k (L i ) is the radio wave passing through the thickness L iWhen there is an air wall, the signal strength lost, f k (L j ) is the radio wave passing through the thickness L j The signal strength lost when there is a solid wall, where i is the number of the air wall and j is the number of the solid wall;

[0073]

[0074] Among them, f is the frequency of electromagnetic waves, c is the speed of light;

[0075]

[0076] Wherein, α is the attenuation coefficient. In the present invention, the radio wave adopts a low-frequency radio wave, whose frequency is lower than 30 MHz, and α is expressed as Where f is the frequency of the radio wave, σ is the conductivity, and μ0 is the magnetic permeability of the vacuum, which is equal to 4π*10 -7 H / m.

[0077] The number of unknown parameters in the distance analysis equation is equal to the total number of all walls (including air walls and solid walls), such as Fig. 9 As shown, the total number of walls is 5, so the number of unknown parameters in the distance analytical equation is 5. Then when transmitting radio waves, five radio waves of different frequencies are transmitted, so that the two sets of receiving ends detect 5 sets of signal strength values ​​respectively;

[0078] For the propagation path AK, the distance analytical equation is:

[0079] P0-f k (L6)-f q (L7)-f k (L8)-f q (L9)-f k (L10) = P2

[0080] Wherein, P2 is the received signal strength of the radio waves detected by the second group of receiving ends.

[0081] S302, obtaining the type of the wall, determining basic properties of the wall based on the type of the wall, the basic properties at least including electrical conductivity and vacuum magnetic permeability of the wall, and determining a constant term of the distance analytical equation.

[0082] S303, constructing a distance analytical equation group according to the frequency of the radio wave and the corresponding wireless signal strength data, and solving them to obtain two sets of real-time distance measurement values. The solution also includes the thickness of each wall and the attenuation coefficient of the wall at different frequencies.

[0083] In this step, the type of wall is obtained, the basic properties of the wall are determined based on the type of wall, the constant term of the distance analytical equation is determined, and the frequency of the radio waves detected by the first group of receiving ends and the corresponding signal strength values ​​are substituted into

[0084] P0-f k (L1)-f q (L2)-f k (L3)-f q (L4)-f k (L5) = P1

[0085] By analyzing, the values ​​of L1, L2, L3, L4 and L5 are obtained;

[0086] Substitute the frequencies of the radio waves detected by the second set of receivers and the corresponding signal strength values ​​into

[0087] P0-f k (L6)-f q (L7)-f k (L8)-f q (L9)-f k (L10) = P2

[0088] By analyzing, the values ​​of L6, L7, L8, L9 and L10 are obtained. The distance between AF is L1+L2+L3+L4+L5, the distance between AK is L6+L7+L8+L9+L10, and points A, B, C, D, E, F, G, H, I, J and K are in the same horizontal plane.

[0089] like Figure 4 As shown, as a preferred embodiment of the present invention, the step of constructing a measurement three-dimensional model, constructing multiple groups of measurement result planes in the measurement three-dimensional model based on the real-time distance measurement value, and outputting the measured distance value between any two points according to the user instruction specifically includes:

[0090] S401, constructing a three-dimensional coordinate system, and marking the radio wave transmitting device and the radio wave receiving device in the three-dimensional coordinate system according to the real-time distance measurement value.

[0091] In this step, a three-dimensional coordinate system is constructed, and the plane where the horizontal plane is located is used as the plane determined by the X-axis and Y-axis of the three-dimensional coordinate system. The plane where the radio wave transmitting device and the radio wave receiving device are located is determined according to the height at which the radio wave transmitting device is set. According to the values ​​of L1 to L10 and the preset distance between FK, A, B, C, D, E, F, G, H, I, J and K are marked in the plane where the radio wave transmitting device and the radio wave receiving device are located.

[0092] S402, constructing a set of measurement result planes according to the location of the radio wave receiving device, and constructing the measurement result planes corresponding to each wall in the three-dimensional coordinate system according to the solution results.

[0093] S403, obtaining a user instruction, selecting two points on the measurement result plane according to the user instruction, and outputting corresponding measured distance values.

[0094] In this step, the user instruction is obtained. In the three-dimensional coordinate system, the two parallel sides of the quadrilateral formed by BCHG are the position of the wall. Similarly, the positions of all walls are determined, and the corresponding walls are generated in the three-dimensional coordinate system. Then the position of the wall is the measurement result plane, such as the vertical plane where BG is located, the vertical plane where CH is located, the vertical plane where DI is located, the vertical plane where EJ is located, the vertical plane where FK is located, and the plane where the transmitting end is located. At this time, the thickness of each wall and the distance between the walls can be measured according to the three-dimensional coordinate system. According to the user instruction, the distance between any point in any measurement result plane in the three-dimensional coordinate system and any point in another measurement result plane is determined to obtain the measured distance value.

[0095] like Figure 5 As shown, a radio wave-based ranging system is provided in an embodiment of the present invention, and the system includes:

[0096] The data connection module 100 is used to establish a data connection with the radio wave receiving device through the radio wave transmitting device, wherein the radio wave transmitting device has a transmitting end, and the radio wave receiving device is provided with two receiving ends.

[0097] In this system, the data connection module 100 establishes a data connection with the radio wave receiving device through the radio wave transmitting device. The radio wave transmitting device and the radio wave receiving device are arranged in the same horizontal plane. The radio wave transmitting device is used to transmit radio waves and can autonomously change the frequency of the radio waves. Two groups of receiving ends are arranged in the radio wave receiving device. The distance between the receiving ends is fixed. When the transmitting end in the radio wave transmitting device transmits radio waves, the two groups of receiving ends can detect the corresponding radio waves. Before performing ranging, the radio wave transmitting device and the radio wave receiving device establish a data connection through a preset frequency band to realize the communication process.

[0098] The radio wave transceiver module 200 is used to send radio waves of preset strength value to the radio wave receiving device through the radio wave transmitting device, and receive them through the receiving end in the radio wave receiving device to obtain two groups of received data packets, each group of received data packets contains multiple groups of wireless signal strength data.

[0099] In this system, the radio wave transceiver module 200 sends radio waves of a preset strength value to the radio wave receiving device through the radio wave transmitting device. The radio wave transmitting device will transmit radio waves multiple times. Each time the radio waves are transmitted, the frequency of the radio waves is changed, and the signal strength of the radio waves transmitted each time is made the same. The radio waves of the corresponding frequency band are received through the receiving end in the radio wave receiving device. When receiving, the signal strength of the detected radio waves is recorded to generate a receiving data packet.

[0100] The distance solving module 300 is used to obtain the number of walls, construct a distance analytical equation based on the number of walls, construct a distance analytical equation group based on the wireless signal strength data recorded in the received data packet, and solve to obtain two sets of real-time distance measurement values.

[0101] In this system, the distance solving module 300 obtains the number of walls, which are walls existing between the radio wave transmitting device and the radio wave receiving device. When the radio wave passes through the wall, the signal strength of the radio wave will be reduced, and the wall has different absorption capabilities for radio waves of different frequency bands, that is, when radio waves of different frequency bands pass through the same wall, the loss rate of their signal strength is different. A corresponding distance analytical equation is constructed according to the number of walls, and the number of times the radio wave transmitting device transmits the radio wave is determined according to the number of unknown parameters in the distance analytical equation. Each time the radio wave is transmitted, a set of distance analytical equations is obtained. The data in the received data packet is substituted into the corresponding distance analytical equation to obtain a distance analytical equation group. The number of unknown parameters in the distance analytical equation group is the same as the number of distance analytical equations, so that the value of each unknown parameter can be analyzed to obtain a real-time distance measurement value, which is the straight-line distance between the radio wave transmitting device and the radio wave receiving device.

[0102] The model building module 400 is used to build a measured three-dimensional model, build multiple groups of measurement result planes in the measured three-dimensional model based on the real-time distance measurement value, and output the measured distance value between any two points according to the user's instruction.

[0103] In this system, the model construction module 400 constructs a three-dimensional measurement model. When measuring, the radio waves will pass through the wall, and in the process of analyzing the distance analytical equation, the distance value between the radio wave transmitting device and the wall and the wall thickness and other information are directly calculated. Therefore, the positions of the radio wave transmitting device, the radio wave receiving device and the wall can be marked in the three-dimensional coordinate system according to the above analytical results. Then the plane where the wall is located is the measurement result plane. If the radio wave transmitting device and the radio wave receiving device are installed on the plane, then the corresponding plane can also be used as the measurement result plane. Then, when the measurement value needs to be output, the actual distance value between any two points on the measurement result plane can be quickly output according to the measurement three-dimensional model.

[0104] like Figure 6 As shown, as a preferred embodiment of the present invention, the radio wave transceiver module 200 includes:

[0105] The authentication data transmission unit 201 is used to import the identity authentication data into the radio wave transmitting device, and the radio wave transmitting device transmits the identity authentication data outward via radio waves.

[0106] In this module, the authentication data transmission unit 201 imports identity authentication data into the radio wave transmitting device, and the identity authentication data is used to confirm the identity of the radio wave receiving device. The radio wave transmitting device and the radio wave receiving device are both connected to the control terminal via wireless communication. When ranging is required, the radio wave transmitting device sends the identity authentication data to the radio wave receiving device via radio waves of a preset frequency band.

[0107] The data comparison unit 202 is used to detect the identity authentication data through the radio wave receiving device and compare it with the built-in verification data. If the comparison is successful, a verification pass information is sent to the radio wave receiving device.

[0108] In this module, the data comparison unit 202 detects the identity authentication data through the radio wave receiving device. The identity authentication data can be a specific string. By checking the strings one by one, if the matching rate reaches a preset value, it is considered to be verified. The radio wave receiving device sends the verification pass information to the radio wave transmitting device through the control terminal.

[0109] The data receiving unit 203 is used to transmit radio waves through the radio wave receiving device, record the transmission frequency and transmission signal strength of the radio waves, and receive through the radio wave receiving device to obtain a received data packet.

[0110] In this module, the data receiving unit 203 determines the number of radio wave transmissions according to the number of walls, and selects multiple radio wave frequencies according to the radio wave frequency band range that the radio wave transmitting device can transmit. The selected radio wave frequencies divide the radio wave frequency band range into equal parts, thereby controlling the radio wave receiving device to transmit radio waves according to the selected multiple radio wave frequencies. When the radio waves pass through the walls, a part of them is absorbed by the walls, so the signal strength finally detected by the radio wave receiving device is reduced, and the radio wave receiving device records the value of the above signal strength.

[0111] like Figure 7 As shown, as a preferred embodiment of the present invention, the distance solving module 300 includes:

[0112] The equation constructing unit 301 is used to obtain the number of walls between the radio wave transmitting device and the radio wave receiving device, and construct a distance analytical equation based on the number of walls.

[0113] In this module, the equation construction unit 301 obtains the number of walls between the radio wave transmitting device and the radio wave receiving device, such as Fig. 9 As shown, the radio wave transmitting point is A, and the receiving points of the two radio waves are F and K respectively. When the radio wave starts from A and arrives at F, it will pass through points B and C of the first wall, and through points D and E of the second wall. Obviously, A, B, C, D, E and F are collinear. Similarly, when the radio wave starts from A and arrives at K, it will pass through points G and H of the first wall, and through points I and J of the second wall. Obviously, points A, G, H, I, J and K are collinear. Then the distance between AB is L1, the distance between BC is L2, the distance between CD is L3, the distance between DE is L4, the distance between EF is L5, the distance between AG is L6, the distance between GH is L7, the distance between HI is L8, the distance between IJ is L9, and the distance between JK is L10. For the propagation path AF, the distance analytical equation is:

[0114] P0-f k (L1)-f q (L2)-f k (L3)-f q (L4)-f k (L5) = P1

[0115] Among them, P0 is the transmission signal strength of the radio wave, P1 is the reception signal strength of the radio wave detected by the second group of receiving ends, that is, the signal strength detected by the receiving end, and f k (L i ) is the radio wave passing through the thickness L i When there is an air wall, the signal strength lost, f k (L j ) is the radio wave passing through the thickness L j The signal strength lost when there is a solid wall, where i is the number of the air wall and j is the number of the solid wall;

[0116]

[0117] Among them, f is the frequency of electromagnetic waves, c is the speed of light;

[0118]

[0119] Wherein, α is the attenuation coefficient. In the present invention, the radio wave adopts a low-frequency radio wave, whose frequency is lower than 30 MHz, and α is expressed as Where f is the frequency of the radio wave, σ is the conductivity, and μ0 is the magnetic permeability of the vacuum, which is equal to 4π*10 -7 H / m.

[0120] The number of unknown parameters in the distance analysis equation is equal to the total number of all walls (including air walls and solid walls), such as Fig. 9 As shown, the total number of walls is 5, so the number of unknown parameters in the distance analytical equation is 5. Then when transmitting radio waves, five radio waves of different frequencies are transmitted, so that the two sets of receiving ends detect 5 sets of signal strength values ​​respectively;

[0121] For the propagation path AK, the distance analytical equation is:

[0122] P0-f k (L6)-f q (L7)-f k (L8)-f q (L9)-f k (L10) = P2

[0123] Wherein, P2 is the received signal strength of the radio waves detected by the second group of receiving ends.

[0124] The constant term calculation unit 302 is used to obtain the type of the wall, determine the basic properties of the wall based on the type of the wall, the basic properties at least include the electrical conductivity and vacuum permeability of the wall, and determine the constant term of the distance analytical equation.

[0125] The equation group analysis unit 303 is used to construct a distance analysis equation group according to the frequency of the radio wave and the corresponding wireless signal strength data, and solve the two sets of real-time distance measurement values. The solution result also includes the thickness of each wall and the attenuation coefficient of the wall at different frequencies.

[0126] In this module, the type of wall is obtained, the basic properties of the wall are determined based on the type of wall, the constant term of the distance analytical equation is determined, and the frequency of the radio waves detected by the first set of receivers and the corresponding signal strength values ​​are substituted into

[0127] P0-f k (L1)-f q (L2)-f k (L3)-f q (L4)-f k (L5) = P1

[0128] By analyzing, the values ​​of L1, L2, L3, L4 and L5 are obtained;

[0129] Substitute the frequencies of the radio waves detected by the second set of receivers and the corresponding signal strength values ​​into

[0130] P0-f k (L6)-f q (L7)-f k (L8)-fq (L9)-f k (L10) = P2

[0131] By analyzing, the values ​​of L6, L7, L8, L9 and L10 are obtained. The distance between AF is L1+L2+L3+L4+L5, the distance between AK is L6+L7+L8+L9+L10, and points A, B, C, D, E, F, G, H, I, J and K are in the same horizontal plane.

[0132] like Figure 8 As shown, as a preferred embodiment of the present invention, the model building module 400 includes:

[0133] The coordinate system construction unit 401 is used to construct a three-dimensional coordinate system and mark the radio wave transmitting device and the radio wave receiving device in the three-dimensional coordinate system according to the real-time distance measurement value.

[0134] In this module, the coordinate system construction unit 401 constructs a three-dimensional coordinate system, with the plane where the horizontal plane is located as the plane determined by the X-axis and Y-axis of the three-dimensional coordinate system, and the plane where the radio wave transmitting device and the radio wave receiving device are located is determined according to the height at which the radio wave transmitting device is set, and according to the values ​​of L1 to L10 and the preset distance between FK, A, B, C, D, E, F, G, H, I, J and K are marked in the plane where the radio wave transmitting device and the radio wave receiving device are located.

[0135] The measurement plane construction unit 402 is used to construct a set of measurement result planes according to the position of the radio wave receiving device, and to construct the measurement result planes corresponding to each wall surface in the three-dimensional coordinate system according to the solution results.

[0136] The distance measurement value output unit 403 is used to obtain a user instruction, select two points on the measurement result plane according to the user instruction, and output the corresponding measured distance value.

[0137] In this module, the user instructions are obtained. In the three-dimensional coordinate system, the two parallel sides of the quadrilateral formed by BCHG are the position of the wall. Similarly, the positions of all walls are determined, and the corresponding walls are generated in the three-dimensional coordinate system. Then the position of the wall is the measurement result plane, such as the vertical plane where BG is located, the vertical plane where CH is located, the vertical plane where DI is located, the vertical plane where EJ is located, the vertical plane where FK is located, and the plane where the transmitter is located. At this time, the thickness of each wall and the distance between the walls can be measured according to the three-dimensional coordinate system. According to the user instructions, the distance between any point in any measurement result plane in the three-dimensional coordinate system and any point in another measurement result plane is determined to obtain the measured distance value.

[0138] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A distance measurement method based on radio waves, characterized in that: The method comprises: Establishing a data connection with a radio wave receiving device through a radio wave transmitting device, wherein the radio wave transmitting device has a transmitting end and the radio wave receiving device has two receiving ends; The radio wave transmitting device sends a radio wave with a preset strength value to the radio wave receiving device, and the radio wave receiving device receives the radio wave through a receiving end in the radio wave receiving device to obtain two groups of received data packets, each group of received data packets containing multiple groups of wireless signal strength data; Obtain the number of walls, construct a distance analytical equation based on the number of walls, construct a distance analytical equation group based on the wireless signal strength data recorded in the received data packet, and solve to obtain two sets of real-time distance measurement values; Construct a measurement 3D model, construct multiple sets of measurement result planes in the measurement 3D model based on the real-time distance measurement value, and output the measured distance value between any two points according to user instructions.

2. The method for measuring distance based on radio waves according to claim 1, characterized in that: The step of sending radio waves with a preset intensity value to the radio wave receiving device through the radio wave transmitting device, and receiving the radio waves through the receiving end in the radio wave receiving device to obtain two groups of received data packets specifically includes: Importing identity authentication data into the radio wave transmitting device, and the radio wave transmitting device transmits the identity authentication data to the outside via radio waves; The identity authentication data is detected by the radio wave receiving device and compared with the built-in verification data. If the comparison is successful, a verification pass message is sent to the radio wave receiving device; The radio waves are transmitted through the radio wave receiving device, the transmission frequency and transmission signal strength of the radio waves are recorded, and the radio waves are received through the radio wave receiving device to obtain a received data packet.

3. The method for ranging based on radio waves according to claim 1, characterized in that: The steps of obtaining the number of walls, constructing a distance analytical equation based on the number of walls, constructing a distance analytical equation group based on the wireless signal strength data recorded in the received data packet, and solving to obtain two sets of real-time distance measurement values ​​specifically include: Obtain the number of walls between the radio wave transmitting device and the radio wave receiving device, and construct a distance analytical equation based on the number of walls; Obtain the type of the wall, determine the basic properties of the wall based on the type of the wall, the basic properties at least including the electrical conductivity and vacuum magnetic permeability of the wall, and determine the constant term of the distance analytical equation; A distance analytical equation group is constructed according to the frequency of the radio wave and the corresponding wireless signal strength data, and two sets of real-time distance measurement values ​​are obtained by solving the equation group. The solution also includes the thickness of each wall and the attenuation coefficient of the wall at different frequencies.

4. The method for ranging based on radio waves according to claim 3, characterized in that: The step of constructing a measurement three-dimensional model, constructing multiple groups of measurement result planes in the measurement three-dimensional model based on the real-time distance measurement value, and outputting the measured distance value between any two points according to the user instruction specifically includes: Construct a three-dimensional coordinate system, and mark the radio wave transmitting device and the radio wave receiving device in the three-dimensional coordinate system according to the real-time distance measurement value; A set of measurement result planes are constructed according to the position of the radio wave receiving device, and the measurement result planes corresponding to each wall surface are constructed in the three-dimensional coordinate system according to the solution results; Get user instructions, select two points on the measurement result plane according to the user instructions, and output the corresponding measured distance value.

5. The method for ranging based on radio waves according to claim 1, characterized in that: In the step of sending radio waves with a preset intensity value to the radio wave receiving device through the radio wave transmitting device, the number of times the radio waves are transmitted is determined by the number of walls, and the frequency of the radio waves transmitted each time is different.

6. A distance measurement system based on radio waves, characterized in that: The system comprises: A data connection module, used to establish a data connection with the radio wave receiving device through the radio wave transmitting device, wherein the radio wave transmitting device has a transmitting end and the radio wave receiving device has two receiving ends; A radio wave transceiver module is used to send radio waves of preset strength value to the radio wave receiving device through the radio wave transmitting device, and receive the radio waves through the receiving end in the radio wave receiving device to obtain two groups of received data packets, each group of received data packets contains multiple groups of wireless signal strength data; A distance solving module is used to obtain the number of walls, construct a distance analytical equation based on the number of walls, construct a distance analytical equation group based on the wireless signal strength data recorded in the received data packet, and solve to obtain two sets of real-time distance measurement values; The model building module is used to build a measured three-dimensional model. Based on the real-time distance measurement value, multiple sets of measurement result planes are built in the measured three-dimensional model, and the measured distance value between any two points is output according to the user's instructions.

7. The radio wave based ranging system according to claim 6, characterized in that: The radio wave transceiver module comprises: An authentication data transmission unit, used for importing identity authentication data into the radio wave transmitting device, and the radio wave transmitting device transmits the identity authentication data outwardly through radio waves; A data comparison unit, used to detect the identity authentication data through the radio wave receiving device, compare it with the built-in verification data, and if the comparison is successful, send a verification pass message to the radio wave receiving device; The data receiving unit is used to transmit radio waves through the radio wave receiving device, record the transmission frequency and transmission signal strength of the radio waves, receive through the radio wave receiving device, and obtain a received data packet.

8. The radio wave based ranging system according to claim 6, characterized in that: The distance solving module comprises: An equation building unit, used for obtaining the number of walls between the radio wave transmitting device and the radio wave receiving device, and building a distance analytical equation based on the number of walls; A constant term calculation unit, used for obtaining the type of the wall, determining the basic properties of the wall based on the type of the wall, the basic properties at least including the electrical conductivity and vacuum magnetic permeability of the wall, and determining the constant term of the distance analytical equation; The equation group analysis unit is used to construct a distance analysis equation group according to the frequency of the radio wave and the corresponding wireless signal strength data, and solve the two groups of real-time distance measurement values. The solution result also includes the thickness of each wall and the attenuation coefficient of the wall at different frequencies.

9. The radio wave based ranging system according to claim 8, characterized in that: The model building module includes: A coordinate system construction unit, used to construct a three-dimensional coordinate system, and mark the radio wave transmitting device and the radio wave receiving device in the three-dimensional coordinate system according to the real-time distance measurement value; A measurement plane construction unit is used to construct a set of measurement result planes according to the position of the radio wave receiving device, and to construct the measurement result planes corresponding to each wall surface in the three-dimensional coordinate system according to the solution result; The distance measurement value output unit is used to obtain user instructions, select two points on the measurement result plane according to the user instructions, and output the corresponding measured distance value.

10. The radio wave based ranging system according to claim 6, characterized in that: In the step of sending radio waves with a preset intensity value to the radio wave receiving device through the radio wave transmitting device, the number of times the radio waves are transmitted is determined by the number of walls, and the frequency of the radio waves transmitted each time is different.

Citation Information

Patent Citations

  • Physical-layer-based method and device for realizing indoor positioning of wireless network

    CN102421189A

  • Method for distinguishing wireless transmission multipath in wireless signal strength ranging technology

    CN102647785A

  • Distance estimation

    CN103917888A

  • Fingerprint database updating method and device, computer equipment and storage medium

    CN116578573A

  • Building influence magnetic field attenuation model real-time resolving method based on frequency scanning

    CN118245708A