A Radio Wave-Based Distance Measurement Method and System

By establishing the connection between the radio wave transmitting and receiving device, the distance analysis equation is constructed and the wall position is marked in the three-dimensional model, the distance calculation problem when the wall exists in wireless ranging technology is solved, and efficient and convenient ranging is achieved.

CN119780894BActive Publication Date: 2025-08-05QINGDAO UNIV OF TECH INNOVATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

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

Method used

The radio wave transmitting device establishes a data connection with the radio wave receiving device, sends radio waves with preset intensity values, obtains the number of walls, constructs a distance analysis equation, and builds a system of distance analysis equations based on the wireless signal intensity data in the received data packet, solves the real-time distance measurement value, and builds a measurement result plane in a three-dimensional model to output the measured distance between any two points.

Benefits of technology

It improves measurement efficiency, can penetrate the wall, improves measurement convenience, and directly outputs the distance between any two points on the measurement result plane.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119780894B_ABST
    Figure CN119780894B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the technical field of wireless ranging, and particularly relates to a ranging method and system based on radio waves. The method includes: sending radio waves with a preset intensity value from a radio wave transmitting device to a radio wave receiving device to obtain two sets of received data packets; obtaining the number of walls, constructing a distance analysis equation, constructing a distance analysis equation set based on the recorded radio signal strength data in the received data packets, and solving to obtain two sets of real-time ranging values; constructing a measurement three-dimensional model, constructing multiple sets of measurement result planes, and outputting the measured distance value between any two points according to a user instruction. According to the present invention, the thickness and position of the wall are calculated based on the attenuation of the radio waves in the transmission path, multiple measurement result planes are constructed, and the distance between any two points on the measurement result plane can be directly output, greatly improving the measurement efficiency and enhancing the convenience of measurement as the radio waves can penetrate the wall.
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 ranging, and particularly relates to a ranging method and system based on radio waves. Background Art

[0002] Wireless ranging technology refers to the technology of measuring the distance between two devices through the propagation characteristics of radio signals in space. It usually calculates the distance between the two based on parameters such as the propagation time of the signal (such as the Time of Flight method ToF), phase difference, signal strength attenuation, or Doppler effect, by a transmitter sending a specific signal and a receiver receiving the signal. This technology is widely used in radar systems, GPS positioning, UAV navigation, intelligent transportation systems, indoor positioning services, and Internet of Things devices to provide accurate distance information to support various automated and intelligent applications.

[0003] In the existing ranging process, the distance value is mainly calculated according to the signal attenuation between two points. When there is a wall between the two points, it is difficult for the existing measurement methods to calculate the distance between them. Summary of the Invention

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

[0005] The present invention is implemented as follows. A ranging method based on radio waves, the method includes:

[0006] Establish a data connection through a radio wave transmitting device and a radio wave receiving device. The radio wave transmitting device has a transmitting end, and the radio wave receiving device is provided with two receiving ends;

[0007] Send radio waves with a preset intensity value from the radio wave transmitting device to the radio wave receiving device, and receive them through the receiving ends 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;

[0008] Obtain the number of walls, construct a distance analysis equation based on the number of walls, construct a distance analysis equation set based on the recorded wireless signal strength data in the received data packets, and solve to obtain two groups of real-time ranging values;

[0009] Construct a measurement three-dimensional model, construct multiple groups of measurement result planes in the measurement three-dimensional model based on the real-time ranging values, and output the measured distance value between any two points according to the user instruction.

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

[0011] Import the authentication data into the radio wave transmitting device, and the radio wave transmitting device transmits the authentication data outward via radio waves;

[0012] Detect the 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 passed message to the radio wave receiving device;

[0013] 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 the received data packet.

[0014] Preferably, the steps of obtaining the number of walls, constructing a distance analysis equation based on the number of walls, constructing a distance analysis equation set based on the recorded radio signal strength data 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 analysis equation based on the number of walls;

[0016] Obtain the type of the wall, determine the basic attributes of the wall based on the type of the wall, the basic attributes at least include the conductivity and vacuum permeability of the wall, and determine the constant term of the distance analysis equation;

[0017] Construct a distance analysis equation set according to the frequency of the radio wave and the corresponding radio signal strength data, solve to obtain two sets of real-time ranging values, solve to obtain the real-time ranging values, and the solution results also include the thickness of each wall and the attenuation coefficient of the wall at different frequencies.

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

[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 ranging values;

[0020] Construct a set of measurement result planes according to the position where the radio wave receiving device is located, and construct the measurement result planes corresponding to each wall in the three-dimensional coordinate system according to the solution results;

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

[0022] Preferably, in the step of transmitting radio waves with a preset intensity value from the radio wave transmitting device to the radio wave receiving device, the number of times of transmitting radio waves 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 radio wave-based ranging system, which includes:

[0024] A data connection module for establishing a data connection between a radio wave transmitting device and a radio wave receiving device. The radio wave transmitting device has a transmitting end, and the radio wave receiving device is provided with two receiving ends;

[0025] A radio wave transceiver module for sending radio waves with a preset intensity value to the radio wave receiving device through the radio wave transmitting device, and receiving through the receiving ends in the radio wave receiving device to obtain two groups of received data packets. Each group of received data packets contains multiple groups of radio signal intensity data;

[0026] A distance solving module for obtaining the number of walls, constructing a distance analysis equation based on the number of walls, constructing a distance analysis equation set based on the radio signal intensity data recorded in the received data packets, and solving to obtain two groups of real-time ranging values;

[0027] A model construction module for constructing a measurement three-dimensional model, constructing multiple groups of measurement result planes in the measurement three-dimensional model based on the real-time ranging values, and outputting the measured distance value between any two points according to the user instruction.

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

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

[0030] A data comparison unit for detecting the identity authentication data through the radio wave receiving device, comparing it with the built-in verification data. If the comparison is successful, a verification passed message is sent to the radio wave receiving device;

[0031] A data receiving unit for transmitting radio waves through the radio wave receiving device, recording the transmission frequency and transmission signal intensity of the radio waves, and receiving through the radio wave receiving device to obtain received data packets.

[0032] Preferably, the distance solving module includes:

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

[0034] A constant term calculation unit for obtaining the type of the wall, determining the basic attributes of the wall based on the type of the wall. The basic attributes at least include the conductivity and vacuum permeability of the wall, and determining the constant term of the distance analysis equation;

[0035] An equation set analysis unit is configured to construct a distance analysis equation set based on the frequency of radio waves and the corresponding wireless signal strength data, solve to obtain two sets of real-time ranging values, and the obtained real-time ranging values also include the thickness of each wall and the attenuation coefficient of the wall at different frequencies.

[0036] Preferably, the model construction module includes:

[0037] A coordinate system construction unit is configured 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 ranging values;

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

[0039] A ranging value output unit is configured 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.

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

[0041] A ranging method based on radio waves provided by the present invention performs radio wave transmission and reception between a radio wave transmitting device and a radio wave receiving device, calculates the thickness and position of a wall according to the attenuation of radio waves in the transmission path, so as to be able to construct multiple measurement result planes, directly output the distance between any two points on the measurement result plane, greatly improving the measurement efficiency and being able to penetrate the wall, enhancing the convenience of measurement. Description of the Drawings

[0042] Figure 1 It is a flowchart of a ranging method based on radio waves provided by an embodiment of the present invention;

[0043] Figure 2 It is a flowchart of the step of transmitting radio waves with a preset intensity value from the radio wave transmitting device to the radio wave receiving device and receiving them through a receiving end in the radio wave receiving device to obtain two sets of received data packets provided by an embodiment of the present invention;

[0044] Figure 3 It is a flowchart of the steps of obtaining the number of walls, constructing a distance analysis equation based on the number of walls, constructing a distance analysis equation set based on the recorded wireless signal strength data in the received data packets, and solving to obtain two sets of real-time ranging values provided by an embodiment of the present invention;

[0045] Figure 4Flowchart of the steps for 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 ranging values, and outputting the measured distance value between any two points according to a user instruction;

[0046] Figure 5 Architecture diagram of a ranging system based on radio waves provided by an embodiment of the present invention;

[0047] Figure 6 Architecture diagram of a radio wave transceiver module provided by an embodiment of the present invention;

[0048] Figure 7 Architecture diagram of a distance solving module provided by an embodiment of the present invention;

[0049] Figure 8 Architecture diagram of a model construction module provided by an embodiment of the present invention;

[0050] Figure 9 Schematic diagram of the principle of a ranging method based on radio waves provided by an embodiment of the present invention. Detailed implementation manners

[0051] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to 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 used to limit the present invention.

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

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

[0054] In this step, establish a data connection through 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, and the distance between the receiving ends is fixed. When the transmitting end in the radio wave transmitting device transmits radio waves, both groups of receiving ends can detect the corresponding radio waves. Before ranging, the radio wave transmitting device and the radio wave receiving device establish a data connection through a preset frequency band to achieve the communication process.

[0055] S200, send radio waves with a preset intensity value from a radio wave transmitting device to a radio wave receiving device, and receive them through a receiving end in the radio wave receiving device to obtain two groups of received data packets, and each group of received data packets contains multiple groups of radio signal strength data.

[0056] In this step, send radio waves with a preset intensity value from a radio wave transmitting device to a radio wave receiving device. The radio wave transmitting device will emit radio waves multiple times. Each time radio waves are emitted, the frequency of the radio waves is changed, and the signal strength of the radio waves emitted each time is made the same. Then, the receiving end in the radio wave receiving device receives the radio waves of the corresponding frequency band. When receiving, record the signal strength of the detected radio waves to generate received data packets.

[0057] S300, obtain the number of walls, construct a distance analysis equation based on the number of walls, construct a distance analysis equation set based on the recorded radio signal strength data in the received data packets, and solve to obtain two groups of real-time ranging values.

[0058] In this step, obtain the number of walls. The walls are the walls existing between the radio wave transmitting device and the radio wave receiving device. When radio waves pass through the walls, the signal strength of the radio waves will decrease, and the absorption ability of the walls for radio waves of different frequency bands is different. That is, when radio waves of different frequency bands pass through the same wall, the loss rate of their signal strength is different. Construct a corresponding distance analysis equation according to the number of walls, and determine the number of times the radio wave transmitting device emits radio waves according to the number of unknown parameters in the distance analysis equation. Each time radio waves are emitted, a group of distance analysis equations is obtained. Substitute the data in the received data packets into the corresponding distance analysis equations to obtain a distance analysis equation set. When the number of unknown parameters in the distance analysis equation set is the same as the number of distance analysis equations, the value of each unknown parameter can be analyzed to obtain the real-time ranging value. The real-time ranging value is the straight-line distance between the radio wave transmitting device and the radio wave receiving device.

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

[0060] In this step, a measurement three-dimensional model is constructed. When performing the measurement, radio waves will pass through the wall, and during the process of analyzing the distance analysis equation, the distance value between the radio wave transmitting device and the wall, as well as the wall thickness and other information, are directly calculated. Therefore, based on the above analysis results, 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. 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 a plane, then the corresponding plane can also be used as the measurement result plane. When it is necessary to output the measurement value, the measured distance value between any two points on the measurement result plane can be quickly output according to the measurement three-dimensional model.

[0061] As Figure 2 shown, as a preferred embodiment of the present invention, the step of sending radio waves with a preset intensity value from the radio wave transmitting device to the radio wave receiving device and receiving them through the receiving end in the radio wave receiving device specifically includes:

[0062] S201, import identity authentication data into the radio wave transmitting device, and the radio wave transmitting device transmits the identity authentication data outward through radio waves.

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

[0064] S202, detect the identity authentication data through the radio wave receiving device, compare it with the built-in verification data. If the comparison is successful, send a verification passed message to the radio wave receiving device.

[0065] In this step, detect the identity authentication data through the radio wave receiving device. The identity authentication data can be a specific string. By checking the string one by one, if the matching rate reaches the preset value, it is regarded as verification passed. The radio wave receiving device sends a verification passed message to the radio wave transmitting device through the control terminal.

[0066] S203, emit radio waves through the radio wave receiving device, record the emission frequency and emission signal intensity of the radio waves, and receive them through the radio wave receiving device to obtain received data packets.

[0067] In this step, determine the number of times of radio wave emission according to the number of walls. Select multiple radio frequencies from the radio frequency band range that the radio wave emission device can emit. The selected radio frequencies divide the radio frequency band range equally, so as to control the radio wave receiving device to emit radio waves according to the selected multiple radio frequencies. When the radio waves pass through the walls, a part of them is absorbed by the walls. Therefore, the signal intensity finally detected by the radio wave receiving device decreases, and the radio wave receiving device records the value of the above signal intensity.

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

[0069] S301. Obtain the number of walls between the radio wave emission device and the radio wave receiving device, and construct a distance analysis equation based on the number of walls.

[0070] In this step, obtain the number of walls between the radio wave emission device and the radio wave receiving device. As Figure 9 shown, the radio wave emission point is A, and the two radio wave receiving points are F and K respectively. When the radio wave travels from A to point F, it will pass through points B and C of the first wall and points D and E of the second wall. Obviously, A, B, C, D, E, and F are collinear. Similarly, when the radio wave travels from A to point K, it will pass through points G and H of the first wall and points I and J of the second wall. Obviously, 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 of AF, the distance analysis equation is:

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

[0072] Where, P0 is the emission signal intensity of the radio wave, P1 is the received signal intensity of the radio wave detected by the second set of receiving ends, that is, the signal intensity detected by the receiving end, f k (L i ) is the radio wave when passing through a thickness of L iWhen passing through the air wall, the lost signal strength, f k (L j ) is the signal strength lost when the radio wave passes through the solid wall with a thickness of L j , where i is the number of the air wall and j is the number of the solid wall; where

[0073]

[0074] where f is the frequency of the electromagnetic wave and c is the speed of light;

[0075]

[0076] where α is the attenuation coefficient. In this invention, the radio wave uses a low-frequency radio wave with a frequency 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 vacuum, 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). As Figure 9 shown, if the total number of walls is 5, the number of unknown parameters in the distance analysis equation is 5. Then when transmitting radio waves, radio waves with five different frequencies are transmitted, so that two groups of receiving ends respectively detect 5 groups of signal strength values;

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

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

[0080] where P2 is the received signal strength of the radio wave detected by the second group of receiving ends.

[0081] S302. Obtain the type of the wall, determine the basic attributes of the wall based on the type of the wall. The basic attributes at least include the conductivity and magnetic permeability of vacuum of the wall, and determine the constant term of the distance analysis equation.

[0082] S303. Construct a distance analysis equation set according to the frequency of the radio wave and the corresponding wireless signal strength data, solve to obtain two groups of real-time ranging values. The obtained real-time ranging values also include the thickness of each wall and the attenuation coefficient of the wall at different frequencies.

[0083] In this step, obtain the type of the wall, determine the basic attributes of the wall based on the type of the wall, determine the constant term of the distance analysis equation, and substitute the frequency of the radio wave detected by the first group of receiving ends and the corresponding signal strength value into

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

[0085] By performing analysis, obtain the numerical values of L1, L2, L3, L4, and L5;

[0086] Substitute the frequency of the radio wave detected by the second group of receiving ends and the corresponding signal strength value into

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

[0088] By performing analysis, obtain the numerical values of L6, L7, L8, L9, and L10. The distance between A and F is L1 + L2 + L3 + L4 + L5, and the distance between A and K is L6 + L7 + L8 + L9 + L10. Points A, B, C, D, E, F, G, H, I, J, and K are in the same horizontal plane.

[0089] As Figure 4 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 real-time ranging values, and outputting the measured distance value between any two points according to a user instruction specifically includes:

[0090] S401, 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 ranging value.

[0091] In this step, construct a three-dimensional coordinate system. Take 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. Determine the plane where the radio wave transmitting device and the radio wave receiving device are located according to the height set by the radio wave transmitting device. Mark A, B, C, D, E, F, G, H, I, J, and K in the plane where the radio wave transmitting device and the radio wave receiving device are located according to the numerical values of L1 to L10 and the preset distance between F and K.

[0092] S402. Construct a set of measurement result planes based on the position of the radio wave receiving device, and construct the measurement result planes corresponding to each wall in a three-dimensional coordinate system according to the solved results.

[0093] S403. Obtain a user instruction, select two points on the measurement result plane according to the user instruction, and output the corresponding measured distance value.

[0094] In this step, obtain a user instruction. In a three-dimensional coordinate system, for the quadrilateral formed by BCHG, its two parallel sides are the positions where the wall is located. Similarly, determine the positions of all walls. Then, corresponding walls are generated in the three-dimensional coordinate system. The position where the wall surface is located 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 walls can be measured according to the three-dimensional coordinate system. According to the user instruction, determine the distance between any point on any measurement result plane in the three-dimensional coordinate system and any point on another measurement result plane to obtain the measured distance value.

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

[0096] A data connection module 100, configured to establish a data connection between a radio wave transmitting device and a radio wave receiving device. 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 between the radio wave transmitting device and the 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, and the distance between the receiving ends is fixed. When the transmitting end in the radio wave transmitting device transmits radio waves, both groups of receiving ends can detect the corresponding radio waves. Before ranging, the radio wave transmitting device and the radio wave receiving device establish a data connection through a preset frequency band to implement the communication process.

[0098] A radio wave transceiver module 200, configured to send radio waves with a preset intensity value from the radio wave transmitting device to the radio wave receiving device, and receive them through the receiving ends in the radio wave receiving device to obtain two groups of received data packets. Each group of received data packets contains multiple groups of radio signal strength data.

[0099] In this system, the radio wave transceiver module 200 sends radio waves with a preset intensity 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 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 receiving end in the radio wave receiving device receives the radio waves in the corresponding frequency band. When receiving, the signal intensity of the detected radio waves is recorded to generate a received data packet.

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

[0101] In this system, the distance solving module 300 obtains the number of walls. The walls are the walls existing between the radio wave transmitting device and the radio wave receiving device. When radio waves pass through the walls, the signal intensity of the radio waves will decrease, and the absorption ability of the walls for radio waves of different frequency bands is different. That is, when radio waves of different frequency bands pass through the same wall, the loss rate of their signal intensity is different. According to the number of walls, a corresponding distance analysis equation is constructed. According to the number of unknown parameters in the distance analysis equation, the number of times the radio wave transmitting device transmits radio waves is determined. Each time radio waves are transmitted, a set of distance analysis equations is obtained. Substitute the data in the received data packet into the corresponding distance analysis equation, and a distance analysis equation set is obtained. If the number of unknown parameters in the distance analysis equation set is the same as the number of distance analysis equations, the value of each unknown parameter can be analyzed to obtain the real-time ranging value. The real-time ranging value is the straight-line distance between the radio wave transmitting device and the radio wave receiving device.

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

[0103] In this system, the model construction module 400 constructs a measurement three-dimensional model. During measurement, radio waves will pass through the walls, and in the process of analyzing the distance analysis equation, the distance value between the radio wave transmitting device and the wall, 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 walls can be marked in the three-dimensional coordinate system according to the above analysis results. Then the plane where the walls are 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 measured distance value between any two points on the measurement result plane can be quickly output according to the measurement three-dimensional model.

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

[0105] An authentication data transmission unit 201 for importing identity authentication data into the radio wave transmitting device, and the radio wave transmitting device transmits the identity authentication data outward through radio waves.

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

[0107] A data comparison unit 202 for detecting the identity authentication data through the radio wave receiving device, comparing it with the built-in verification data. If the comparison is successful, a verification passed message 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 string one by one, if the matching rate reaches the preset value, it is regarded as verification passed. The radio wave receiving device sends a verification passed message to the radio wave transmitting device through the control terminal.

[0109] A data receiving unit 203 for transmitting radio waves through the radio wave receiving device, recording the transmission frequency and transmission signal strength of the radio waves, and receiving 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 times of radio wave transmission according to the number of walls, selects multiple radio frequencies from the range of radio wave frequencies that the radio wave transmitting device can transmit. The selected radio frequencies divide the radio wave frequency band range equally, so as to control the radio wave receiving device to transmit radio waves according to the selected multiple radio 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] As Figure 7 As shown, as a preferred embodiment of the present invention, the distance solving module 300 includes:

[0112] An equation construction unit 301 for obtaining the number of walls between the radio wave transmitting device and the radio wave receiving device and constructing a distance analysis 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. As Figure 9 shown, the radio wave transmitting point is A, and the two radio wave receiving points are F and K respectively. During the process of the radio wave traveling from A to point F, it will pass through points B and C of the first wall and points D and E of the second wall. Obviously, A, B, C, D, E, and F are collinear. Similarly, during the process of the radio wave traveling from A to point K, it will pass through points G and H of the first wall and points I and J of the second wall. Obviously, 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 of AF, the distance analysis equation is:

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

[0115] where P0 is the transmitted signal strength of the radio wave, P1 is the received signal strength of the radio wave detected by the second group of receivers, that is, the signal strength detected by the receiver, and f k (L i ) is the signal strength loss when the radio wave passes through an air wall with a thickness of L i , and f k (L j ) is the signal strength loss when the radio wave passes through a solid wall with a thickness of L j . Here, i is the number of the air wall, and j is the number of the solid wall; where

[0116]

[0117] where f is the frequency of the electromagnetic wave and c is the speed of light;

[0118]

[0119] where α is the attenuation coefficient. In this invention, the radio wave uses a low-frequency radio wave with a frequency lower than 30 MHz, and α is expressed as where f is the frequency of the radio wave, σ is the conductivity, and μ0 is the vacuum permeability, 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), as Figure 9 shown. If the total number of walls is 5, then the number of unknown parameters in the distance analysis equation is 5. When transmitting radio waves, radio waves of five different frequencies are transmitted, so that two groups of receiving ends respectively detect 5 groups of signal intensity values;

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

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

[0123] where P2 is the received signal intensity of the radio wave 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 conductivity and vacuum permeability of the wall, and determine the constant term of the distance analysis equation.

[0125] The equation set analysis unit 303 is used to construct a distance analysis equation set according to the frequency of the radio wave and the corresponding radio signal intensity data, solve to obtain two groups of real-time ranging values. The obtained real-time ranging values also include the thickness of each wall and the attenuation coefficient of the wall at different frequencies.

[0126] In this module, obtain the type of the wall, determine the basic properties of the wall based on the type of the wall, determine the constant term of the distance analysis equation, and substitute the frequency of the radio wave detected by the first group of receiving ends and the corresponding signal intensity value into

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

[0128] By analyzing, obtain the numerical values of L1, L2, L3, L4 and L5;

[0129] Substitute the frequency of the radio wave detected by the second group of receiving ends and the corresponding signal intensity value into

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

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

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

[0133] A coordinate system construction unit 401 for 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 ranging values.

[0134] In this module, the coordinate system construction unit 401 constructs a three-dimensional coordinate system. 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. According to the height set by the radio wave transmitting device, the plane where the radio wave transmitting device and the radio wave receiving device are located is determined. According to the numerical values of L1 to L10 and the preset distance between F and K, 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] A measurement plane construction unit 402 for constructing a set of measurement result planes according to the position of the radio wave receiving device and constructing the measurement result planes corresponding to each wall surface in the three-dimensional coordinate system according to the solved results.

[0136] A ranging value output unit 403 for obtaining a user instruction, selecting two points on the measurement result plane according to the user instruction, and outputting the corresponding measured distance value.

[0137] In this module, a user instruction is obtained. In the three-dimensional coordinate system, for the quadrilateral formed by BCHG, its two parallel sides are the positions where the wall is located. Similarly, the positions of all walls are determined, and then corresponding walls are generated in the three-dimensional coordinate system. The position where the wall surface is located 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 walls can be measured according to the three-dimensional coordinate system. According to the user instruction, the distance between any point on any measurement result plane in the three-dimensional coordinate system and any point on another measurement result plane is determined to obtain the measured distance value.

[0138] The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A ranging 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 having a transmitting end and a radio wave receiving device having two receiving ends; The radio wave transmitting device transmits radio waves of a preset strength value to the radio wave receiving device, which are received by a receiving terminal in the radio wave receiving device to obtain two sets of received data packets, each set of received data packets containing multiple sets of wireless signal strength data. The radio wave transmitting device sends radio waves of the same signal strength but different frequencies to the radio wave receiving device, and the radio wave receiving device receives and obtains the corresponding wireless signal strength data. Obtain the number of walls and construct a distance analytical equation based on the number of walls. Then, construct a set of distance analytical equations based on the wireless signal strength data recorded in the received data packet. Solve the equations to obtain two sets of real-time ranging values: transmitted signal strength minus the signal strength lost when the radio wave passes through different walls = received signal strength. Walls are classified as air walls or solid walls. 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; Obtaining the type of the wall, determining basic properties of the wall based on the type of the wall, the basic properties including at least the electrical conductivity and vacuum magnetic permeability of the wall, and determining the constant term of the distance analytical equation; A set of distance analytical equations is constructed based on the frequency of the radio waves and the corresponding wireless signal strength data. The solutions are then solved to obtain two sets of real-time distance measurements. The solution also includes the thickness of each wall and the attenuation coefficient of the wall at different frequencies. Build a three-dimensional measurement model, construct multiple sets of measurement result planes in the three-dimensional measurement model based on real-time distance measurement values, and output the measured distance value between any two points according to user instructions; The steps of constructing a measurement three-dimensional model, constructing multiple sets of measurement result planes in the measurement three-dimensional model based on the real-time distance measurement values, and outputting the measured distance value between any two points according to user instructions specifically include: 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 ranging value; Construct a set of measurement result planes according to the location of the radio wave receiving device, and construct the measurement result planes corresponding to each wall surface 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.

2. The method for measuring distance based on radio waves according to claim 1, wherein: The step of sending radio waves of 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 transmitting the identity authentication data outward via radio waves; The radio wave receiving device detects the identity authentication data and compares it with the built-in verification data. If the comparison is successful, a verification pass message is sent to the radio wave transmitting device; Radio waves are transmitted through a radio wave transmitting device, the transmission frequency and transmission signal strength of the radio waves are recorded, and the radio waves are received through a radio wave receiving device to obtain a received data packet.

3. The method for measuring distance based on radio waves according to claim 1, wherein: In the step of transmitting 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.

4. A ranging system based on radio waves, characterized in that: The system comprises: A data connection module, configured to establish a data connection with a radio wave receiving device via 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; A radio wave transceiver module is used to transmit radio waves of a preset strength value to a radio wave receiving device through a radio wave transmitting device, which is received by a receiving terminal in the radio wave receiving device to obtain two sets of received data packets, each set of received data packets containing multiple sets of wireless signal strength data. The radio wave transmitting device transmits radio waves of the same signal strength but different frequencies to the radio wave receiving device, and the radio wave receiving device receives and obtains the corresponding wireless signal strength data; The distance calculation module is used to obtain the number of walls, construct a distance analytical equation based on the number of walls, and construct a distance analytical equation group based on the wireless signal strength data recorded in the received data packet. The solution obtains two sets of real-time ranging values: the transmitted signal strength minus the signal strength lost when the radio wave passes through different walls = the received signal strength. Walls are divided into air walls and solid walls. The distance solving module includes: an equation building unit, configured to obtain the number of walls between the radio wave transmitting device and the radio wave receiving device, and to build a distance analytical equation based on the number of walls; a constant term calculation unit, configured to obtain the type of the wall, determine basic properties of the wall based on the type of the wall, the basic properties including at least electrical conductivity and vacuum permeability of the wall, and determine the constant term of the distance analytical equation; The equation group analysis unit is used to construct a distance analysis equation group based on the frequency of the radio wave and the corresponding wireless signal strength data, and solve it 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; The model building module is used to build a three-dimensional measurement model, construct multiple sets of measurement result planes in the three-dimensional measurement model based on real-time distance measurement values, and output the measured distance value between any two points according to user instructions; The model building module includes: A coordinate system construction unit 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 ranging 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 a three-dimensional coordinate system according to the solution results; The distance 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.

5. The radio wave based ranging system according to claim 4, characterized in that The radio wave transceiver module includes: An authentication data transmission unit, configured to input identity authentication data into the radio wave transmitting device, and the radio wave transmitting device transmits the identity authentication data outward via radio waves; The data comparison unit 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, it sends a verification pass message to the radio wave transmitting device; The data receiving unit is used to transmit radio waves through the radio wave transmitting device, record the transmission frequency and transmission signal strength of the radio waves, receive the radio waves through the radio wave receiving device, and obtain a received data packet.

6. The radio wave based ranging system according to claim 4, characterized in that In the step of transmitting 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

  • Distance estimation

    CN103917888A

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

    CN116578573A