Detection circuit for antenna connection status
By configuring an adjustable attenuation module in the antenna connection status detection circuit, the radio frequency signal is attenuated to the detection range of the detection module, which solves the problem of limited detection range in traditional detection methods and achieves higher detection accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- DALIAN GONGJIN TECH CO LTD
- Filing Date
- 2025-04-17
- Publication Date
- 2026-05-22
AI Technical Summary
Traditional antenna connection status detection methods suffer from low accuracy in detecting the standing wave ratio (SWR) of radio frequency signals outside the detection range due to the small power detection range of the detector devices, thus reducing the accuracy of antenna connection status detection.
An adjustable attenuation module is configured in the detection circuit. The adjustable attenuation module attenuates the radio frequency signal of arbitrary power to the power detection range of the detection module, thereby realizing the detection of the standing wave ratio of radio frequency signals of arbitrary power.
The scope of application of the detection circuit has been expanded, the accuracy of VSWR detection has been improved, and thus the accuracy of antenna connection status detection has been improved.
Smart Images

Figure CN224266884U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a detection circuit for antenna connection status. Background Technology
[0002] The power amplifier unit (PAU) is a core component of communication equipment, typically located in the signal transmission module. It amplifies the power of radio frequency (RF) signals to a level sufficient for the antenna to effectively transmit the signal. However, the PAU is a highly susceptible device to damage. For example, if the connection between the signal transmission module and the antenna is faulty, directly transmitting a high-power signal through the signal transmission module can easily damage the PAU. Therefore, the antenna's connection status needs to be checked before transmitting a signal through the signal transmission module. Traditional antenna connection status detection methods typically rely on the VSWR (Standing Wave Ratio) of the signal transmission module. However, the power detection range of the detectors used in this method is usually small, resulting in low accuracy in detecting VSWR of RF signals outside their detection range. This limits the applicability of the antenna connection status detection method and reduces its accuracy. Summary of the Invention
[0003] In view of this, embodiments of this application provide an antenna connection status detection circuit to expand the applicability of the antenna connection status detection method and improve the accuracy of antenna connection status detection.
[0004] A first aspect of this application provides an antenna connection status detection circuit for connecting a signal transmitting module of a communication device. The signal transmitting module includes a power amplification unit connected to an antenna. The antenna connection status detection circuit includes:
[0005] A signal sampling module is connected between the power amplifier unit and the antenna, and is used to collect the first radio frequency signal output by the power amplifier unit to the antenna and the second radio frequency signal reflected by the antenna.
[0006] An adjustable attenuation module, connected to the signal sampling module, is used to attenuate the power of the first radio frequency signal and the second radio frequency signal according to the attenuation coefficient, respectively, to obtain a first attenuated signal corresponding to the first radio frequency signal and a second attenuated signal corresponding to the second radio frequency signal; the power of the first attenuated signal and the power of the second attenuated signal are both within the power detection range of the detection module;
[0007] The detection module is connected to the adjustable attenuation module and the control module, and is used to detect the first voltage value corresponding to the first attenuation signal and the second voltage value corresponding to the second attenuation signal, and send the first voltage value and the second voltage value to the control module.
[0008] The control module is used to calculate the standing wave ratio (SWR) of the signal transmitting module based on the first voltage value, the first power attenuation amount corresponding to the first attenuation signal, the second voltage value, and the second power attenuation amount corresponding to the second attenuation signal; the SWR is used to reflect the connection status between the antenna and the signal transmitting module.
[0009] In one possible implementation of the first aspect, the signal sampling module includes a coupling unit and a directional transmission unit;
[0010] The coupling unit is connected to the first input terminal of the adjustable attenuation module. The coupling unit is used to couple out the first radio frequency signal from the radio frequency signal output from the power amplification unit to the antenna, and send the first radio frequency signal to the adjustable attenuation module.
[0011] The directional transmission unit is connected to the second input terminal of the adjustable attenuation module, and the directional transmission unit is used to send the second radio frequency signal reflected by the antenna to the adjustable attenuation module.
[0012] In one possible implementation of the first aspect, the adjustable attenuation module includes a first adjustable attenuation unit, a second adjustable attenuation unit, and a circuit selection unit;
[0013] The input terminal of the first adjustable attenuation unit is connected to the signal sampling module, and the output terminal of the first adjustable attenuation unit is connected to the first selection terminal of the circuit selection unit. The first adjustable attenuation unit is used to attenuate the power of the first radio frequency signal according to the first attenuation coefficient to obtain the first attenuated signal corresponding to the first radio frequency signal.
[0014] The input terminal of the second adjustable attenuation unit is connected to the signal sampling module, and the output terminal of the second adjustable attenuation unit is connected to the second selection terminal of the circuit selection unit. The second adjustable attenuation unit is used to attenuate the power of the second radio frequency signal according to the second attenuation coefficient to obtain the second attenuated signal corresponding to the second radio frequency signal.
[0015] The common terminal of the circuit selection unit is connected to the detection module. The circuit selection unit is used to selectively connect the first adjustable attenuation unit and the detection module to send the first radio frequency signal to the detection module, or to selectively connect the second adjustable attenuation unit and the detection module to send the second radio frequency signal to the detection module.
[0016] In one possible implementation of the first aspect, the controlled terminal of the circuit selection unit is connected to the control module. Specifically, the circuit selection unit is used to control the detection module to switch from being connected to the first adjustable attenuation unit to being connected to the second adjustable attenuation unit, or from being connected to the second adjustable attenuation unit to being connected to the first adjustable attenuation unit, when receiving a switching command from the control module.
[0017] In one possible implementation of the first aspect, the control module is further configured to adjust the first attenuation coefficient when the first voltage value is outside the voltage range corresponding to the power detection range; the adjusted first attenuation coefficient enables the first voltage value to be within the voltage range.
[0018] In one possible implementation of the first aspect, the control module is further configured to adjust the second attenuation coefficient when the voltage value corresponding to the second attenuation signal is outside the voltage range corresponding to the power detection range; the adjusted second attenuation coefficient enables the second voltage value to be within the voltage range.
[0019] In one possible implementation of the first aspect, the circuit selection unit includes a radio frequency switch.
[0020] In one possible implementation of the first aspect, the control module is further configured to determine the forward power corresponding to the first radio frequency signal based on the first voltage value and the first power attenuation, determine the reverse power corresponding to the second radio frequency signal based on the second voltage value and the second power attenuation, and determine the standing wave ratio based on the forward power and the reverse power.
[0021] In one possible implementation of the first aspect, the control module is further configured to output a first control command when the forward power and / or the reverse power are greater than a preset power threshold; the first control command is used to control the power amplifier unit to power down.
[0022] In one possible implementation of the first aspect, the control module is specifically used to adjust the first attenuation coefficient or the second attenuation coefficient using an interpolation method.
[0023] Compared with the prior art, the embodiments of this application have the following advantages:
[0024] This application embodiment configures an adjustable attenuation module in the antenna connection state detection circuit. Since the adjustable attenuation module can attenuate the power of any first radio frequency signal and any second radio frequency signal to the power detection range of the detection module, the detection circuit can realize the detection of the standing wave ratio of radio frequency signals of arbitrary power. This not only expands the applicability of the detection circuit, but also improves the accuracy of standing wave ratio detection, thereby improving the accuracy of antenna connection state detection. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a schematic diagram of the power detection range of a detector provided in an embodiment of this application;
[0027] Figure 2 This is a schematic diagram of an antenna connection status detection circuit provided in an embodiment of this application;
[0028] Figure 3 This is a schematic diagram of another antenna connection status detection circuit provided in an embodiment of this application;
[0029] Figure 4 This is a schematic diagram of another antenna connection status detection circuit provided in an embodiment of this application;
[0030] Figure 5 This is a schematic diagram of an antenna connection status detection method provided in an embodiment of this application;
[0031] Figure 6 This is a schematic diagram of another antenna connection status detection method provided in an embodiment of this application;
[0032] Figure 7 This is a schematic diagram of an antenna connection status detection device provided in an embodiment of this application. Detailed Implementation
[0033] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0034] It should be understood that the term "and / or" as used in this application specification and the appended claims refers to any combination of one or more of the associated listed items, as well as all possible combinations, and includes such combinations. Furthermore, in the description of this application specification and the appended claims, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance.
[0035] It should also be understood that references to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include the specific features, structures, or characteristics described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0036] A power amplifier unit, or simply power amplifier unit, is commonly used in the signal transmission modules of communication equipment (such as mobile phones, base stations, and satellite communication equipment) to amplify the power of the radio frequency (RF) signal to be transmitted, ensuring that the amplified RF signal reaches the power level that the antenna can effectively transmit. For example, the RF power amplifier unit in a base station amplifies the power of the RF signal, enabling long-distance transmission and achieving reliable communication between the base station and mobile terminals.
[0037] However, power amplifier units are highly susceptible to damage. Issues such as improper antenna connection, abnormal power supply to the power amplifier unit, transportation malfunctions, installation errors, and filter malfunctions can all lead to its failure. For example, if a high-power radio frequency (RF) signal is still transmitted through the signal transmitting module despite a poor connection between the signal transmitting module and the antenna, abnormal RF signal reflection will occur. The reflected RF signal will interfere with the RF signal transmitted by the signal transmitting module, subjecting the power amplifier unit to additional power stress beyond its normal operating load and ultimately causing damage. This damage not only affects the normal operation of communication equipment but also increases maintenance costs and downtime. Portable base station equipment and airborne emergency communication equipment, in particular, require antenna reinstallation for each use, making them highly prone to poor connection between the signal transmitting module and the antenna.
[0038] Given the fragility of the power amplifier unit, checking the antenna's connection status before transmitting signals through the signal transmission module is an essential procedure. Traditional methods for antenna connection status detection involve measuring the standing wave ratio (VSWR) of the signal transmission module. Specifically, since the VSWR of the signal transmission module reflects signal reflection during transmission, detecting the VSWR can, to some extent, determine whether the antenna's connection status is good.
[0039] However, traditional antenna connection status detection methods use detectors with limited power detection ranges. This results in low accuracy in VSWR (Standing Wave Ratio) detection for radio frequency (RF) signals outside the detector's detection range, thus leading to lower accuracy in antenna connection status detection. For example, when encountering high-power or high-frequency RF signals, the detector may fail to accurately sense signal changes, leading to inaccurate VSWR detection results. See also... Figure 1 This diagram illustrates the power detection range of a detector provided in an embodiment of this application. Figure 1 As shown, the detector's minimum input power is -45 dBm and its maximum input power is 5 dBm. Therefore, the detector's power detection range is -45 dBm to 5 dBm. However, the actual operating range of a high-power amplifier unit is typically -60 dBm to 48 dBm. That is, the operating range of a high-power amplifier unit is usually greater than... Figure 1 The power detection range of the detector shown is therefore used. Figure 1 The detector shown is used to detect the signal standing wave ratio (SWR). However, this method can easily lead to low accuracy in SWR detection, thereby reducing the reliability and stability of communication equipment.
[0040] Therefore, this application provides an antenna connection status detection circuit. The detection circuit provided in this application includes an adjustable attenuation module. Since the adjustable attenuation module can attenuate a first radio frequency signal of arbitrary power to a first attenuated signal with power within the power detection range of the detection module, and attenuate a second radio frequency signal of arbitrary power to a second attenuated signal with power within the power detection range of the detection module, the detection circuit provided in this embodiment can perform standing wave ratio (SWR) detection on radio frequency signals of arbitrary power. This not only expands the applicability of the detection circuit but also improves the accuracy of SWR detection, thereby improving the accuracy of antenna connection status detection.
[0041] The antenna connection status detection circuit provided in this application will be described below through specific embodiments and in conjunction with the accompanying drawings:
[0042] Reference Figure 2 The diagram illustrates a schematic of an antenna connection status detection circuit provided in an embodiment of this application. Figure 2 As shown, the antenna connection status detection circuit 20 can be connected to the signal transmission module 21 of the communication device. The signal transmission module 21 may include a power amplification unit 211 and an antenna 212. The power amplification unit 211 amplifies the power of the first radio frequency signal to be transmitted and transmits the amplified first radio frequency signal to the antenna, enabling the antenna to transmit the first radio frequency signal. It is understood that when the antenna transmits the first radio frequency signal, it reflects a portion of the radio frequency signal back to the power amplification unit 211; this reflected radio frequency signal can be defined as a second radio frequency signal.
[0043] The antenna connection status detection circuit 20 can be connected between the power amplification unit 211 and the antenna 212.
[0044] Specifically, the antenna connection status detection circuit 20 may include a signal sampling module 201, an adjustable attenuation module 202, a detection module 203, and a control module 204.
[0045] The signal sampling module 201 can be connected between the power amplifier unit 211 and the antenna 212. The signal sampling module 201 can be used to collect the first radio frequency signal output from the power amplifier unit 211 to the antenna 212, and the second radio frequency signal reflected by the antenna 212, and transmit the first radio frequency signal and the second radio frequency signal to the adjustable attenuation module 202.
[0046] The adjustable attenuation module 202 can be connected to the signal sampling module 201. The adjustable attenuation module 202 can attenuate the power of the first radio frequency signal and the second radio frequency signal according to an attenuation coefficient, respectively, to obtain a first attenuated signal corresponding to the first radio frequency signal and a second attenuated signal corresponding to the second radio frequency signal, and send the first and second attenuated signals to the detection module 203. The power of both the first and second attenuated signals can be within the power detection range of the detection module. The attenuation coefficient is adjustable.
[0047] The detection module 203 can be connected to the adjustable attenuation module 202 and the control module 204. The detection module 203 can be used to detect the first voltage value corresponding to the first attenuation signal and the second voltage value corresponding to the second attenuation signal, and send the first voltage value and the second voltage value to the control module 204.
[0048] The control module 204 can be used to calculate the standing wave ratio of the signal transmitting module based on the first voltage value corresponding to the first attenuation signal, the first power attenuation amount corresponding to the first attenuation signal, the second voltage value corresponding to the second attenuation signal, and the second power attenuation amount corresponding to the second attenuation signal.
[0049] The first power attenuation and the second power attenuation can be determined by the control module 204 based on the attenuation coefficient used by the adjustable attenuation module to attenuate the power of the first and second radio frequency signals. The standing wave ratio (VSWR) of the signal transmitting module can be used to reflect the connection status between the antenna and the signal transmitting module.
[0050] In one possible implementation, the input terminal of the signal sampling module 201 can be connected to the output terminal of the power amplification unit 211, the first output terminal of the signal sampling module 201 can be connected to the antenna 212, and the second output terminal of the signal sampling module 201 can be connected to the input terminal of the adjustable attenuation module 202.
[0051] The output of the adjustable attenuation module 202 can be connected to the input of the detector module 203.
[0052] The output of the detector module 203 can be connected to the input of the control module 204.
[0053] In one possible implementation, the control module 204 can be a microcontroller unit (MCU), a single-chip microcomputer (SCM), a central processing unit (CPU), a field-programmable gate array (FPGA), a programmable logic device (PLD), or other similar devices.
[0054] In one possible implementation, the control module can calculate the forward power of the first radio frequency signal based on the first voltage value corresponding to the first attenuation signal and the first power attenuation amount corresponding to the first attenuation signal; calculate the reverse power of the second radio frequency signal based on the second voltage value corresponding to the second attenuation signal and the second power attenuation amount corresponding to the second attenuation signal; and determine the VSWR of the signal transmitting module based on the forward power and the reverse power. For example, the control module can determine the VSWR of the signal transmitting module as the ratio of the reverse power to the forward power.
[0055] Reference Figure 3 The diagram shows a schematic representation of an antenna connection status detection circuit according to a second embodiment of this application. Figure 3 As shown, the signal sampling module 201 may include a coupling unit 2011 and a directional transmission unit 2012.
[0056] The coupling unit 2011 can be connected to the first input terminal of the adjustable attenuation module 202. The coupling unit 2011 can be used to couple out a first radio frequency signal from the radio frequency signal output from the power amplifier unit 211 to the antenna 212, and send the first radio frequency signal to the adjustable attenuation module 202.
[0057] The directional transmission unit 2012 can be connected to the second input terminal of the adjustable attenuation module 202. The directional transmission unit 2012 can be used to send the second radio frequency signal reflected by the antenna 212 to the adjustable attenuation module 202.
[0058] In one possible implementation, the input terminal of the coupling unit 2011 can be connected to the output terminal of the power amplifier unit 211, the first output terminal of the coupling unit 2011 can be connected to the first input terminal of the directional transmission unit 2012, and the second output terminal of the coupling unit 2011 can be connected to the first input terminal of the adjustable attenuation module 202.
[0059] In one possible implementation, the coupling unit 2011 may include at least one of a coupler, a digital isolator, and an isolated error amplifier.
[0060] In one possible implementation, the first input terminal of the directional transmission unit 2012 can be connected to the first output terminal of the coupling unit 2011, the bidirectional port of the directional transmission unit 2012 can be connected to the antenna 212, and the output terminal of the directional transmission unit 2012 can be connected to the second input terminal of the adjustable attenuation module 202.
[0061] In one possible implementation, the directional transmission unit 2012 may include at least one of a circulator, an isolator, and a directional coupler.
[0062] Reference Figure 3 The diagram shows a schematic representation of an antenna connection status detection circuit according to a third embodiment of this application. Figure 3 As shown, a path control unit 213 can also be connected between the directional transmission unit 2012 and the antenna 212.
[0063] The path control unit 213 can be used to manage the transmission path of radio frequency signals to isolate communication devices and ensure that the communication devices can transmit and receive radio frequency signals normally.
[0064] In one possible implementation, the path control unit 213 can be a duplexer. The duplexer can separate radio frequency signals of different frequencies or at different times, so that the same antenna 212 can both transmit and receive radio frequency signals, while preventing the radio frequency signals transmitted by the signal transmitting module 21 from interfering with the radio frequency signals received by the antenna 212.
[0065] In one possible implementation, the path control unit 213 can be a radio frequency (RF) switch. The RF switch can selectively connect the RF signal transmission channel to the antenna 212, or selectively connect the RF signal reception channel to the antenna 212.
[0066] Reference Figure 3 This diagram illustrates a structural schematic of an antenna connection status detection circuit according to a fourth embodiment of this application. Figure 3 As shown, the adjustable attenuation module 202 may include a first adjustable attenuation unit 2021, a second adjustable attenuation unit 2022, and a circuit selection unit 2023.
[0067] The first adjustable attenuation unit 2021 has an input terminal that can be connected to the signal sampling module 201. Its output terminal can be connected to the first selection terminal of the circuit selection unit. The first adjustable attenuation unit 2021 can be used to attenuate the power of the first radio frequency signal according to a first attenuation coefficient, obtaining a first attenuated signal corresponding to the first radio frequency signal, and then transmitting the first attenuated signal to the detection module 203 through the circuit selection unit 2023.
[0068] The second adjustable attenuation unit 2022 has an input terminal that can be connected to the signal sampling module 201. Its output terminal can be connected to the second selection terminal of the circuit selection unit 2023. The second adjustable attenuation unit 2022 can be used to attenuate the power of the second radio frequency signal according to a second attenuation coefficient, obtaining a second attenuated signal corresponding to the second radio frequency signal, and then transmitting the second attenuated signal to the detection module 203 through the circuit selection unit 2023.
[0069] The circuit selection unit 2023 has a common terminal that can be connected to the input terminal of the detection module 203. The circuit selection unit 2023 is used to selectively connect the first adjustable attenuation unit 2021 and the detection module 203 to send a first radio frequency signal to the detection module 203, or selectively connect the second adjustable attenuation unit 2022 and the detection module 203 to send a second radio frequency signal to the detection module 203.
[0070] In one possible implementation, the input terminal of the first adjustable attenuation unit 2021 can be connected to the coupling unit 2011 in the signal sampling module 201 as the first input terminal of the adjustable attenuation module 202.
[0071] In one possible implementation, the input terminal of the second adjustable attenuation unit 2022 can be connected to the directional transmission unit 2012 in the signal sampling module 201 as the second input terminal of the adjustable attenuation module 202.
[0072] In one possible implementation, the circuit selection unit 2023 can be an RF switch, a relay, an analog switch, an electronic switch, or a multiplexer.
[0073] In one possible implementation, when the circuit selection unit 2023 is an electronic switch or a multiplexer, the clock signal input terminal of the circuit selection unit 2023 can receive a clock signal. The circuit selection unit 2023 can selectively connect the first adjustable attenuation unit 2021 and the detection module 203 according to the received clock signal, or selectively connect the second adjustable attenuation unit 2022 and the detection module 203 according to the received clock signal.
[0074] Reference Figure 3 This diagram illustrates a structural schematic of an antenna connection status detection circuit according to a fifth embodiment of this application. Figure 3 As shown, the control module 204 can be connected to the controlled terminal of the circuit selection unit 2023.
[0075] In one possible implementation, the third output terminal OUT_PUT3 of the control module 204 can be connected to the input terminal of the circuit selection unit 2023.
[0076] The control module 204 can be used to send a first switching command or a second switching command to the circuit selection unit 2023 sequentially according to the time interval preset by the R&D personnel.
[0077] The circuit selection unit 2023 can be used to control the detector module 203 to switch from being connected to the first adjustable attenuation unit 2021 to being connected to the second adjustable attenuation unit 2022 when receiving a first switching command from the control module 204; and to control the detector module 203 to switch from being connected to the second adjustable attenuation unit 2022 to being connected to the first adjustable attenuation unit 2021 when receiving a second switching command from the control module 204.
[0078] In one possible implementation, when the detection module 203 is connected to the first adjustable attenuation unit 2021, the control module 204 can acquire a first voltage value and calculate the forward power based on the first voltage value and the first power attenuation amount corresponding to the first attenuation signal. When the detection module 203 is connected to the second adjustable attenuation unit 2022, the control module 204 can acquire a second voltage value and calculate the reverse power based on the second voltage value and the second power attenuation amount corresponding to the second attenuation signal. Then, the control module 204 can calculate the standing wave ratio (VSWR) based on the forward power and the reverse power.
[0079] Reference Figure 3 The diagram shows a schematic representation of an antenna connection status detection circuit according to the sixth embodiment of this application. Figure 3As shown, the control module 204 can also be connected to the first adjustable attenuation unit 2021 and the second adjustable attenuation unit 2022 respectively.
[0080] The control module 204 can be used to adjust the first attenuation coefficient when the voltage value corresponding to the first attenuation signal is outside the voltage range corresponding to the power detection range of the detector module 203.
[0081] The control module 204 can also be used to adjust the second attenuation coefficient when the voltage value corresponding to the second attenuation signal is outside the voltage range corresponding to the power detection range of the detector module 203.
[0082] The first attenuation coefficient adjusted by the control module 204 can keep the first voltage value within the voltage range, and the second attenuation coefficient adjusted by the control module 204 can keep the second voltage value within the voltage range.
[0083] The first adjustable attenuation unit can be used to attenuate the power of the first radio frequency signal according to the adjusted first attenuation coefficient to obtain the first attenuated signal.
[0084] The second adjustable attenuation unit can be used to attenuate the power of the second radio frequency signal according to the adjusted second attenuation coefficient to obtain the second attenuated signal. Specifically, the first adjustable attenuation unit and the second adjustable attenuation unit can be adjustable attenuators.
[0085] In one possible implementation, the control module 204 may use interpolation to adjust the first attenuation coefficient or the second attenuation coefficient.
[0086] In one possible implementation, the second output terminal OUT_PUT2 of the control module 204 can be connected to the input terminal of the first adjustable attenuation unit 2021. The fourth output terminal OUT_PUT4 of the control module 204 can be connected to the input terminal of the second adjustable attenuation unit 2022.
[0087] Reference Figure 3 The diagram shows a schematic representation of an antenna connection status detection circuit according to the seventh embodiment of this application. Figure 3 As shown, the control module 204 can also be connected to the power amplifier unit 211.
[0088] The control module 204 can also be used to determine whether the forward power and / or reverse power are greater than a preset power threshold after calculating the forward power and / or reverse power. If the control module 204 determines that the forward power and / or reverse power are greater than the power threshold, the control module 204 can output a first control command to the power amplifier unit. The first control command can be used to power down the power amplifier unit 211. If the control module 204 determines that both the forward power and reverse power are less than or equal to the power threshold, the control module 204 can calculate the standing wave ratio (VSWR) based on the forward power and reverse power.
[0089] The power amplifier unit 211 can receive a first control command and perform a power-down operation in response to the first control command.
[0090] In one possible implementation, the first output terminal OUT_PUT1 in the control module can be connected to the input terminal of the power amplifier unit 211.
[0091] In one possible implementation, the power amplification unit 211 may include a gain unit 2111 and a power amplifier chip 2112. The gain unit 2111 may be connected to the power amplifier chip 2112. The power amplifier chip 2112 may be connected to the coupling unit 2011 and the control module 204, respectively.
[0092] The gain unit 2111 can be used to amplify the amplitude of the input RF signal according to a preset gain factor, and send the amplified RF signal to the power amplifier chip 2112.
[0093] The power amplifier chip 2112 can be used to amplify the power of the received radio frequency signal and transmit the amplified radio frequency signal to the coupling unit 2011. The power amplifier chip 2112 can also perform a power-down operation after receiving the first control command sent by the control module 204.
[0094] In one possible implementation, the RF signal input terminal IN of the power amplifier chip 2112 can be connected to the output terminal of the gain unit 2111. The enable signal input terminal EN of the power amplifier chip 2112 can be connected to the first output terminal OUT_PUT1 of the control module 204. The output terminal of the power amplifier chip 2112 can be connected to the input terminal of the coupling unit 2011.
[0095] With the detection circuit provided in this embodiment, since the control module 204 can control the power amplifier unit to power down in a timely manner when the forward power and / or negative power is greater than the power threshold, the detection circuit provided in this embodiment can improve the safety of the power amplifier unit 211.
[0096] Reference Figure 4This diagram illustrates the structure of an antenna connection status detection circuit according to the eighth embodiment of this application. Figure 4 As shown, the first adjustable attenuation unit 2021 can be composed of a logic control interface 20211 and an attenuation array 20212. The second adjustable attenuation unit 2022 can be composed of a logic control interface 20221 and an attenuation array 20222.
[0097] The logic control interface 20211 in the first adjustable attenuation unit 2021 may include a data signal input terminal D, a clock signal input terminal CLK, a latch signal input terminal LE, and a mode signal input terminal P / S.
[0098] The clock signal input terminal CLK of the logic control interface 20211 can be used to receive clock signals. The latch signal input terminal LE of the logic control interface 20211 can be used to receive latch signals. The mode signal input terminal P / S of the logic control interface 20211 can be used to receive mode signals.
[0099] The data signal input terminal D of the logic control interface 20211 can be connected to the second output terminal OUT_PUT2 of the control module 204 to receive the first attenuation coefficient transmitted by the control module 204. After receiving the first attenuation coefficient, the logic control interface 20211 can adjust the connection state or component parameters of the resistor elements in the attenuation array 20212 according to the first attenuation coefficient, so that the attenuation array 20212 attenuates the power of the first radio frequency signal according to the first power attenuation amount corresponding to the first attenuation coefficient.
[0100] The attenuation array 20212 in the first adjustable attenuation unit 2021 can be used to attenuate the power of the input first radio frequency signal to obtain a first attenuated signal, and send the first attenuated signal to the detection module.
[0101] In one possible implementation, the logic control interface 20211 can store the currently received data signal, i.e., store the received first attenuation coefficient, when it receives the latch signal.
[0102] In one possible implementation, the logic control interface 20211 can switch the data transmission mode from parallel transmission mode to serial transmission mode, or switch the data transmission mode from serial transmission mode to parallel transmission mode, when a mode signal is received.
[0103] In one possible implementation, the attenuation array 20212 can be composed of multiple resistive elements connected in series and / or in parallel.
[0104] The operation of the attenuation array 20222 and logic control interface 20221 of the second adjustable attenuation unit 2022 is similar to that of the attenuation array 20212 and logic control interface 20211 in the first adjustable attenuation unit 2021. Readers can refer to the content of attenuation array 20212 and logic control interface 20211, and replace "first adjustable attenuation unit 2021" with "second adjustable attenuation unit 2022", "logic control interface 20211" with "logic control interface 20221", "attenuation array 20212" with "attenuation array 20222", "first attenuation coefficient" with "second attenuation coefficient", "second output terminal OUT_PUT2 of control module 204" with "fourth output terminal OUT_PUT4 of control module 204", and "first power attenuation amount" with "second power attenuation amount" for understanding.
[0105] In the detection circuit provided in this embodiment, since the structures of the first adjustable attenuation module and the second adjustable attenuation module are relatively simple and the manufacturing cost is low due to the combination of attenuation array and logic control interface, the detection circuit provided in this embodiment can ensure that the RF signal input to the logarithmic detector is within its high-precision power detection range under the premise of low cost, thereby achieving high-precision VSWR detection in a low-cost manner.
[0106] Reference Figure 5 This diagram illustrates a method for detecting antenna connection status according to an embodiment of this application. This method can be applied to the control module of an antenna connection status detection circuit. The control module can be a microcontroller unit (MCU), a single-chip microcomputer, a central processing unit (CPU), a field-programmable gate array (FPGA), a programmable logic device (PLD), or other control modules. The specific steps of the antenna connection status detection method described above may include the following:
[0107] S501. Obtain the first voltage value and the first power attenuation amount corresponding to the first attenuation signal.
[0108] In this embodiment, when a user needs to operate the communication device, the user can send a start command to the control module. In response to the start command, the control module can send a second control command to the power amplification unit in the signal transmission module. This second control command can be used to power on the power amplification unit. Then, the control module can obtain the first voltage value and the first power attenuation amount corresponding to the first attenuation signal. The first attenuation signal is obtained by attenuating the power of the first radio frequency signal output from the power amplification unit to the antenna using a first attenuation coefficient. The power of the first attenuation signal can be within the power detection range of the detection module.
[0109] S502, Obtain the second voltage value and the second power attenuation amount corresponding to the second attenuation signal.
[0110] In this embodiment, the control module can acquire the second voltage value and the first power attenuation amount corresponding to the second attenuation signal. The second attenuation signal is obtained by attenuating the power of the second radio frequency signal reflected by the antenna using a second attenuation coefficient. The power of the second attenuation signal can be within the power detection range of the detection module.
[0111] S503. Calculate the standing wave ratio based on the first voltage value, the first power attenuation, the second voltage value, and the second power attenuation.
[0112] In this embodiment, the control module can calculate the standing wave ratio (SWR) based on a first voltage value, a first power attenuation, a second voltage value, and a second power attenuation. The first power attenuation can be determined by the control module based on a first attenuation coefficient. The second power attenuation can be determined by the control module based on a second attenuation coefficient. The first attenuation coefficient can be an attenuation coefficient used to attenuate the power of the first radio frequency signal. The SWR can be used to represent the connection status between the signal transmitting module and the antenna in the communication device.
[0113] In one possible implementation, the control module can calculate the forward power corresponding to the first attenuation signal based on the first voltage value and the first power attenuation amount. Specifically, after obtaining the first voltage value, the control module can look up a preset first conversion curve based on the first voltage value to determine the first power value corresponding to the first voltage value. Then, the control module can use the sum of the first power value and the first power attenuation amount as the forward power. The first power attenuation amount can be determined by the control module by looking up a preset power conversion table based on the attenuation coefficient corresponding to the first attenuation signal.
[0114] The control module can also calculate the reverse power corresponding to the second attenuation signal based on the second voltage value and the second power attenuation. The calculation method for reverse power is similar to that for forward power. Readers can refer to the calculation method for forward power and replace "first voltage value" with "second voltage value," "first power attenuation" with "second power attenuation," "first conversion curve" with "second conversion curve," and "first attenuation signal" with "second attenuation signal" to understand the calculation method for reverse power.
[0115] Figure 6 A flowchart illustrating the specific implementation of another antenna connection status detection method provided in the second embodiment of this application is shown. See also... Figure 6 Compared to Figure 5 The embodiment provided here includes an antenna connection status detection method comprising: S601 to S607, detailed as follows:
[0116] S601. Send a second switching command to the circuit selection unit to obtain the first voltage value corresponding to the first attenuation signal.
[0117] In this embodiment, while responding to the start command by sending a second control command to the power amplification unit, the control module can also send a first switching command to the circuit selection unit to control the connection between the detection module and the first adjustable attenuation unit. When controlling the connection between the detection module and the first adjustable attenuation unit, the control module can obtain the first voltage value corresponding to the first attenuation signal.
[0118] In one possible implementation, the control module may also respond to the start command by sending a second control command to the power amplification unit and a first adjustment command to the first adjustable attenuation unit simultaneously. The first adjustment command can be used to adjust the first attenuation coefficient of the first adjustable attenuation unit to the maximum value within the range of attenuation coefficients corresponding to the first adjustable attenuation unit. At this time, the control module can acquire a first voltage value and calculate the forward power based on the first voltage value and the first power attenuation amount corresponding to the maximum value of the first attenuation coefficient. After calculating the forward power when the first attenuation coefficient is at its maximum value, the control module can determine whether the current forward power is greater than a preset power threshold.
[0119] If the control module determines that the current forward power is greater than the power threshold, it can output a first control command to the power amplification unit to power down. If the control module determines that the current forward power is less than or equal to the power threshold, it can send a second adjustment command to the first adjustable attenuation unit. The second adjustment command can be used to adjust the first attenuation coefficient of the first adjustable attenuation unit to its initial value. Specifically, the initial value of the first attenuation coefficient can be the midpoint of the attenuation coefficient range corresponding to the first adjustable attenuation unit. After adjusting the first attenuation coefficient to its initial value, the control module can reacquire the first voltage value and determine whether the first voltage value is within the voltage range corresponding to the power detection range.
[0120] S602. If the first voltage value is outside the voltage range corresponding to the power detection range, then adjust the first attenuation coefficient.
[0121] In this embodiment, if the control module determines that the first voltage value is outside the voltage range corresponding to the power detection range, the control module can use an interpolation algorithm to adjust the first attenuation coefficient.
[0122] In one possible implementation, the control module adjusts the first attenuation coefficient using an interpolation algorithm as follows: When the first voltage value is outside the voltage range, the control module determines the adjustment direction of the first attenuation coefficient based on the relationship between the first voltage value and the voltage range. After determining the adjustment direction, the control module determines the adjusted first attenuation coefficient based on the adjustment direction and the attenuation coefficient range of the first adjustable attenuation unit.
[0123] For example, when the control module determines that the first voltage value is outside the voltage range and is less than the minimum value of the voltage range, the control module can obtain the current first attenuation coefficient of the first adjustable attenuation unit and determine the adjustment amount based on the difference between the current first attenuation coefficient and the minimum value of the attenuation coefficient range of the first adjustable attenuation unit. Specifically, the control module can use half of the current first attenuation coefficient and the minimum value of the attenuation coefficient range as the adjustment amount. Then, the control module can determine the adjusted first attenuation coefficient based on the adjustment amount and the current first attenuation coefficient. As another example, when the control module determines that the first voltage value is outside the voltage range and is greater than the maximum value in the voltage range, the control module can obtain the current first attenuation coefficient of the first adjustable attenuation unit and determine the adjustment amount based on the difference between the maximum value of the attenuation coefficient range corresponding to the first adjustable attenuation unit and the current first attenuation coefficient. Specifically, the control module can use half of the difference between the maximum value of the attenuation coefficient range and the first attenuation coefficient as the adjustment amount. Then, the control module can determine the adjusted first attenuation coefficient based on the adjustment amount and the current first attenuation coefficient.
[0124] The control module can send a third adjustment command containing the adjusted first attenuation coefficient to the first adjustable attenuation unit. The control module can continuously acquire the first voltage value and continuously adjust the first attenuation coefficient through an interpolation algorithm until the first voltage value is within the voltage range corresponding to the power detection range, at which point the control module can stop adjusting the first attenuation coefficient.
[0125] The method provided in this embodiment allows the control module to quickly adjust the attenuation parameters, greatly reducing the number of times the control module adjusts the attenuation coefficient and significantly improving the attenuation adjustment speed, thereby improving the response speed of the detection circuit.
[0126] S603. If the first voltage value is within the voltage range corresponding to the power detection range, then calculate the forward power based on the first voltage value and the first power attenuation.
[0127] In this embodiment, when the control module determines that the first voltage value is within the voltage range corresponding to the power detection range, it can calculate the forward power based on the first voltage value and the first power attenuation. The specific method by which the control module calculates the forward power is described in the first embodiment of this application and will not be repeated here.
[0128] S604. Send a first switching command to the circuit selection unit and obtain the second voltage value corresponding to the second attenuation signal.
[0129] In this embodiment, after calculating the forward power, the control module can send a first switching command to the circuit selection module to control the detector module to connect with the second adjustable attenuation unit and obtain the second voltage value corresponding to the second attenuation signal.
[0130] S605. If the second voltage value is outside the voltage range corresponding to the power detection range, adjust the attenuation parameter of the first attenuation component.
[0131] S606. If the second voltage value is within the voltage range corresponding to the power detection range, then calculate the reverse power based on the second voltage value and the second power attenuation.
[0132] In this embodiment, the specific implementation methods of S604 to S606 are similar to those of S601 to S603. Readers can refer to the contents of S601 to S603 and replace "second switching instruction" with "first switching instruction", "first attenuation signal" with "second attenuation signal", "first voltage value" with "second voltage value", "first adjustable attenuation unit" with "second adjustable attenuation unit", and "first power attenuation amount" with "second power attenuation amount" to understand the specific implementation methods of S604 to S606.
[0133] S607. Calculate the standing wave ratio based on the forward power and reverse power.
[0134] In this embodiment, after determining the forward power and reverse power, the control module can input the forward power and reverse power into the standing wave ratio (SWR) function to calculate the SWR. The SWR function can be specifically shown below.
[0135]
[0136] VSWR can represent the standing wave ratio. r This can represent reverse power. P f It can represent forward power.
[0137] The method provided in this embodiment allows the control module to ensure that the first attenuation signal used to calculate the forward power is within the power detection range of the detector module, and the second attenuation signal used to calculate the reverse power is also within the power detection range of the detector module. Therefore, the method provided in this embodiment can improve the accuracy of the forward power and reverse power, thereby improving the accuracy of the standing wave ratio.
[0138] It should be noted that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0139] Reference Figure 7 This diagram illustrates an antenna connection status detection device according to an embodiment of this application, which specifically includes a first voltage acquisition module 701, a second voltage acquisition module 702, and a standing wave ratio (VSWR) calculation module 703, wherein:
[0140] The first voltage acquisition module 701 can be used to acquire the first voltage value and the first power attenuation amount corresponding to the first attenuation signal; the first attenuation signal is obtained by attenuating the power of the first radio frequency signal output from the power amplification unit to the antenna using a first attenuation coefficient.
[0141] The second voltage acquisition module 702 can be used to acquire the second voltage value and the second power attenuation amount corresponding to the second attenuation signal; the second attenuation signal is obtained by attenuating the power of the second radio frequency signal reflected by the antenna using a second attenuation coefficient; the power of the first attenuation signal and the power of the second attenuation signal are both within the power detection range of the detection module;
[0142] The standing wave ratio (SWR) calculation module 703 can be used to calculate the SWR based on the first voltage value, the first power attenuation, the second voltage value, and the second power attenuation; the SWR is used to reflect the connection status between the antenna and the signal transmitting module.
[0143] The VSWR calculation module 703 can also be used to adjust the first attenuation coefficient by an interpolation algorithm if the first voltage value is outside the voltage range corresponding to the power detection range.
[0144] The VSWR calculation module 703 can also be used to adjust the second attenuation coefficient by an interpolation algorithm if the second voltage value is outside the voltage range corresponding to the power detection range.
[0145] The VSWR calculation module 703 can also be used to determine the forward power corresponding to the first radio frequency signal based on the first voltage value and the first power attenuation; determine the reverse power corresponding to the second radio frequency signal based on the second voltage value and the second power attenuation; and calculate the VSWR based on the forward power and the reverse power.
[0146] The VSWR calculation module 703 can also be used to generate a first control command if the forward power and / or the reverse power is greater than a preset power threshold; the first control command is used to control the power amplifier unit to power down; if the forward power and / or the reverse power is less than or equal to the preset power threshold, the VSWR is calculated based on the forward power and the reverse power.
[0147] As the apparatus embodiments are basically similar to the method embodiments, they are described in a relatively simple manner. For relevant details, please refer to the description in the method embodiment section.
[0148] This application also discloses a control module, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the antenna connection status detection method as described in the foregoing embodiments.
[0149] This application also discloses a computer-readable storage medium storing a computer program that, when executed by a processor, implements the antenna connection status detection method as described in the foregoing embodiments.
[0150] This application also discloses a computer program product that, when run on a computer, causes the computer to execute the antenna connection status detection method described in the foregoing embodiments.
[0151] The embodiments described above are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A detection circuit for antenna connection status, characterized in that, A signal transmitting module for connecting to a communication device, the signal transmitting module including a power amplification unit connected to an antenna; The antenna connection status detection circuit includes: A signal sampling module is connected between the power amplifier unit and the antenna, and is used to collect the first radio frequency signal output by the power amplifier unit to the antenna and the second radio frequency signal reflected by the antenna. An adjustable attenuation module, connected to the signal sampling module, is used to attenuate the power of the first radio frequency signal and the second radio frequency signal according to the attenuation coefficient, respectively, to obtain a first attenuated signal corresponding to the first radio frequency signal and a second attenuated signal corresponding to the second radio frequency signal; the power of the first attenuated signal and the power of the second attenuated signal are both within the power detection range of the detection module; The detection module is connected to the adjustable attenuation module and the control module, and is used to detect the first voltage value corresponding to the first attenuation signal and the second voltage value corresponding to the second attenuation signal, and send the first voltage value and the second voltage value to the control module. The control module is used to calculate the standing wave ratio (SWR) of the signal transmitting module based on the first voltage value, the first power attenuation amount corresponding to the first attenuation signal, the second voltage value, and the second power attenuation amount corresponding to the second attenuation signal; the SWR is used to reflect the connection status between the antenna and the signal transmitting module.
2. The detection circuit according to claim 1, characterized in that, The signal sampling module includes a coupling unit and a directional transmission unit; The coupling unit is connected to the first input terminal of the adjustable attenuation module. The coupling unit is used to couple out the first radio frequency signal from the radio frequency signal output from the power amplification unit to the antenna, and send the first radio frequency signal to the adjustable attenuation module. The directional transmission unit is connected to the second input terminal of the adjustable attenuation module, and the directional transmission unit is used to send the second radio frequency signal reflected by the antenna to the adjustable attenuation module.
3. The detection circuit according to claim 1, characterized in that, The adjustable attenuation module includes a first adjustable attenuation unit, a second adjustable attenuation unit, and a circuit selection unit; The input terminal of the first adjustable attenuation unit is connected to the signal sampling module, and the output terminal of the first adjustable attenuation unit is connected to the first selection terminal of the circuit selection unit. The first adjustable attenuation unit is used to attenuate the power of the first radio frequency signal according to the first attenuation coefficient to obtain the first attenuated signal corresponding to the first radio frequency signal. The input terminal of the second adjustable attenuation unit is connected to the signal sampling module, and the output terminal of the second adjustable attenuation unit is connected to the second selection terminal of the circuit selection unit. The second adjustable attenuation unit is used to attenuate the power of the second radio frequency signal according to the second attenuation coefficient to obtain the second attenuated signal corresponding to the second radio frequency signal. The common terminal of the circuit selection unit is connected to the detection module. The circuit selection unit is used to selectively connect the first adjustable attenuation unit and the detection module to send the first radio frequency signal to the detection module, or to selectively connect the second adjustable attenuation unit and the detection module to send the second radio frequency signal to the detection module.
4. The detection circuit according to claim 3, characterized in that, The controlled terminal of the circuit selection unit is connected to the control module. Specifically, when the circuit selection unit receives a switching command from the control module, it controls the detector module to switch from being connected to the first adjustable attenuation unit to being connected to the second adjustable attenuation unit, or from being connected to the second adjustable attenuation unit to being connected to the first adjustable attenuation unit.
5. The detection circuit according to claim 3, characterized in that, The control module is further configured to adjust the first attenuation coefficient when the first voltage value is outside the voltage range corresponding to the power detection range; the adjusted first attenuation coefficient enables the first voltage value to be within the voltage range.
6. The detection circuit according to claim 3, characterized in that, The control module is further configured to adjust the second attenuation coefficient when the voltage value corresponding to the second attenuation signal is outside the voltage range corresponding to the power detection range; the adjusted second attenuation coefficient enables the second voltage value to be within the voltage range.
7. The detection circuit according to any one of claims 3-6, characterized in that, The circuit selection unit includes an RF switch.
8. The detection circuit according to any one of claims 1-6, characterized in that, The control module is further configured to determine the forward power corresponding to the first radio frequency signal based on the first voltage value and the first power attenuation, determine the reverse power corresponding to the second radio frequency signal based on the second voltage value and the second power attenuation, and determine the standing wave ratio based on the forward power and the reverse power.
9. The detection circuit according to claim 8, characterized in that, The control module is further configured to output a first control command when the forward power and / or the reverse power are greater than a preset power threshold; the first control command is used to control the power amplifier unit to power down.
10. The detection circuit according to claim 5 or 6, characterized in that, The control module is specifically used to adjust the first attenuation coefficient or the second attenuation coefficient using an interpolation method.