CN112367127A - Antenna detection circuit, electronic device, and antenna control method - Google Patents

Antenna detection circuit, electronic device, and antenna control method Download PDF

Info

Publication number
CN112367127A
CN112367127A CN202011155099.4A CN202011155099A CN112367127A CN 112367127 A CN112367127 A CN 112367127A CN 202011155099 A CN202011155099 A CN 202011155099A CN 112367127 A CN112367127 A CN 112367127A
Authority
CN
China
Prior art keywords
antenna
module
radio frequency
switch
detection
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.)
Granted
Application number
CN202011155099.4A
Other languages
Chinese (zh)
Other versions
CN112367127B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011155099.4A priority Critical patent/CN112367127B/en
Publication of CN112367127A publication Critical patent/CN112367127A/en
Application granted granted Critical
Publication of CN112367127B publication Critical patent/CN112367127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/15Performance testing
    • H04B17/17Detection of non-compliance or faulty performance, e.g. response deviations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/29Performance testing

Abstract

The application discloses an antenna detection circuit, electronic equipment and an antenna detection method, and belongs to the technical field of communication. Wherein, antenna detection circuitry includes: the radio frequency circuit comprises a power module, a controller, a radio frequency chip and a filtering module; the detection module is respectively connected with the antenna and the controller, the controller is connected with the switch module, the power supply module is connected with the radio frequency chip through the switch module, and the radio frequency chip is connected with the antenna through the filtering module; the detection module acquires an electric signal on the antenna, and sends a first detection signal to the controller to indicate the controller to control the switch module to disconnect the power supply module from the radio frequency chip under the condition that the electric signal meets a preset condition, wherein the electric signal meets the preset condition and is used for indicating that the connection between the antenna and the radio frequency circuit is abnormal. According to the embodiment of the application, the phenomenon that the radio frequency chip is damaged due to overcurrent caused by abnormal connection of the antenna and the radio frequency circuit can be avoided.

Description

Antenna detection circuit, electronic device, and antenna control method
Technical Field
The application belongs to the technical field of communication, and particularly relates to an antenna detection circuit, electronic equipment and an antenna control method.
Background
With popularization of smart phones and more widespread electronic information delivery, application scenarios of Near Field Communication (NFC) technology are increasingly demanded.
In the related art, the NFC antenna is often assembled in the NFC system through a spring plate, a connecting seat and the like, and the antenna end is open-circuited or short-circuited due to the conditions that the antenna is not firmly assembled, the connecting structure such as the connecting seat is damaged, or the antenna is damaged. When the antenna end is short-circuited, the current on the antenna path is increased, and the NFC antenna chip is heated and burned out in a severe case.
It is known that the reliability of the near field communication antenna system is reduced when the antenna mounting structure of the related art is short-circuited.
Disclosure of Invention
An object of the embodiments of the present application is to provide an antenna detection circuit, an electronic device, and an antenna control method, which can solve the problem that reliability of a near field communication antenna system is reduced when an antenna assembly structure in the related art is short-circuited.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an antenna detection circuit, including: the radio frequency circuit comprises a power module, a controller, a radio frequency chip and a filtering module;
the detection module is respectively connected with the antenna and the controller, the controller is connected with the switch module, the power supply module is connected with the radio frequency chip through the switch module, and the radio frequency chip is connected with the antenna through the filtering module;
the detection module acquires an electric signal on the antenna, and sends a first detection signal to the controller to indicate the controller to control the switch module to disconnect the power supply module from the radio frequency chip under the condition that the electric signal meets a preset condition, wherein the electric signal meets the preset condition and is used for indicating that the connection between the antenna and the radio frequency circuit is abnormal.
In a second aspect, an embodiment of the present application provides an electronic device, including the antenna detection circuit described in the first aspect.
In a third aspect, an embodiment of the present application provides an antenna detection method, including:
acquiring an electric signal of an antenna under the condition of starting the function of a target antenna;
and under the condition that the electric signal meets a preset condition, disconnecting the power supply module from a radio frequency chip, wherein the radio frequency circuit comprises the radio frequency chip, and the electric signal meets the preset condition and is used for indicating that the connection between the antenna and the radio frequency circuit is abnormal.
In a fourth aspect, an embodiment of the present application provides an antenna detection apparatus, including:
the first acquisition module is used for acquiring an electric signal of the antenna under the condition of starting the function of the target antenna;
the switch module is used for disconnecting the power supply module from the radio frequency chip under the condition that the electric signal meets the preset condition, wherein the radio frequency circuit comprises the radio frequency chip, and the electric signal meets the preset condition and is used for indicating that the connection between the antenna and the radio frequency circuit is abnormal.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the third aspect.
In a sixth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the third aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the third aspect.
In the embodiment of the application, the electric signal on the antenna is detected through the detection module, whether the connection state between the antenna and the radio frequency circuit is abnormal or not is determined according to the electric signal, and under the condition that the connection between the antenna and the radio frequency circuit is determined to be abnormal, the controller controls the switch module to disconnect the power module and the radio frequency chip based on the first detection signal sent by the detection module, so that under the condition that the short circuit is caused due to the abnormal connection state between the antenna and the radio frequency circuit, the radio frequency chip is prevented from being heated and burned out due to overcurrent, and the reliability of the antenna system is improved.
Drawings
Fig. 1 is a schematic structural diagram of an antenna detection circuit according to an embodiment of the present disclosure;
fig. 2 is an equivalent circuit diagram of a detection module in an antenna detection circuit according to an embodiment of the present disclosure;
fig. 3 is a circuit diagram of an antenna detection circuit according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another antenna detection circuit provided in an embodiment of the present application;
fig. 5 is a circuit diagram of another antenna detection circuit provided in an embodiment of the present application;
fig. 6 is a flowchart illustrating an operation of another antenna detection circuit according to an embodiment of the present application;
fig. 7 is a flowchart of an antenna detection method according to an embodiment of the present application;
fig. 8 is a structural diagram of an antenna detection apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The antenna detection circuit, the electronic device, and the antenna control method provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a schematic structural diagram of an antenna detection circuit according to an embodiment of the present application is shown in fig. 1, where the antenna detection circuit includes: the device comprises a detection module 1, a radio frequency circuit 2, an antenna 3 and a switch module 4, wherein the radio frequency circuit 2 comprises a power supply module 21, a controller 22, a radio frequency chip 23 and a filtering module 24.
The detection module 1 is respectively connected with the antenna 3 and the controller 22, the controller 22 is connected with the switch module 4, the power supply module 21 is connected with the radio frequency chip 23 through the switch module 4, and the radio frequency chip 23 is connected with the antenna 3 through the filtering module 24;
the detection module 1 is configured to acquire an electrical signal on the antenna 3, and send a first detection signal to the controller 22 when the electrical signal meets a preset condition, so as to instruct the controller 22 to control the switch module 4 to disconnect the power module 21 from the radio frequency chip 23, where the electrical signal meets the preset condition and is used to instruct the antenna 3 and the radio frequency circuit 2 to be connected abnormally.
In a specific implementation, the antenna 3 may be an NFC antenna, the rf Circuit 2 is an NFC rf Circuit, and the antenna 3 is an independent module and may be assembled in the rf Circuit 2 through a detachable connection structure (for example, a Flexible Printed Circuit (FPC) spring sheet is used for pressing, attaching, or a coaxial connector is used for pressing, etc.).
Of course, in application, the antenna 3 may also be another detachable antenna module, which is not specifically limited herein, and for convenience of description, the following embodiment only takes the antenna 3 as an NFC antenna system as an example for illustration. In addition, the filtering module 24 may also be referred to as a "matching and filtering module," which may include filters as well as matching elements. Moreover, the controller 22 may be a Central Processing Unit (CPU) in the electronic device equipped with the antenna detection circuit provided in the embodiment of the present application, and a control terminal of the CPU is connected to the detection module 1 to control the detection module 1 to detect the electrical signal on the antenna 3 when the radio frequency function corresponding to the radio frequency circuit 2 is activated. Of course, in practical applications, the CPU may also be connected to the rf chip 23, and the specific connection structure and operation principle may refer to the connection structure and operation principle between the CPU and the rf chip in the prior art, which are not specifically described herein.
In addition, the connection of the antenna 3 and the filtering module 24 can be understood as follows: in the case where the antenna 3 is normally mounted to the radio frequency circuit 2, the antenna 3 is electrically connected to the filter module 24.
In application, the detection module 1 can detect an electrical signal on the antenna 3, where the electrical signal may be a current or a voltage, and specifically, the detection module 1 can be electrically connected or coupled with the antenna 3 to obtain a value of the current or the voltage on the antenna 3. In use, the detection module 1 can be electrically connected or coupled to the conductive line between the antenna 3 and the filter module 24 to detect the electrical signal on the line as the electrical signal of the antenna 3.
The above-mentioned obtaining of the electrical signal on the antenna 3 meets a preset condition, specifically: the obtaining of the electrical signal on the antenna 3 under the condition of the starting of the radio frequency circuit 2 meets the preset condition, and the obtaining of the electrical signal on the antenna 3 meets the preset condition can be understood as: the current on the detection antenna 3 is less than or equal to a first preset value, or the voltage on the detection antenna 3 is less than or equal to a second preset value.
Wherein, the first preset value may be a working current of the antenna 3; the second preset value may be an operating voltage of the antenna 3.
In practical application, when the antenna 3 is normally connected to the radio frequency circuit 2, if the radio frequency circuit 2 is started, the filtering module 24 will transmit current to the antenna 3, and the voltage on the antenna 3 will rise.
It should be noted that, when the radio frequency circuit 2 normally operates and the connection between the antenna 3 and the radio frequency circuit 2 is not abnormal, the power supply module 21 is electrically connected to the radio frequency chip 23, so that the power supply module 21 supplies power to the radio frequency chip 23.
In practical applications, the switch module 4 may be a physical switch structure or a switch structure implemented by software, for example: in the case that the switch module is integrated in the power module 21, the controller 22 is connected to the power module 21, and the controller 22 may control the power module 21 to stop supplying power to the rf chip 23 under the indication of the first detection signal, so as to disconnect the electrical connection between the rf chip 23 and the power module 21, thereby implementing the function of the switch module in a software form. Of course, in other embodiments, a switch may be disposed on the electrical connection line between the power module 21 and the rf chip 23, and the controller 22 may control the switch to be turned off under the instruction of the first detection signal, so as to implement the function of the switch module in the form of a physical switch. It should be noted that, in the embodiment of the present application, only the switch module 4 is disposed between the power module 21 and the rf chip 23 for example, and the position and the structural form of the switch module 4 are not limited herein.
In the embodiment of the application, the detection module 1 detects an electrical signal on the antenna 3, determines whether the connection state between the antenna 3 and the radio frequency circuit 2 is abnormal or not according to the electrical signal, and controls the switch module 4 to disconnect the power module 21 from the radio frequency chip 23 by the controller 22 under the condition that the connection state between the antenna 3 and the radio frequency circuit 2 is determined to be abnormal, so that under the condition that a short circuit is caused due to the abnormal connection state between the antenna 3 and the radio frequency circuit 2, the radio frequency chip 23 is prevented from being heated and burned out due to overcurrent, and the reliability of the antenna system is improved.
As an alternative embodiment, as shown in fig. 2, the detection module 1 includes: a second resistor R1, a target power supply DC, a first switch 11, a second switch 12 and a detection terminal 13;
a control end of the first switch 11 and a control end of the second switch 12 are respectively connected with the controller 22, a first end of the first switch 11 is connected with the target power supply DC through a second resistor R1, and a second end of the first switch 11 is respectively connected with the antenna 3 and the filtering module 24; a first end of the second switch 12 is connected to the ground GND1, and a second end of the second switch 12 is connected to the antenna 3 and the filtering module 24, respectively; the detection end 13 is connected between the first end of the first switch 11 and the controller 22;
wherein, in the process that the controller 22 acquires the electric signal on the antenna 3 through the detection end 13, the controller 22 controls the first switch 11 and the second switch 12 to be respectively closed; when the controller 22 acquires the electric signal which does not meet the preset condition through the detection end 13, the controller 22 delays for a preset time and then controls the first switch 11 and the second switch 12 to be respectively switched off.
The target power DC may be a DC voltage source, the second resistor R1 is connected between the positive electrode of the DC voltage source and the first end of the first switch 11, and the negative electrode of the DC voltage source is connected to the ground GND 1.
In application, if the antenna 3 is normally connected to the filtering module, the detecting terminal 13 outputs a first electrical signal, and if the antenna 3 is not normally connected to the filtering module, the detecting terminal 13 outputs a second electrical signal, where the first electrical signal and the second electrical signal may be levels with different values, and the first electrical signal is greater than the level value of the second electrical signal, and the controller 22 can determine whether the connection between the antenna 3 and the filtering module 24 is abnormal based on the value of the electrical signal when acquiring the electrical signal transmitted by the detecting terminal 13.
In operation, when the NFC function is started, the controller 22 first controls the first switch 11 and the second switch 12 to be both closed, and at this time, considering that the antenna 3 is coil in nature, its impedance is approximately 0 ohm for direct current, so when the antenna 3 is normally connected, the detection terminal 13 outputs a low level, otherwise, a high level is output. In addition, when the controller 22 acquires the high level value according to the detection terminal 13, the controller 22 may delay a preset time (prevent a false touch), acquire the level value transmitted by the detection terminal 13 again, determine that the antenna 3 is well fastened when the level value is still at the high level, and control both the first switch 11 and the second switch 12 to be turned off. This ensures that the peripheral circuitry does not interfere with the access to the antenna 3.
In this embodiment, when the controller 22 first obtains the high level from the detection terminal 13, the controller 22 delays the preset time to obtain the level value on the detection terminal 13 again, so as to avoid that the controller 22 obtains an erroneous result in the voltage fluctuation process, thereby erroneously triggering to disconnect the power module 21 and the rf chip 23.
In another alternative embodiment, as shown in fig. 5, the switch module 4 includes a transistor switch 41 and a first resistor 42, a first terminal of the transistor switch 41 is connected to the power module 21, a second terminal of the transistor switch 41 is connected to the antenna 3 through the detection module 1, a third terminal of the transistor switch 41 is connected to the rf chip 23, and a second terminal of the transistor switch 41 is connected to the power module 21 through the first resistor 42;
wherein the preset conditions are as follows: the current on the antenna 3 is less than or equal to a first preset value, or the voltage on the antenna 3 is less than or equal to a second preset value.
In a specific implementation, the detection module 1 is configured to transmit a first electrical signal to the second terminal of the transistor switch 41 when the antenna 3 is not connected to the radio frequency circuit 2, so that the transistor switch 41 disconnects the first terminal and the third terminal of the transistor switch 41 based on the first electrical signal at the second terminal, and the detection module 1 is further configured to transmit a second electrical signal to the second terminal of the transistor switch 41 when the antenna 3 is connected to the radio frequency circuit 2, so that the transistor switch 41 connects the first terminal and the third terminal of the transistor switch 41 based on the second electrical signal at the second terminal.
For example: as shown in fig. 3, the transistor switch 41 may be a P-channel Metal Oxide Semiconductor (PMOS) transistor, and a first end of the transistor switch 41 may be a base of the PMOS transistor, a second end of the transistor switch 41 may be a collector of the PMOS transistor, and a third end of the transistor switch 41 may be an emitter of the PMOS transistor, and the PMOS transistor may control on/off of the collector and the emitter according to a current/voltage on the base.
Further, under the condition that the antenna 3 is electrically connected to the filtering module 24 through an elastic sheet connecting structure 5, the elastic sheet connecting structure 5 includes a first elastic sheet 51 connected to the radio frequency circuit 2 and a second elastic sheet 52 connected to the antenna 3, the first elastic sheet 51 is provided with two first connection points 511 and two second connection points 512, and the second elastic sheet 52 is provided with two third connection points 521 and two fourth connection points 522;
in the case that the antenna 3 is mounted on the rf circuit 2, the two first connection points 511 are respectively connected to the two third connection points 521 in a one-to-one correspondence manner to transmit rf signals, the two second connection points 512 are respectively connected to the two fourth connection points 522 in a one-to-one correspondence manner, the two second connection points 522 are short-circuited, one fourth connection point 512 is grounded, and the other fourth connection point 512 is connected to the second end of the PMOS transistor 41.
In specific implementation, the elastic sheet connecting structure may include an FPC elastic sheet, and a wire is disposed on the FPC elastic sheet, and an end portion of the wire may be leaked on the FPC elastic sheet to form a connection point, so that it is electrically connected with the connection point on the antenna 3 through the connection point, thereby achieving electrical connection between the antenna 3 and the radio frequency circuit 2 and electrical connection between the detection module 1 and the antenna 3.
In this embodiment, when the antenna 3 and the rf circuit 2 are normally connected, the second terminal of the PMOS transistor 41 is grounded through the fourth connection point 512 and the two second connection points 522 that are short-circuited to each other, so that the level value at the second terminal of the PMOS transistor 41 is lowered, and at this time, the first terminal and the third terminal of the PMOS transistor 41 are turned on. In addition, when the antenna 3 and the rf circuit 2 are not connected or are abnormally connected, the second terminal of the PMOS transistor 41 is not grounded, so that the second terminal of the PMOS transistor 41 is pulled up to the power module 21 through the first resistor 42, that is, the second terminal of the PMOS transistor 41 has a high level, and at this time, the first terminal and the third terminal of the PMOS transistor 41 are disconnected.
It should be noted that, in an implementation meeting, the different connection points may also be respectively disposed on different metal elastic pieces, and are not limited herein.
In addition, the transistor switch 41 may also be another transistor such as an NMOS transistor, which may be specifically determined by the structure of the detection module 1 and the value of the first electrical signal and the second electrical signal transmitted by the detection module 1.
In the embodiment of the present application, the elastic sheet connection structure is used to electrically connect the antenna 3 and the radio frequency circuit 2, and when the antenna 3 and the radio frequency circuit 2 are normally connected and are abnormally connected, the elastic sheet connection structure transmits level signals with different values to the second end of the transistor switch 41, so that the transistor switch 41 is turned on and off according to the acquired level value, so as to connect the power module 21 and the radio frequency chip 23 when the antenna 3 and the radio frequency circuit 2 are normally connected, and disconnect the power module 21 from the radio frequency chip 23 when the antenna 3 and the radio frequency circuit 2 are abnormally connected.
As an alternative implementation, as shown in fig. 4, the antenna detection circuit further includes: the current limiting module 6, the current limiting module 6 is connected between the radio frequency chip 23 and the filtering module 24;
the current limiting module 6 is configured to disconnect the rf chip 23 from the filtering module 24 when a target current between the rf chip 23 and the filtering module 24 is greater than a preset current.
In a specific implementation, the Current limiting module 6 may be configured to include, but not limited to, an Over Current Protection (OCP) Protection, a voltage drop (drop) detection, and the like.
In addition, the preset current may be a safety threshold of the current, for example: the rated maximum current between the rf chip 23 and the filtering module 24.
In a specific application, the current limiting module 6 may include: one or more of components having a current limiting function, such as a high-precision current detecting resistor, a MOS transistor, and a current detecting Chip (IC), are not particularly limited.
In this embodiment, the current between the rf chip and the filtering module is limited by the current limiting module, so that the internal circuit is disconnected when the current between the rf chip and the filtering module exceeds the threshold value, thereby disconnecting the rf chip from the filtering module.
Of course, in a specific implementation, the current limiting module 65 may also send a third detection signal to the controller 22 to instruct the controller 22 to control the power supply module 21 to stop supplying power to the rf chip 23 in a case that it is detected that the current between the rf chip 23 and the filtering module 24 exceeds the threshold.
In particular implementations, the controller 22 may combine the first detection signal Flag1 sent by the detection module 1 and the second detection signal Flag2 sent by the current limit module 6 to control the power module 21.
In an alternative embodiment, as shown in fig. 4, the antenna detection circuit further includes: the detection module 1 and the current limiting module 6 are respectively connected to the controller 22 through the logic processing unit 7, wherein when the detection module 1 detects that the electrical signal on the antenna 3 meets the preset condition, or when the current limiting module 6 detects that the target current is greater than the preset current, the logic processing unit 7 sends a second detection signal Flag0 to the controller 22 to instruct the controller 22 to control the switch module 4 to disconnect the power module 21 from the radio frequency chip 23.
In a specific implementation, the logic processing unit 7 may be an or gate, specifically, when the detection module 1 detects that the connection between the antenna 3 and the radio frequency circuit 2 is abnormal, the first detection signal sent to the logic processing unit 7 is a digital signal "1" (that is, Flag1 is equal to 1), otherwise, the first detection signal sent to the logic processing unit 7 is a digital signal "0" (that is, Flag1 is equal to 0); the current limiting module 6 sends a third detection signal to the logic processing unit 7 as a digital signal "1" (i.e., Flag2 equals to 1) when detecting that the target current between the rf chip 23 and the filtering module 24 exceeds the preset current, otherwise sends the third detection signal to the logic processing unit 7 as a digital signal "0" (i.e., Flag2 equals to 0). The logic processing unit 7 performs or digital processing on the Flag1 sent by the detection module 1 and the Flag2 sent by the current limiting module 6, that is, when any one of the Flag1 sent by the detection module 1 and the Flag2 sent by the current limiting module 6 is greater than or equal to 1, the second detection signal sent by the logic processing unit 7 to the controller 22 is a digital signal "1" (i.e., the Flag0 is equal to 1), so as to instruct the controller 22 to control the power supply module 21 to stop supplying power to the radio frequency chip 23; in addition, when both the Flag1 sent by the detection module 1 and the Flag2 sent by the current limiting module 6 are "0", the second detection signal sent by the logic processing unit 7 to the controller 22 is a digital signal "0" (i.e., Flag0 is equal to 0) to instruct the controller 22 to control the power supply module 21 to supply power to the rf chip 23.
In this embodiment, the first detection signal, the second detection signal and the third detection signal are set as digital signals, and a logic processing unit is added to perform comprehensive processing on the first detection signal and the third detection signal, so as to avoid the situation that the first detection signal and the third detection signal are not matched when the controller 22 respectively responds to the first detection signal and the third detection signal, for example: when the antenna 3 has a short-circuit fault and the antenna 3 is normally connected to the rf circuit 2, a large short-circuit current still flows between the rf chip 23 and the filtering module 24.
In another alternative embodiment, as shown in fig. 5, the detecting module 1 is configured to control on/off of the transistor switch 41 according to a connection state between the antenna 3 and the radio frequency circuit 2, and the current limiting module 6 sends a third detection signal to the controller 22 according to the obtained current magnitude between the radio frequency chip 23 and the filtering module 24, so that the controller 22 controls whether the power supply module 21 outputs power according to the third detection signal.
In this embodiment, the third detection signal sent by the current limiting module 6 is the digital signal Flag 0.
Of course, in other practical ways, the third detection signal sent by the current limiting module 6 may also be an analog signal, such as: the current signal or the voltage signal is not particularly limited.
In this embodiment, the first detection signal of the detection module 1 and the third detection signal of the current limiting module 6 are transmitted through different control lines and have different control logics, so that the situation that the first detection signal and the third detection signal are not matched when the first detection signal and the third detection signal are respectively responded in the controller 22 can be avoided.
The embodiment of the application also provides electronic equipment, and the electronic equipment comprises any antenna detection circuit provided by the embodiment of the application.
In a specific implementation, the electronic device provided in the embodiments of the application may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The working principle of the antenna detection circuit provided in the embodiment of the present application is described below by taking the working flow of the electronic device including the antenna detection circuit shown in fig. 4 as an example, and as shown in fig. 6, the electronic device including the antenna detection circuit shown in fig. 4 may perform the following steps:
step 601, judging whether the user opens the NFC.
Wherein, opening the NFC may indicate opening an application program that needs to start the NFC antenna system, or causing the electronic device to execute a function that needs to start the NFC antenna system.
If the determination result of step 601 is "no", step 602 is executed; if the determination result in step 601 is yes, step 603 is executed.
Step 602, powering off the NFC.
The NFC power-off may be to disconnect the power module 21 from the radio frequency chip 23 through the switch module 4, or to control the power module 21 to stop supplying power to the radio frequency chip 23 through the controller 22.
Step 603 determines whether the second detection signal is equal to "1".
If the determination result in step 603 is "no", step 602 is executed; if the determination result in step 603 is yes, step 604 is executed.
And step 604, powering NFC.
The NFC power supply may be to connect the power module 21 with the radio frequency chip 23 through the switch module 4, or to control the power module 21 to supply power to the radio frequency chip 23 through the controller 22.
The electronic device provided by the embodiment of the application can detect whether the connection between the antenna and the radio frequency channel is abnormal or not by using the antenna checking circuit provided by the embodiment of the application through executing the working process, and controls the power supply module to stop supplying power to the radio frequency chip under the condition that the connection between the antenna and the radio frequency channel is abnormal, so that the radio frequency chip is prevented from being damaged by overcurrent.
Referring to fig. 7, a flowchart of an antenna detection method according to an embodiment of the present application is shown in fig. 7, where the antenna detection method includes the following steps:
and 701, acquiring an electric signal of the antenna under the condition of starting the function of the target antenna.
In an implementation, the antenna may be detachably and electrically connected to the rf circuit corresponding to the function of the target antenna through a detachable connection structure (e.g., a coaxial socket connection structure, a spring connection structure, etc.).
Step 702, disconnecting the power module from the radio frequency chip when the electrical signal meets a preset condition, wherein the radio frequency circuit includes the radio frequency chip, and the electrical signal meets the preset condition and indicates that the connection state between the antenna and the radio frequency circuit is abnormal.
In a specific implementation, the target antenna function may be a radio frequency function that can be executed only when an antenna system where the antenna is located needs to be started, and the electrical signal obtained from the antenna may be a current or a voltage of the antenna obtained by using a first detection module in the antenna detection circuit provided in the embodiment of the present application, which is not described herein again.
In addition, the fact that the electrical signal meets a preset condition, which is the same as the fact that the electrical signal meets the preset condition in the antenna detection circuit provided in the embodiment of the present application indicates that the connection state between the antenna and the radio frequency circuit is abnormal, has the same meaning, and is not described herein again.
As an optional implementation, the method further comprises:
acquiring a target current between the radio frequency chip and a filtering module, wherein the radio frequency circuit comprises the filtering module, and the filtering module is connected with the radio frequency chip;
the electrical signal includes a current on the antenna or a voltage on the antenna, and the electrical signal further includes the target current, disconnecting the power supply module from the radio frequency chip when the electrical signal meets a preset condition, including:
and disconnecting the power supply module from the radio frequency chip under the condition that the current on the antenna is smaller than or equal to a first preset value, or the voltage on the antenna is smaller than or equal to a second preset value, or the target current is larger than a preset current.
In a specific implementation, the target current is the same as the target current obtained by the current limiting module in the antenna detection circuit provided in the embodiment of the present application, and the power supply state between the power supply module and the radio frequency chip is adjusted according to the current on the antenna or the voltage on the antenna and according to the target current, which has the same function as that of the antenna detection circuit provided in the embodiment of the present application in which the controller controls the on/off between the power supply module and the radio frequency chip according to the first detection signal sent by the detection module and the third detection signal sent by the current limiting module, and is not described herein again.
The antenna detection method provided by the embodiment of the present application can be applied to an electronic device having the antenna detection circuit provided by the circuit embodiment of the present application, and certainly, the antenna detection method can also be applied to other antenna systems, and the antenna in the antenna system can be detachably and electrically connected to the radio frequency circuit, which is not specifically limited to the electronic device.
Referring to fig. 8, which is a structural diagram of an antenna detection apparatus according to an embodiment of the present application, as shown in fig. 8, the antenna detection apparatus 800 includes:
a first obtaining module 801, configured to obtain an electrical signal of an antenna when a target antenna function is turned on;
the switch module 802 is configured to disconnect the power module from the radio frequency chip when the electrical signal meets a preset condition, where the radio frequency circuit includes the radio frequency chip, and the electrical signal meets the preset condition and is used to indicate that there is an abnormality in connection between the antenna and the radio frequency circuit.
Optionally, the antenna detection apparatus 800 further includes:
the second acquisition module is used for acquiring a target current between the radio frequency chip and the filtering module, the radio frequency circuit comprises the filtering module, and the filtering module is connected with the radio frequency chip;
the electrical signal includes a current on the antenna or a voltage on the antenna, and the electrical signal further includes the target current, and the switch module 802 is specifically configured to:
and disconnecting the power supply module from the radio frequency chip under the condition that the current on the antenna is smaller than or equal to a first preset value, or the voltage on the antenna is smaller than or equal to a second preset value, or the target current is larger than a preset current.
The antenna detection apparatus 800 provided in the embodiment of the present application can perform each process in the method embodiment shown in fig. 7, and can obtain the same beneficial effects, and for avoiding repetition, the details are not repeated here.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction is executed by the processor to implement each process of the above-mentioned embodiment of the antenna detection method, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It is to be noted that the electronic apparatus in the embodiment of the present application includes a wrist-worn electronic apparatus.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the antenna detection method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above antenna detection method embodiment, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and electronic devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may include performing functions in a substantially simultaneous manner or in a reverse order depending on the functionality involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An antenna detection circuit, comprising: the radio frequency circuit comprises a power module, a controller, a radio frequency chip and a filtering module;
the detection module is respectively connected with the antenna and the controller, the controller is connected with the switch module, the power supply module is connected with the radio frequency chip through the switch module, and the radio frequency chip is connected with the antenna through the filtering module;
the detection module acquires an electric signal on the antenna, and sends a first detection signal to the controller to indicate the controller to control the switch module to disconnect the power supply module from the radio frequency chip under the condition that the electric signal meets a preset condition, wherein the electric signal meets the preset condition and is used for indicating that the connection between the antenna and the radio frequency circuit is abnormal.
2. The circuit of claim 1, further comprising: the current limiting module is connected between the radio frequency chip and the filtering module;
the current limiting module is used for disconnecting the radio frequency chip from the filtering module under the condition that the target current between the radio frequency chip and the filtering module is larger than the preset current.
3. The circuit according to claim 1 or 2, wherein the switch module comprises a transistor switch and a first resistor, a first terminal of the transistor switch is connected to the power module, a second terminal of the transistor switch is connected to the antenna through the detection module, a third terminal of the transistor switch is connected to the rf chip, and a second terminal of the transistor switch is connected to the power module through the first resistor;
wherein the preset conditions are as follows: the current on the antenna is smaller than or equal to a first preset value, or the voltage on the antenna is smaller than or equal to a second preset value.
4. The circuit of claim 3, wherein the antenna is electrically connected to the filtering module by a spring connection or a coaxial connection.
5. The circuit of claim 4, wherein, when the antenna is electrically connected to the filtering module through a spring connection structure, the spring connection structure comprises a first spring connected to the radio frequency circuit and a second spring connected to the antenna, the first spring is provided with two first connection points and two second connection points, and the second spring is provided with two third connection points and two fourth connection points;
the two first connecting points are respectively connected with the two third connecting points in a one-to-one correspondence mode so as to transmit radio frequency signals, the two second connecting points are respectively connected with the two fourth connecting points in a one-to-one correspondence mode, the two second connecting points are short-circuited, one fourth connecting point is grounded, and the other fourth connecting point is connected with the second end of the transistor switch.
6. The circuit of claim 2, further comprising a logic processing unit, wherein the detection module and the current limiting module are respectively connected to the controller through the logic processing unit, and when the detection module detects that the electrical signal on the antenna meets the preset condition or the current limiting module detects that the target current is greater than the preset current, the logic processing unit sends a second detection signal to the controller to instruct the controller to control the switch module to disconnect the power module from the rf chip.
7. The circuit of claim 1 or 2, wherein the detection module comprises: the detection circuit comprises a second resistor, a target power supply, a first switch, a second switch and a detection end;
the control end of the first switch and the control end of the second switch are respectively connected with the controller, the first end of the first switch is connected with the target power supply through the second resistor, and the second end of the first switch is respectively connected with the antenna and the filtering module; a first end of the second switch is connected with a ground terminal, and a second end of the second switch is respectively connected with the antenna and the filtering module; the detection end is connected between the first end of the first switch and the controller;
the controller controls the first switch and the second switch to be closed respectively in the process that the controller acquires the electric signal on the antenna through the detection end; when the controller obtains the electric signals which do not accord with the preset conditions through the detection end, the controller delays for preset time and then controls the first switch and the second switch to be disconnected respectively.
8. An electronic device comprising an antenna detection circuit as claimed in any one of claims 1-7.
9. An antenna control method, characterized in that the method comprises:
acquiring an electric signal of an antenna under the condition of starting the function of a target antenna;
and under the condition that the electric signal meets a preset condition, disconnecting the power supply module from a radio frequency chip, wherein the radio frequency circuit comprises the radio frequency chip, and the electric signal meets the preset condition and is used for indicating that the connection between the antenna and the radio frequency circuit is abnormal.
10. The method of claim 9, further comprising:
acquiring a target current between the radio frequency chip and a filtering module, wherein the radio frequency circuit comprises the filtering module, and the filtering module is connected with the radio frequency chip;
the electrical signal includes a current on the antenna or a voltage on the antenna, and the electrical signal further includes the target current, disconnecting the power supply module from the radio frequency chip when the electrical signal meets a preset condition, including:
and disconnecting the power supply module from the radio frequency chip under the condition that the current on the antenna is smaller than or equal to a first preset value, or the voltage on the antenna is smaller than or equal to a second preset value, or the target current is larger than a preset current.
CN202011155099.4A 2020-10-26 2020-10-26 Antenna detection circuit, electronic device, and antenna control method Active CN112367127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011155099.4A CN112367127B (en) 2020-10-26 2020-10-26 Antenna detection circuit, electronic device, and antenna control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011155099.4A CN112367127B (en) 2020-10-26 2020-10-26 Antenna detection circuit, electronic device, and antenna control method

Publications (2)

Publication Number Publication Date
CN112367127A true CN112367127A (en) 2021-02-12
CN112367127B CN112367127B (en) 2023-01-24

Family

ID=74510395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011155099.4A Active CN112367127B (en) 2020-10-26 2020-10-26 Antenna detection circuit, electronic device, and antenna control method

Country Status (1)

Country Link
CN (1) CN112367127B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572544A (en) * 2021-08-02 2021-10-29 Tcl通讯(宁波)有限公司 Antenna communication device, antenna device connection detection method, terminal, and storage medium
CN113824511A (en) * 2021-08-24 2021-12-21 上海闻泰信息技术有限公司 Detection method and device for diversity antenna, electronic equipment and storage medium
WO2022207835A1 (en) * 2021-03-31 2022-10-06 Belimo Holding Ag Nfc enabled hvac field device and an hvac system
CH718626A1 (en) * 2021-05-14 2022-11-15 Belimo Holding Ag NFC-enabled HVAC field device and HVAC system.
CN116298556A (en) * 2023-05-22 2023-06-23 荣耀终端有限公司 Detection method and electronic equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282439A (en) * 2007-12-29 2008-10-08 青岛海信电器股份有限公司 Power supply system for antenna
CN201666916U (en) * 2010-02-03 2010-12-08 中国人民解放军国防科学技术大学 Active antenna current detection and short circuit protection circuit of satellite positioning time service receiving machine
CN106058794A (en) * 2016-06-22 2016-10-26 成都国星通信有限公司 Circuit and method for automatically protecting short circuit of antenna
CN106374422A (en) * 2016-08-24 2017-02-01 云顶科技(江苏)有限公司 Active antenna-based detection protection circuit
US20170093020A1 (en) * 2015-09-29 2017-03-30 Chiun Mai Communication Systems, Inc. Antenna module and wireless communication device using same
CN108075844A (en) * 2016-11-17 2018-05-25 中兴通讯股份有限公司 Radio frequency reflection ripple detection device, wireless telecommunication system and antenna condition detection method
CN109150203A (en) * 2018-07-13 2019-01-04 上海移远通信技术股份有限公司 A kind of antenna switching circuit and antenna system
CN109155638A (en) * 2016-12-08 2019-01-04 华为技术有限公司 A kind of radio antenna diagnostic circuit, diagnostic method and device
CN208674343U (en) * 2018-08-29 2019-03-29 浙江科比特科技有限公司 A kind of antenna feeding circuit and antenna
CN109599844A (en) * 2018-11-19 2019-04-09 普联技术有限公司 A kind of radio circuit guard method, device and antenna equipment
CN111211421A (en) * 2020-03-19 2020-05-29 惠州Tcl移动通信有限公司 Antenna tuning circuit and mobile terminal
CN210665995U (en) * 2019-07-18 2020-06-02 无锡旗连电子科技有限公司 Radio frequency switch-based on-site detection circuit for RFID reader-writer antenna
CN111756396A (en) * 2020-07-15 2020-10-09 维沃移动通信有限公司 Radio frequency circuit, electronic device, and control method
CN111797947A (en) * 2020-05-25 2020-10-20 武汉天喻聚联网络有限公司 Radio frequency antenna polling method and system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282439A (en) * 2007-12-29 2008-10-08 青岛海信电器股份有限公司 Power supply system for antenna
CN201666916U (en) * 2010-02-03 2010-12-08 中国人民解放军国防科学技术大学 Active antenna current detection and short circuit protection circuit of satellite positioning time service receiving machine
US20170093020A1 (en) * 2015-09-29 2017-03-30 Chiun Mai Communication Systems, Inc. Antenna module and wireless communication device using same
CN106058794A (en) * 2016-06-22 2016-10-26 成都国星通信有限公司 Circuit and method for automatically protecting short circuit of antenna
CN106374422A (en) * 2016-08-24 2017-02-01 云顶科技(江苏)有限公司 Active antenna-based detection protection circuit
CN108075844A (en) * 2016-11-17 2018-05-25 中兴通讯股份有限公司 Radio frequency reflection ripple detection device, wireless telecommunication system and antenna condition detection method
CN109155638A (en) * 2016-12-08 2019-01-04 华为技术有限公司 A kind of radio antenna diagnostic circuit, diagnostic method and device
CN109150203A (en) * 2018-07-13 2019-01-04 上海移远通信技术股份有限公司 A kind of antenna switching circuit and antenna system
CN208674343U (en) * 2018-08-29 2019-03-29 浙江科比特科技有限公司 A kind of antenna feeding circuit and antenna
CN109599844A (en) * 2018-11-19 2019-04-09 普联技术有限公司 A kind of radio circuit guard method, device and antenna equipment
CN210665995U (en) * 2019-07-18 2020-06-02 无锡旗连电子科技有限公司 Radio frequency switch-based on-site detection circuit for RFID reader-writer antenna
CN111211421A (en) * 2020-03-19 2020-05-29 惠州Tcl移动通信有限公司 Antenna tuning circuit and mobile terminal
CN111797947A (en) * 2020-05-25 2020-10-20 武汉天喻聚联网络有限公司 Radio frequency antenna polling method and system
CN111756396A (en) * 2020-07-15 2020-10-09 维沃移动通信有限公司 Radio frequency circuit, electronic device, and control method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022207835A1 (en) * 2021-03-31 2022-10-06 Belimo Holding Ag Nfc enabled hvac field device and an hvac system
CH718626A1 (en) * 2021-05-14 2022-11-15 Belimo Holding Ag NFC-enabled HVAC field device and HVAC system.
CN113572544A (en) * 2021-08-02 2021-10-29 Tcl通讯(宁波)有限公司 Antenna communication device, antenna device connection detection method, terminal, and storage medium
CN113572544B (en) * 2021-08-02 2023-07-18 Tcl通讯(宁波)有限公司 Antenna communication device, antenna device connection detection method, terminal, and storage medium
CN113824511A (en) * 2021-08-24 2021-12-21 上海闻泰信息技术有限公司 Detection method and device for diversity antenna, electronic equipment and storage medium
CN116298556A (en) * 2023-05-22 2023-06-23 荣耀终端有限公司 Detection method and electronic equipment
CN116298556B (en) * 2023-05-22 2023-09-29 荣耀终端有限公司 Detection method and electronic equipment

Also Published As

Publication number Publication date
CN112367127B (en) 2023-01-24

Similar Documents

Publication Publication Date Title
CN112367127B (en) Antenna detection circuit, electronic device, and antenna control method
US10181742B2 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
AU2014415910B2 (en) Charging protection method and apparatus
US10658860B2 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
US20160336779A1 (en) Charging Method, Alternating Current Adaptor, Charging Management Device and Terminal
EP3484002B1 (en) Electrostatic protection circuit
EP3343238B1 (en) Short-circuit prevention detection device and user terminal
US11296494B2 (en) Circuit for and method of protecting overvoltage in universal serial bus interface
US10243386B2 (en) Power supply circuit in electronic device and control method thereof
US11329477B2 (en) Direct-current voltage supply circuit
CN105591356A (en) Overvoltage and undervoltage protection circuit
CN105071484A (en) Charging method and apparatus of terminal having data exchange function
CN106210198B (en) A kind of intelligence card protection circuit, mobile terminal and smart card guard method
CN106526403B (en) A kind of terminal leakage current detection circuit, terminal and terminal leakage current test system
EP3148167A1 (en) Power supply protection apparatus and terminal device
CN109167420B (en) Charging control circuit, charging circuit and charging control method
CN109193834B (en) Overvoltage protection device, method and system
CN106797414B (en) A kind of leakage current detection circuit and terminal of terminal
CN102882203A (en) Power transmission system, device and protection circuit with power supply protection function
CN214412262U (en) Protection circuit, circuit board and protection system
CN108880528A (en) The interface circuit of electronic device
CN101989739B (en) Protective circuit
CN213279650U (en) Radio frequency measuring equipment with radio frequency front end protection
CN210109670U (en) Docking station with interface protection function for mobile terminal
US10840697B2 (en) Power supply system compatible with multiple communication interface specifications and power receiver circuit thereof

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