CN113765533B - Antenna detection method and device, electronic equipment and storage medium - Google Patents

Antenna detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113765533B
CN113765533B CN202110815616.4A CN202110815616A CN113765533B CN 113765533 B CN113765533 B CN 113765533B CN 202110815616 A CN202110815616 A CN 202110815616A CN 113765533 B CN113765533 B CN 113765533B
Authority
CN
China
Prior art keywords
radio frequency
main set
diversity
frequency signal
receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110815616.4A
Other languages
Chinese (zh)
Other versions
CN113765533A (en
Inventor
何文卿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wingtech Information Technology Co Ltd
Original Assignee
Shanghai Wingtech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wingtech Information Technology Co Ltd filed Critical Shanghai Wingtech Information Technology Co Ltd
Priority to CN202110815616.4A priority Critical patent/CN113765533B/en
Publication of CN113765533A publication Critical patent/CN113765533A/en
Application granted granted Critical
Publication of CN113765533B publication Critical patent/CN113765533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/101Monitoring; Testing of transmitters for measurement of specific parameters of the transmitter or components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The disclosure relates to a method, a device, an electronic device and a storage medium for detecting an antenna, wherein a radio frequency transceiver, a first power amplifier, a first duplexer, a first main set switch and a first main set antenna in a radio frequency circuit form a first main set radio frequency receiving and transmitting path, and a diversity antenna, a diversity switch and the radio frequency transceiver form a diversity radio frequency receiving path; the method comprises the following steps: controlling a first main set radio frequency receiving and transmitting channel to transmit a first radio frequency signal; after the first main set radio frequency receiving and transmitting channel transmits the first radio frequency signal, controlling the diversity radio frequency receiving channel to receive the second radio frequency signal corresponding to the first radio frequency signal; acquiring an intensity value of a first radio frequency signal and an intensity value of a second radio frequency signal; and determining the connection state of the transmitting path and the diversity radio frequency receiving path in the first main set radio frequency receiving path according to the relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal, thereby improving the accuracy of the antenna detection result.

Description

Antenna detection method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of communication technologies, and in particular, to a method and a device for detecting an antenna, an electronic device and a storage medium.
Background
Current terminal devices, such as mobile phones or various mobile devices with antennas, need to detect the antennas during the production process, and determine whether the antennas are well connected by detecting the antennas. If the antenna is not well connected during the production process, various signals are bad when the mobile phone or various mobile devices with the antenna arrive at the hand of the user. In addition, if the connection of the detection antenna is good in the antenna production process, but the installed antenna cannot receive radio frequency signals of certain frequency bands, the situation that signals of a mobile phone or mobile equipment are bad also occurs, so that the detection of the production line is to detect whether the connection of the antenna is good or not, and whether the antenna can receive radio frequency signals of different frequency bands or not is also detected.
The method for detecting the antenna in the prior art is to place a mobile phone or other terminal equipment with an antenna beside an antenna coupling plate, then transmit radio frequency signals through the antenna in the mobile phone or other terminal equipment with an antenna, and check whether the power value on an instrument of the coupling plate is in a reasonable range through the antenna coupling plate, so as to judge whether the antenna in the produced mobile phone or other terminal equipment with an antenna is connected well or whether the antenna can receive radio frequency signals with different frequency bands, but the method is easy to cause the condition of external interference, and the accuracy of the detection result is affected when the setting position of the coupling plate is deviated.
Disclosure of Invention
In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method, an apparatus, an electronic device, and a storage medium for detecting an antenna, which improve accuracy of a detection result of the antenna.
In a first aspect, an embodiment of the present disclosure provides a method for detecting an antenna, where the method is applied to a radio frequency circuit, where the radio frequency circuit includes a radio frequency transceiver, a first power amplifier, a first duplexer, a first main set switch, a first main set antenna, a diversity antenna, and a diversity switch, where the radio frequency transceiver, the first power amplifier, the first duplexer, the first main set switch, and the first main set antenna form a first main set radio frequency transceiver path, and the diversity antenna, the diversity switch, and the radio frequency transceiver form a diversity radio frequency receiving path; the method comprises the following steps:
controlling the first main set radio frequency receiving and transmitting channel to transmit a first radio frequency signal;
after the first main set radio frequency receiving and transmitting channel transmits a first radio frequency signal, controlling the diversity radio frequency receiving channel to receive a second radio frequency signal corresponding to the first radio frequency signal;
acquiring an intensity value of the first radio frequency signal and an intensity value of the second radio frequency signal;
And determining the connection state of a transmitting path and a diversity radio frequency receiving path in the first main set radio frequency receiving path according to the relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal.
Optionally, after the acquiring the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal, the method further includes:
determining a first power corresponding to the first radio frequency signal according to the acquired intensity value of the first radio frequency signal, and determining a second power corresponding to the second radio frequency signal according to the acquired intensity value of the second radio frequency signal;
determining a connection state of a transmitting path and a diversity radio frequency receiving path in the first main set radio frequency receiving path according to a relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal, wherein the connection state comprises the following steps:
and determining the connection states of a transmitting path and a diversity radio frequency receiving path in the first main set radio frequency receiving path according to the relation between the first power and the second power.
Optionally, the determining the connection state of the transmitting path and the diversity radio frequency receiving path in the first main set radio frequency receiving path according to the relation between the first power and the second power includes:
When the difference value between the first power and the second power is smaller than or equal to a preset threshold value, the connection state of a transmitting path and a diversity radio frequency receiving path in the first main set radio frequency receiving and transmitting path is normal;
and when the difference value between the first power and the second power is larger than a preset threshold value, the connection state of the transmitting path and/or the diversity radio frequency receiving path in the first main set radio frequency receiving and transmitting path is abnormal connection.
Optionally, the radio frequency circuit further includes a main set transmitting filter and a main set receiving filter, the first main set switch includes a first single-pole three-throw switch, a stationary contact of the first single-pole three-throw switch is electrically connected with the first main set antenna, a first movable contact of the first single-pole three-throw switch is electrically connected with the first duplexer, a second movable contact of the first single-pole three-throw switch is electrically connected with the main set transmitting filter, and a third movable contact of the first single-pole three-throw switch is electrically connected with the main set receiving filter;
after the first main set radio frequency transceiver path transmits a first radio frequency signal, controlling the diversity radio frequency receiving path to receive a second radio frequency signal corresponding to the first radio frequency signal, including:
After the first main set radio frequency receiving and transmitting channel transmits a first radio frequency signal, acquiring the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel;
selecting the conduction state of a diversity switch in the diversity radio frequency receiving path according to the frequency of a first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting path;
and controlling the diversity radio frequency receiving path to receive a second radio frequency signal corresponding to the first radio frequency signal according to the conduction state of the diversity switch.
Optionally, the radio frequency circuit further includes a first diversity receiving filter and a second diversity receiving filter, the diversity switch includes a second single-pole three-throw switch, a stationary contact of the second single-pole three-throw switch is electrically connected with the diversity antenna, a first moving contact of the second single-pole three-throw switch is electrically connected with an antenna detection port of the radio frequency transceiver, a second moving contact of the second single-pole three-throw switch is electrically connected with the first diversity receiving filter, and a third moving contact of the second single-pole three-throw switch is electrically connected with the second diversity receiving filter;
the selecting the on state of the diversity switch in the diversity radio frequency receiving path according to the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving path includes:
When the frequency of a first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel meets the frequency range of a first diversity receiving filter, controlling the fixed contact of the second single-pole double-throw switch to be electrically connected with the second movable contact or controlling the fixed contact of the second single-pole double-throw switch to be electrically connected with the first movable contact;
when the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel meets the frequency range of the second diversity receiving filter, controlling the fixed contact of the second single-pole double-throw switch to be electrically connected with the third movable contact or controlling the fixed contact of the second single-pole double-throw switch to be electrically connected with the first movable contact;
and when the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel does not meet the frequency range of the first diversity receiving filter and does not meet the frequency range of the second diversity receiving filter, controlling the fixed contact of the second single-pole double-throw switch to be electrically connected with the first movable contact.
Optionally, before the controlling the first main set radio frequency transceiver path to transmit the first radio frequency signal, the method further includes:
issuing an antenna detection instruction;
and controlling the static contact of the first single-pole double-throw switch to be electrically connected with the second movable contact according to the antenna detection instruction, or controlling the static contact of the first single-pole double-throw switch to be electrically connected with the first movable contact.
Optionally, the radio frequency circuit further includes a second power amplifier, a second duplexer, a second main set switch, and a second main set antenna, where the radio frequency transceiver, the second power amplifier, the second duplexer, the second main set switch, and the second main set antenna form a second main set radio frequency transceiver path;
after determining the connection state of the transmitting path and the diversity radio frequency receiving path in the first main set radio frequency receiving path according to the relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal, the method includes:
after the second main set radio frequency receiving and transmitting channel transmits a third radio frequency signal, controlling the first main set radio frequency receiving and transmitting channel to receive a fourth radio frequency signal corresponding to the third radio frequency signal;
and determining the connection state of a receiving channel in the first main set radio frequency receiving and transmitting channel according to the relation between the intensity value of the third radio frequency signal and the intensity value of the fourth radio frequency signal.
In a second aspect, an embodiment of the present disclosure provides a detection apparatus for an antenna, where the detection apparatus is configured to detect the radio frequency circuit, and the radio frequency circuit includes a radio frequency transceiver, a first power amplifier, a first duplexer, a first main set switch, a first main set antenna, a diversity antenna, and a diversity switch, where the radio frequency transceiver, the first power amplifier, the first duplexer, the first main set switch, and the first main set antenna form a first main set radio frequency transceiver path, and the diversity antenna, the diversity switch, and the radio frequency transceiver form a diversity radio frequency receiving path; the device comprises:
The first radio frequency signal transmitting module is used for controlling the first main set radio frequency receiving and transmitting channel to transmit a first radio frequency signal;
the second radio frequency signal receiving module is used for controlling the diversity radio frequency receiving channel to receive a second radio frequency signal corresponding to the first radio frequency signal after the first main set radio frequency receiving channel transmits the first radio frequency signal;
the intensity value acquisition module is used for acquiring the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal;
and the antenna state detection module is used for determining the connection state of the main set antenna and the diversity antenna according to the relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of detecting an antenna as described in any of the first aspects.
In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method for detecting an antenna according to any one of the first aspects.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
according to the antenna detection method provided by the embodiment of the disclosure, the first radio frequency signal is transmitted through the first main set radio frequency receiving and transmitting channel, the diversity radio frequency receiving channel is controlled to receive the second radio frequency signal corresponding to the first radio frequency signal after the first radio frequency signal is transmitted through the first main set radio frequency receiving and transmitting channel, and the connection state of the transmitting channel and the diversity radio frequency receiving channel in the first main set radio frequency receiving and transmitting channel is determined according to the relation between the acquired intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal. In the process of controlling the diversity radio frequency receiving path to receive the second radio frequency signal corresponding to the first radio frequency signal, a diversity switch in the diversity radio frequency receiving path is directly and electrically connected with an antenna detection end in the radio frequency transceiver, so that the diversity radio frequency receiving path can receive the first radio frequency signal of any frequency band transmitted by the first main set radio frequency receiving and transmitting path, and the influence on the accuracy of a diversity antenna connection state test result caused by the fact that a diversity filter in the diversity radio frequency receiving path filters radio frequency signals of certain frequency bands and cannot be received by the radio frequency transceiver is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, the drawings that are required for the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flow chart of a method for detecting an antenna according to an embodiment of the disclosure;
fig. 2 is a schematic structural diagram of a radio frequency circuit according to an embodiment of the disclosure;
fig. 3 is a flowchart of another method for detecting an antenna according to an embodiment of the disclosure;
fig. 4 is a flowchart of another method for detecting an antenna according to an embodiment of the disclosure;
fig. 5 is a flowchart of another method for detecting an antenna according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of another RF circuit provided in an embodiment of the present disclosure;
fig. 7 is a flowchart of another method for detecting an antenna according to an embodiment of the present disclosure;
Fig. 8 is a flowchart of another method for detecting an antenna according to an embodiment of the present disclosure;
fig. 9 is a flowchart of another method for detecting an antenna according to an embodiment of the disclosure;
FIG. 10 is a schematic diagram of a further RF circuit provided in an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a detection device of an antenna according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Wherein, 10, the radio frequency transceiver; 20. a first power amplifier; 30. a first diplexer; 40. a first main set switch; 50. a first main set antenna; 60. diversity antennas; 70. a diversity switch; 80. a main set transmit filter; 90. a main set receive filter; 100. a first diversity reception filter; 110. a second diversity receive filter; 120. a second power amplifier; 130. a second diplexer; 140. a second main set switch; 150. a second main set of antennas.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, a further description of aspects of the present disclosure will be provided below. It should be noted that, without conflict, the embodiments of the present disclosure and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it will be apparent that the embodiments in the specification are only some, but not all, embodiments of the disclosure.
Fig. 1 is a flow chart of a method for detecting an antenna according to an embodiment of the disclosure. The embodiment is applicable to the case of detecting the connection state of the antenna in the production process. The method of the embodiment can be implemented by a detection device for an antenna, and the device can be implemented in a hardware/software manner and can be configured in an electronic device. The antenna detection method according to any embodiment of the present application may be implemented.
In the method for detecting an antenna in the prior art, a mobile phone or other terminal equipment with an antenna is placed beside an antenna coupling board, then the antenna in the mobile phone or other terminal equipment with an antenna is used for transmitting radio frequency signals, and the antenna coupling board is used for checking whether the power value on an instrument of the coupling board is in a reasonable range, so as to judge whether the antenna in the produced mobile phone or other terminal equipment with an antenna is connected well or whether the antenna can receive radio frequency signals with different frequency bands, but the method is easy to be subject to the condition of external interference, and influences the accuracy of a detection result when the coupling board is deviated in the setting position.
As shown in fig. 1, the method specifically includes the following steps:
s110, controlling the first main set radio frequency receiving and transmitting channel to transmit a first radio frequency signal.
Specifically, as shown in fig. 2, the radio frequency transceiver 10 includes a first transmitting terminal TX1 and an antenna detecting terminal TT. The first transmitting end TX1 of the radio frequency transceiver 10 is connected to the first power amplifier 20, the first power amplifier 20 is connected to the first duplexer 30, the first duplexer 30 is connected to the first main set switch 40, and the first main set switch 40 is connected to the first main set antenna 50. The diversity antenna 60 is connected to the diversity switch 70, and the diversity switch 70 is connected to the antenna detection terminal TT of the radio frequency transceiver 10.
The transmitting path in the first main set rf transceiver path is used to transmit the rf signal sent by the rf transceiver 10 through the first power amplifier 20, the first duplexer 30, the first main set switch 40, and the first main set antenna 50, and the second rf receiving path is used to transmit the rf signal received by the diversity antenna 60 to the rf transceiver 10 through the diversity switch 70.
When the radio frequency transceiver 10 transmits a first radio frequency signal through the first transmitting terminal TX1, a first main set radio frequency transmit-receive path composed of the radio frequency transceiver 10, the first power amplifier 20, the first duplexer 30, the first main set switch 40 and the first main set antenna 50 transmits the first radio frequency signal.
S120, after the first main set radio frequency receiving and transmitting channel transmits the first radio frequency signal, controlling the diversity radio frequency receiving channel to receive the second radio frequency signal corresponding to the first radio frequency signal.
When the rf transceiver 10 transmits the first rf signal with the maximum power through the first transmitting terminal TX1, the diversity switch 70 in the diversity rf receiving path is controlled to be turned on, and the diversity rf receiving path adjusts the receiving state to receive the second rf signal corresponding to the first rf signal.
S130, acquiring the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal.
Specifically, after the first main set radio frequency transceiver channel transmits the first radio frequency signal and the diversity radio frequency receiver channel receives the second radio frequency signal corresponding to the first radio frequency signal, the intensity value corresponding to the first radio frequency signal and the intensity value corresponding to the second radio frequency signal can be determined through the coupler.
And S140, determining the connection state of a transmitting path and a diversity radio frequency receiving path in the first main set radio frequency receiving path according to the relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal.
In the diversity rf receiving path, the diversity switch 70 is directly electrically connected to the rf transceiver 10, and the diversity rf receiving path does not filter the rf signal because there is no filter in the diversity rf receiving path, so that the diversity rf receiving path can receive the rf signal of any frequency band transmitted by the first main set antenna 50 in the first main set rf receiving path, and when the signal transmitted by the first main set antenna 50 is radiated onto the diversity antenna 60, the diversity antenna 60 receives the second rf signal corresponding to the first rf signal transmitted by the first main set antenna. When the difference value between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal meets a preset threshold value, determining that the transmitting channel in the first main set radio frequency receiving and transmitting channel is in a conducting state, and detecting the connection state of the transmitting channel in the first main set radio frequency receiving and transmitting channel and the diversity radio frequency receiving channel by using the diversity radio frequency receiving channel in the conducting state.
According to the antenna detection method provided by the embodiment of the disclosure, the first radio frequency signal is transmitted through the first main set radio frequency receiving and transmitting channel, the diversity radio frequency receiving channel is controlled to receive the second radio frequency signal corresponding to the first radio frequency signal after the first radio frequency signal is transmitted through the first main set radio frequency receiving and transmitting channel, and the connection state of the transmitting channel and the diversity radio frequency receiving channel in the first main set radio frequency receiving and transmitting channel is determined according to the relation between the acquired intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal. In the process of controlling the diversity radio frequency receiving path to receive the second radio frequency signal corresponding to the first radio frequency signal, a diversity switch in the diversity radio frequency receiving path is directly and electrically connected with an antenna detection end in the radio frequency transceiver, so that the diversity radio frequency receiving path can receive the first radio frequency signal of any frequency band transmitted by the first main set radio frequency receiving and transmitting path, and the influence on the accuracy of a diversity antenna connection state test result caused by the fact that a diversity filter in the diversity radio frequency receiving path filters radio frequency signals of certain frequency bands and cannot be received by the radio frequency transceiver is avoided.
Fig. 3 is a flow chart of another method for detecting an antenna according to an embodiment of the present disclosure, where the method further includes, after step S130:
S131, determining first power corresponding to the first radio frequency signal according to the acquired intensity value of the first radio frequency signal, and determining second power corresponding to the second radio frequency signal according to the acquired intensity value of the second radio frequency signal.
Specifically, after the first main set radio frequency receiving and transmitting channel transmits the first radio frequency signal and the diversity radio frequency receiving channel receives the second radio frequency signal corresponding to the first radio frequency signal, the intensity value corresponding to the first radio frequency signal and the intensity value corresponding to the second radio frequency signal can be determined through the coupler, and then the first power corresponding to the intensity value of the first radio frequency signal and the second power corresponding to the intensity value of the second radio frequency signal are determined according to the relation between the intensity and the power.
When the method for detecting an antenna includes step S131, one implementation manner of step S140 is as follows, including:
s141, determining the connection state of a transmitting path and a diversity radio frequency receiving path in the first main set radio frequency receiving path according to the relation between the first power and the second power.
And determining the connection state of the transmitting path and the diversity radio frequency receiving path in the first main set radio frequency receiving path by comparing the relation between the first power corresponding to the intensity value of the first radio frequency signal and the second power corresponding to the intensity value of the second radio frequency signal, wherein the specific process is as follows.
Fig. 4 is a flowchart of another method for detecting an antenna according to an embodiment of the present disclosure, where an implementation manner of S141 is as follows, and includes:
s1411, judging whether the difference value between the first power and the second power is smaller than or equal to a preset threshold value, if yes, executing step S1412, and if not, executing step S1413.
S1412, the connection state of the transmitting path and the diversity radio frequency receiving path in the first main set radio frequency receiving path is normal.
S1413, the connection state of the transmitting path and the diversity radio frequency receiving path in the first main set radio frequency receiving path is abnormal connection.
When the difference between the first power corresponding to the intensity value of the first radio frequency signal and the second power corresponding to the intensity value of the second radio frequency signal is smaller than or equal to a preset threshold value, it can be determined that the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel is received by the diversity antenna in the diversity radio frequency receiving channel, and the diversity antenna in the diversity radio frequency receiving channel receives the second radio frequency signal corresponding to the first radio frequency signal and then transmits the second radio frequency signal to the radio frequency transceiver, so that the connection state of the transmitting channel and the diversity radio frequency receiving channel in the first main set radio frequency receiving and transmitting channel can be determined to be normal. When the difference value between the first power and the second power is greater than a preset threshold value, the corresponding conditions include: the first main set radio frequency transceiver channel does not transmit the first radio frequency signal, or the first main set radio frequency transceiver channel transmits the first radio frequency signal, the diversity radio frequency receiving channel does not receive the second radio frequency signal corresponding to the first radio frequency signal, or the first main set radio frequency transceiver channel does not transmit the first radio frequency signal and the diversity radio frequency receiving channel does not receive the second radio frequency signal corresponding to the first radio frequency signal. When the first main set radio frequency receiving and transmitting channel does not transmit the first radio frequency signal, determining that the connection of the first main set radio frequency receiving and transmitting channel is abnormal; when the first main set radio frequency receiving and transmitting channel transmits a first radio frequency signal and the diversity radio frequency receiving channel does not receive a second radio frequency signal corresponding to the first radio frequency signal, the connection of the first main set radio frequency receiving and transmitting channel can be determined to be normal, and the connection of the diversity radio frequency receiving channel is abnormal; when the first main set radio frequency receiving and transmitting channel does not transmit the first radio frequency signal and the diversity radio frequency receiving channel does not receive the second radio frequency signal corresponding to the first radio frequency signal, the connection state of the transmitting channel and the diversity radio frequency receiving channel in the first main set radio frequency receiving and transmitting channel can be determined to be abnormal.
According to the antenna detection method provided by the embodiment of the disclosure, the connection state of the transmitting channel and the diversity radio frequency receiving channel in the first main set radio frequency receiving channel is determined by judging the relation between the difference value of the first power and the second power and the preset threshold value, so that the connection state of the transmitting channel and the diversity radio frequency receiving channel in the first main set radio frequency receiving channel is detected.
Fig. 5 is a flowchart of another method for detecting an antenna according to an embodiment of the present disclosure, where on the basis of the foregoing embodiment, one implementation manner of S120 is as follows, including:
s121, after the first main set radio frequency receiving and transmitting channel transmits the first radio frequency signal, acquiring the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel.
Specifically, as shown in fig. 6, the radio frequency circuit further includes a main set transmitting filter 80 and a main set receiving filter 90, the first main set switch 40 includes a first single-pole three-throw switch, a stationary contact of the first single-pole three-throw switch is electrically connected to the first main set antenna 50, a first movable contact of the first single-pole three-throw switch is electrically connected to the first duplexer 30, a second movable contact of the first single-pole three-throw switch is electrically connected to the main set transmitting filter 80, and a third movable contact of the first single-pole three-throw switch is electrically connected to the main set receiving filter 90.
Referring to fig. 6, a first transmitting end TX1 of the radio frequency transceiver 10 is connected to a first end of the first power amplifier 20, and a radio frequency signal transmitted from the first transmitting end TX1 is sent to a first end of the first duplexer 30 and a first end of the main set transmitting filter 80 through the first power amplifier 20, a second end of the first duplexer 30 is connected to a first movable contact of the first single pole three throw switch, a second end of the main set transmitting filter 80 is connected to a second movable contact of the first single pole three throw switch, and a stationary contact of the first single pole three throw switch is electrically connected to the first main set antenna 50. At this time, the transmitting path in the first main set rf transceiver path is used to transmit the rf signal sent by the rf transceiver 10 through the first power amplifier 20, the first duplexer 30, the first main set switch 40 and the first main set antenna 50 or through the first power amplifier 20, the main set transmitting filter 80, the first main set switch 40 and the first main set antenna 50.
When different transmitting paths in the first main set of radio frequency transceiving paths are adopted to transmit radio frequency signals sent by the radio frequency transceiver 10, frequencies of first radio frequency signals transmitted by the first main set of radio frequency transceiving paths may be different, and when the first main set of radio frequency transceiving paths transmit the first radio frequency signals, frequencies of the first radio frequency signals transmitted by the first main set of radio frequency transceiving paths are obtained.
S122, selecting the conduction state of the diversity switch in the diversity radio frequency receiving path according to the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving path.
Specifically, when the frequencies of the first radio frequency signals transmitted by the first main set radio frequency receiving and transmitting channels in different periods are different, the on state of the diversity switch in the radio frequency receiving channel is selected according to the frequencies of the first radio frequency signals transmitted by the first main set radio frequency receiving and transmitting channels.
S123, controlling the diversity radio frequency receiving path to receive the second radio frequency signal corresponding to the first radio frequency signal according to the on state of the diversity switch.
And if the on states of the selection diversity switches are different, the diversity radio frequency receiving path receives a second radio frequency signal corresponding to the first radio frequency signal according to the on states of the diversity switches.
According to the antenna detection method provided by the embodiment of the disclosure, after the first main set radio frequency receiving and transmitting channel transmits the first radio frequency signal, the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel is obtained, the conduction state of the diversity switch in the diversity radio frequency receiving channel is selected according to the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel, and finally the diversity radio frequency receiving channel is controlled to receive the second radio frequency signal corresponding to the first radio frequency signal according to the conduction state of the diversity switch, namely, the diversity radio frequency receiving channel can receive radio frequency signals of different frequency bands in the antenna detection method provided by the embodiment of the disclosure, and the accuracy of the antenna detection result is ensured.
Fig. 7 is a flowchart of another method for detecting an antenna according to an embodiment of the present disclosure, where, based on the embodiment corresponding to fig. 5, one implementation manner of S122 is as follows, including:
with continued reference to fig. 6, the radio frequency circuit further includes a first diversity receive filter 100 and a second diversity receive filter 110, the diversity switch 70 includes a first single-pole, three-throw switch, a stationary contact of the first single-pole, three-throw switch is electrically connected to the diversity antenna 60, a first movable contact of the first single-pole, three-throw switch is electrically connected to the antenna detection port TT of the radio frequency transceiver, a second movable contact of the first single-pole, three-throw switch is electrically connected to the first diversity receive filter 100, and a third movable contact of the first single-pole, three-throw switch is electrically connected to the second diversity receive filter 110. The radio frequency transceiver 10 further comprises a first diversity receiving end DRX1, a second diversity receiving end DRX2. The first diversity receiving end DRX1 is electrically connected to the first diversity receiving filter 100, and the second diversity receiving end DRX2 is electrically connected to the second diversity receiving filter 110.
S1221, when the frequency of the first radio frequency signal transmitted by the first main set radio frequency transceiver channel meets the frequency range of the first diversity receiving filter, controlling the fixed contact of the second single-pole double-throw switch to be electrically connected with the second movable contact, or controlling the fixed contact of the second single-pole double-throw switch to be electrically connected with the first movable contact.
When the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel meets the frequency range of the first diversity receiving filter, the fixed contact of the second single-pole double-throw switch is controlled to be electrically connected with the second movable contact, and at the moment, a second radio frequency signal corresponding to the first radio frequency signal is received through a diversity radio frequency receiving channel formed by the diversity antenna 60, the diversity switch 70, the first diversity receiving filter 100 and the radio frequency transceiver 10. In addition, since the diversity rf receiving path formed by the diversity antenna 60, the diversity switch 70 and the rf transceiver 10 can receive the rf signal in any frequency range, the stationary contact of the second single pole double throw switch is controlled to be electrically connected with the first movable contact, and the diversity rf receiving path formed by the diversity antenna 60, the diversity switch 70 and the rf transceiver 10 receives the second rf signal corresponding to the first rf signal.
S1222, when the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel meets the frequency range of the second diversity receiving filter, controlling the fixed contact of the second single-pole double-throw switch to be electrically connected with the third movable contact or controlling the fixed contact of the second single-pole double-throw switch to be electrically connected with the first movable contact.
When the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel meets the frequency range of the second diversity receiving filter, the fixed contact of the second single-pole double-throw switch is controlled to be electrically connected with the third movable contact, and at the moment, the second radio frequency signal corresponding to the first radio frequency signal is received through the diversity radio frequency receiving channel formed by the diversity antenna 60, the diversity switch 70, the first diversity receiving filter 100 and the radio frequency transceiver 10. In addition, since the diversity rf receiving path formed by the diversity antenna 60, the diversity switch 70 and the rf transceiver 10 can receive the rf signal in any frequency range, the stationary contact of the second single pole double throw switch is controlled to be electrically connected with the first movable contact, and the diversity rf receiving path formed by the diversity antenna 60, the diversity switch 70 and the rf transceiver 10 receives the second rf signal corresponding to the first rf signal.
S1223, when the frequency of the first radio frequency signal transmitted by the first main set radio frequency transceiver channel does not meet the frequency range of the first diversity receiving filter and does not meet the frequency range of the second diversity receiving filter, controlling the fixed contact of the second single-pole double-throw switch to be electrically connected with the first movable contact.
When the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel does not meet the frequency range of the first diversity receiving filter and does not meet the frequency range of the second diversity receiving filter, the fixed contact of the second single-pole double-throw switch is controlled to be electrically connected with the first movable contact, and the diversity radio frequency receiving channel formed by the diversity antenna 60, the diversity switch 70 and the radio frequency transceiver 10 receives the second radio frequency signal corresponding to the first radio frequency signal.
According to the antenna detection method provided by the embodiment of the disclosure, the connection mode of the stationary contact of the second single-pole double-throw switch in the frequency selection diversity radio frequency receiving path of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting path is judged, so that the diversity radio frequency receiving path of the radio frequency signal of any frequency band transmitted by the first main set radio frequency receiving and transmitting path can be further ensured to be capable of receiving, and the accuracy of an antenna detection result is ensured.
Fig. 8 is a flowchart of another method for detecting an antenna according to an embodiment of the present disclosure, where the method further includes, before step S110:
s101, issuing an antenna detection instruction.
In the production process of the mobile phone or various mobile devices with antennas, after the production of the mobile phone is completed, the antenna detection instruction is issued so as to detect the antennas of the produced mobile phones or the mobile devices with antennas.
S102, controlling the static contact of the first single-pole double-throw switch to be electrically connected with the second movable contact or controlling the static contact of the first single-pole double-throw switch to be electrically connected with the first movable contact according to the antenna detection instruction.
After an antenna detection instruction is issued, the stationary contact of the first single-pole double-throw switch is controlled to be electrically connected with the second movable contact according to the antenna detection instruction, or the stationary contact of the first single-pole double-throw switch is controlled to be electrically connected with the first movable contact, at the moment, a transmitting passage in the first main set radio frequency receiving and transmitting passage is in a conducting state, and the first main set radio frequency receiving and transmitting passage transmits a first radio frequency signal. Specifically, when the stationary contact of the first single-pole double-throw switch is controlled to be electrically connected with the second movable contact according to the antenna detection instruction, the transmitting path in the first main set radio frequency transmitting-receiving path is composed of the radio frequency transceiver 10, the first power amplifier 20, the main set transmitting filter 80, the first main set switch 40 and the first main set antenna 50; when the stationary contact of the first single pole double throw switch is controlled to be electrically connected with the first movable contact according to the antenna detection instruction, the transmitting path in the first main set radio frequency transmitting-receiving path is composed of the radio frequency transceiver 10, the first power amplifier 20, the first duplexer 30, the first main set switch 40 and the first main set antenna 50.
Fig. 9 is a flowchart of another method for detecting an antenna according to an embodiment of the present disclosure, where the method further includes, after step S140:
and S150, after the second main set radio frequency receiving and transmitting channel transmits the third radio frequency signal, controlling the first main set radio frequency receiving and transmitting channel to receive a fourth radio frequency signal corresponding to the third radio frequency signal.
Fig. 10 is a schematic structural diagram of another radio frequency circuit according to an embodiment of the present disclosure, as shown in fig. 10, the radio frequency circuit further includes a second power amplifier 120, a second duplexer 130, a second main set switch 140, and a second main set antenna 150, where the radio frequency transceiver 10, the second power amplifier 120, the second duplexer 130, the second main set switch 140, and the second main set antenna 150 form a second main set radio frequency transceiver path.
After the second main set rf transceiver path transmits the third rf signal, the first main set rf transceiver path is controlled to receive a fourth rf signal corresponding to the third rf signal, specifically, the second main set rf transceiver path transmits the third rf signal through the second power amplifier 120, the second duplexer 130, the second main set switch 140 and the second main set antenna 150, and the first main set rf transceiver path receives the fourth rf signal corresponding to the third rf signal through the first main set antenna 50, the first main set switch 40, the first duplexer 30 and the rf transceiver 10.
It should be noted that, fig. 10 illustrates that the first main set rf transceiver path receives the fourth rf signal corresponding to the third rf signal through the first main set antenna 50, the first main set switch 40, the first duplexer 30 and the rf transceiver 10, that is, receives the fourth rf signal corresponding to the third rf signal through the first main set receiving terminal RX1 in the rf transceiver 10, and in other embodiments, the first main set rf transceiver path receives the fourth rf signal corresponding to the third rf signal through the first main set antenna 50, the first main set switch 40, the main set receiving filter 90 and the rf transceiver 10, as shown in fig. 6, and then receives the fourth rf signal corresponding to the third rf signal through the second main set receiving terminal RX2 in the rf transceiver 10.
And S160, determining the connection state of the receiving channel in the first main set radio frequency receiving and transmitting channel according to the relation between the intensity value of the third radio frequency signal and the intensity value of the fourth radio frequency signal.
After the second main set radio frequency receiving and transmitting channel transmits the third radio frequency signal and the first main set radio frequency receiving and transmitting channel receives the fourth radio frequency signal corresponding to the third radio frequency signal, the intensity value corresponding to the third radio frequency signal and the intensity value corresponding to the fourth radio frequency signal can be determined through the coupler, when the difference value between the intensity value of the third radio frequency signal and the intensity value of the fourth radio frequency signal meets the preset threshold value, the transmitting channel in the second main set radio frequency receiving and transmitting channel is determined to be in a conducting state, and the first main set radio frequency receiving and transmitting channel is determined to be in a conducting state, so that the detection of the connection state of the receiving channel in the first main set radio frequency receiving and transmitting channel is realized.
On the basis of the above embodiment, fig. 11 is a schematic structural diagram of a detection device of an antenna according to an embodiment of the present disclosure, as shown in fig. 11, including:
the first rf signal transmitting module 510 is configured to control the first main set rf transceiver path to transmit the first rf signal.
The second rf signal receiving module 520 is configured to control the diversity rf receiving path to receive a second rf signal corresponding to the first rf signal after the first main set rf receiving/transmitting path transmits the first rf signal.
The intensity value obtaining module 530 is configured to obtain an intensity value of the first radio frequency signal and an intensity value of the second radio frequency signal.
The antenna state detection module 540 is configured to determine a connection state of the main set antenna and the diversity antenna according to a relationship between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal.
According to the antenna detection device provided by the embodiment of the invention, the first radio frequency signal transmitting module controls the first main set radio frequency receiving and transmitting channel to transmit the first radio frequency signal, the second radio frequency signal receiving module controls the diversity radio frequency receiving channel to receive the second radio frequency signal corresponding to the first radio frequency signal after the first main set radio frequency receiving and transmitting channel transmits the first radio frequency signal, the intensity value obtaining module obtains the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal, the antenna state detection module determines the connection state of the main set antenna and the diversity antenna according to the relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal, and the accuracy of the antenna detection result is improved.
The antenna detection device provided by the embodiment of the invention can execute the antenna detection method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 12, the electronic device includes a processor 610, a memory 620, an input device 630, and an output device 640; the number of processors 610 in the electronic device may be one or more, one processor 610 being taken as an example in fig. 12; the processor 610, memory 620, input device 630, and output device 640 in the electronic device may be connected by a bus or other means, for example in fig. 12.
The memory 620 is a computer readable storage medium, and may be used to store a software program, a computer executable program, and modules, such as program instructions/modules corresponding to the method for detecting an antenna in the embodiment of the present invention. The processor 610 executes various functional applications of the electronic device and data processing by running software programs, instructions and modules stored in the memory 620, i.e., implements the antenna detection method provided by the embodiments of the present invention.
Memory 620 may include primarily a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for functionality; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 620 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 620 may further include memory remotely located relative to processor 610, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 630 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device, which may include a keyboard, mouse, etc. The output device 640 may include a display device such as a display screen.
The disclosed embodiments also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to implement the method for detecting antennas provided by the embodiments of the present invention.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present invention is not limited to the method operations described above, and may also perform the related operations in the method for detecting an antenna provided in any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the detection apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above-mentioned division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a specific embodiment of the disclosure to enable one skilled in the art to understand or practice the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown and described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. The method for detecting the antenna is characterized by being applied to a radio frequency circuit, wherein the radio frequency circuit comprises a radio frequency transceiver, a first power amplifier, a first duplexer, a first main set switch, a first main set antenna, a diversity antenna and a diversity switch, wherein the radio frequency transceiver, the first power amplifier, the first duplexer, the first main set switch and the first main set antenna form a first main set radio frequency receiving and transmitting path, and the diversity antenna, the diversity switch and the radio frequency transceiver form a diversity radio frequency receiving path; the method comprises the following steps:
controlling the first main set radio frequency receiving and transmitting channel to transmit a first radio frequency signal;
After the first main set radio frequency receiving and transmitting channel transmits a first radio frequency signal, controlling the diversity radio frequency receiving channel to receive a second radio frequency signal corresponding to the first radio frequency signal;
acquiring an intensity value of the first radio frequency signal and an intensity value of the second radio frequency signal;
determining the connection state of a transmitting path and a diversity radio frequency receiving path in the first main set radio frequency receiving path according to the relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal;
the radio frequency circuit further comprises a main set transmitting filter and a main set receiving filter, the first main set switch comprises a first single-pole three-throw switch, a fixed contact of the first single-pole three-throw switch is electrically connected with the first main set antenna, a first movable contact of the first single-pole three-throw switch is electrically connected with the first duplexer, a second movable contact of the first single-pole three-throw switch is electrically connected with the main set transmitting filter, and a third movable contact of the first single-pole three-throw switch is electrically connected with the main set receiving filter;
after the first main set radio frequency transceiver path transmits a first radio frequency signal, controlling the diversity radio frequency receiving path to receive a second radio frequency signal corresponding to the first radio frequency signal, including:
After the first main set radio frequency receiving and transmitting channel transmits a first radio frequency signal, acquiring the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel;
selecting the conduction state of a diversity switch in the diversity radio frequency receiving path according to the frequency of a first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting path;
and controlling the diversity radio frequency receiving path to receive a second radio frequency signal corresponding to the first radio frequency signal according to the conduction state of the diversity switch.
2. The method according to claim 1, wherein after the acquiring the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal, further comprising:
determining a first power corresponding to the first radio frequency signal according to the acquired intensity value of the first radio frequency signal, and determining a second power corresponding to the second radio frequency signal according to the acquired intensity value of the second radio frequency signal;
determining a connection state of a transmitting path and a diversity radio frequency receiving path in the first main set radio frequency receiving path according to a relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal, wherein the connection state comprises the following steps:
And determining the connection states of a transmitting path and a diversity radio frequency receiving path in the first main set radio frequency receiving path according to the relation between the first power and the second power.
3. The method according to claim 2, wherein determining the connection state of the transmit path and the diversity radio frequency receive path in the first main set radio frequency transmit-receive path according to the relation between the first power and the second power comprises:
when the difference value between the first power and the second power is smaller than or equal to a preset threshold value, the connection state of a transmitting path and a diversity radio frequency receiving path in the first main set radio frequency receiving and transmitting path is normal;
and when the difference value between the first power and the second power is larger than a preset threshold value, the connection state of the transmitting path and/or the diversity radio frequency receiving path in the first main set radio frequency receiving and transmitting path is abnormal connection.
4. The method of detection of claim 1, wherein the radio frequency circuit further comprises a first diversity receive filter and a second diversity receive filter, the diversity switch comprising a second single-pole, three-throw switch, a stationary contact of the second single-pole, three-throw switch being electrically connected to the diversity antenna, a first movable contact of the second single-pole, three-throw switch being electrically connected to an antenna detection port of the radio frequency transceiver, a second movable contact of the second single-pole, three-throw switch being electrically connected to the first diversity receive filter, a third movable contact of the second single-pole, three-throw switch being electrically connected to the second diversity receive filter;
The selecting the on state of the diversity switch in the diversity radio frequency receiving path according to the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving path includes:
when the frequency of a first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel meets the frequency range of a first diversity receiving filter, controlling the fixed contact of the second single-pole three-throw switch to be electrically connected with the second movable contact or controlling the fixed contact of the second single-pole three-throw switch to be electrically connected with the first movable contact;
when the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel meets the frequency range of the second diversity receiving filter, controlling the fixed contact of the second single-pole three-throw switch to be electrically connected with the third movable contact or controlling the fixed contact of the second single-pole three-throw switch to be electrically connected with the first movable contact;
and when the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel does not meet the frequency range of the first diversity receiving filter and does not meet the frequency range of the second diversity receiving filter, controlling the fixed contact of the second single-pole three-throw switch to be electrically connected with the first movable contact.
5. The method according to claim 1, wherein before controlling the first main set radio frequency transceiver path to transmit the first radio frequency signal, further comprising:
issuing an antenna detection instruction;
and controlling the static contact of the first single-pole three-throw switch to be electrically connected with the second movable contact according to the antenna detection instruction, or controlling the static contact of the first single-pole three-throw switch to be electrically connected with the first movable contact.
6. The method of claim 1, wherein the radio frequency circuit further comprises a second power amplifier, a second diplexer, a second main set switch, and a second main set antenna, wherein the radio frequency transceiver, the second power amplifier, the second diplexer, the second main set switch, and the second main set antenna comprise a second main set radio frequency transceiver path;
after determining the connection state of the transmitting path and the diversity radio frequency receiving path in the first main set radio frequency receiving path according to the relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal, the method includes:
after the second main set radio frequency receiving and transmitting channel transmits a third radio frequency signal, controlling the first main set radio frequency receiving and transmitting channel to receive a fourth radio frequency signal corresponding to the third radio frequency signal;
And determining the connection state of a receiving channel in the first main set radio frequency receiving and transmitting channel according to the relation between the intensity value of the third radio frequency signal and the intensity value of the fourth radio frequency signal.
7. The device is characterized in that the device is used for detecting a radio frequency circuit, the radio frequency circuit comprises a radio frequency transceiver, a first power amplifier, a first duplexer, a first main set switch, a first main set antenna, a diversity antenna and a diversity switch, wherein the radio frequency transceiver, the first power amplifier, the first duplexer, the first main set switch and the first main set antenna form a first main set radio frequency receiving and transmitting path, and the diversity antenna, the diversity switch and the radio frequency transceiver form a diversity radio frequency receiving path; the radio frequency circuit further comprises a main set transmitting filter and a main set receiving filter, the first main set switch comprises a first single-pole three-throw switch, a fixed contact of the first single-pole three-throw switch is electrically connected with the first main set antenna, a first movable contact of the first single-pole three-throw switch is electrically connected with the first duplexer, a second movable contact of the first single-pole three-throw switch is electrically connected with the main set transmitting filter, and a third movable contact of the first single-pole three-throw switch is electrically connected with the main set receiving filter; the device comprises:
The first radio frequency signal transmitting module is used for controlling the first main set radio frequency receiving and transmitting channel to transmit a first radio frequency signal;
the second radio frequency signal receiving module is used for controlling the diversity radio frequency receiving channel to receive a second radio frequency signal corresponding to the first radio frequency signal after the first main set radio frequency receiving channel transmits the first radio frequency signal; after the first main set radio frequency receiving and transmitting channel transmits a first radio frequency signal, acquiring the frequency of the first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting channel; selecting the conduction state of a diversity switch in the diversity radio frequency receiving path according to the frequency of a first radio frequency signal transmitted by the first main set radio frequency receiving and transmitting path; controlling the diversity radio frequency receiving path to receive a second radio frequency signal corresponding to the first radio frequency signal according to the on state of the diversity switch;
the intensity value acquisition module is used for acquiring the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal;
and the antenna state detection module is used for determining the connection state of the main set antenna and the diversity antenna according to the relation between the intensity value of the first radio frequency signal and the intensity value of the second radio frequency signal.
8. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of antenna detection of any of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method of detecting an antenna according to any one of claims 1-6.
CN202110815616.4A 2021-07-19 2021-07-19 Antenna detection method and device, electronic equipment and storage medium Active CN113765533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110815616.4A CN113765533B (en) 2021-07-19 2021-07-19 Antenna detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110815616.4A CN113765533B (en) 2021-07-19 2021-07-19 Antenna detection method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113765533A CN113765533A (en) 2021-12-07
CN113765533B true CN113765533B (en) 2023-07-04

Family

ID=78787666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110815616.4A Active CN113765533B (en) 2021-07-19 2021-07-19 Antenna detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113765533B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499033B (en) * 2022-09-09 2023-10-20 Oppo广东移动通信有限公司 Radio frequency system, communication device and communication method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991019364A1 (en) * 1990-05-25 1991-12-12 Nokia Telecommunications Oy Radio test loop for a radio transceiver
WO2009092320A1 (en) * 2008-01-18 2009-07-30 Huawei Technologies Co., Ltd. Detecting method, detecting device and logic chip
US9503149B1 (en) * 2015-07-28 2016-11-22 Beijing Lenovo Software Ltd. Electronic device and control method thereof
CN106209267A (en) * 2016-07-20 2016-12-07 乐视控股(北京)有限公司 Signal monitoring method and mobile terminal
CN106911405A (en) * 2017-02-23 2017-06-30 维沃移动通信有限公司 The fault detection method of radio frequency path, parameter calibrating method and mobile terminal
CN107294557A (en) * 2016-03-30 2017-10-24 华为技术有限公司 The RF front-end circuit and complete-machine coupling method of testing of mobile terminal
CN107404358A (en) * 2017-07-27 2017-11-28 东莞市金铭电子有限公司 A kind of radio frequency path detection method, terminal and computer-readable recording medium
CN108599802A (en) * 2018-04-26 2018-09-28 深圳市盛路物联通讯技术有限公司 A kind of method and device of detection radio frequency impairments
CN208572084U (en) * 2018-08-01 2019-03-01 北京万集科技股份有限公司 A kind of issuing equipment
CN110995372A (en) * 2019-11-30 2020-04-10 惠州Tcl移动通信有限公司 Wireless communication terminal, power detection circuit and power calibration method
CN113037323A (en) * 2021-02-26 2021-06-25 维沃移动通信有限公司 Radio frequency circuit, control method of radio frequency circuit and electronic equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE519473C2 (en) * 1998-10-06 2003-03-04 Ericsson Telefon Ab L M Procedure and arrangement for testing reception antennas in radio base stations
JP2006013622A (en) * 2004-06-22 2006-01-12 Yazaki Corp Antenna state detector and reflection power detection module
US20070086349A1 (en) * 2005-10-18 2007-04-19 Arcadyan Technology Corporation Network apparatus, method of self-testing network connectivity, and method of analyzing frequency spectrum
CN101998606B (en) * 2009-08-25 2015-03-25 英派尔科技开发有限公司 Antenna transmission power monitoring and/or control
US8693957B2 (en) * 2011-05-05 2014-04-08 Mediatek Inc. Signal transceiving module
US9692532B2 (en) * 2012-02-10 2017-06-27 Mediatek Inc. Method and wireless communication device for antenna deployment determination
CN104506252B (en) * 2014-12-24 2016-09-28 上海极测信息科技有限公司 Antenna for mobile phone coupling testing system and method on production line
CN105933051B (en) * 2016-04-06 2019-03-22 Oppo广东移动通信有限公司 Antenna system and its method for testing performance and device, mobile terminal
CN108965560B (en) * 2018-07-16 2020-04-24 厦门美图移动科技有限公司 Antenna state detection method and terminal equipment
CN109547054A (en) * 2018-12-28 2019-03-29 维沃移动通信有限公司 Signal control circuit, terminal device and signal control method
CN111654334B (en) * 2020-05-28 2022-07-15 Oppo广东移动通信有限公司 Antenna connection state detection method and device, storage medium and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991019364A1 (en) * 1990-05-25 1991-12-12 Nokia Telecommunications Oy Radio test loop for a radio transceiver
WO2009092320A1 (en) * 2008-01-18 2009-07-30 Huawei Technologies Co., Ltd. Detecting method, detecting device and logic chip
US9503149B1 (en) * 2015-07-28 2016-11-22 Beijing Lenovo Software Ltd. Electronic device and control method thereof
CN107294557A (en) * 2016-03-30 2017-10-24 华为技术有限公司 The RF front-end circuit and complete-machine coupling method of testing of mobile terminal
CN106209267A (en) * 2016-07-20 2016-12-07 乐视控股(北京)有限公司 Signal monitoring method and mobile terminal
CN106911405A (en) * 2017-02-23 2017-06-30 维沃移动通信有限公司 The fault detection method of radio frequency path, parameter calibrating method and mobile terminal
CN107404358A (en) * 2017-07-27 2017-11-28 东莞市金铭电子有限公司 A kind of radio frequency path detection method, terminal and computer-readable recording medium
CN108599802A (en) * 2018-04-26 2018-09-28 深圳市盛路物联通讯技术有限公司 A kind of method and device of detection radio frequency impairments
CN208572084U (en) * 2018-08-01 2019-03-01 北京万集科技股份有限公司 A kind of issuing equipment
CN110995372A (en) * 2019-11-30 2020-04-10 惠州Tcl移动通信有限公司 Wireless communication terminal, power detection circuit and power calibration method
CN113037323A (en) * 2021-02-26 2021-06-25 维沃移动通信有限公司 Radio frequency circuit, control method of radio frequency circuit and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种射频功率检测控制系统的设计方法;王建平;;电子测量技术(08);全文 *
现代移动通信中发射分集技术研究;卓建荣;刘力军;宫兵;;无线电通信技术(06);全文 *

Also Published As

Publication number Publication date
CN113765533A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN108282166B (en) Antenna coexistence mutual interference processing method and device, storage medium and electronic equipment
CN107294557B (en) Radio frequency front-end circuit and complete machine coupling test method of mobile terminal
CN111294075B (en) Antenna switching circuit, antenna switching method and device
CN108183725B (en) Antenna coexistence mutual interference processing method and device, storage medium and electronic equipment
US10880021B2 (en) Wireless communication device and operation method of the same
US20150099475A1 (en) Wireless communication apparatus
CN113765533B (en) Antenna detection method and device, electronic equipment and storage medium
CN103682640A (en) Terminal and method for adjusting working mode of terminal antenna
US20020141374A1 (en) Method for controlling antennas of a receiving device in a radio system
CN104811524A (en) Method and device for testing radio frequency performance of terminal
CN114978270A (en) Antenna selection method, electronic device and storage medium
CN113824473B (en) Control method, device and communication system
US20080160920A1 (en) Device for reducing wireless interference
CN113783582A (en) Signal transmission method and device based on millimeter wave antenna, electronic equipment and medium
CN113824511A (en) Detection method and device for diversity antenna, electronic equipment and storage medium
US11558131B2 (en) Method and apparatus for measuring wireless performance of receiver of wireless terminal
CN105450863A (en) Multiple-protection terminal
US11870131B2 (en) Electronic device
CN114374417A (en) Antenna detection method and device, electronic equipment and storage medium
CN109390660B (en) Multi-antenna electronic device development system applied to multi-path environment
CN113078961B (en) Detection method and detection device for electronic equipment test state
CN107707318B (en) Method and device for detecting use state of mobile terminal, antenna system and mobile terminal
CN113691274B (en) Radio frequency front end module with shielding case and shielding test method thereof
CN104283592A (en) Information processing method and electronic device
CN115118301B (en) Radio frequency circuit and communication device

Legal Events

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