Patent ID: 12255679

DETAILED DESCRIPTION

The following clearly describes the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Apparently, the described embodiments are some rather than all of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts fall within the protection scope of this application.

Terms “first” and “second” in the specification and claims of this application are used to distinguish between similar objects, and do not need to be used to describe a specific order or sequence. It should be understood that data used in this way may be interchangeable in an appropriate case, so that the embodiments of this application can be implemented in a sequence other than those shown or described herein, and objects distinguished by “first” and “second” are generally of a same type, and a quantity of objects is not limited. For example, there may be one or more first targets. In addition, in the specification and the claims, “and/or” represents at least one of connected objects, and the character “/” generally represents an “or” relationship between associated objects.

With reference to the accompanying drawings, a radio frequency circuit and an electronic device provided in the embodiments of this application are described in detail below by using a specific embodiment and an application scenario thereof.

FIG.1toFIG.4show a radio frequency circuit according to an embodiment of this application. The radio frequency circuit includes a first WIFI signal transmission port100, a Bluetooth signal transmission port200, a switch component, a first antenna300, and a second antenna400.

The first WIFI signal transmission port100is separately electrically connected to the first antenna300and the second antenna400by using the switch component, and the Bluetooth signal transmission port200is separately electrically connected to the first antenna300and the second antenna400by using the switch component.

In a case that the switch component is in a first state, the switch component connects the Bluetooth signal transmission port200to the first antenna300, and the switch component connects the first WIFI signal transmission port100to the second antenna400.

In a case that the switch component is in a second state, the switch component connects the Bluetooth signal transmission port200to the second antenna400, and the switch component connects the first WIFI signal transmission port100to the first antenna300.

The first WIFI signal transmission port100may be a signal port of a WIFI channel in an electronic device, and the first WIFI signal transmission port100may be either a signal receiving port or a signal transmitting port, for example, may be a 2.4 G WIFI receive (Receive X, RX) port or a 2.4 G WIFI transmit (Transmit X, TX) port. Correspondingly, the Bluetooth signal transmission port200may be a signal port of a Bluetooth signal channel in the electronic device.

The switch component may be formed by combining multiple different switches. It should be understood that in some embodiment, a specific combination manner of the switches in the switch component is not limited, provided that first state and the second state can be implemented and a purpose of switching between the first state and the second state can be implemented.

The first antenna300and the second antenna400may be common antennas in the electronic device, for example, may be built-in antennas in the electronic device, or may be external antennas formed in a metal bezel of the electronic device.

In this implementation, the switch component is disposed, so that when a Bluetooth signal is relatively poor, the switch component can be controlled to switch an operating state, to switch an antenna that is connected to the Bluetooth signal transmission port200, thereby improving Bluetooth signal quality. In addition, when a WIFI signal is relatively poor, the switch component may also be controlled to switch an operating state, to switch an antenna that is connected to the first WIFI signal transmission port100, thereby improving WIFI signal quality.

In some embodiments, the radio frequency circuit further includes a second WIFI signal transmission port500, and the second WIFI signal transmission port500is separately electrically connected to the first antenna300and the second antenna400by using the switch component.

In a case that the switch component is in a third state, the switch component connects one of the first WIFI signal transmission port100or the second WIFI signal transmission port500to the first antenna300and connects the other to the second antenna400.

The second WIFI signal transmission port500may be a signal port of a WIFI channel in the electronic device, and the first WIFI signal transmission port100may be either a signal receiving port or a signal transmitting port, for example, may be a 2.4 G WIFI RX port or a 2.4 G WIFI TX port. It should be understood that the first WIFI signal transmission port100and the second WIFI signal transmission port500may be signal ports of different WIFI channels in the electronic device, or may be different ports of a same WIFI channel.

In this implementation, the second WIFI signal transmission port500is disposed, so that the switch component may separately connect the second WIFI signal transmission port500to the first antenna300and the second antenna400. In this way, when a Bluetooth function of the electronic device is in a disabled state, one of the first WIFI signal transmission port100or the second WIFI signal transmission port500may be connected to the first antenna300, and the other is connected to the second antenna400. In this case, the first antenna300and the second antenna400are simultaneously used as WIFI antennas, so that WIFI signal quality can be further improved.

In some embodiments, the switch component includes a first switch600and a second switch700, the second switch700is a double-pole double-throw switch, the second switch700includes a first end and a second end, one of the first end or the second end is an input end, and the other is an output end.

The first WIFI signal transmission port100is electrically connected to a second connection point702of the first end, and the second WIFI signal transmission port500and the Bluetooth signal transmission port200are separately electrically connected to a first connection point701of the first end by using the first switch600.

The first antenna300is electrically connected to a third connection point703of the second end, and the second antenna400is electrically connected to a fourth connection point704of the second end.

In a case that the switch component is in the first state, the first switch600connects the Bluetooth signal transmission port200to the first connection point701of the second switch700, the second switch700connects the first connection point701to the first antenna300, and the second switch700connects the second connection point702to the second antenna400.

In a case that the switch component is in the second state, the first switch600connects the Bluetooth signal transmission port200to the first connection point701of the second switch700, the second switch700connects the first connection point701to the second antenna400, and the second switch700connects the second connection point702to the first antenna300.

In a case that the switch component is in the third state, the first switch600connects the second WIFI signal transmission port500to the first connection point701of the second switch700, and the second switch700connects one of the first connection point701or the second connection point702to the first antenna300, and connects the other to the second antenna400.

In some embodiments, as shown inFIG.1, the first switch600may be a single-pole double-throw switch. A movable end of the first switch600is electrically connected to the connection point701of the second switch700by using a filter800, a first fixed end of the first switch600is electrically connected to the second WIFI signal transmission port500, and a second fixed end of the first switch600is electrically connected to the Bluetooth signal transmission port200. In this way, when the movable end of the first switch600is connected to the first fixed end of the first switch600, the first connection point701is connected to the second WIFI signal transmission port500. When the movable end of the first switch600is connected to the second fixed end of the first switch600, the first connection point701is connected to the Bluetooth signal transmission port200.

The second switch700includes two operating states. A first operating state of the second switch700is: The first connection point701is connected to the third connection point703, and the second connection point702is connected to a fourth connection point704. A second operating state of the second switch700is: The first connection point701is connected to the fourth connection point704, and the second connection point702is connected to the third connection point703.

The first WIFI signal transmission port100is electrically connected to the second connection point702of the first end by using the filter800.

In some embodiments, the first antenna300is electrically connected to the third connection point703, and the second antenna400is electrically connected to the fourth connection point704. In a case that the switch component is in the first state, the first switch600connects the Bluetooth signal transmission port200to the first connection point701of the second switch700. In this case, the second switch700is in the first operating state, the second switch700connects the first connection point701to the first antenna300, and the second switch700connects the second connection point702to the second antenna400.

In a case that the switch component is in the second state, the first switch600connects the Bluetooth signal transmission port200to the first connection point701of the second switch700. In this case, the second switch700is in the second operating state, the second switch700connects the first connection point701to the second antenna400, and the second switch700connects the second connection point702to the first antenna300.

In a case that the switch component is in the third state, the first switch600connects the second WIFI signal transmission port500to the first connection point701of the second switch700. In this case, the second switch700is in the first operating state or the second operating state, and the second switch700connects one of the first connection point701or the second connection point702to the first antenna300and connects the other to the second antenna400.

In this implementation, through setting, the first switch600cooperates with the second switch700, so that the switch component switches among the first state, the second state, and the third state.

In some embodiments, the switch component further includes a third switch900. The third switch900is a single-pole double-throw switch, the first WIFI signal transmission port100includes a first receive sub-port101and a first transmit sub-port102, and the first receive sub-port101and the first transmit sub-port102are separately electrically connected to the second connection point702by using the third switch900.

The first switch600is a single-pole three-throw switch, the second WIFI signal transmission port500includes a second receive sub-port501and a second transmit sub-port502, and the second receive sub-port501, the second transmit sub-port502, and the Bluetooth signal transmission port200are separately electrically connected to the first connection point701by using the first switch600.

As shown inFIG.2, in some embodiments, the third switch900is a single-pole double-throw switch, a movable end of the third switch900is electrically connected to the second connection point702of the second switch700by using a filter800, a first fixed end of the third switch900is electrically connected to a first receive sub-port101, and a second fixed end of the third switch900is electrically connected to a first transmit sub-port102. In this way, when the electronic device receives data by using WIFI, the movable end of the third switch900may be electrically connected to the first fixed end of the third switch900, so that the second connection point702is connected to the first receive sub-port101; and when the electronic device sends data by using WIFI, the movable end of the third switch900and the second fixed end of the third switch900may be connected, so that the second connection point702is connected to the first transmit sub-port102.

As shown inFIG.2, in some embodiments, the first switch600is a single-pole three-throw switch, a movable end of the first switch600is electrically connected to the first connection point701of the second switch700by using a filter800, a first fixed end of the first switch600is electrically connected to the second receive sub-port501, a second fixed end of the first switch600is electrically connected to the Bluetooth signal transmission port200, and a third fixed end of the first switch600is electrically connected to the second transmit sub-port502. In this way, when the electronic device transmits data by using Bluetooth, the movable end of the first switch600may be connected to the second fixed end of the first switch600; when the electronic device receives data by using WIFI, the movable end of the first switch600may be connected to the first fixed end of the first switch600; and when the electronic device sends data by using WIFI, the movable end of the first switch600may be connected to the third fixed end of the first switch600.

In some embodiments, the switch component includes a fourth switch110, a fifth switch120, and a sixth switch130.

The first WIFI signal transmission port100is electrically connected to the second antenna400by using the fourth switch110.

The second WIFI signal transmission port500is electrically connected to the first antenna300by using the fifth switch120.

The sixth switch130is a single-pole double-throw switch, and the Bluetooth signal transmission port200is electrically connected to the fourth switch110and the fifth switch120by using the sixth switch130.

In a case that the switch component is in the first state, the sixth switch130connects the Bluetooth signal transmission port200to the fifth switch120, the fifth switch120connects the sixth switch130to the first antenna300, and the fourth switch110connects the first WIFI signal transmission port100to the second antenna400.

In a case that the switch component is in the second state, the sixth switch130connects the Bluetooth signal transmission port200to the fourth switch110, the fourth switch110connects the sixth switch130to the second antenna400, and the fifth switch120connects the second WIFI signal transmission port500to the first antenna300.

In a case that the switch component is in the third state, the fourth switch110connects the first WIFI signal transmission port100to the second antenna400, and the fifth switch120connects the second WIFI signal transmission port500to the first antenna300.

In some embodiments, as shown inFIG.3, the fourth switch110, the fifth switch120, and the sixth switch130may all be single-pole double-throw switches. A movable end of the fourth switch110is electrically connected to the second antenna400by using the filter800, a first fixed end of the fourth switch110is electrically connected to the first WIFI signal transmission port100, and a second fixed end of the fourth switch110is electrically connected to a first output connection point131. A movable end of the fifth switch120is electrically connected to the first antenna300by using the filter800, a first fixed end of the fifth switch120is electrically connected to the second WIFI signal transmission port500, and a second fixed end of the fifth switch120is electrically connected to a second output connection point132.

In some embodiments, in a case that the switch component is in the first state, an input end133of the sixth switch130is connected to the second output connection point132, and the movable end of the fifth switch120is connected to the second fixed end of the fifth switch120, to connect the Bluetooth signal transmission port200to the first antenna300; and the movable end of the fourth switch110is connected to the first fixed end of the fourth switch110, to connect the first WIFI signal transmission port100to the second antenna400.

In a case that the switch component is in the second state, the input end133of the sixth switch130is connected to the first output connection point131, and the movable end of the fourth switch110is connected to the second fixed end of the fourth switch110, to connect the Bluetooth signal transmission port200to the second antenna400; and the movable end of the fifth switch120is connected to the first fixed end of the fifth switch120, to connect the second WIFI signal transmission port500to the first antenna300.

In a case that the switch component is in the third state, the movable end of the fourth switch110is connected to the first fixed end of the fourth switch110, to connect the first WIFI signal transmission port100to the second antenna400; and the movable end of the fifth switch120is connected to the first fixed end of the fifth switch120, to connect the second WIFI signal transmission port500to the first antenna300.

In this implementation, through setting, the fourth switch110, the fifth switch120, and the sixth switch130cooperate with each other, so that the switch component switches among the first state, the second state, and the third state.

In some embodiments, the fourth switch110and the fifth switch120are each a single-pole three-throw switch, the first WIFI signal transmission port100includes a first receive sub-port101and a first transmit sub-port102, and the first receive sub-port101, the first transmit sub-port102, and a first output connection point131of the sixth switch130are separately electrically connected to the second antenna400by using the fourth switch110.

The second WIFI signal transmission port500includes a second receive sub-port501and a second transmit sub-port502, and the second receive sub-port501, the second transmit sub-port502, and a second output connection point132of the sixth switch130are separately electrically connected to the first antenna300by using the fifth switch120.

An input end133of the sixth switch130is electrically connected to the Bluetooth signal transmission port200.

As shown inFIG.4, in some embodiments, the fourth switch110and the fifth switch120are each a single-pole three-throw switch. The movable end of the fourth switch110is electrically connected to the second antenna400by using the filter800, and the movable end of the fourth switch110may choose to be connected to one of the first receive subport101, the first transmit subport102, or the first output connection point131of the sixth switch130. In this way, when the electronic device transmits data by using Bluetooth, the movable end of the fourth switch110may be connected to the first output connection point131; when the electronic device receives data by using WIFI, the movable end of the fourth switch110may be connected to the first receive sub-port101; and when the electronic device sends data by using WIFI, the movable end of the fourth switch110may be connected to the first transmit sub-port102.

Correspondingly, the movable end of the fifth switch120is electrically connected to the first antenna300by using the filter800, and the movable end of the fifth switch120may choose to be connected to one of the second receive sub-port501, the second transmit sub-port502, or the second output connection point132of the sixth switch130. In this way, when the electronic device transmits data by using Bluetooth, the movable end of the fifth switch120may be connected to the second output connection point132; when the electronic device receives data by using WIFI, the movable end of the fifth switch120may be connected to the second receive sub-port501; and when the electronic device sends data by using WIFI, the movable end of the fifth switch120may be connected to the second transmit sub-port502.

In some embodiments, the radio frequency circuit further includes a control element and a detection element, the switch component and the detection element are separately electrically connected to the control element, and the first antenna300and the second antenna400are separately electrically connected to the detection element.

The detection element is configured to detect signal strength of the first antenna300and is configured to detect signal strength of the second antenna400, and the control element is configured to control, based on a detection result of the detection element, the switch component to switch among the first state, the second state, and the third state.

In some embodiments, the control element may be a processor in the electronic device, and the detection element may include a chip used to detect WIFI signal strength and a chip used to detect Bluetooth signal strength. In addition, the signal strength may also refer to a bit error rate of an antenna.

In some embodiments, in a case that the Bluetooth signal transmission port200is in an operating state and the switch component is in the first state, if the detection element detects that the signal strength of the first antenna300is less than a first preset value, the control element is configured to control the switch component to switch from the first state to the second state.

In some embodiments, signal strength at different locations in the electronic device may be different. For example, when an antenna is shielded by a body of a user, signal strength of the antenna is relatively weak. Therefore, when it is detected that signal strength of the first antenna300is relatively weak, an operating state may be switched by using the switch component, so that the second antenna400replaces the first antenna300for signal receiving and transmitting, thereby improving Bluetooth signal quality.

In some embodiments, the first preset value may be a preset threshold of Bluetooth signal strength. The detection element detects the Bluetooth signal strength. When the Bluetooth signal strength is less than the first preset value, it is determined that the signal strength of the first antenna300is relatively weak. In this case, the control element may switch the operating state of the switch component to the second operating state, so that Bluetooth performs signal receiving and transmitting by using the second antenna400.

In some embodiments, in a case that the Bluetooth signal transmission port200is in an operating state and the switch component is in the second state, if the detection element detects that the signal strength of the second antenna400is less than a second preset value, the control element is configured to control the switch component to switch from the second state to the first state.

In some embodiments, the second preset value may be a preset threshold of Bluetooth signal strength. A value of the second preset value may be the same as a value of the first preset value. The detection element detects the Bluetooth signal strength. When the Bluetooth signal strength is less than the second preset value, it is determined that the signal strength of the second antenna400is relatively weak. In this case, the control element may switch the operating state of the switch component to the first operating state, so that Bluetooth performs signal receiving and transmitting by using the first antenna300.

In some embodiments, in a case that the Bluetooth signal transmission port200is in a non-operating state, the control element is configured to control the switch component to switch to the third state.

In this implementation, in a case that the Bluetooth signal transmission port200is in the non-operating state, that is, when the Bluetooth is in a disabled state, the switch component may be switched to the third state. In this way, the first antenna300and the second antenna400simultaneously serve as signal transceiver antennas of WIFI, thereby further improving WIFI signal quality.

In some embodiments, the radio frequency circuit further includes a seventh switch and an eighth switch, the third connection point703of the second switch700is electrically connected to the first antenna300by using the seventh switch, and the fourth connection point704of the second switch700is electrically connected to the second antenna400by using the eighth switch, where the seventh switch and the eighth switch are single-pole double-throw switches.

The switch component further includes a fourth state and a fifth state. In a case that the switch component is in the fourth state, the switch component connects the Bluetooth signal transmission port200to the first antenna300, and the switch component connects the first WIFI signal transmission port100to the first antenna300.

In a case that the switch component is in the fifth state, the switch component connects the Bluetooth signal transmission port200to the second antenna400, and the switch component connects the first WIFI signal transmission port100to the second antenna400.

In some embodiments, the seventh switch includes a first operating state and a second operating state, a movable end of the seventh switch is electrically connected to the first antenna300, a first fixed end of the seventh switch is electrically connected to the third connection point703of the second switch700, and a second fixed end of the seventh switch is electrically connected to the fourth connection point704of the second switch700. In a case that the seventh switch is in the first operating state, the movable end of the seventh switch is connected to the third connection point703of the second switch700. In this case, the first antenna300is connected to the third connection point703. When the seventh switch is in the second operating state, the movable end of the seventh switch is connected to the fourth connection point704of the second switch700. In this case, the first antenna300is connected to the fourth connection point704.

The eighth switch includes a first operating state and a second operating state, a movable end of the eighth switch is electrically connected to the second antenna400, a first fixed end of the eighth switch is electrically connected to the fourth connection point704of the second switch700, and a second fixed end of the seventh switch is electrically connected to the third connection point703of the second switch700. In a case that the eighth switch is in the first operating state, the movable end of the eighth switch is connected to the fourth connection point704of the second switch700. In this case, the second antenna400is connected to the fourth connection point704. When the eighth switch is in the second operating state, the movable end of the eighth switch is connected to the third connection point703of the second switch700. In this case, the second antenna400is connected to the third connection point703.

In some embodiments, in a case that it is detected that the signal strength of the second antenna400is less than the second preset value, the signal strength of the first antenna300is greater than the first preset value, and both the first WIFI signal transmission port100and the Bluetooth signal transmission port200are in the operating state, the switch component may be switched to a fourth state. In this case, the WIFI and the Bluetooth share the first antenna300. When the switch component is in the fourth state, the seventh switch is in the first operating state, and the eighth switch is in the second operating state.

Correspondingly, in a case that it is detected that the signal strength of the first antenna300is less than the first preset value, the signal strength of the second antenna400is greater than the second preset value, and both the first WIFI signal transmission port100and the Bluetooth signal transmission port200are in the operating state, the switch component may be switched to a fifth state. In this case, the WIFI and the Bluetooth share the second antenna400. When the switch component is in the fifth state, the seventh switch is in the second operating state, and the eighth switch is in the first operating state.

It should be noted that the control element is configured to control the switch component to switch among the first state, the second state, the third state, the fourth state, and the fifth state based on a detection result of the detection element.

An embodiment of this application further provides an electronic device, including the radio frequency circuit in the foregoing embodiment. For a structure of the radio frequency circuit, refer to the descriptions in the foregoing embodiment. Details are not described herein again. Because the electronic device provided in the embodiments of this application uses a structure of the radio frequency circuit in the foregoing embodiment, the electronic device provided the embodiments of the present application can implement all beneficial effects of the radio frequency circuit in the foregoing embodiment.

In some embodiments, the radio frequency circuit includes a first antenna300and a second antenna400, and the first antenna300and the second antenna400are disposed on two opposite sides of the electronic device.

In some embodiments, in a process of using the electronic device, a user generally holds one side of the electronic device. An antenna on the side held by the user is folded by the hand of the user, and therefore signal strength of the antenna is weakened. Therefore, when signal strength of an antenna on one side of the electronic device is weak because the antenna is shielded, an antenna on the other side of the electronic device is generally not shielded, and signal strength of the antenna on the other side of the electronic device is generally better. Based on this, in the embodiments of this application, the first antenna300and the second antenna400are respectively disposed on two opposite sides of the electronic device. In this way, when signal strength of one of the first antenna300or the second antenna400is relatively weak due to occlusion of the user, an operating state may be switched by using a switch component, so that the other antenna with relatively good signal strength participates in signal receiving and transmitting. Therefore, WIFI signal quality or Bluetooth signal quality of the electronic device is further improved.

It should be noted that in this specification, the term “include”, “including”, or any other variant is intended to cover non-exclusive inclusion, so that a process, method, article, or apparatus that includes a series of elements includes not only those elements but also other elements that are not explicitly listed, or includes elements inherent to such a process, method, article, or apparatus. In the absence of more restrictions, an element defined by the statement “including a . . . ” does not exclude another same element in a process, method, article, or apparatus that includes the element. In addition, it should be noted that a scope of the method and the apparatus in the embodiments of this application is not limited to: performing a function in a sequence shown or discussed, and may further include: performing a function in a basically simultaneous manner or in a reverse sequence based on an involved function. For example, the described method may be performed in a different order, and various steps may be added, omitted, or combined. In addition, features described with reference to some examples may be combined in other examples.

The embodiments of this application are described with reference to the accompanying drawings. However, this application is not limited to the foregoing specific implementations. The foregoing specific implementations are merely examples, but are not limiting. A person of ordinary skill in the art may make many forms without departing from the objective and the scope of the claims of this application, and these forms all fall within the protection scope of this application.