A method and apparatus for determining to turn on gain of a slave device
Patent Information
- Application Number
- CN202210976952.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-15
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2042-08-15
AI Technical Summary
[0006]鉴于上述的分析,本发明实施例旨在提供一种从机设备开启增益的确定方法和装置,用以解决现有自激现象识别和消除方式的算法复杂、开发周期长、硬件成本高的问题
[0018]与现有技术相比,本发明至少可实现如下有益效果之一:
Smart Images

Figure CN117641365B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of mobile communication technology, and in particular to a method and apparatus for determining the turn-on gain of a slave device. Background Technology
[0002] With the explosive growth of mobile internet, the Internet of Things (IoT), and industry applications, higher demands are being placed on mobile signal coverage. While 4G and 5G represent the future of mobile communication technology and aim to achieve true "Internet of Everything," their high frequency, significant spatial loss, and poor penetration capabilities result in reduced effective coverage areas for outdoor base stations. In indoor environments, weak mobile signal coverage renders terminals unusable, creating blind spots and shadow areas for mobile communication.
[0003] For scenarios where exposed wiring is not possible or inconvenient, wireless connection with frequency-shifting master / slave mode is often used for coverage, thereby ensuring ideal signal coverage in indoor areas.
[0004] Defects and shortcomings of existing technology:
[0005] The frequency-shifting master-slave method for indoor coverage in blind and shadow areas using wireless connections is affected by the isolation between the master receiving antenna and the slave coverage antenna, leading to self-oscillation of the master and slave devices and even interference with the base station. Currently, high-precision detection combined with MCU or digital chips to identify self-oscillation and reduce slave gain are often used to eliminate it. This method has complex algorithms, long development cycles, and high hardware costs. Summary of the Invention
[0006] Based on the above analysis, the embodiments of the present invention aim to provide a method and apparatus for determining the turn-on gain of a slave device, in order to solve the problems of complex algorithms, long development cycles, and high hardware costs in existing methods for identifying and eliminating self-oscillation phenomena.
[0007] On one hand, embodiments of the present invention provide a device for determining the turn-on gain of a slave device, comprising: an amplification module for amplifying a frequency signal received by an antenna; a frequency conversion module for up-converting or down-converting the amplified frequency signal according to a preset frequency; a communication module for transmitting communication information to the slave device via a transmitting antenna according to a preset frequency, wherein the communication information is received via a receiving antenna of the slave device; and a control module for performing data processing on a master device and the slave device, wherein the slave device calculates the actual turn-on gain of the slave device based on the signal power value received by the receiving antenna and the signal power value transmitted by the transmitting antenna of the master device.
[0008] The beneficial effects of the above technical solution are as follows: One frequency-shifting master device is connected to n frequency-shifting slave devices through wireless coupling, where n is the total number of slave devices and n≥1; the master device and slave devices use omnidirectional antennas and are integrated with the device design, eliminating the need for long-distance cable connections. The installation location of the master device is the signal source location, and the installation location of the slave devices is the coverage area location, solving the coverage scenario problem of not being able to expose wiring or the inconvenience of wiring.
[0009] Based on further improvements to the above-mentioned device, the slave device gain determination device further includes: the amplification module, used to amplify the 4G and 5G signals received by the receiving antenna of the host device; the frequency conversion module, used by the host device to up-convert or down-convert the amplified 4G and 5G signals to an intermediate frequency according to a preset intermediate frequency; the communication module, used to transmit communication information between the host device and the slave device to the slave device through the transmitting antenna of the host device according to the up-converted or down-converted intermediate frequency, wherein the communication information is received through the receiving antenna of the slave device; and the control module, used to perform data processing on the communication information received by the slave device.
[0010] Based on further improvements to the above-mentioned device, the device for determining the gain of the slave device further includes: the amplification module, used to amplify the intermediate frequency signal received by the receiving antenna of the slave device; the frequency conversion module, used to down-convert or up-convert the amplified intermediate frequency signal according to a preset radio frequency to restore the received intermediate frequency signal to a 4G or 5G signal; the communication module, used to transmit the 4G or 5G signal through the transmitting antenna of the slave device to the coverage area of multiple slave devices according to a preset frequency and receive the 4G or 5G signal through the receiving antenna of another slave device in the coverage area; and the control module, used to perform data processing on the received 4G or 5G signal.
[0011] Based on further improvements to the above-mentioned device, the communication module includes: a communication module for a host device and a communication module for a slave device, wherein the communication module for the host device is used to broadcast the signal power value P0 and the enable gain G0 of the host device to the slave device; and the communication module for the slave device is used to send the signal power value P0 broadcast by the host device and the signal power value P1 received by the slave device to the control module inside the slave device.
[0012] Based on further improvements to the above-mentioned device, the control module of the slave device is used to: calculate the communication signal loss L0 from the master device to the slave device according to the obtained signal power values P0 and P1 using the following formula: L0 = P0 - P1; calculate the distance d from the master device to the slave device according to the following spatial loss formula: L0 = 32.45 + 20Lgf + 20Lgd; calculate the RF loss L1 from the receiving antenna of the master device to the transmitting antenna of the slave device and the intermediate frequency loss L2 from the transmitting antenna of the master device to the receiving antenna of the slave device according to the calculated distance d from the master device to the slave device and the spatial loss formula; and calculate the enable gain G1 of the slave device according to the following formula: Enable gain G1 = RF loss L1 + Intermediate frequency loss L2 - Enable gain G0 of the master device - Fixed gain backoff value data.
[0013] Based on further improvements to the above-mentioned device, the signal power value P0 is the power level value output by the transmitting antenna port of the host device at a certain preset frequency; and the host device turn-on gain G0 is the actual turn-on gain of the host device calculated by the host device based on the signal power level value received by the receiving antenna of the host device and the intermediate frequency output power level value transmitted by the transmitting antenna of the host device.
[0014] Based on further improvements to the above-mentioned device, the communication module of the slave device is used for: the signal power value P1 received by the slave device is the power value P0 transmitted by the host communication module after spatial loss and reaching the receiving antenna port of the slave device; and sending the received signal power value P1 and the signal power value P0 broadcast by the host to the control module via SPI and UART, for calculating the spatial loss of the communication signal from the port of the transmitting antenna of the host device to the port of the receiving antenna of the slave device at a certain preset frequency.
[0015] Based on further improvements to the aforementioned device, the slave device control module calculates the communication signal spatial loss L0 = P0 - P1 between the master device and the slave device according to the obtained signal power values P0 and P1. This includes: calculating the communication signal spatial loss L0 between the master device and the slave device at a certain preset frequency based on the signal power values P0 and P1, where the signal power value P0 is the port transmit power value of the master device's transmitting antenna, and the signal power value P1 is the power value of P0 reaching the receiving antenna port of the slave device after spatial loss; and calculating the transmission antenna of the master device based on the communication signal spatial loss L0 and the known communication frequency f0 using the following formula. The spatial distance d from the host device to the slave device's receiving antenna is: L0 = 32.45 + 20Lgf0 + 20Lgd, where the spatial distance d is the spatial distance d from the host device to the slave device; and based on the spatial distance d, the known RF frequency and IF frequency, the RF loss L1 from the host device's receiving antenna to the slave device's transmitting antenna and the IF loss L2 from the host device's transmitting antenna to the slave device's receiving antenna are calculated using the following spatial loss formulas: L1 = 32.45 + 20Lgf1 + 20Lgd, L2 = 32.45 + 20Lgf2 + 20Lgd, where f1 is the RF frequency and f2 is the IF frequency.
[0016] On the other hand, embodiments of the present invention provide a method for determining the turn-on gain of a slave device, comprising: amplifying a frequency signal received by an antenna; up-converting or down-converting the amplified frequency signal according to a preset frequency; transmitting communication information to the slave device via a transmitting antenna according to the preset frequency, wherein the communication information is received via a receiving antenna of the slave device; and performing data processing on a master device and the slave device, wherein the slave device calculates the actual turn-on gain of the slave device based on the signal power value received by the receiving antenna and the signal power value transmitted by the transmitting antenna of the master device.
[0017] Based on a further improvement of the above method, the method for determining the gain of the slave device includes: the amplification module, used to amplify the 4G / 5G signals received by the receiving antenna of the host device; the frequency conversion module, used by the host device to up-convert or down-convert the amplified 4G / 5G signals to an intermediate frequency according to a preset intermediate frequency; the communication module, used to transmit communication information between the host device and the slave device through the transmitting antenna of the host device to the slave device according to the up-converted or down-converted intermediate frequency, wherein the communication information is received through the receiving antenna of the slave device; and the control module, used to control the... The slave device receives communication information and performs data processing; or the amplification module amplifies the intermediate frequency signal received by the receiving antenna of the slave device; the frequency conversion module down-converts or up-converts the amplified intermediate frequency signal according to a preset radio frequency to restore the received intermediate frequency signal to a 4G or 5G signal; the communication module transmits the 4G or 5G signal through the transmitting antenna of the slave device to the coverage area of multiple slave devices according to a preset frequency and receives the 4G or 5G signal through the receiving antenna of another slave device in the coverage area; and the control module performs data processing on the received 4G or 5G signal.
[0018] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:
[0019] 1. One frequency-shifting master device is connected to n frequency-shifting slave devices via wireless coupling, where n is the total number of slave devices and n≥1. The master device and slave devices use omnidirectional antennas and are integrated into the device design, eliminating the need for long-distance cable connections. The installation location of the master device is the signal source location, and the installation location of the slave devices is the coverage area location, solving the coverage scenario problem of not being able to expose wiring or inconvenient wiring.
[0020] 2. The master device and n slave devices interact wirelessly via communication modules. The slave devices, by acquiring the master device's activation gain G0, communication signal level P0, and pre-set information, can accurately calculate the required activation gain G1 based on the spatial loss formula and the slave device's activation gain formula: G1 (slave activation gain) = L1 (RF signal loss from antenna 1 to antenna 4) + L2 (IF signal loss from antenna 2 to antenna 3) - G0 (master activation gain) - data (fixed gain backoff value). This eliminates the need for high-precision detectors and complex self-oscillation detection and cancellation algorithms, saving hardware costs, reducing software development difficulty, shortening the software development cycle, and reducing embedded chip memory consumption.
[0021] In this invention, the above-described technical solutions can be combined with each other to achieve more preferred combinations. Other features and advantages of this invention will be set forth in the following description, and some advantages may become apparent from the description or be learned by practicing the invention. The objects and other advantages of this invention can be realized and obtained from what is particularly pointed out in the description and drawings. Attached Figure Description
[0022] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts.
[0023] Figure 1 This is a schematic diagram of the structure of a wireless frequency shifting master device and a slave device according to an embodiment of the present invention;
[0024] Figure 2 This is a schematic diagram of the communication system structure of a wireless frequency-shifting master device and a slave device according to an embodiment of the present invention;
[0025] as well as
[0026] Figure 3 A flowchart illustrating a method for determining the enable gain of a slave device according to an embodiment of the present invention; and
[0027] Figure 4 This is a flowchart illustrating the method for determining the slave device enable gain according to an embodiment of the present invention. Detailed Implementation
[0028] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.
[0029] A specific embodiment of the present invention discloses a device for determining the enable gain of a slave device, with reference to... Figure 1 The device for determining the gain of the slave device includes: an amplification module 102 for amplifying the frequency signal received by the antenna; a frequency conversion module 104 for up-converting or down-converting the amplified frequency signal according to a preset frequency; a communication module 106 for transmitting communication information to the slave device through a transmitting antenna according to the preset frequency after up-conversion or down-conversion, wherein the communication information is received through the receiving antenna of the slave device; and a control module 108 for data processing of the master device and the slave device, wherein the slave device calculates the actual gain of the slave device based on the signal power value received by the receiving antenna and the signal power value transmitted by the transmitting antenna of the master device.
[0030] Compared with the prior art, the slave device gain determination device provided in this embodiment uses one frequency-shifting master device to connect to n frequency-shifting slave devices through wireless coupling, where n is the total number of slave devices and n≥1; the master device and slave devices use omnidirectional antennas and are integrated with the device design without the need for long-distance cable connection. The installation location of the master device is the signal source location, and the installation location of the slave device is the coverage area location, which solves the coverage scenario problem of not being able to expose wiring or inconvenient wiring.
[0031] The following text will refer to Figure 1 The various modules of the slave device turn-on gain determination device according to an embodiment of the present invention will be described in detail.
[0032] The amplification module 102 is used to amplify the frequency signal received by the antenna. Specifically, the amplification module is used to amplify the 4G and 5G signals received by the receiving antenna of the host device. In an optional embodiment, the amplification module is used to amplify the intermediate frequency signal received by the receiving antenna of the slave device.
[0033] The frequency conversion module 104 is used to up-convert or down-convert the amplified frequency signal according to a preset frequency. Specifically, the frequency conversion module is used by the host device to up-convert or down-convert the amplified 4G or 5G signal to an intermediate frequency according to a preset intermediate frequency. In an optional embodiment, the frequency conversion module is used to down-convert or up-convert the amplified intermediate frequency signal according to a preset radio frequency to restore the received intermediate frequency signal to a 4G or 5G signal.
[0034] The communication module 106 is used to transmit communication information to the slave device via a transmitting antenna according to a preset frequency after up-conversion or down-conversion, wherein the communication information is received via a receiving antenna of the slave device. Specifically, the communication module is used to transmit communication information between the master device and the slave device via the transmitting antenna of the master device to the slave device according to the intermediate frequency of up-conversion or down-conversion, wherein the communication information is received via a receiving antenna of the slave device. In an optional embodiment, the communication module is used to transmit 4G and 5G signals to the coverage area of multiple slave devices via the transmitting antenna of the slave device according to a preset frequency, and receive the 4G and 5G signals via the receiving antenna of another slave device in the coverage area.
[0035] The communication module includes a communication module for the host device and a communication module for the slave device. The host device's communication module broadcasts the host device's signal power value P0 and enable gain G0 to the slave device. The slave device's communication module transmits the broadcast signal power value P0 and the received signal power value P1 to the slave device's internal control module. For example, the signal power value P0 is the power level output by the host device's transmitting antenna port at a preset frequency; and the enable gain G0 is the actual enable gain of the host device calculated by the host device based on the received signal power level and the intermediate frequency output power level transmitted by the host device's transmitting antenna.
[0036] The slave device's communication module is used for: receiving a signal power value P1 that is the power value P0 transmitted by the master communication module after spatial loss and reaching the slave device's receiving antenna port; and sending the received signal power value P1 and the master-broadcast signal power value P0 to the control module via SPI and UART to calculate the spatial loss of the communication signal from the master device's transmitting antenna port to the slave device's receiving antenna port at a certain preset frequency.
[0037] The control module 108 is used to process data between the host device and the slave device. The slave device calculates its actual turn-on gain based on the signal power value received by its receiving antenna and the signal power value transmitted by the host device's transmitting antenna. Specifically, the control module processes communication information received by the slave device. In an optional embodiment, the control module processes the received communication signals.
[0038] The control module of the slave device is used to: calculate the communication signal loss L0 between the master device and the slave device according to the obtained signal power values P0 and P1 using the following formula: L0 = P0 - P1; calculate the distance d between the master device and the slave device according to the following spatial loss formula: L0 = 32.45 + 20Lgf + 20Lgd; calculate the RF loss L1 between the receiving antenna of the master device and the transmitting antenna of the slave device and the intermediate frequency loss L2 between the transmitting antenna of the master device and the receiving antenna of the slave device according to the calculated distance d between the master device and the slave device and the spatial loss formula; and calculate the turn-on gain G1 of the slave device according to the following formula: Turn-on gain G1 = RF loss L1 + Intermediate frequency loss L2 - Turn-on gain G0 of the master device - Fixed gain backoff value data.
[0039] The slave device control module calculates the communication signal spatial loss L0 = P0 - P1 between the master device and the slave device based on the obtained signal power values P0 and P1. This includes: calculating the communication signal spatial loss L0 between the master device and the slave device at a preset frequency based on the signal power values P0 and P1, where the signal power value P0 is the port transmit power value of the master device's transmitting antenna, and the signal power value P1 is the power value of P0 reaching the slave device's receiving antenna port after spatial loss; and calculating the communication signal spatial loss L0 and the known communication frequency f0 using the following formula. The spatial distance d between the receiving antennas of the master device and the slave device is calculated as follows: L0 = 32.45 + 20Lgf0 + 20Lgd, where the spatial distance d is the spatial distance between the master device and the slave device; and based on the spatial distance d, the known RF frequency and IF frequency, the RF loss L1 between the receiving antenna of the master device and the transmitting antenna of the slave device and the IF loss L2 between the transmitting antenna of the master device and the receiving antenna of the slave device are calculated using the following spatial loss formulas: L1 = 32.45 + 20Lgf1 + 20Lgd, L2 = 32.45 + 20Lgf2 + 20Lgd, where f1 is the RF frequency and f2 is the IF frequency.
[0040] Another specific embodiment of the present invention discloses a method for determining the enable gain of a slave device, referring to... Figure 4 The method for determining the turn-on gain of the slave device includes: in step S402, amplifying the frequency signal received by the antenna; in step S404, up-converting or down-converting the amplified frequency signal according to a preset frequency; in step S406, transmitting communication information to the slave device through a transmitting antenna according to the preset frequency after up-conversion or down-conversion, wherein the communication information is received through the receiving antenna of the slave device; and in step S408, performing data processing on the master device and the slave device, wherein the slave device calculates the actual turn-on gain of the slave device based on the signal power value received by the receiving antenna and the signal power value transmitted by the transmitting antenna of the master device.
[0041] Specifically, the 4G and 5G signals received by the receiving antenna of the host device are amplified; the host device up-converts or down-converts the amplified 4G and 5G signals to an intermediate frequency (IF) according to a preset IF frequency; the communication information between the host device and the slave device is transmitted to the slave device through the transmitting antenna of the host device according to the up-converted or down-converted IF frequency, wherein the communication information is received through the receiving antenna of the slave device; and the communication information received by the slave device is processed; or the IF signal received by the receiving antenna of the slave device is amplified; the amplified IF signal is down-converted or up-converted according to a preset radio frequency (RF) frequency to restore the received IF signal to a 4G or 5G signal; the 4G and 5G signals are transmitted to the coverage area of multiple slave devices through the transmitting antenna of the slave device according to a preset frequency, and the 4G and 5G signals are received through the receiving antenna of another slave device in the coverage area; and the 4G and 5G signals received by the other slave device are processed.
[0042] In the following text, refer to Figures 1 to 3 The present invention will be described in detail, by way of specific examples, the method and apparatus for determining the slave device turn-on gain according to embodiments thereof.
[0043] To address coverage challenges in scenarios where exposed wiring is undesirable or inconvenient, this invention employs a single frequency-shifting master device connected wirelessly to n frequency-shifting slave devices, where n is the total number of slave devices, and n ≥ 1. Both the master and slave devices utilize omnidirectional antennas and are integrated into the device design, eliminating the need for long-distance cable connections. The installation location of the master device is the signal source location, and the installation location of the slave devices is the coverage area location.
[0044] like Figure 2 As shown, the host device antenna 1 receives 4G and 5G radio frequency signals, and antenna 2 transmits intermediate frequency signals after up-conversion or down-conversion of the 4G and 5G radio frequency signals; the slave device antenna 3 receives the intermediate frequency signals transmitted by the host, and antenna 4 transmits 4G and 5G radio frequency signals after down-conversion or up-conversion of the intermediate frequency signals, thereby ensuring ideal signal coverage within the coverage area.
[0045] In this invention, the host device and n slave devices interact with each other via wireless coupling of communication modules. The host device broadcasts the activation gain G0 and the host-side communication signal level P0 to the slave devices. The slave device's communication module calculates the communication signal loss between the host device and the slave device based on the power level P1 received from the host communication module after spatial loss and the power value P0 broadcast by the host device. It then calculates the distance d between the host device and the slave device using the spatial loss formula. The slave device calculates the RF loss L1 from antenna 1 of the master device to antenna 4 of the slave device and the IF loss L2 from antenna 2 of the master device to antenna 3 of the slave device based on the preset RF frequency, IF frequency and the calculated distance d between the master device and the slave device. Then, according to the slave device turn-on gain formula: G1 (slave turn-on gain) = L1 (RF signal loss from antenna 1 to antenna 4) + L2 (IF signal loss from antenna 2 to antenna 3) - G0 (master turn-on gain) - data (fixed gain back-off value), it accurately calculates the gain value G1 that the slave device needs to turn on and configures the slave device gain to ensure that the entire system does not interfere with, does not self-oscillate and works stably.
[0046] refer to Figure 1 The amplification module in the host device is configured to amplify the 4G and 5G signals received by antenna 1; the frequency conversion module is configured to up-convert or down-convert the amplified 4G and 5G signals to an intermediate frequency according to a preset intermediate frequency and send them to the slave device through antenna 2; the communication module is configured to send the communication information between the host device and the slave device to the slave device through antenna 2 according to a preset frequency; and the control module is configured to process the data between the host device and the slave device.
[0047] refer to Figure 1 The slave device's amplification module is configured to amplify the intermediate frequency signal received by antenna 3; the frequency conversion module is configured to down-convert or up-convert the amplified intermediate frequency signal according to a preset radio frequency, restore the received intermediate frequency signal to 4G or 5G signal, and transmit it to the coverage area through antenna 4; the communication module is configured to receive communication information sent by the master device according to a preset frequency; and the control module is configured to process the data of the slave device.
[0048] Figure 3 This is a flowchart of a method for determining the slave device enable gain according to an embodiment of the present invention. The specific steps are as follows:
[0049] In step 301: The host device communication module broadcasts the host-side communication signal level P0 and the host device enable gain G0 to the slave device.
[0050] The communication signal level P0 is the power level value output by the antenna port 2 of the communication module at a certain preset frequency;
[0051] The host device enable gain G0 is the actual enable gain of the host device calculated by the host based on the power level of the signal received by antenna 1 and the intermediate frequency output power level of the signal transmitted by antenna 2.
[0052] In step 302: The slave device communication module receives the host communication signal level P1 and the host broadcast communication signal level P0 and sends them to the control module inside the slave device.
[0053] The slave device communication module receives the master communication signal level P1, which is the power level P0 emitted by the master communication module and reaches the slave antenna 3 port after spatial loss.
[0054] The communication module inside the slave device sends the received master communication signal level P1 and the master broadcast communication signal level P0 to the control module via SPI, UART, etc., to calculate the spatial loss of the communication signal from antenna port 2 to antenna port 3 at a certain preset frequency.
[0055] In step 303: The slave device control module calculates the communication signal loss from the master device to the slave device based on the obtained communication signal levels P0 and P1: L0 = P0 - P1.
[0056] The communication signal level P0 obtained by the control module is the transmit power value of the host device's antenna port 2, and P1 is the power value of P0 reaching the antenna port 3 after spatial loss. P0-P1 can accurately calculate the spatial loss L0 of the communication signal between the host device and the slave device at a certain preset frequency.
[0057] In step 304: The slave device control module calculates the distance d between the master device and the slave device according to the space loss formula: L=32.45+20Lgf(MHz)+20Lgd(km).
[0058] Based on the communication signal spatial loss L0 calculated in step 303 and the known communication frequency, the control module can accurately calculate the spatial distance d between antenna 2 and antenna 3, i.e. the spatial distance between the host device and the slave device, using the formula: L=32.45+20Lgf(MHz)+20Lgd(km).
[0059] To avoid the problem of not being able to lay cables in most coverage scenarios, the system device formed by the host device and the slave device both adopt omnidirectional antennas. The antennas 1, 2, 3 and 4 connected to the host device and the slave device are all integrated into the device design and do not require long-distance cable connection. That is, the distance d between the host device's external antenna and the slave device's external antenna is calculated by the spatial loss formula, which is the spatial distance between the host device and the slave device.
[0060] In step 305: The slave device control module calculates the RF loss L1 of antenna 1 to antenna 4 and the IF loss L2 of antenna 2 to antenna 3 based on the calculated distance d between the master device and the slave device and the spatial loss formula.
[0061] Based on the distance d between the host device and the slave device calculated in step 304, and the known RF frequency and IF frequency, the control module uses the space loss formula:
[0062] L = 32.45 + 20Lgf (MHz) + 20Lgd (km) can accurately calculate the RF loss L1 of antennas 1 to 4 and the IF loss L2 of antennas 2 to 3.
[0063] In step 306: The slave device control module calculates and configures the slave device's activation gain according to the formula: L1 (RF signal loss from antenna 1 to antenna 4) = G0 (master activation gain) - L2 (IF signal loss from antenna 2 to antenna 3) + G1 (slave activation gain) + data (fixed gain backoff value), that is: G1 (slave activation gain) = L1 (RF signal loss from antenna 1 to antenna 4) + L2 (IF signal loss from antenna 2 to antenna 3) - G0 (master activation gain) - data (fixed gain backoff value).
[0064] In mobile communications, the actual turn-on gain of a device or system must be less than the isolation value between the receiving and transmitting antennas; otherwise, it will affect the performance of the device or system and may even cause self-oscillation, leading to interference with the base station. Typically, the actual turn-on gain of a device or system is more than 15 dB less than the isolation value between the receiving and transmitting antennas. This value can be adjusted appropriately when the device's operating mode and bandwidth are different. Once the operating mode and bandwidth are fixed, this value can be a fixed value, which is called data (fixed gain backoff value) in this invention.
[0065] The host device's antenna 1 receives 4G / 5G RF signals, and antenna 2 transmits the intermediate frequency (IF) signal after up-conversion or down-conversion of the 4G / 5G RF signal. The slave device's antenna 3 receives the IF signal transmitted by the host, and antenna 4 transmits the 4G / 5G RF signal after down-conversion or up-conversion of the IF signal. Individual host or slave devices transmit and receive at different frequencies. Theoretically, host or slave devices with frequency isolation can have sufficiently high gains. However, when the host and slave devices work together as a system, with host antenna 1 as the receiving antenna and slave antenna 4 as the transmitting antenna, the system gain must be less than the isolation value (data, fixed gain backoff value) between antenna 1 and antenna 4 for the entire system to operate stably. To ensure that multiple slave devices receive a stable and strong IF signal transmitted by the host device, the host device's gain should be as high as possible to ensure sufficient amplification of the weaker 4G / 5G signals. Therefore, determining the gain of each slave device becomes crucial for the stability of the entire system.
[0066] The host and slave devices work together as a system. Ignoring the isolation between antenna 1 and antenna 4, the overall system gain is calculated as follows:
[0067] G0 (Master turn-on gain) - L2 (Intermediate frequency signal loss from antenna 2 to antenna 3) + G1 (Slave turn-on gain).
[0068] When a system consisting of a master device and slave devices operates stably, the following formula must be satisfied:
[0069] L1 (RF signal loss from antenna 1 to antenna 4) = G0 (master turn-on gain) - L2 (IF signal loss from antenna 2 to antenna 3) + G1 (slave turn-on gain) + data (fixed gain backoff value); that is: G1 (slave turn-on gain) = L1 (RF signal loss from antenna 1 to antenna 4) + L2 (IF signal loss from antenna 2 to antenna 3) - G0 (master turn-on gain) - data (fixed gain backoff value).
[0070] The slave device control module obtains G0 (master activation gain) from step 1, and L1 (RF signal loss from antenna 1 to antenna 4) and L2 (IF signal loss from antenna 2 to antenna 3) from step 5; data (fixed gain backoff value) is a known fixed value preset within the slave control module. Therefore, the slave device control module can accurately calculate the slave device activation gain based on the known information.
[0071] The slave device control module configures the slave device accordingly based on the calculated device activation gain to ensure the stable operation of the entire system.
[0072] To illustrate this more clearly, let's take an example:
[0073] For example: The 5G signal received by the host antenna 1 has a radio frequency frequency of 3450MHz and a power level of -60dBm. After being up-converted to a 5800MHz intermediate frequency signal by the frequency conversion module, the transmitted intermediate frequency output power level is 15dBm. The host and slave device communication modules use a 2400MHz frequency for communication. The host communication module is configured with a transmit power of 0dBm and combined with the intermediate frequency signal before being transmitted to the slave device through antenna 2. The slave device antenna 3 receives the 5800MHz intermediate frequency signal, down-converts it to a 3450MHz radio frequency signal by the frequency conversion module to obtain the recovered 5G signal, which is then transmitted to the coverage area through antenna 4. The 2400MHz communication signal power received by the slave device communication module through antenna 3 is -70dBm; the preset data (fixed gain backoff value) in the slave device is 15dB.
[0074] Furthermore, the 5G signal power level received by antenna 1 of the host device is -60dBm, and the intermediate frequency output power level transmitted is 15dBm. The host control module calculates the host device turn-on gain G0 = 15 - (-60) = 75 (dB).
[0075] Furthermore, the host device control module broadcasts the calculated host device enable gain G0 and the transmit power 0dBm configured by the communication module to the slave device through the host-side communication module.
[0076] Furthermore, the slave device control module calculates the communication signal loss from the master device to the slave device, L0 = 0 - (-70) = 70 (dB), according to the formula L0 = P0 - P1 in step 3.
[0077] Furthermore, the slave device control module calculates the distance between the master device and the slave device based on the calculated communication signal loss L0 = 0 - (-70) = 70 (dB) and the known communication signal frequency 2400MHz. Using the space loss formula L = 32.45 + 20Lgf (MHz) + 20Lgd (km) from step 4, the distance between the master device and the slave device is calculated as 70 = 32.45 + 20Lg(2400) + 20Lgd (km). After conversion using the formula, the distance between the master device and the slave device is calculated as d = 0.03144 (km), or d = 31.44 (m).
[0078] Furthermore, the slave device control module, based on the known 5G signal RF frequency received by the host device antenna 1 and the 5G signal RF frequency transmitted through its own antenna 4, both being 3450MHz, and the calculated distance from the host device to the slave device d = 0.03144 (km), uses the spatial loss formula from step 4, L = 32.45 + 20Lgf (MHz) + 20Lgd (km), to calculate the RF loss from antenna 1 to antenna 4: L1 = 32.45 + 20Lg(3450) + 20Lg(0.03144) = 73.16 (dB).
[0079] Furthermore, the slave device control module, based on the known intermediate frequency (IF) signal frequency transmitted by antenna 2 of the master device and the IF signal frequency received by its own antenna 3, both being 5800MHz, and the calculated distance from the master device to the slave device d = 0.03144 (km), uses the spatial loss formula from step 4, L = 32.45 + 20Lgf (MHz) + 20Lgd (km), to calculate the IF loss between antenna 2 and antenna 3.
[0080] L2=32.45+20Lg(5800)+20Lg(0.03144)=77.67(dB).
[0081] Furthermore, the slave device control module calculates the slave device turn-on gain by substituting the data obtained above into the formula in step 6: G1 (slave turn-on gain) = L1 (RF signal loss from antenna 1 to antenna 4) + L2 (IF signal loss from antenna 2 to antenna 3) - G0 (master turn-on gain) - data (fixed gain backoff value).
[0082] G1 (Slave Enable Gain) = 73.16 + 77.67 - 75 - 15 = 60.8 ≈ 61 (dB).
[0083] The present invention provides a device for determining the turn-on gain of a slave device, which has the following advantages:
[0084] One frequency-shifting master device is wirelessly coupled to n frequency-shifting slave devices, where n is the total number of slave devices, and n≥1. Both the master and slave devices use omnidirectional antennas and are integrated into the device design, eliminating the need for long-distance cable connections. The installation location of the master device is the signal source location, and the installation location of the slave devices is the coverage area location, solving the coverage problems in scenarios where exposed wiring is not possible or inconvenient.
[0085] The master device and n slave devices interact wirelessly via communication modules. The slave devices, by acquiring the master device's activation gain G0, communication signal level P0, and pre-set known information, can accurately calculate the required slave device gain G1 based on the spatial loss formula and the slave device's activation gain formula: G1 (slave activation gain) = L1 (RF signal loss from antenna 1 to antenna 4) + L2 (IF signal loss from antenna 2 to antenna 3) - G0 (master activation gain) - data (fixed gain backoff value). This eliminates the need for high-precision detectors and complex self-oscillation detection and cancellation algorithms, saving hardware costs, reducing software development difficulty, shortening the software development cycle, and reducing embedded chip memory consumption.
[0086] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.
[0087] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. A device for determining the turn-on gain of a slave device, characterized in that, include: An amplifier module is used to amplify the frequency signals received by the antenna. The frequency converter module is used to up-convert or down-convert the amplified frequency signal according to a preset frequency. A communication module is used to transmit communication information to a slave device via a transmitting antenna according to a preset frequency, wherein the communication information is received via a receiving antenna of the slave device. The communication module includes a communication module for a master device and a communication module for a slave device. The communication module for the master device is used to broadcast the signal power value P0 and the enable gain G0 of the master device to the slave device; and the communication module for the slave device is used to send the signal power value P0 broadcast by the master device and the signal power value P1 received by the slave device to a control module inside the slave device. The control module is used to process data between the host device and the slave device. The slave device calculates its actual turn-on gain based on the signal power value received by the receiving antenna and the signal power value transmitted by the host device's transmitting antenna. The control module of the slave device is used to: calculate the communication signal loss L0 between the master device and the slave device based on the obtained signal power values P0 and P1 using the following formula: L0 = P0 - P1, where P0 is the power level of the communication signal output by the communication module through the transmitting antenna port of the master device at a preset communication frequency; and P1 is the power value of the communication signal with power value P0 transmitted by the master communication module after spatial loss to the receiving antenna port of the slave device; and calculate the communication signal loss between the master device and the slave device using the following spatial loss formula. The distance d between the devices is calculated as follows: L0 = 32.45 + 20lgf + 20lgd, where f is the preset communication frequency of the communication signal. Based on the calculated distance d between the host device and the slave device and the spatial loss formula, the RF loss L1 from the receiving antenna of the host device to the transmitting antenna of the slave device and the IF loss L2 from the transmitting antenna of the host device to the receiving antenna of the slave device are calculated respectively. The turn-on gain G1 of the slave device is calculated according to the following formula: Turn-on gain G1 = RF loss L1 + IF loss L2 - turn-on gain G0 of the host device - fixed gain backoff value data.
2. The device for determining the slave device activation gain according to claim 1, characterized in that, The amplification module is used to amplify the 4G and 5G signals received by the receiving antenna of the host device; The frequency conversion module is used by the host device to up-convert or down-convert the amplified 4G or 5G signal to the intermediate frequency according to the preset intermediate frequency. The communication module is used to transmit communication information between the host device and the slave device through the transmitting antenna of the host device to the slave device according to the intermediate frequency of up-conversion or down-conversion, wherein the communication information is received through the receiving antenna of the slave device; as well as The control module is used to process the communication information received by the slave device.
3. The device for determining the slave device activation gain according to claim 1, characterized in that, The amplification module is used to amplify the intermediate frequency signal received by the receiving antenna of the slave device; The frequency conversion module is used to down-convert or up-convert the amplified intermediate frequency signal according to a preset radio frequency frequency in order to restore the received intermediate frequency signal to a 4 or 5G signal. The communication module is used to transmit the 4G and 5G signals through the transmitting antenna of the slave device to the coverage area of multiple slave devices according to a preset radio frequency, and to receive the 4G and 5G signals through the receiving antenna of another slave device in the coverage area. as well as The control module is used to process the received 4G and 5G signals.
4. The device for determining the slave device's turn-on gain according to claim 1, characterized in that, The host device turn-on gain G0 is the actual turn-on gain of the host device calculated based on the power level of the signal received by the host device's receiving antenna and the intermediate frequency output power level of the host device's transmitting antenna.
5. The device for determining the slave device's turn-on gain according to claim 1, characterized in that, The communication module of the slave device is used for: The received signal power value P1 and the signal power value P0 broadcast by the host are sent to the control module via SPI and UART to calculate the spatial loss between the port of the transmitting antenna of the host device and the port of the receiving antenna of the slave device at a certain preset communication frequency.
6. The device for determining the slave device's turn-on gain according to claim 1, characterized in that, Based on the distance d, the known radio frequency (RF) frequency, and the intermediate frequency (IF) frequency, the RF loss L1 from the receiving antenna of the host device to the transmitting antenna of the slave device and the IF loss L2 from the transmitting antenna of the host device to the receiving antenna of the slave device are calculated using the following spatial loss formulas: L1 = 32.45 + 20lgf1 + 20lgd L2 = 32.45 + 20lgf2 + 20lgd, where f1 is the radio frequency and f2 is the intermediate frequency.
7. A method for determining the turn-on gain of a slave device, characterized in that, include: Amplify the frequency signal received by the antenna; The amplified frequency signal is up-converted or down-converted according to a preset frequency. According to a preset frequency, communication information is transmitted to the slave device via a transmitting antenna. The slave device receives the communication information via a receiving antenna. The master device's communication module broadcasts the master device's signal power value P0 and activation gain G0 to the slave device. The slave device's communication module also transmits the master device's broadcast signal power value P0 and the slave device's received signal power value P1 to the slave device's internal control module. The signal power value P0 is the power level of the communication signal output by the communication module through the master device's transmitting antenna port at a preset communication frequency. The signal power value P1 is the power value of the communication signal with power value P0 transmitted by the master communication module after spatial loss, reaching the slave device's receiving antenna port. Data processing is performed on the host device and the slave device, wherein the slave device calculates its actual turn-on gain based on the signal power value received by the receiving antenna and the signal power value transmitted by the transmitting antenna of the host device. The control module of the slave device calculates the communication signal loss L0 between the master device and the slave device using the following formula based on the obtained signal power values P0 and P1: L0 = P0 - P1; The distance d from the host device to the slave device is calculated using the following space loss formula: L0 = 32.45 + 20lgf + 20lgd, where f is the preset communication frequency of the communication signal; Based on the calculated distance d between the host device and the slave device and the spatial loss formula, the RF loss L1 from the receiving antenna of the host device to the transmitting antenna of the slave device and the intermediate frequency loss L2 from the transmitting antenna of the host device to the receiving antenna of the slave device are calculated respectively; and The activation gain G1 of the slave device is calculated using the following formula: Enable gain G1 = RF loss L1 + IF loss L2 - Enable gain of host device G0 - Fixed gain backoff value data.
8. The method for determining the slave device activation gain according to claim 7, characterized in that, include: The 4G and 5G signals received by the receiving antenna of the host device are amplified; The host device up-converts or down-converts the amplified 4G / 5G signal to an intermediate frequency (IF) according to a preset IF frequency; it then transmits the communication information between the host device and the slave device via the host device's transmitting antenna to the slave device based on the up-converted or down-converted IF frequency, wherein the slave device receives the communication information via its receiving antenna; and it performs data processing on the received communication information. The intermediate frequency (IF) signal received by the receiving antenna of the slave device is amplified; the amplified IF signal is down-converted or up-converted according to a preset radio frequency to restore the received IF signal to a 4G or 5G signal; the 4G or 5G signal is transmitted through the transmitting antenna of the slave device to the coverage area of multiple slave devices according to a preset radio frequency, and the 4G or 5G signal is received through the receiving antenna of another slave device in the coverage area; and the received 4G or 5G signal is processed.
Citation Information
Patent Citations
Rapid automatic gain control method, automatic gain control system and receiver system
CN102186233A
Self-excitation elimination device, isolation detection method, access unit and system
CN111163023A