Antenna connection state detection circuit and method

By using an adjustable attenuation module in the antenna connection state detection circuit, the problem of small detection range in traditional detection methods is solved, and higher detection accuracy and equipment reliability are achieved.

CN120254707APending Publication Date: 2025-07-04DALIAN GONGJIN TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510486640.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-17
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

The traditional antenna connection state detection method has a small power detection range of the detection device, resulting in low accuracy in detection of standing wave ratios for radio frequency signals beyond the detection range, affecting the reliability and stability of communication equipment.

Method used

An adjustable attenuation module is configured in the detection circuit. The adjustable attenuation module is used to attenuate the radio frequency signal to the power detection range of the detection module, and calculate the standing wave ratio of the signal transmitting module to reflect the connection state between the antenna and the signal transmitting module.

Benefits of technology

The scope of application of the detection circuit is expanded, the accuracy of standing wave ratio detection is improved, and the accuracy of antenna connection state detection is improved, and the easily damaged power amplifier unit is protected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120254707A_ABST
    Figure CN120254707A_ABST
Patent Text Reader

Abstract

The embodiment of the invention is suitable for the technical field of communication, and provides an antenna connection state detection circuit and method, and the detection circuit comprises an adjustable attenuation module which is used for carrying out the power attenuation of a first radio frequency signal and a second radio frequency signal according to an attenuation coefficient, and obtaining a first attenuation signal and a second attenuation signal; 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; the detection module is used for detecting a first voltage value corresponding to the first attenuation signal and a second voltage value corresponding to the second attenuation signal; and the control module is used for calculating the standing-wave ratio of the signal transmitting module according to the first voltage value, the first power attenuation, the second voltage value and the second power attenuation. According to the detection circuit provided by the embodiment, the application range of the antenna connection state detection method can be expanded, and the accuracy of antenna connection state detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application belong to the field of communication technologies, and particularly relate to a detection circuit and method for the connection state of an antenna. Background Art

[0002] A power amplification unit (referred to as a power amplifier unit for short) is a core component of a communication device, usually arranged in the signal transmission module of the communication device, and is used to amplify the power of a radio frequency signal to a power level at which the antenna can effectively transmit the signal. However, the power amplification unit is a device that is extremely easy to damage. For example, when the connection between the signal transmission module and the antenna is poor, if a high-power signal is directly transmitted through the signal transmission module, it is very easy to cause damage to the power amplification unit. Therefore, before transmitting a signal through the signal transmission module, it is necessary to detect the connection state of the antenna. The traditional method for detecting the connection state of an antenna usually detects the connection state of the antenna based on the standing wave ratio of the signal transmission module. However, the power detection range of the detection device used in this method is usually small, so the accuracy of detecting the standing wave ratio of a radio frequency signal beyond its detection range is low, thereby narrowing the applicable range of this method for detecting the connection state of the antenna and reducing the accuracy of detecting the connection state of the antenna. Summary of the Invention

[0003] In view of this, the embodiments of the present application provide a detection circuit and method for the connection state of an antenna, so as to expand the applicable range of the method for detecting the connection state of the antenna and improve the accuracy of detecting the connection state of the antenna.

[0004] The first aspect of the embodiments of the present application provides a detection circuit for the connection state of an antenna, which is used to connect the signal transmission module of a communication device. The signal transmission module includes a power amplification unit, and the power amplification unit is connected to the antenna; the detection circuit for the connection state of the antenna includes:

[0005] A signal sampling module, connected between the power amplification unit and the antenna, and is used to collect a first radio frequency signal output from the power amplification unit to the antenna and a second radio frequency signal reflected by the antenna;

[0006] An adjustable attenuation module, connected to the signal sampling module, and is used to perform power attenuation on the first radio frequency signal and the second radio frequency signal respectively according to an attenuation coefficient to obtain a first attenuation signal corresponding to the first radio frequency signal and a second attenuation signal corresponding to the second radio frequency signal; 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;

[0007] The detection module is connected to the adjustable attenuation module and the control module, and is configured to detect a first voltage value corresponding to the first attenuation signal and a 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 configured to calculate a standing wave ratio of the signal transmitting module according to the first voltage value, a first power attenuation amount corresponding to the first attenuation signal, the second voltage value, and a second power attenuation amount corresponding to the second attenuation signal; the standing wave ratio is used to reflect the connection state between the antenna and the signal transmitting module.

[0009] In a possible implementation manner of the first aspect, the signal sampling module includes a coupling unit and a directional transmission unit;

[0010] The coupling unit is connected to a first input end of the adjustable attenuation module, and is configured 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 a second input end of the adjustable attenuation module, and is configured to send the second radio frequency signal reflected by the antenna to the adjustable attenuation module.

[0012] In a possible implementation manner 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 end of the first adjustable attenuation unit is connected to the signal sampling module, the output end of the first adjustable attenuation unit is connected to a first selection end of the circuit selection unit, and the first adjustable attenuation unit is configured to perform power attenuation on the first radio frequency signal according to a first attenuation coefficient to obtain a first attenuation signal corresponding to the first radio frequency signal;

[0014] The input end of the second adjustable attenuation unit is connected to the signal sampling module, the output end of the second adjustable attenuation unit is connected to a second selection end of the circuit selection unit, and the second adjustable attenuation unit is configured to perform power attenuation on the second radio frequency signal according to a second attenuation coefficient to obtain a second attenuation signal corresponding to the second radio frequency signal;

[0015] The common end of the circuit selection unit is connected to the detection module, and the circuit selection unit is configured to selectively connect the first adjustable attenuation unit and the detection module to send the first radio frequency signal to the detection module, or selectively connect the second adjustable attenuation unit and the detection module to send the second radio frequency signal to the detection module.

[0016] In a possible implementation of the first aspect, the controlled end of the circuit selection unit is connected to the control module. Specifically, when receiving a switching instruction from the control module, the circuit selection unit is configured 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 to switch from being connected to the second adjustable attenuation unit to being connected to the first adjustable attenuation unit.

[0017] In a 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 can make the first voltage value within the voltage range.

[0018] In a 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 can make the second voltage value within the voltage range.

[0019] In a possible implementation of the first aspect, the control module is further configured to determine the forward power corresponding to the first radio frequency signal according to the first voltage value and the first power attenuation amount, determine the reverse power corresponding to the second radio frequency signal according to the second voltage value and the second power attenuation amount, and determine the standing wave ratio based on the forward power and the reverse power.

[0020] In a possible implementation of the first aspect, the control module is further configured to output a first control instruction when the forward power and / or the reverse power is greater than a preset power threshold; the first control instruction is used to control the power amplifier unit to power down.

[0021] In a possible implementation of the first aspect, the control module is specifically configured to adjust the first attenuation coefficient or the second attenuation coefficient by using the interpolation method.

[0022] A second aspect of the embodiments of the present application provides a method for detecting the antenna connection state, which is applied to the detection circuit as described in the first aspect above, and includes:

[0023] Obtain a first voltage value and a first power attenuation amount corresponding to a first attenuation signal; the first attenuation signal is obtained by power-attenuating a first radio frequency signal output from a power amplifier unit to an antenna by using a first attenuation coefficient;

[0024] Obtain the second voltage value corresponding to the second attenuation signal and the second power attenuation amount; 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 powers of the first attenuation signal and the second attenuation signal are both within the power detection range of the detection module;

[0025] Calculate the standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount; the standing wave ratio is used to reflect the connection state between the antenna and the signal transmission module.

[0026] In a possible implementation manner of the second aspect, before calculating the standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount, it includes:

[0027] If the first voltage value is outside the voltage range corresponding to the power detection range, adjust the first attenuation coefficient through an interpolation algorithm.

[0028] In a possible implementation manner of the second aspect, before calculating the standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount, it further includes:

[0029] If the second voltage value is outside the voltage range corresponding to the power detection range, adjust the second attenuation coefficient through an interpolation algorithm.

[0030] In a possible implementation manner of the second aspect, calculating the standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount includes:

[0031] Determine the forward power corresponding to the first radio frequency signal according to the first voltage value and the first power attenuation amount;

[0032] Determine the reverse power corresponding to the second radio frequency signal according to the second voltage value and the second power attenuation amount;

[0033] Calculate the standing wave ratio according to the forward power and the reverse power.

[0034] In a possible implementation manner of the second aspect, calculating the standing wave ratio according to the forward power and the reverse power includes:

[0035] If the forward power and / or the reverse power is greater than a preset power threshold, generate a first control instruction; the first control instruction is used to control the power amplifier unit to power off;

[0036] If the forward power and / or the reverse power is less than or equal to a preset power threshold, the standing wave ratio is calculated according to the forward power and the reverse power.

[0037] A third aspect of the embodiments of the present application provides a detection device for the antenna connection state, including:

[0038] A first voltage acquisition module, configured to acquire a first voltage value and a first power attenuation amount corresponding to a first attenuation signal; the first attenuation signal is obtained by performing power attenuation on a first radio frequency signal output from a power amplification unit to an antenna using a first attenuation coefficient;

[0039] A second voltage acquisition module, configured to acquire a second voltage value and a second power attenuation amount corresponding to a second attenuation signal; the second attenuation signal is obtained by performing power attenuation on a 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 a detection module;

[0040] A standing wave ratio calculation module, configured to calculate a standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount; the standing wave ratio is used to reflect the connection state between the antenna and the signal transmission module.

[0041] A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the detection method for the antenna connection state as described in the first aspect above is implemented.

[0042] A fifth aspect of the embodiments of the present application provides a computer program product, and when the computer program product runs on a computer, the computer is enabled to execute the detection method for the antenna connection state as described in the first aspect above.

[0043] Compared with the prior art, the embodiments of the present application have the following advantages:

[0044] By configuring an adjustable attenuation module in the detection circuit for the antenna connection state in the embodiments of the present application, since the adjustable attenuation module can attenuate the power of any first radio frequency signal and the power of any second radio frequency signal to within the power detection range of the detection module, the detection circuit can detect the standing wave ratio of radio frequency signals with any power, which not only expands the applicable range of the detection circuit, but also can improve the accuracy of the standing wave ratio detection, and further improve the accuracy of the antenna connection state detection. Description of the Drawings

[0045] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

[0046] Figure 1 It is a schematic diagram of the power detection range of a detector provided by an embodiment of the present application;

[0047] Figure 2 It is a schematic diagram of a detection circuit for the antenna connection state provided by an embodiment of the present application;

[0048] Figure 3 It is a schematic diagram of another detection circuit for the antenna connection state provided by an embodiment of the present application;

[0049] Figure 4 It is a schematic diagram of another detection circuit for the antenna connection state provided by an embodiment of the present application;

[0050] Figure 5 It is a schematic diagram of a detection method for the antenna connection state provided by an embodiment of the present application;

[0051] Figure 6 It is a schematic diagram of another detection method for the antenna connection state provided by an embodiment of the present application;

[0052] Figure 7 It is a schematic diagram of a detection device for the antenna connection state provided by an embodiment of the present application. Detailed implementation manners

[0053] In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures and technologies are proposed to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.

[0054] It should be understood that the term "and / or" used in the specification and claims of the present application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations. In addition, in the description of the specification and claims of the present application, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.

[0055] It should also be understood that references to "one embodiment" or "some embodiments" or the like described in the specification of the present application mean that a specific feature, structure, or characteristic described in connection with that embodiment is included in one or more embodiments of the present application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "comprising", "including", "having", and their variants all mean "including but not limited to", unless otherwise specifically emphasized.

[0056] The power amplification unit, simply referred to as the power amplifier unit, is commonly used in the signal transmission module of communication devices (such as mobile phones, base stations, satellite communication devices, etc.) to amplify the power of the radio frequency signal to be transmitted, so that the power of the amplified radio frequency signal can reach the power level that the antenna can effectively transmit. For example, the radio frequency power amplification unit in a base station can amplify the power of the radio frequency signal, enabling the amplified radio frequency signal to be transmitted over a long distance to achieve reliable communication between the base station and devices such as mobile terminals.

[0057] However, the power amplification unit is a device that is extremely vulnerable to damage. Situations such as poor antenna connection, abnormal power supply to the power amplification unit, abnormal transportation, abnormal installation, and abnormal filter status may all cause damage to the power amplification unit. For example, in the case of a poor connection between the signal transmission module and the antenna, if a high-power radio frequency signal is still transmitted through the signal transmission module, it will cause abnormal reflection of the radio frequency signal. The reflected radio frequency signal interferes with the radio frequency signal transmitted by the signal transmission module, causing the power amplification unit to bear additional power pressure, exceeding the normal operating load of the power amplification unit, and ultimately resulting in damage to the power amplification unit. This kind of damage not only affects the normal operation of the communication device but also increases the maintenance cost and downtime of the device. Among them, since portable base station devices, airborne emergency communication devices, etc. need to reinstall the antenna every time they are used, these communication devices are extremely prone to the situation of poor connection between the signal transmission module and the antenna.

[0058] In view of the vulnerability of the power amplification unit, it is an essential process to detect the connection status of the antenna before transmitting a signal through the signal transmission module. The traditional method for detecting the antenna connection status is to detect the standing wave ratio of the signal transmission module to achieve the detection of the antenna connection status. Specifically, since the standing wave ratio of the signal transmission module can reflect the signal reflection situation during signal transmission, detecting the standing wave ratio of the signal transmission module can, to a certain extent, determine whether the antenna connection status is good.

[0059] However, the power detection range of the detection device used in the traditional antenna connection state detection method is small, resulting in low accuracy of standing wave ratio detection for radio frequency signals beyond the detection range of the detection device, and thus low accuracy of antenna connection state detection. For example, when encountering radio frequency signals with high power or special frequencies, the detection device may not be able to accurately sense signal changes, leading to deviations in the standing wave ratio detection results. Refer to Figure 1 which shows a schematic diagram of the power detection range of a detector provided by an embodiment of the present application. As Figure 1 shown, the minimum input power of the detector is -45 dBm and the maximum input power is 5 dBm. Therefore, the power detection range of this detector can be -45 dBm to 5 dBm. The actual working range of a high-power power amplifier unit is usually -60 dBm to 48 dBm. That is, the working range of the high-power power amplifier unit is usually larger than Figure 1 the power detection range of the detector shown in Figure 1 . Therefore, using the detector shown in

[0060] for signal standing wave ratio detection is likely to result in low accuracy of standing wave ratio detection, thereby reducing the reliability and stability of communication devices.

[0061] In view of this, an embodiment of the present application provides a detection circuit and method for antenna connection state. The detection circuit provided by the embodiment of the present application is configured with an adjustable attenuation module. Since the adjustable attenuation module can attenuate a first radio frequency signal with any power into a first attenuated signal whose power is within the power detection range of the detection module, and attenuate a second radio frequency signal with any power into a second attenuated signal whose power is within the power detection range of the detection module, the detection circuit provided by this embodiment can perform standing wave detection on radio frequency signals with any power, not only expanding the applicable range of the detection circuit, but also improving the accuracy of standing wave ratio detection, and further improving the accuracy of antenna connection state detection.

[0061] The following will illustrate the detection circuit and method for antenna connection state provided by the embodiments of the present application through specific embodiments and with reference to the accompanying drawings:

[0062] Refer to Figure 2 which shows a schematic diagram of a detection circuit for antenna connection state provided by an embodiment of the present application. As Figure 2As shown, the detection circuit 20 for the antenna connection state can be connected to the signal transmission module 21 of the communication device. The signal transmission module 21 can include a power amplification unit 211 and an antenna 212. Among them, the power amplification unit 211 can be used to amplify the power of the first radio frequency signal to be transmitted, and transmit the first radio frequency signal with amplified power to the antenna, so that the antenna sends out the first radio frequency signal. It can be understood that when the antenna sends out the first radio frequency signal, a part of the radio frequency signal will be reflected back to the power amplification unit 211, and the reflected radio frequency signal can be defined as the second radio frequency signal.

[0063] The detection circuit 20 for the antenna connection state can be connected between the power amplification unit 211 and the antenna 212.

[0064] Specifically, the detection circuit 20 for the antenna connection state can include a signal sampling module 201, an adjustable attenuation module 202, a detection module 203, and a control module 204.

[0065] The signal sampling module 201 can be connected between the power amplification 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 amplification 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.

[0066] The adjustable attenuation module 202 can be connected to the signal sampling module 201. The adjustable attenuation module 202 can be used to attenuate the power of the first radio frequency signal and the second radio frequency signal respectively according to the attenuation coefficient, obtain the first attenuation signal corresponding to the first radio frequency signal and the second attenuation signal corresponding to the second radio frequency signal, and send the first attenuation signal and the second attenuation signal to the detection module 203. Among them, the power of the first attenuation signal and the power of the second attenuation signal can both be within the power detection range of the detection module. The above attenuation coefficient is adjustable.

[0067] 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.

[0068] The control module 204 can be used to calculate the standing wave ratio of the signal transmission module according to 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.

[0069] Among them, the first power attenuation amount and the second power attenuation amount can be determined by the control module 204 according to the attenuation coefficients used when the adjustable attenuation module attenuates the first radio frequency signal and the second radio frequency signal. The standing wave ratio of the signal transmitting module can be used to reflect the connection state between the antenna and the signal transmitting module.

[0070] In a possible implementation manner, the input end of the signal sampling module 201 can be connected to the output end of the power amplification unit 211, the first output end of the signal sampling module 201 can be connected to the antenna 212, and the second output end of the signal sampling module 201 can be connected to the input end of the adjustable attenuation module 202.

[0071] The output end of the adjustable attenuation module 202 can be connected to the input end of the detection module 203.

[0072] The output end of the detection module 203 can be connected to the input end of the control module 204.

[0073] In a possible implementation manner, the control module 204 can be a device such as a microcontroller unit (MCU), a single-chip microcomputer (SCM), a central processing unit (CPU), a field-programmable gate array (FPGA), or a programmable logic device (PLD).

[0074] In a possible implementation manner, the control module can calculate the forward power corresponding to the first radio frequency signal according to 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 corresponding to the second radio frequency signal according to 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 standing wave ratio of the signal transmitting module according to the forward power and the reverse power. For example, the control module can determine the ratio of the reverse power to the forward power as the standing wave ratio of the signal transmitting module. It should be noted that the specific calculation method of the standing wave ratio can refer to the relevant description in the subsequent embodiments and will not be elaborated here.

[0075] Refer to Figure 3 , which shows a schematic structural diagram of a detection circuit for the connection state of an antenna provided in the second embodiment of the present application. As Figure 3 shown, the signal sampling module 201 can include a coupling unit 2011 and a directional transmission unit 2012.

[0076] The coupling unit 2011 can be connected to the first input end of the adjustable attenuation module 202. The coupling unit 2011 can be configured to couple out a first radio frequency signal from the radio frequency signal output from the power amplification unit 211 to the antenna 212 and send the first radio frequency signal to the adjustable attenuation module 202.

[0077] The directional transmission unit 2012 can be connected to the second input end of the adjustable attenuation module 202. The directional transmission unit 2012 can be configured to send a second radio frequency signal reflected by the antenna 212 to the adjustable attenuation module 202.

[0078] In a possible implementation manner, the input end of the coupling unit 2011 can be connected to the output end of the power amplification unit 211. The first output end of the coupling unit 2011 can be connected to the first input end of the directional transmission unit 2012. The second output end of the coupling unit 2011 can be connected to the first input end of the adjustable attenuation module 202.

[0079] In a possible implementation manner, the coupling unit 2011 can include at least one of a coupler, a digital isolator, and an isolated error amplifier.

[0080] In a possible implementation manner, the first input end of the directional transmission unit 2012 can be connected to the first output end of the coupling unit 2011. The bi-directional port of the directional transmission unit 2012 can be connected to the antenna 212. The output end of the directional transmission unit 2012 can be connected to the second input end of the adjustable attenuation module 202.

[0081] In a possible implementation manner, the directional transmission unit 2012 can include at least one of a circulator, an isolator, and a directional coupler.

[0082] Refer to Figure 3 , which shows a schematic structural diagram of a detection circuit for the connection state of an antenna provided in the third embodiment of the present application. As Figure 3 shown, a path control unit 213 can also be connected between the directional transmission unit 2012 and the antenna 212.

[0083] The path control unit 213 can be configured to manage the transmission path of the radio frequency signal to isolate the communication device, so as to ensure that the communication device can normally transmit and receive radio frequency signals.

[0084] In a possible implementation manner, the path control unit 213 can be a duplexer. The duplexer can separate radio frequency signals of different frequencies or different time periods, so that the same antenna 212 can both transmit and receive radio frequency signals, and at the same time prevent the radio frequency signal transmitted by the signal transmission module 21 from interfering with the radio frequency signal received by the antenna 212.

[0085] In a possible implementation, the path control unit 213 may be a radio frequency switch. The radio frequency switch can selectively connect the transmission channel of the radio frequency signal to the antenna 212, or selectively connect the reception channel of the radio frequency signal to the antenna 212.

[0086] Referring Figure 3 , a schematic structural diagram of a detection circuit for the antenna connection state provided in the fourth embodiment of the present application is shown. As Figure 3 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.

[0087] The first adjustable attenuation unit 2021, the input end of the first adjustable attenuation unit 2021 may be connected to the signal sampling module 201. The output end of the first adjustable attenuation unit 2021 may be connected to the first selection end of the circuit selection unit 2023. The first adjustable attenuation unit 2021 may be configured to perform power attenuation on the first radio frequency signal according to a first attenuation coefficient to obtain a first attenuation signal corresponding to the first radio frequency signal, and transmit the first attenuation signal to the detection module 203 through the circuit selection unit 2023.

[0088] The second adjustable attenuation unit 2022, the input end of the second adjustable attenuation unit 2022 may be connected to the signal sampling module 201. The output end of the second adjustable attenuation unit 2022 may be connected to the second selection end of the circuit selection unit 2023. The second adjustable attenuation unit 2022 may be configured to perform power attenuation on the second radio frequency signal according to a second attenuation coefficient to obtain a second attenuation signal corresponding to the second radio frequency signal, and transmit the second attenuation signal to the detection module 203 through the circuit selection unit 2023.

[0089] The circuit selection unit 2023, the common end of the circuit selection unit 2023 may be connected to the input end of the detection module 203. The circuit selection unit 2023 is configured to selectively connect the first adjustable attenuation unit 2021 and the detection module 203 to send the 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 the second radio frequency signal to the detection module 203.

[0090] In a possible implementation, the input end of the first adjustable attenuation unit 2021 may be used as the first input end of the adjustable attenuation module 202 and connected to the coupling unit 2011 in the signal sampling module 201.

[0091] In a possible implementation, the input end of the second adjustable attenuation unit 2022 may be used as the second input end of the adjustable attenuation module 202 and connected to the directional transmission unit 2012 in the signal sampling module 201.

[0092] In a possible implementation, the circuit selection unit 2023 can be a radio frequency switch, a relay, an analog switch, an electronic switch, or a multiplexer.

[0093] In a 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, and 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.

[0094] Referring to Figure 3 , a schematic structural diagram of a detection circuit for an antenna connection state provided in the fifth embodiment of the present application is shown. As Figure 3 shown, the control module 204 can be connected to the controlled terminal of the circuit selection unit 2023.

[0095] In a 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.

[0096] The control module 204 can be configured to sequentially send a first switching instruction or a second switching instruction to the circuit selection unit 2023 according to a time interval preset by a developer.

[0097] The circuit selection unit 2023 can be configured to, when receiving the first switching instruction from the control module 204, control the detection 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 the second switching instruction from the control module 204, control the detection module 203 to switch from being connected to the second adjustable attenuation unit 2022 to being connected to the first adjustable attenuation unit 2021.

[0098] In a possible implementation, when the detection module 203 is connected to the first adjustable attenuation unit 2021, the control module 204 can obtain a first voltage value and calculate the forward power according to 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 obtain a second voltage value and calculate the reverse power according to the second voltage value and the second power attenuation amount corresponding to the second attenuation signal. Then, the control module 204 can calculate the voltage standing wave ratio according to the forward power and the reverse power.

[0099] Referring to Figure 3 , a schematic structural diagram of a detection circuit for an antenna connection state provided in the sixth embodiment of the present application is shown. As Figure 3As shown, the control module 204 may also be respectively connected to the first adjustable attenuation unit 2021 and the second adjustable attenuation unit 2022.

[0100] 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 detection module 203.

[0101] 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 detection module 203.

[0102] The first attenuation coefficient adjusted by the control module 204 can make the first voltage value within the voltage range, and the second attenuation coefficient adjusted by the control module 204 can make the second voltage value within the voltage range.

[0103] The first adjustable attenuation unit can be used to perform power attenuation on the first radio frequency signal according to the adjusted first attenuation coefficient to obtain a first attenuation signal.

[0104] The second adjustable attenuation unit can be used to perform power attenuation on the second radio frequency signal according to the adjusted second attenuation coefficient to obtain a second attenuation signal. Specifically, the first adjustable attenuation unit and the second adjustable attenuation unit can be adjustable attenuators.

[0105] In a possible implementation manner, the control module 204 may use the interpolation method to adjust the first attenuation coefficient or the second attenuation coefficient. For the specific method of the control module 204 using the interpolation method to adjust the first attenuation coefficient and the second attenuation coefficient, please refer to the content in the method embodiment of this application, which will not be elaborated here.

[0106] In a possible implementation manner, the second output terminal OUT_PUT2 of the control module 204 may be connected to the input terminal of the first adjustable attenuation unit 2021. The fourth output terminal OUT_PUT4 of the control module 204 may be connected to the input terminal of the second adjustable attenuation unit 2022.

[0107] Refer to Figure 3 , which shows a schematic structural diagram of a detection circuit for the antenna connection state provided in the seventh embodiment of this application. As Figure 3 shown, the control module 204 may also be connected to the power amplification unit 211.

[0108] The control module 204 can also be used to determine whether the forward power and / or reverse power is 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 is greater than the power threshold, the control module 204 can output a first control instruction to the power amplification unit. The first control instruction can be used to control the power amplification unit 211 to power off. If the control module 204 determines that both the forward power and the reverse power are less than or equal to the power threshold, the control module 204 can calculate the standing wave ratio according to the forward power and the reverse power.

[0109] The power amplification unit 211 can receive the first control instruction and perform a power-off operation in response to the first control instruction.

[0110] In a possible implementation, the first output terminal OUT_PUT1 in the control module can be connected to the input terminal of the power amplification unit 211.

[0111] In a possible implementation, the power amplification unit 211 can include a gain unit 2111 and a power amplifier chip 2112. The gain unit 2111 can be connected to the power amplifier chip 2112. The power amplifier chip 2112 can be respectively connected to the coupling unit 2011 and the control module 204.

[0112] The gain unit 2111 can be used to amplify the amplitude of the input radio frequency signal according to a preset gain multiple and send the radio frequency signal with the amplified amplitude to the power amplifier chip 2112.

[0113] The power amplifier chip 2112 can be used to amplify the power of the received radio frequency signal and transmit the radio frequency signal with the amplified power to the coupling unit 2011. The power amplifier chip 2112 can also perform a power-off operation after receiving the first control instruction sent by the control module 204.

[0114] In a possible implementation, the radio frequency 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.

[0115] Through the detection circuit provided in this embodiment, since the control module 204 can timely control the power amplification unit to power off 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 amplification unit 211.

[0116] Refer to Figure 4, showing a schematic structural diagram of a detection circuit for an antenna connection state provided by the eighth embodiment of the present application. As Figure 4 shown, the first adjustable attenuation unit 2021 may be composed of a logic control interface 20211 and an attenuation array 20212. The second adjustable attenuation unit 2022 may be composed of a logic control interface 20221 and an attenuation array 20222. Composed.

[0117] 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.

[0118] The clock signal input terminal CLK of the logic control interface 20211 may be used to receive a clock signal. The latch signal input terminal LE of the logic control interface 20211 may be used to receive a latch signal. The mode signal input terminal P / S of the logic control interface 20211 may be used to receive a mode signal.

[0119] The data signal input terminal D of the logic control interface 20211 may 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 may adjust the connection state or component parameters of the resistance elements in the attenuation array 20212 according to the first attenuation coefficient, so that the attenuation array 20212 performs power attenuation on the first radio frequency signal according to the first power attenuation amount corresponding to the first attenuation coefficient.

[0120] The attenuation array 20212 in the first adjustable attenuation unit 2021 may be used to perform power attenuation on the input first radio frequency signal to obtain a first attenuation signal and send the first attenuation signal to the detection module.

[0121] In a possible implementation manner, the logic control interface 20211 may store the currently received data signal, that is, store the received first attenuation coefficient, when receiving the latch signal.

[0122] In a possible implementation manner, the logic control interface 20211 may switch the data transmission mode from the parallel transmission mode to the serial transmission mode, or switch the data transmission mode from the serial transmission mode to the parallel transmission mode when receiving the mode signal.

[0123] In a possible implementation manner, the attenuation array 20212 may be formed by connecting multiple resistance elements in series and / or in parallel.

[0124] The operation modes of the attenuation array 20222 and the logic control interface 20221 of the second adjustable attenuation unit 2022 are similar to those of the attenuation array 20212 and the logic control interface 20211 in the first adjustable attenuation unit 2021. Readers can refer to the content of the attenuation array 20212 and the logic control interface 20211, and replace "the first adjustable attenuation unit 2021" with "the second adjustable attenuation unit 2022", "the logic control interface 20211" with "the logic control interface 20221", "the attenuation array 20212" with "the attenuation array 20222", "the first attenuation coefficient" with "the second attenuation coefficient", "the second output terminal OUT_PUT2 of the control module 204" with "the fourth output terminal OUT_PUT4 of the control module 204", and "the first power attenuation amount" with "the second power attenuation amount" for understanding.

[0125] 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 are composed of an attenuation array and a logic control interface, the manufacturing cost is relatively low. Therefore, the detection circuit provided in this embodiment can ensure that the radio frequency signal input to the logarithmic detector is within its high-precision power detection range on the premise of low cost, so as to achieve high-precision standing wave ratio detection in a low-cost manner.

[0126] Refer to Figure 5 , which shows a schematic diagram of a method for detecting the antenna connection state provided in an embodiment of the present application. This method can be applied to the control module of the detection circuit for the antenna connection state. The control module can be a control module such as a microcontroller unit (MCU), a single-chip microcomputer, a central processing unit (CPU), a field-programmable gate array (FPGA), or a programmable logic device (PLD). The above method for detecting the antenna connection state can specifically include the following steps:

[0127] S501. Obtain the first voltage value and the first power attenuation amount corresponding to the first attenuation signal.

[0128] In this embodiment, when the user needs to run the communication device, the user can send a start instruction to the control module. The control module can respond to the start instruction and send a second control instruction to the power amplification unit in the signal transmission module. The second control instruction can be used to control the power-on of 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 the first attenuation coefficient. The power of the first attenuation signal can be within the power detection range of the detection module.

[0129] S502. Obtain the second voltage value and the second power attenuation amount corresponding to the second attenuation signal.

[0130] In this embodiment, the control module can obtain 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 the second attenuation coefficient. The power of the second attenuation signal can be within the power detection range of the detection module.

[0131] S503. Calculate the standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount.

[0132] In this embodiment, the control module can calculate the standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount. The first power attenuation amount can be determined by the control module according to the first attenuation coefficient. The second power attenuation amount can be determined by the control module according to the second attenuation coefficient. The first attenuation coefficient can be the attenuation coefficient for attenuating the power of the first radio frequency signal. The standing wave ratio can be used to represent the connection state between the signal transmission module and the antenna in the communication device.

[0133] In a possible implementation manner, the control module can calculate the forward power corresponding to the first attenuation signal according to the first voltage value and the first power attenuation amount. Specifically, after obtaining the first voltage value, the control module can query a preset first conversion curve according to the first voltage value to determine the first power value corresponding to the first voltage value according to the first conversion curve. 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 querying a preset power conversion table according to the attenuation coefficient corresponding to the first attenuation signal.

[0134] The control module can also calculate the reverse power corresponding to the second attenuation signal according to the second voltage value and the second power attenuation amount. The calculation method of the reverse power is similar to that of the forward power. Readers can refer to the calculation method of the forward power and replace "the first voltage value" with "the second voltage value", "the first power attenuation amount" with "the second power attenuation amount", "the first conversion curve" with "the second conversion curve", and "the first attenuation signal" with "the second attenuation signal" to understand the calculation method of the reverse power.

[0135] Figure 6 Fig. shows a specific implementation flowchart of another method for detecting the antenna connection state provided in the second embodiment of the present application. Refer to Figure 6 compared with Figure 5 the embodiment described above, a method for detecting the antenna connection state provided in this embodiment includes: S601 to S607, which are specifically described in detail as follows:

[0136] S601. Send a second switching instruction to the circuit selection unit to obtain the first voltage value corresponding to the first attenuation signal.

[0137] In this embodiment, when the control module sends a second control instruction to the power amplification unit in response to the start instruction, it can also send a first switching instruction 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.

[0138] In a possible implementation manner, the control module can also, in response to the start instruction, while sending a second control instruction to the power amplification unit, send a first adjustment instruction to the first adjustable attenuation unit. The first adjustment instruction can be used to adjust the first attenuation coefficient of the first adjustable attenuation unit to the maximum value in the attenuation coefficient range corresponding to the first adjustable attenuation unit. At this time, the control module can obtain the first voltage value and calculate the forward power according to the first voltage value and the first power attenuation amount corresponding to the maximum value of the first attenuation coefficient. After the control module calculates the forward power when the first attenuation coefficient is the maximum value, it can determine whether the current forward power is greater than a preset power threshold.

[0139] If the control module determines that the current forward power is greater than the power threshold, the control module may output a first control instruction to the power amplification unit to control the power amplification unit to power off. If the control module determines that the current forward power is less than or equal to the power threshold, the control module may send a second adjustment instruction to the first adjustable attenuation unit. Among them, the second adjustment instruction may be used to adjust the first attenuation coefficient of the first adjustable attenuation unit to the initial value. Specifically, the initial value of the first attenuation coefficient may be the middle value of the attenuation coefficient range corresponding to the first adjustable attenuation unit. After the control module adjusts the first attenuation coefficient to the initial value, it may re-obtain the first voltage value and determine whether the first voltage value is within the voltage range corresponding to the power detection range.

[0140] S602. If the first voltage value is outside the voltage range corresponding to the power detection range, adjust the first attenuation coefficient.

[0141] 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 may adjust the first attenuation coefficient by using an interpolation algorithm.

[0142] In a possible implementation manner, the specific method for the control module to adjust the first attenuation coefficient by using the interpolation algorithm may be described as follows. When the first voltage value is outside the voltage range, the control module may determine the adjustment direction of the first attenuation coefficient according to the relationship between the first voltage value and the voltage range. After the control module determines the adjustment direction, it may determine the adjusted first attenuation coefficient according to the adjustment direction and the attenuation coefficient range of the first adjustable attenuation unit.

[0143] Exemplarily, when the control module determines that the first voltage value is outside the voltage range and the first voltage value is less than the minimum value of the voltage range, the control module may obtain the current first attenuation coefficient of the first adjustable attenuation unit and determine the adjustment amount according to 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 may use half of the difference between the current first attenuation coefficient and the minimum value of the attenuation coefficient range as the adjustment amount. Then, the control module may determine the adjusted first attenuation coefficient according to the adjustment amount and the current first attenuation coefficient. For another example, when the control module determines that the first voltage value is outside the voltage range and the first voltage value is greater than the maximum value in the voltage range, the control module may obtain the current first attenuation coefficient of the first adjustable attenuation unit and determine the adjustment amount according to 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 may 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 may determine the adjusted first attenuation coefficient according to the adjustment amount and the current first attenuation coefficient.

[0144] The control module may send a third adjustment instruction including the adjusted first attenuation coefficient to the first adjustable attenuation unit. The control module may continuously obtain 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, and then the control module may stop adjusting the first attenuation coefficient.

[0145] Through the method provided in this embodiment, the control module can quickly adjust the attenuation parameter, greatly reducing the number of times the control module adjusts the attenuation coefficient, extremely improving the attenuation adjustment speed, and thus improving the response speed of the detection circuit.

[0146] S603. If the first voltage value is within the voltage range corresponding to the power detection range, calculate the forward power according to the first voltage value and the first power attenuation amount.

[0147] 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 according to the first voltage value and the first power attenuation amount. For the specific method of how the control module calculates the forward power, please refer to the content in the first embodiment of this application and will not be elaborated here.

[0148] S604. Send a first switching instruction to the circuit selection unit and obtain the second voltage value corresponding to the second attenuation signal.

[0149] In this embodiment, after calculating the forward power, the control module may send a first switching instruction to the circuit selection module to control the connection between the detection module and the second adjustable attenuation unit and obtain the second voltage value corresponding to the second attenuation signal.

[0150] 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.

[0151] S606. If the second voltage value is within the voltage range corresponding to the power detection range, calculate the reverse power according to the second voltage value and the second power attenuation amount.

[0152] In this embodiment, the specific implementation methods of S604 to S606 are similar to those of S601 to S603. Readers can refer to the content in 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.

[0153] S607. Calculate the voltage standing wave ratio (VSWR) based on the forward power and the reverse power.

[0154] In this embodiment, after determining the forward power and the reverse power, the control module may input the forward power and the reverse power into the VSWR function to calculate the VSWR. The VSWR function may be specifically as follows.

[0155]

[0156] Among them, VSWR may represent the voltage standing wave ratio. P r may represent the reverse power. P f may represent the forward power.

[0157] Through the method provided in this embodiment, the control module can make the first attenuation signal for calculating the forward power within the power detection range of the detection module, and the second attenuation signal for calculating the reverse power is also within the power detection range of the detection module. Therefore, the method provided in this embodiment can improve the accuracy of the forward power and the reverse power, and further improve the accuracy of the VSWR.

[0158] It should be noted that the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0159] Refer to Figure 7 , which shows a schematic diagram of a detection device for the antenna connection state provided by an embodiment of the present application. Specifically, it may include a first voltage acquisition module 701, a second voltage acquisition module 702, and a VSWR calculation module 703, where:

[0160] The first voltage acquisition module 701 may be configured to acquire a first voltage value and a first power attenuation amount corresponding to the first attenuation signal; the first attenuation signal is obtained by attenuating the first radio frequency signal output from the power amplification unit to the antenna with a first attenuation coefficient;

[0161] The second voltage acquisition module 702 may be configured to acquire a second voltage value and a second power attenuation amount corresponding to the second attenuation signal; the second attenuation signal is obtained by attenuating the second radio frequency signal reflected by the antenna with 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;

[0162] The VSWR calculation module 703 may be configured to calculate the VSWR according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount; the VSWR is used to reflect the connection state between the antenna and the signal transmission module.

[0163] The standing wave ratio calculation module 703 can also be used to adjust the first attenuation coefficient through an interpolation algorithm if the first voltage value is outside the voltage range corresponding to the power detection range.

[0164] The standing wave ratio calculation module 703 can also be used to adjust the second attenuation coefficient through an interpolation algorithm if the second voltage value is outside the voltage range corresponding to the power detection range.

[0165] The standing wave ratio calculation module 703 can also be used to determine the forward power corresponding to the first radio frequency signal according to the first voltage value and the first power attenuation amount; determine the reverse power corresponding to the second radio frequency signal according to the second voltage value and the second power attenuation amount; and calculate the standing wave ratio according to the forward power and the reverse power.

[0166] The standing wave ratio calculation module 703 can also be used to generate a first control instruction if the forward power and / or the reverse power is greater than a preset power threshold; the first control instruction is used to control the power amplifier unit to power off; if the forward power and / or the reverse power is less than or equal to the preset power threshold, calculate the standing wave ratio according to the forward power and the reverse power.

[0167] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, refer to the description in the method embodiment section.

[0168] The embodiment of the present 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 method for detecting the antenna connection state as described in the foregoing various embodiments.

[0169] The embodiment of the present application also discloses a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, it implements the method for detecting the antenna connection state as described in the foregoing various embodiments.

[0170] The embodiment of the present application also discloses a computer program product, which when running on a computer, causes the computer to execute the method for detecting the antenna connection state as described in the foregoing various embodiments.

[0171] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A detection circuit for the connection state of an antenna, characterized in that, A signal transmitting module for connecting a communication device, the signal transmitting module includes a power amplification unit, and the power amplification unit is connected to an antenna; A detection circuit for the connection state of the antenna, including: A signal sampling module, connected between the power amplification unit and the antenna, for collecting a first radio frequency signal output from the power amplification unit to the antenna and a second radio frequency signal reflected by the antenna; An adjustable attenuation module, connected to the signal sampling module, for respectively performing power attenuation on the first radio frequency signal and the second radio frequency signal according to an attenuation coefficient to obtain a first attenuation signal corresponding to the first radio frequency signal and a second attenuation signal corresponding to the second radio frequency signal; 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; The detection module, connected to the adjustable attenuation module and the control module, for detecting a first voltage value corresponding to the first attenuation signal and a second voltage value corresponding to the second attenuation signal, and sending the first voltage value and the second voltage value to the control module; The control module, for calculating the standing wave ratio of the signal transmitting module according to the first voltage value, a first power attenuation amount corresponding to the first attenuation signal, the second voltage value, and a second power attenuation amount corresponding to the second attenuation signal; the standing wave ratio is used to reflect the connection state between the antenna and the signal transmitting module.

2. The detection circuit according to claim 1, wherein The signal sampling module includes a coupling unit and a directional transmission unit; The coupling unit is connected to a first input end of the adjustable attenuation module, and 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 a second input end 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, wherein The adjustable attenuation module includes a first adjustable attenuation unit, a second adjustable attenuation unit, and a circuit selection unit; The input end of the first adjustable attenuation unit is connected to the signal sampling module, and the output end of the first adjustable attenuation unit is connected to a first selection end of the circuit selection unit. The first adjustable attenuation unit is used to perform power attenuation on the first radio frequency signal according to a first attenuation coefficient to obtain a first attenuation signal corresponding to the first radio frequency signal; The input end of the second adjustable attenuation unit is connected to the signal sampling module, and the output end of the second adjustable attenuation unit is connected to a second selection end of the circuit selection unit. The second adjustable attenuation unit is used to perform power attenuation on the second radio frequency signal according to a second attenuation coefficient to obtain a second attenuation 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 configured to selectively connect the first adjustable attenuation unit and the detection module to send the first radio frequency signal to the detection module, or 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, wherein The controlled terminal of the circuit selection unit is connected to the control module. Specifically, the circuit selection unit is configured 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 instruction from the control module.

5. The detection circuit according to claim 3, wherein 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 can make the first voltage value within the voltage range.

6. The detection circuit according to claim 3, wherein 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 can make the second voltage value within the voltage range.

7. 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 according to the first voltage value and the first power attenuation amount, determine the reverse power corresponding to the second radio frequency signal according to the second voltage value and the second power attenuation amount, and determine the standing wave ratio based on the forward power and the reverse power.

8. The detection circuit according to claim 7, wherein The control module is further configured to output a first control instruction when the forward power and / or the reverse power is greater than a preset power threshold; the first control instruction is used to control the power amplifier unit to power off.

9. The detection circuit according to claim 5 or 6, characterized in that, Specifically, the control module is configured to adjust the first attenuation coefficient or the second attenuation coefficient by using an interpolation method.

10. A method for detecting the connection state of an antenna, characterized in that, Applied to the detection circuit according to any one of claims 1-9, comprising: Obtaining a first voltage value and a first power attenuation amount corresponding to a first attenuation signal; the first attenuation signal is obtained by power-attenuating a first radio frequency signal output from a power amplifier unit to an antenna by using a first attenuation coefficient; Obtaining a second voltage value and a second power attenuation amount corresponding to a second attenuation signal; the second attenuation signal is obtained by power-attenuating a second radio frequency signal reflected by the antenna by using a second attenuation coefficient; the powers of the first attenuation signal and the second attenuation signal are both within the power detection range of the detection module; Calculating a standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount; the standing wave ratio is used to reflect the connection state between the antenna and the signal transmitting module.

11. The method for detecting the antenna connection state according to claim 10, wherein Before calculating the standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount, it includes: If the first voltage value is outside the voltage range corresponding to the power detection range, the first attenuation coefficient is adjusted by an interpolation algorithm.

12. The method for detecting the antenna connection state according to claim 10, wherein Before calculating the standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount, it further includes: If the second voltage value is outside the voltage range corresponding to the power detection range, the second attenuation coefficient is adjusted by an interpolation algorithm.

13. The method for detecting the antenna connection state according to claim 10, wherein The calculating the standing wave ratio according to the first voltage value, the first power attenuation amount, the second voltage value, and the second power attenuation amount includes: Determining the forward power corresponding to the first radio frequency signal according to the first voltage value and the first power attenuation amount; Determining the reverse power corresponding to the second radio frequency signal according to the second voltage value and the second power attenuation amount; Calculating the standing wave ratio according to the forward power and the reverse power.

14. The detection method of the antenna connection state according to claim 13, characterized in that, The calculating the standing wave ratio according to the forward power and the reverse power includes: If the forward power and / or the reverse power is greater than a preset power threshold, generating a first control instruction; The first control instruction is used to control the power amplifier unit to power off; If the forward power and / or the reverse power is less than or equal to the preset power threshold, calculating the standing wave ratio according to the forward power and the reverse power.

Citation Information

Cited By

  • Antenna state detection circuit and device

    CN121008094A