CN112636852B - Method, device and medium for visualizing transmission effect of indoor wireless signal - Google Patents

Method, device and medium for visualizing transmission effect of indoor wireless signal Download PDF

Info

Publication number
CN112636852B
CN112636852B CN202011510352.3A CN202011510352A CN112636852B CN 112636852 B CN112636852 B CN 112636852B CN 202011510352 A CN202011510352 A CN 202011510352A CN 112636852 B CN112636852 B CN 112636852B
Authority
CN
China
Prior art keywords
signal
wireless signal
wireless
transmission
attenuation value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011510352.3A
Other languages
Chinese (zh)
Other versions
CN112636852A (en
Inventor
陈利欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202011510352.3A priority Critical patent/CN112636852B/en
Publication of CN112636852A publication Critical patent/CN112636852A/en
Application granted granted Critical
Publication of CN112636852B publication Critical patent/CN112636852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a transmission effect visualization method of indoor wireless signals, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: acquiring a signal attenuation value of a wireless signal in a current scene by using a preset attenuation table, wherein the preset attenuation table comprises at least one object and a signal attenuation value corresponding to the object, and the object is used for reflecting the wireless signal to generate a reflected signal; calculating signal parameters of corresponding reflection signals by using signal attenuation values corresponding to objects in the current scene; superposing the direct signal and at least one reflected signal to obtain a received signal, wherein the direct signal is a signal which is directly transmitted to receiving equipment by a wireless signal; and displaying the signal waveforms of the direct-emitting signal and the received signal. Through the mode, the transmission effect of the indoor wireless signals can be visualized.

Description

Method, device and medium for visualizing transmission effect of indoor wireless signal
Technical Field
The application relates to the technical field of communication, in particular to a method for visualizing transmission effect of indoor wireless signals, an electronic device and a computer-readable storage medium.
Background
In the field of Internet of Things (IOT, internet of Things), an inner saw test method is often adopted when confirming wireless communication performance, and the intelligent device is actually controlled to confirm the coverage of a wireless signal and judge whether the coverage is stable, for example, after the wireless intelligent device is equipped with a network, the position of the intelligent device is continuously moved, the distance between the intelligent device and an indoor routing device is slightly lengthened, and then the signal stability of the wireless signal at a certain specific distance is checked in an application program.
Disclosure of Invention
The application provides a method for visualizing transmission effect of indoor wireless signals, an electronic device and a computer readable storage medium, which can realize visualization of transmission effect of indoor wireless signals.
In order to solve the technical problem, the technical scheme adopted by the application is as follows: a method for visualizing the transmission effect of indoor wireless signals is provided, and comprises the following steps: acquiring a signal attenuation value of a wireless signal in a current scene by using a preset attenuation table, wherein the preset attenuation table comprises at least one object and a signal attenuation value corresponding to the object, and the object is used for reflecting the wireless signal to generate a reflected signal; calculating signal parameters of corresponding reflection signals by using signal attenuation values corresponding to objects in the current scene; superposing the direct signal and at least one reflected signal to obtain a received signal, wherein the direct signal is a signal which is directly transmitted to receiving equipment by a wireless signal; and displaying the signal waveforms of the direct signal and the received signal.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided an electronic device comprising a memory and a processor connected to each other, wherein the memory is used for storing a computer program, and the computer program, when being executed by the processor, is used for implementing the method for visualizing the transmission effect of an indoor wireless signal in the above technical solution.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a computer-readable storage medium for storing a computer program for implementing the method for visualizing the transmission effect of an indoor wireless signal in the above technical solution when the computer program is executed by a processor.
Through the scheme, the beneficial effects of the application are that: firstly, a preset attenuation table is established through measurement, and the preset attenuation table comprises at least one object in the current scene and a signal attenuation value corresponding to the object; then, a signal attenuation value of the wireless signal in the current scene is obtained by using a preset attenuation table, and then the signal attenuation value is used for calculating the signal parameter of the reflected signal generated by the reflection of the object in the current scene; then, overlapping a direct signal formed by the wireless signal reaching the receiving equipment without obstacle and at least one reflected signal generated by the wireless signal encountering an object to generate a received signal; and then, the signal waveforms of the received signal and the direct signal are displayed so as to compare the waveforms and the signal parameters of the direct signal and the received signal, so that the indoor transmission effect of the wireless signal can be visually judged, the transmission effect of the indoor wireless signal can be visualized, a user can conveniently observe the transmission effect of the wireless signal in the current scene, a reference meaning is provided for the position arrangement of network equipment, and the user can conveniently adjust the positions of the generation equipment and the receiving equipment of the wireless signal so as to meet the application requirement.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
fig. 1 is a schematic flow chart of an embodiment of a method for visualizing a transmission effect of an indoor wireless signal provided by the present application;
FIG. 2 is a schematic diagram of the transmission path of a wireless signal provided by the present application indoors;
fig. 3 is a schematic flow chart of another embodiment of a method for visualizing transmission effect of indoor wireless signals provided by the present application;
FIG. 4 is a schematic flow chart of step 33 in FIG. 3;
FIG. 5 is a schematic flow chart of step 34 of FIG. 3;
FIG. 6 is a schematic diagram of another path for indoor transmission of wireless signals provided herein;
fig. 7 is a schematic waveform of a direct signal provided by the present application;
FIG. 8 is a waveform diagram of a received signal provided herein;
FIG. 9 is a schematic structural diagram of an embodiment of an electronic device provided in the present application;
FIG. 10 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a method for visualizing a transmission effect of an indoor wireless signal, the method including:
step 11: and acquiring a signal attenuation value of the wireless signal in the current scene by using a preset attenuation table.
The wireless signal may be a wireless signal sent by an indoor wireless Access Point (AP), and the wireless signal is finally sent to the receiving device through transmission, so as to implement wireless communication between the wireless AP and the receiving device, where the wireless AP may be a routing device.
When the wireless signal is transmitted indoors, the wireless signal meets an indoor object and is reflected by the object to generate a reflected signal; specifically, the objects include indoor reinforced concrete, building materials such as bearing walls and the like, and objects such as furniture and the like, when encountering obstacles, the wireless signals are reflected to a certain degree, and meanwhile, the amplitude of the wireless signals is attenuated to a certain degree; because the wireless signals have different signal attenuation degrees when encountering different objects, the corresponding signal attenuation values are different, measurement can be performed firstly to obtain a preset attenuation table, and the preset attenuation table comprises at least one object and a signal attenuation value corresponding to the object.
In one specific embodiment, the predetermined attenuation table obtained by the test is as follows:
meter-preset attenuation meter
Object Attenuation value of signal Object Signal attenuation value
Bearing wall 20~40dB Common concrete wall 10~18dB
Floor level 30dB Hollow brick wall 4~6dB
Gypsum board wall 3~5dB Ordinary glass door and window 2~4dB
Wooden door 3~5dB Metal coated glass door and window 12~15dB
Wooden furniture 2~10dB Wood partition wall 5~8dB
Metal object Total reflection Water (W) Full absorption
The upper table shows signal attenuation values of indoor common objects on wireless signals, and after the preset attenuation table is obtained, the preset attenuation table can be used for obtaining the signal attenuation values of the wireless signals in the current scene, for example, the wireless signals meet a bearing wall in a transmission path transmitted to receiving equipment, and the signal attenuation values of the wireless signals in the current scene are 20-40 dB according to the preset attenuation table.
It is understood that the signal attenuation occurring when the wireless signal encounters multiple objects may be a superposition of signal attenuation values caused by the multiple objects to the wireless signal, for example: the wireless signal meets the bearing wall and the wooden door in the current transmission path, and the current signal attenuation value is the sum of the signal attenuation values of the bearing wall and the wooden door to the wireless signal, namely 23-45 dB. Further, the signal attenuation value is also related to the operating frequency of the wireless signal, and the signal attenuation values may be different when the wireless signal at different operating frequencies encounters the same object.
Step 12: and calculating the signal parameters of the corresponding reflected signals by using the signal attenuation values corresponding to the objects in the current scene.
When the wireless signal meets an object, a certain degree of reflection occurs to generate a reflected signal, and when the reflection condition occurs, a certain degree of signal attenuation is accompanied, and then signal parameters of the generated reflected signal can be calculated by using a signal attenuation value of the wireless signal in the current scene, wherein the signal parameters can comprise amplitude and phase.
Step 13: and superposing the direct signal and at least one reflected signal to obtain a received signal.
In the transmission process of the indoor wireless signal, a reflected signal is generated when the indoor wireless signal meets an object, and when the indoor wireless signal is transmitted in a transmission path without the object, the indoor wireless signal can be directly transmitted to the receiving equipment, and the indoor wireless signal is called a direct signal; specifically, the receiving device may be a mobile phone or a computer with a wireless network card.
In a specific embodiment, there are a plurality of different transmission paths for the transmission of the wireless signal between the routing device and the receiving device, as shown in fig. 2, the wireless signal is output by the routing device a and sent to the receiving device B, so as to establish wireless communication with the receiving device B, at this time, there are three transmission paths 1-3 for the wireless signal, path 1 is a transmission path for the wireless signal to transmit to the receiving device B through the object C, at this time, the wireless signal generates a reflected signal through the object C and generates a certain degree of signal attenuation; path 2 is a transmission path through which the wireless signal is directly transmitted to the receiving device, and at this time, a direct signal is transmitted to the receiving device B; the path 3 is a transmission path for transmitting a wireless signal to the receiving device B through the object D, and likewise, the wireless signal generates a reflected signal through the object D and generates a certain degree of attenuation.
It can be understood that the received signal received by the receiving device is a superposition of a direct signal and at least one reflected signal, and in the transmission process of the wireless signal, the number of the reflected signals generated by the receiving device may be one, or may be two or more, taking fig. 2 as an example, the signal received by the receiving device B is a superposition of a direct signal and two reflected signals, that is, the direct signal is superposed with the reflected signal generated when encountering the object C and the reflected signal generated when encountering the object D, so as to obtain the received signal.
Step 14: and displaying the signal waveforms of the direct-emitting signal and the received signal.
The signal waveforms of the direct-current signals and the received signals obtained after superposition are displayed, so that the transmission effect of the wireless signals is displayed in a waveform diagram mode, and the transmission effect is visual; furthermore, whether the difference between the direct signal and the received signal is large can be judged according to the displayed waveform, so that whether the transmission path between the current routing equipment and the receiving equipment is reasonable can be judged, whether the position arrangement of the current routing equipment and the receiving equipment is reasonable can be further known, and if the position arrangement is not reasonable, the adjustment can be continued.
In the embodiment, a preset attenuation table is established through measurement, and the preset attenuation table comprises at least one object in the current scene and a signal attenuation value corresponding to the object; then, a signal attenuation value of the wireless signal in the current scene is obtained by using a preset attenuation table, and then the signal attenuation value is used for calculating the signal parameter of the reflected signal generated by the reflection of the object in the current scene; then the direct signal formed by the wireless signal reaching the receiving device without obstacle and at least one reflected signal generated by the wireless signal encountering an object are superposed to generate a received signal, and the received signal obtained by superposition and the signal waveform of the direct signal are displayed so as to compare the waveforms and the signal parameters of the direct signal and the received signal, so that the indoor transmission effect of the wireless signal can be visually judged, the indoor transmission effect of the wireless signal can be visualized, a user can observe the transmission effect of the wireless signal in the current scene conveniently, a reference meaning is provided for the position arrangement of the network device, and the user can adjust the positions of the generating device and the receiving device of the wireless signal conveniently to meet the application requirement.
Referring to fig. 3, fig. 3 is a schematic flow chart of another embodiment of a method for visualizing a transmission effect of an indoor wireless signal, the method including:
step 31: and acquiring the distance between the receiving equipment and the routing equipment, and recording the distance as a first distance.
The routing device is configured to generate a wireless signal, where the first distance is a straight-line distance between the receiving device and the routing device, that is, a transmission distance of a direct signal transmitted from the wireless signal sent by the routing device to the receiving device directly, and taking a transmission path of the wireless signal shown in fig. 2 as an example, the first distance is a transmission distance of the wireless signal on path 2.
Step 32: based on the first distance, a first phase difference and a first transmission attenuation value generated by the transmission of the wireless signal from the routing device to the receiving device are calculated.
Various interference factors causing attenuation exist in the transmission process of the indoor wireless signals, and mainly include a shielding factor and a distance factor, the shielding factor is an object encountered by the wireless signals in the transmission process and causes signal attenuation to a certain extent, the distance factor is a transmission distance existing between the routing equipment and the receiving equipment in the transmission process of the wireless signals, the wireless signals generate certain transmission attenuation due to the distance, and an attenuation value generated by the wireless signals based on the first distance is recorded as a first transmission attenuation value.
Further, the first transmission attenuation value is calculated using the following formula:
s1=10*lg(d1/1000) (1)
wherein s1 is a first transmission attenuation value, and d1 is a first distance.
Calculating the first phase difference using the following equation:
Figure BDA0002846216270000061
wherein the content of the first and second substances,
Figure BDA0002846216270000062
d1 is a first distance, c is a transmission speed of the wireless signal, and f is a frequency of the wireless signal.
For example, the center frequency f =2.437 x 10 of a wireless signal transmitted indoors 9 Hz, first distance d1=10m for example, since transmission speed c =3.0 × 10 of the wireless signal 8 m/s, calculating the first phase difference to be 5.105rad, and the first transmission attenuation value to be-20 dB.
It will be appreciated that when the first distance is short, i.e. the routing device is placed closer to the receiving device, the first transmission attenuation value is negligible, for example: at a first distance of 0.1m, the first transmission attenuation value may be approximately zero at this time.
Step 33: and calculating the signal parameter of the direct signal based on the first phase difference, the first transmission attenuation value and the signal parameter of the wireless signal.
The signal parameters of the wireless signal include amplitude and phase difference, and take the wireless signal as a sinusoidal signal as an example, the expression is as follows:
Figure BDA0002846216270000071
wherein A is the amplitude of the wireless signal, omega is the angular frequency of the wireless signal,
Figure BDA0002846216270000072
is the phase of the wireless signal.
Further, the amplitude a of the wireless signal can be set according to actual conditions, and the angular frequency ω of the wireless signal is calculated by using the following formula:
ω=2*π*f (4)
where f is the frequency of the wireless signal.
In the actual transmission process of the wireless signal, the generated transmission attenuation causes the amplitude of the wireless signal to decrease, and along with the change of the phase, it is necessary to further calculate the amplitude and the phase difference of the direct signal transmitted to the receiving device to obtain the signal parameter of the direct signal, as shown in fig. 4, this embodiment may calculate the signal parameter of the direct signal by the following steps:
step 331: and converting the first transmission attenuation value into the amplitude ratio of the direct signal to the wireless signal.
The amplitude ratio is calculated using the following formula:
K1=10 s1/10 (5)
wherein, K1 is the amplitude ratio, and s1 is the first transmission attenuation value.
Step 332: and multiplying the amplitude of the wireless signal by the amplitude ratio to obtain the amplitude of the direct signal.
The amplitude of the wireless signal is A, and the amplitude of the direct signal is the product of the amplitude A of the wireless signal and an amplitude ratio K1, namely A x K1; for example, when the amplitude of the wireless signal a =1, the first transmission attenuation value is-20 dB, and the amplitude ratio K1=10 -2 =0.01, so the amplitude of the direct signal is a × K1=0.01.
Step 333: and adding the first phase difference and the phase of the wireless signal to obtain the phase of the direct signal.
The phase of the wireless signal is known as
Figure BDA0002846216270000085
During the transmission of the wireless signal, a certain degree of phase change occurs, i.e. there is a phase difference, the first phase difference can be calculated by formula (2), so that the phase of the direct signal received by the receiving device is the phase ^ or greater than the phase of the wireless signal>
Figure BDA0002846216270000086
Is out of phase with the first phase difference->
Figure BDA0002846216270000083
Based on the first phase difference and the amplitude ratio calculated from the first transmission attenuation value, an expression for the direct signal can thus be found as follows:
Figure BDA0002846216270000081
it can be understood that, in the case where the first distance is short, and the influence of transmission attenuation on the amplitude is not considered, the expression of the direct signal generated after the wireless signal is transmitted is as follows:
Figure BDA0002846216270000082
the center frequency f =2.437 × 10 of the wireless signal is still calculated by the first distance d1=10m between the routing device and the receiving device 9 Hz, amplitude of radio signal a =1, transmission speed of radio signal c =3.0 x 10 8 Taking m/s as an example, the first phase difference can be calculated to be 5.105rad by the formula (2); when the phase of the radio signal
Figure BDA0002846216270000084
In the process, the phase of the direct signal is 5.105rad, the first transmission attenuation value is calculated to be-20 dB by formula (1), and the amplitude ratio K1 is 0.01 by formula (5), so that the expression of the direct signal is Sz =0.01 × sin (ω × t + 5.105).
In an actual scenario, the receiving device receives the direct signal and the reflected signal at the same time, and the above embodiment describes a calculation method of the direct signal, that is, a case where the wireless signal is directly transmitted to the receiving device, and the reflected signal will be described below.
Step 34: and calculating the signal parameters of the corresponding reflected signals by using the signal attenuation values corresponding to the objects in the current scene.
As shown in fig. 5, the signal parameters of the reflected signal can be calculated by:
step 341: and acquiring the distance from the wireless signal to the receiving equipment through the object, and recording the distance as a second distance.
Because the wireless signal is reflected when encountering an object, the transmission distance of the reflected signal transmitted to the receiving device is different from the transmission distance of the direct signal, and the second distance passed by the reflected signal is the distance of the wireless signal transmitted to the receiving device by the object; specifically, taking fig. 2 as an example, the path 1 is a transmission path of the wireless signal transmitted to the receiving device through the object C, and the transmission distance (i.e. the second distance) is L AC +L CB Similarly, it can be known that the transmission distance of the wireless signal transmitted to the receiving device through the object D is L AD +L DB The first distance between the routing device A and the receiving device B is L AB It is easy to know that the first distance is shorter than the second distance, which means that the transmission distance of the reflected signal is longer than that of the direct signal, and the amplitude attenuation degree of the reflected signal is larger than that of the direct signal, and the generated phase difference is different from that of the direct signal.
Further, the wireless signal may encounter multiple objects during transmission and undergo multiple reflections, so that the second distance at which the wireless signal is transmitted to the receiving device via the objects may be a superposition of multiple transmission distance segments, for example, as shown in fig. 6, taking an example that the wireless signal encounters two objects during transmission, the wireless signal is sent from the routing device E and transmitted to the receiving device via the object G and the object H, and the second distance at this time is a sum of the transmission distance segment a, the transmission distance segment b, and the transmission distance segment c.
Step 342: based on the second distance, a second transmission attenuation value generated by the wireless signal transmitted to the receiving device through the object is calculated.
Similar to the calculation method of the first transmission attenuation value of the direct signal, the second transmission attenuation value may be calculated using the following equation:
s2=10*lg(d2/1000) (8)
wherein s2 is a second transmission attenuation value, and d2 is a second distance.
Step 343: and superposing the signal attenuation value and the second transmission attenuation value to obtain a real attenuation value.
The wireless signal is reflected after encountering an object to generate a reflected signal, and meanwhile, the signal attenuation is carried out to a certain degree, namely, the object possibly absorbs a part of the wireless signal, and the attenuation degrees of different objects to the wireless signal are different, so that the signal attenuation value of the wireless signal in the current scene can be obtained by using a preset attenuation table; for accurate calculation of the attenuation, the transmission attenuation may be superimposed with the attenuation caused by the object to obtain a true attenuation value, which is a total attenuation value of the reflected signal received by the receiving device during the entire transmission process.
It can be understood that since the wireless signal is directly transmitted to the receiving device, there is no signal attenuation caused by encountering an object, and thus the real attenuation value of the direct signal is the first transmission attenuation value.
Step 344: the true attenuation values are converted into amplitude ratios of the reflected signals to the wireless signals.
The amplitude ratio is calculated using the following formula:
K2=10 h/10 (9)
wherein, K2 is the amplitude ratio, and h is the real attenuation value.
Taking the second transmission attenuation value of-20 dB as an example, the signal attenuation value caused by the object is-20 dB, and the real attenuation value corresponding to the reflection signal is-40 dB at this time, and the amplitude ratio K2=10 of the reflection signal to the wireless signal can be obtained according to the formula (9) -4
Step 345: and multiplying the amplitude of the wireless signal by the amplitude ratio to obtain the amplitude of the reflected signal.
Assuming that the amplitude of the wireless signal is a, multiplying the amplitude a of the wireless signal by an amplitude ratio K2 to obtain an amplitude value of the reflected signal a × K2.
Step 346: based on the second distance, a second phase difference generated by the wireless signal transmitted to the receiving device through the object is calculated.
The second phase difference is calculated using the following equation:
Figure BDA0002846216270000101
wherein the content of the first and second substances,
Figure BDA0002846216270000109
d2 is the second phase difference, c is the transmission speed of the wireless signal, and f is the frequency of the wireless signal.
Step 347: and calculating the phase of the reflected signal based on the second phase difference and the signal parameter of the wireless signal.
The second phase difference is added to the phase of the wireless signal to obtain a reflected signal having a phase
Figure BDA0002846216270000108
The expression for the reflected signal is as follows:
Figure BDA0002846216270000102
for example, assuming that the second phase difference is π, the reflected signal is expressed as
Figure BDA0002846216270000103
Figure BDA0002846216270000104
In particular, when the second phase difference is 2 π, i.e. 360, because of the periodicity of the signal, when the second phase difference of the reflected signal corresponds to 0, the expression is ^ 0>
Figure BDA0002846216270000105
Figure BDA0002846216270000106
Step 35: and superposing the direct signal and at least one reflected signal to obtain a received signal.
According to different deployment positions of the routing device and the receiving device, different transmission paths exist for the wireless signals to be transmitted to the receiving device, and the receiving device can receive the direct signals and at least one reflected signal. For example, taking the receiving signal receiving the direct signal and one reflected signal as an example, the expressions of the received signal can be obtained as shown below according to the expressions of the direct signal and the reflected signal;
Figure BDA0002846216270000107
the amplitude ratio of the direct signal to the wireless signal is recorded as K1, and the amplitude ratio of the reflected signal to the wireless signal is recorded as K2.
In a specific embodiment, software can be programmed to superimpose the direct signal with at least one reflected signal to obtain the received signal.
Step 36: and receiving a display instruction input by a user to call Matlab to display the signal waveforms of the direct signal and the received signal.
After the expressions of the direct signal and the received signal are calculated, if a display instruction input by a user is received, matlab is called to display the signal waveforms of the direct signal and the received signal, so that a comparison result of the received signal and the direct signal received by the receiving equipment is displayed in a quantitative graphical mode through the Matlab, and the receiving effect of the current receiving equipment on the wireless signal is visually judged.
In a specific embodiment, a corresponding code may be edited on Matlab according to the expressions of the direct signal and the received signal, so as to implement Matlab to display the signal waveform diagrams of the two signals, where the code may be as follows:
x=linspace(0,2*π,50);
y1=sin(2*π*2.437*10^9*x+5.105);
y2=sin(2*π*2.437*10^9*x+5.105)+0.01sin(2*π*2.437*10^9*x+5.105+π);
plot(x,y2,'r');
xlabel ('time');
ylabel ('amplitude');
the waveforms shown in fig. 7 and 8 can be obtained by executing the above codes, fig. 7 is a waveform of a direct signal, and fig. 8 is a waveform of a received signal.
Step 37: and judging whether the difference value between the signal parameter of the direct signal and the signal parameter of the received signal exceeds a preset error threshold value.
After the signal waveform of the direct signal is displayed on Matlab, a user can write a corresponding calculation code, calculate the difference value between the signal parameter of the direct signal and the signal parameter of the received signal, and compare the difference value with a preset error threshold value to obtain a judgment result. Specifically, the difference between the amplitude and the phase difference of the direct signal and the received signal may be compared to determine whether the received signal and the direct signal are too different. Further, two preset error thresholds, namely a preset phase error threshold and a preset amplitude error threshold, may be set, and it is determined whether a difference between a phase of the direct signal and a phase of the reflected signal is greater than the preset phase error threshold, or whether a difference between an amplitude of the direct signal and an amplitude of the reflected signal is greater than the preset amplitude error threshold; the difference between the phase of the direct signal and the phase of the reflected signal can be recorded as a phase difference value, the difference between the amplitude of the direct signal and the amplitude of the reflected signal can be recorded as an amplitude difference value, then the phase difference value and the amplitude difference value are weighted and summed, and whether the summation result exceeds a preset error threshold value is judged.
Step 38: if the difference between the signal parameter of the direct signal and the signal parameter of the received signal exceeds the preset error threshold, adjusting the position of the receiving equipment and/or the routing equipment so that the difference between the signal parameter of the direct signal and the signal parameter of the received signal is smaller than the preset error threshold.
When the difference between the signal parameter of the direct signal and the signal parameter of the received signal exceeds the preset error threshold, it indicates that the error of the received signal is larger than that of the direct signal, and at this time, the position of the receiving device and/or the routing device is unreasonable to arrange, which results in poor transmission effect of the wireless signal, and the position of the receiving device and/or the routing device needs to be adjusted, and parameters such as the amplitude of the wireless signal can be set at the same time, so as to achieve the effect of reducing the error.
After the position and the related parameters are adjusted, the signal parameters of the direct signal and the received signal are recalculated, and the signal parameters of the direct signal and the received signal are compared until the difference value between the signal parameters of the direct signal and the signal parameters of the received signal is smaller than a preset error threshold. And if the difference value between the signal parameter of the direct signal and the signal parameter of the received signal does not exceed the preset error threshold value, determining that the current positions of the receiving equipment and the routing equipment meet the position deployment requirement without adjustment.
In this embodiment, a first distance between the receiving device and the routing device may be obtained first, and then a first phase difference and a first transmission attenuation value are calculated based on the first distance to obtain a signal parameter of the direct signal; then, a second distance from the wireless signal to the receiving device through the object is obtained, a second transmission attenuation value and a second phase difference are calculated based on the second distance, and a real attenuation value is obtained according to the signal attenuation value and the second transmission attenuation value, so that signal parameters of the reflected signal are obtained; finally, the waveforms of the direct signals and the reflected signals are displayed by Matlab, so that the signal transmission effect can be visually confirmed; in addition, whether a signal difference value between the direct signal and the received signal exceeds a preset error threshold value or not can be judged, when the signal difference value exceeds the preset error threshold value, the positions of the receiving equipment and/or the routing equipment are adjusted, and then calculation and comparison are repeatedly carried out until the signal difference value meets the requirements; the transmission effect can be visualized through the waveform display mode, actual reference significance is provided for subsequent position deployment, and meanwhile, the method has actual engineering value for application scenes such as deduction of wireless signal coverage effect, coverage calculation of distance or indoor positioning in an indoor environment.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an embodiment of an electronic device provided in the present application, the electronic device 90 includes a memory 91 and a processor 92 connected to each other, the memory 91 is used for storing a computer program, when the computer program is executed by the processor 92, the computer program is used for implementing the method for visualizing the transmission effect of the indoor wireless signal in the above embodiment, and the electronic device 90 may be a computer equipped with Matlab.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an embodiment of a computer-readable storage medium 100 provided in the present application, where the computer-readable storage medium 100 is used to store a computer program 101, and the computer program 101 is used to implement the method for visualizing the transmission effect of the indoor wireless signal in the foregoing embodiment when being executed by a processor.
The computer-readable storage medium 100 may be a server, a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules or units is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above description is only an example of the present application, and is not intended to limit the scope of the present application, and all equivalent structures or equivalent processes performed by the present application and the contents of the attached drawings, which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method for visualizing transmission effect of indoor wireless signals is characterized by comprising the following steps:
acquiring a signal attenuation value of a wireless signal in a current scene by using a preset attenuation table, wherein the preset attenuation table comprises at least one object and a signal attenuation value corresponding to the object, and the object is used for reflecting the wireless signal to generate a reflected signal;
calculating corresponding signal parameters of the reflection signals by using signal attenuation values corresponding to the objects in the current scene; the signal parameter comprises an amplitude;
wherein the step of calculating the amplitude of the reflected signal comprises:
acquiring a second transmission attenuation value; the second transmission attenuation value is transmission attenuation generated when the wireless signal is transmitted to a receiving device through the object; superposing the signal attenuation value and the second transmission attenuation value to obtain a real attenuation value; calculating an amplitude of the reflected signal based on the true attenuation value;
superposing a direct signal and at least one reflected signal to obtain a received signal, wherein the direct signal is a signal which is directly transmitted to the receiving equipment by the wireless signal;
and displaying the signal waveforms of the direct signal and the received signal.
2. The method for visualizing the transmission effect of an indoor wireless signal according to claim 1, wherein the signal parameters further include a phase difference, and the step of calculating the signal parameters of the corresponding reflected signals by using the signal attenuation values corresponding to the objects in the current scene comprises:
acquiring a distance between the receiving equipment and routing equipment, and recording the distance as a first distance, wherein the routing equipment is used for generating the wireless signal;
calculating a first phase difference and a first transmission attenuation value generated by the wireless signal transmitted from the routing device to the receiving device based on the first distance;
and calculating the signal parameter of the direct signal based on the first phase difference, the first transmission attenuation value and the signal parameter of the wireless signal.
3. The method for visualizing the transmission effect of an indoor wireless signal according to claim 2, wherein the first phase difference is calculated using the following formula:
Figure FDA0003847989600000011
wherein the content of the first and second substances,
Figure FDA0003847989600000012
d1 is the first phase difference, c is the transmission speed of the wireless signal, and f is the frequency of the wireless signal;
the step of calculating the signal parameter of the direct signal based on the first phase difference, the first transmission attenuation value, and the signal parameter of the wireless signal includes:
converting the first transmission attenuation value into a magnitude ratio of the direct signal to the wireless signal;
multiplying the amplitude of the wireless signal by the amplitude ratio to obtain the amplitude of the direct signal;
and adding the first phase difference and the phase of the wireless signal to obtain the phase of the direct signal.
4. The method for visualizing the transmission effect of an indoor wireless signal according to claim 2, wherein the step of obtaining the second transmission attenuation value comprises:
acquiring the distance from the wireless signal to the receiving equipment through the object, and recording the distance as a second distance;
calculating a second transmission attenuation value generated by the wireless signal transmitted to the receiving device through the object based on the second distance;
the step of calculating the amplitude of the reflected signal based on the true attenuation value comprises:
converting the real attenuation value into an amplitude ratio of the reflected signal to the wireless signal;
and multiplying the amplitude of the wireless signal by the amplitude ratio to obtain the amplitude of the reflected signal.
5. The method for visualizing the transmission effect of an indoor wireless signal according to claim 4, wherein the step of calculating the signal parameter of the corresponding reflected signal by using the signal attenuation value corresponding to the object in the current scene further comprises:
calculating a second phase difference generated by the wireless signal transmitted to the receiving device through the object based on the second distance;
calculating the phase of the reflected signal based on the second phase difference and a signal parameter of the wireless signal.
6. The method for visualizing the transmission effect of an indoor wireless signal according to claim 5, wherein the amplitude ratio is calculated by using the following formula:
K2=10 h/10
wherein, K2 is the amplitude ratio, and h is the real attenuation value;
calculating the second phase difference using the following equation:
Figure FDA0003847989600000031
wherein the content of the first and second substances,
Figure FDA0003847989600000032
d2 is the second phase difference, c is the transmission speed of the wireless signal, and f is the frequency of the wireless signal;
the step of calculating the phase of the reflected signal based on the second phase difference and the signal parameter of the wireless signal includes:
and adding the second phase difference and the phase of the wireless signal to obtain the phase of the reflected signal.
7. The method according to claim 1, wherein the step of displaying the signal waveforms of the direct signal and the received signal comprises:
and receiving a display instruction input by a user to call Matlab to display the signal waveforms of the direct signal and the received signal.
8. The method for visualizing the transmission effect of an indoor wireless signal according to claim 1, further comprising:
judging whether the difference value between the signal parameter of the direct signal and the signal parameter of the received signal exceeds a preset error threshold value or not;
if not, determining that the current positions of the receiving equipment and the routing equipment meet the position deployment requirement;
if so, adjusting the position of the receiving equipment and/or the routing equipment, and returning to the step of obtaining the signal attenuation value of the wireless signal in the current scene by using a preset attenuation table, so that the difference value between the signal parameter of the direct signal and the signal parameter of the received signal is smaller than the preset error threshold.
9. An electronic device, characterized in that it comprises a memory and a processor connected to each other, wherein the memory is used for storing a computer program, which when executed by the processor is used for implementing the method for visualizing the transmission effect of an indoor wireless signal according to any one of claims 1-8.
10. A computer-readable storage medium for storing a computer program, wherein the computer program, when being executed by a processor, is adapted to implement the method for visualizing the transmission effect of an indoor wireless signal according to any one of claims 1 to 8.
CN202011510352.3A 2020-12-18 2020-12-18 Method, device and medium for visualizing transmission effect of indoor wireless signal Active CN112636852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011510352.3A CN112636852B (en) 2020-12-18 2020-12-18 Method, device and medium for visualizing transmission effect of indoor wireless signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011510352.3A CN112636852B (en) 2020-12-18 2020-12-18 Method, device and medium for visualizing transmission effect of indoor wireless signal

Publications (2)

Publication Number Publication Date
CN112636852A CN112636852A (en) 2021-04-09
CN112636852B true CN112636852B (en) 2023-04-14

Family

ID=75318072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011510352.3A Active CN112636852B (en) 2020-12-18 2020-12-18 Method, device and medium for visualizing transmission effect of indoor wireless signal

Country Status (1)

Country Link
CN (1) CN112636852B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3223550A1 (en) * 2016-03-25 2017-09-27 Fujitsu Limited Auxiliary apparatus for wireless network deployment, portable terminal and method for wireless network deployment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973622B1 (en) * 2000-09-25 2005-12-06 Wireless Valley Communications, Inc. System and method for design, tracking, measurement, prediction and optimization of data communication networks
GB0121083D0 (en) * 2001-08-31 2001-10-24 Koninkl Philips Electronics Nv Method of operating a radio station
CN102572841A (en) * 2011-12-26 2012-07-11 华中科技大学 WLAN (Wireless Local Area Network) indoor coverage planning method
US10659971B2 (en) * 2016-12-22 2020-05-19 Dell Products, Lp Method and apparatus for optimizing selection of radio channel frequency and geographic location for WLAN access points
CN109633532A (en) * 2018-12-21 2019-04-16 青岛安然物联网科技有限公司 A kind of wireless beacon positioning system and its localization method
CN111510932A (en) * 2020-03-21 2020-08-07 杭州迪普科技股份有限公司 Wireless access point deployment method and device, electronic equipment and computer readable medium
US11570638B2 (en) * 2020-06-26 2023-01-31 Intel Corporation Automated network control systems that adapt network configurations based on the local network environment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3223550A1 (en) * 2016-03-25 2017-09-27 Fujitsu Limited Auxiliary apparatus for wireless network deployment, portable terminal and method for wireless network deployment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE802.11n的室内覆盖规划研究;严文发等;《信息通信》;20120815(第04期);全部 *

Also Published As

Publication number Publication date
CN112636852A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
EP3133835B1 (en) Sound emission and collection device, and sound emission and collection method
US7983667B2 (en) Radio frequency coverage map generation in wireless networks
CN108200526B (en) Sound debugging method and device based on reliability curve
CN105722103A (en) Indoor wireless router signal coverage determination method
CN106878955A (en) A kind of indoor floor location method and location equipment
CN107087286B (en) Indoor electromagnetic radiation prediction method of window facing communication base station
Wilson et al. Analysis of bending wave transmission using beam tracing with advanced statistical energy analysis for periodic box-like structures affected by spatial filtering
CN114827926B (en) Optimization method and system of path loss and method for measuring signal intensity
CN112636852B (en) Method, device and medium for visualizing transmission effect of indoor wireless signal
Rovňaková et al. Weak signal enhancement in radar signal processing
AU732097B2 (en) Method and apparatus for determining radio wave propagation attenuation
CN115002791B (en) Intelligent home space deployment prediction method and device based on wireless signal intensity distribution
CN116774164A (en) MIMO radar anti-interference method based on array element-pulse-intra-pulse triple coding
Hopkins On the efficacy of spatial sampling using manual scanning paths to determine the spatial average sound pressure level in rooms
JPH07235900A (en) Estimating method for indoor reception level
Schroder et al. On the accuracy of edge diffraction simulation methods in geometrical acoustics
Flattie Optimizing the existing indoor propagation prediction models
KR20100080285A (en) Method for analyzing in-building radio wave environment and apparatus thereof
Marianovskyi et al. Wireless Network Planning
CN107707319B (en) Method and device for predicting field intensity of wireless signal in building
US20230396348A1 (en) Radio environment evaluation method and wireless communication characteristic evaluation system
CN113709664B (en) Three-point positioning method and device based on signal intensity
AU5400098A (en) Method and apparatus for estimating field strength
CN113238199B (en) Method and device for calculating dielectric constant, electronic equipment and storage medium
JP2001168812A (en) Communication characteristic control method for indoor radio communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant