Electronic device
By introducing the matching branch conduction mechanism of the control module and tuning circuit into the electronic device, the problem of performance degradation of the antenna component when wearing a metal protective case is solved, ensuring frequency band stability and navigation functions, and improving user experience.
Patent Information
- Application Number
- CN202410955325.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When an electronic device wears a metal protective case, the performance of the antenna assembly is reduced or even rendered inoperable, especially in terms of frequency band switching and navigation functions.
An electronic device is designed, including an antenna component and a control module. When the device wears a metal protective case, the control module is connected to the matching branch through the switch of the tuning circuit to ensure that the antenna maintains good performance within the preset frequency band, which is better than other devices. Performance while wearing.
Effectively reduce or eliminate the negative impact of the metal protective case on the antenna performance, so that the antenna can still support the preset frequency band when wearing the protective case, improving user experience and reducing the probability of navigation function failure.
Smart Images

Figure CN118712709A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an electronic device. Background Art
[0002] With the development of technology, electronic devices with communication functions such as mobile phones are becoming more and more popular and their functions are becoming more and more powerful. Electronic devices usually include antenna components to realize the communication function of electronic devices. However, in the related art, when a protective shell is set outside the electronic device, the performance of the antenna component is poor, and even causes it to fail to work. Summary of the invention
[0003] In a first aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:
[0004] An antenna assembly, the antenna assembly comprising a first antenna, the first antenna comprising a radiator, a feed source and a tuning circuit, the radiator having a feed point, the feed source electrically connected to the feed point, the feed source used to generate an excitation signal of a first preset frequency band, one end of the tuning circuit electrically connected to the feed point, the other end of the tuning circuit grounded, the tuning circuit comprising a switch and at least one matching branch, when the electronic device is not wearing a metal protective case, the switch is electrically disconnected from the matching branch, and the first antenna supports the first preset frequency band; and
[0005] A control module, when the electronic device is equipped with a metal protective case, the control module controls the switch of the tuning circuit to be turned on with the matching branch, so that the first antenna still supports the first preset frequency band and has a first performance when the electronic device is equipped with a metal protective case; wherein the first performance is better than the second performance, and the second performance is the performance when the electronic device is equipped with a metal protective case and the switch is electrically disconnected from the matching branch.
[0006] In summary, in the electronic device provided in the embodiment of the present application, when the electronic device is not equipped with a metal protective case, the first antenna supports the first preset frequency band. Compared with when the electronic device is not equipped with a metal protective case, when the electronic device is equipped with a metal protective case, the environment of the first antenna in the antenna assembly changes. When the electronic device is equipped with a metal protective case, the control module controls the switch of the tuning circuit to be turned on with the matching branch, so that the first antenna still supports the first preset frequency band and has the first performance when the electronic device is equipped with a metal protective case. The first performance is better than the second performance, wherein the second performance is the performance when the electronic device is equipped with a metal protective case and the switch is electrically disconnected from the matching branch, thereby reducing or even eliminating the influence of the metal protective case on the first antenna in the electronic device, so that the first antenna still has good antenna performance in the first preset frequency band. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0008] Figure 1 The total system efficiency curve of each frequency band when the electronic device in the related technology is equipped with a metal protective case;
[0009] Figure 2 A schematic diagram of an electronic device provided in one embodiment of the present application;
[0010] Figure 3 for Figure 2 A schematic diagram of the structure of an antenna assembly of an electronic device;
[0011] Figure 4 for Figure 3 Schematic diagram of some structures in ;
[0012] Figure 5 for Figure 2 A circuit block diagram of the electronic device shown;
[0013] Figure 6 A circuit block diagram of an electronic device provided in another embodiment of the present application;
[0014] Figure 7 A circuit block diagram of an electronic device provided in another embodiment of the present application;
[0015] Figure 8 A circuit diagram of a tuning circuit in a first antenna provided in one embodiment;
[0016] Fig. 9 A circuit diagram of an electronic device provided in one embodiment;
[0017] Fig.10 A schematic diagram of an antenna assembly in an electronic device provided in another embodiment of the present application;
[0018] Fig.11 A schematic diagram of S parameters of a first antenna and a second antenna of an electronic device in free space provided by one embodiment of the present application;
[0019] Fig.12 A system total efficiency curve of a first antenna and a second antenna of an electronic device in free space provided by an embodiment of the present application;
[0020] Fig.13A schematic diagram of S parameters when an electronic device provided by one embodiment of the present application is equipped with a metal protective case and the switch in the tuning circuit is disconnected from the matching branch;
[0021] Fig.14 A total system efficiency curve when the electronic device provided in one embodiment of the present application is equipped with a metal protective case and the switch in the tuning circuit is disconnected from the matching branch;
[0022] Fig.15 A schematic diagram of S parameters when an electronic device provided by an embodiment of the present application is equipped with a metal protective case and the switch and the matching branch in the tuning circuit are turned on;
[0023] Fig.16 This is a total system efficiency curve when an electronic device provided in one embodiment of the present application is equipped with a metal protective case and the switch and matching branch in the tuning circuit are turned on.
[0024] Description of main component numbers:
[0025] Electronic device 1, top edge 1a, side edge 1b;
[0026] Antenna assembly 10, control module 20, detection module 30, judgment module 40, display screen 50, middle frame 60, battery cover 70;
[0027] First antenna 110, radiator 111, gap 111a, first ground end 1111, first free end 1112, feeding point P1, feed source S1, tuning circuit 112, switch 1121, first end 112a, second end 112b, matching branch 1122, impedance matching circuit 113;
[0028] A second antenna 120, a second radiator 121, a second ground end 1211, a second free end 1212, a second feeding point P2, and a second feed source S2;
[0029] A first capacitor C1, a second capacitor C2, a first inductor L1, a second inductor L2, a first matching capacitor C21, a second matching capacitor C22, a first matching inductor L21, and a second matching inductor L22. DETAILED DESCRIPTION
[0030] The technical solution of the present application will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the embodiments described in the present application are only a part of the embodiments, not all of the embodiments. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present application.
[0031] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it mutually exclusive, independent, or alternative to other embodiments. It can be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.
[0032] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example: a component or device including one or more parts is not limited to the one or more parts listed, but optionally includes one or more parts that are not listed but inherent to the exemplified product, or one or more parts that it should have based on the described function.
[0033] Before introducing the electronic device 1 provided in the embodiment of the present application, the electronic device 1 in the related art is first described. When the electronic device 1 is equipped with a metal protective shell, the antenna performance of the antenna assembly 10 in the electronic device 1 will decrease. For example, the antenna assembly 10 includes a GPS antenna. The GPS antenna supports the GPS L1 frequency band (the resonant frequency is 1.575 GHz). The GPS antenna is generally used for navigation. In one embodiment, the GPS antenna is arranged on the top of the electronic device 1 to better ensure the performance of the GPS antenna in free space. However, when the electronic device 1 is equipped with a metal protective shell, the performance of the GPS antenna will decrease significantly, for example, by more than 20 dB, or even lose the navigation function. It can be understood that when the antenna assembly 10 includes other antennas, the performance of other antennas will also be affected when the electronic device 1 is equipped with a metal protective shell.
[0034] Please refer to Figure 1 , Figure 1 The total system efficiency curve of each frequency band when the electronic device in the related technology is equipped with a metal protective case. Figure 1 (a) is a color image. Figure 1 (b) in Figure 1 In the schematic diagram of this embodiment, the electronic device 1 is simulated by taking the electronic device 1 as an example with a metal protective case and the antenna assembly 10 in the electronic device 1 including four antennas. Figure 1 (a) in blue) is the system radiation efficiency (SystemTot.Efficiency) curve of the medium and high frequency antenna; curve ② ( Figure 1(a) in black) is the system radiation efficiency curve of the UHF band (such as N78 band) + WiFi 5G band antenna; Curve ③( Figure 1 (a) in red) UHF band (such as N78 band) + WiFi 5G antenna system radiation efficiency curve; Curve ④ ( Figure 1 (a) in green is the system radiation efficiency curve of GPS L1 band + WiFi2.4G band antenna. Among them, the antenna corresponding to curve ③ and the antenna corresponding to curve ② support the same frequency band, and the positions of the two antennas are different. It can be seen that when the electronic device 1 is equipped with a metal protective case, the performance of each antenna is not very good. Among them, the total system efficiency of the GPS L1 band is reduced to below -20dB, and the navigation function is lost.
[0035] Next, the electronic device 1 provided by one embodiment of the present application is described in detail. Figure 2 , Figure 3 , Figure 4 and Figure 5 , Figure 2 A schematic diagram of an electronic device provided in one embodiment of the present application; Figure 3 for Figure 2 A schematic diagram of the structure of an antenna assembly of an electronic device;
[0036] Figure 4 for Figure 3 Schematic diagram of some structures in ; Figure 5 for Figure 2 The circuit block diagram of the electronic device shown. The electronic device 1 includes but is not limited to mobile phones, telephones, televisions, tablet computers (Pad), personal computers, laptop computers (Personal Computer, PC), vehicle-mounted equipment, headphones, watches, wearable devices and other devices that can send and receive electromagnetic wave signals. In the schematic diagram of the implementation mode of the present application, the electronic device 1 is illustrated as a mobile phone as an example. It can be understood that it should not be understood as a limitation on the electronic device 1 provided in the implementation mode of the present application.
[0037] The electronic device 1 includes an antenna assembly 10 and a control module 20. The antenna assembly 10 includes a first antenna 110. The first antenna 110 includes a radiator 111, a feed source S1 and a tuning circuit 112. The radiator 111 has a feeding point P1, the feed source S1 is electrically connected to the feeding point P1, and the feed source S1 is used to generate an excitation signal of a first preset frequency band. One end of the tuning circuit 112 is electrically connected to the feeding point P1, and the other end of the tuning circuit 112 is grounded. The tuning circuit 112 includes a switch 1121 and at least one matching branch 1122 (1 in the figure). When the electronic device 1 is not wearing a metal protective case, the switch 1121 is electrically disconnected from the matching branch 1122, and the first antenna 110 supports the first preset frequency band. When the electronic device 1 is wearing a metal protective case, the control module 20 controls the switch 1121 of the tuning circuit 112 to be turned on with the matching branch 1122, so that the first antenna 110 still supports the first preset frequency band and has the first performance when the electronic device 1 is wearing a metal protective case. The first performance is better than the second performance, and the second performance is the performance when the electronic device 1 is wearing a metal protective case and the switch 1121 is electrically disconnected from the matching branch 1122.
[0038] The radiator 111 can be a laser direct structuring (LDS) radiator, or a flexible printed circuit (FPC) radiator, or a print direct structuring (PDS) radiator, or a metal branch radiator. When the antenna assembly 10 is applied to an electronic device 1, the radiator 111 can be a mechanical design antenna (MDA) radiator designed using the metal insert of the electronic device 1 itself. For example, the radiator 111 can be an antenna radiator designed using the middle frame formed of plastic and metal of the electronic device 1. In addition, the radiator 111 can also be a frame radiator designed using a metal middle frame.
[0039] The feed source S1 may be electrically connected to the feed point P1 by, but is not limited to, being electrically connected to the feed point P1 by a feeding member (such as a conductive spring, or conductive glue, or conductive screw, or connecting rib, etc.).
[0040] The first preset frequency band may be, but is not limited to, the GPS L1 frequency band.
[0041] The so-called metal protective shell refers to a protective shell containing metal. The so-called protective shell generally refers to an accessory arranged outside the electronic device 1 for protecting the electronic device 1. The protective shell is not a part of the electronic device 1. The protective shell can be mounted on the electronic device 1 and can also be removed from the electronic device 1.
[0042] When the electronic device 1 is not wearing a metal protective case, the first antenna 110 supports the first preset frequency band, that is, the first antenna 110 can operate in the first preset frequency band. For example, the first antenna 110 can transmit electromagnetic wave signals in the first preset frequency band; or, the first antenna 110 can transmit electromagnetic wave signals in the first preset frequency band and the first antenna 110 can receive electromagnetic wave signals in the first preset frequency band; or, the first antenna 110 can receive electromagnetic wave signals in the first preset frequency band.
[0043] When the electronic device 1 is not equipped with a metal protective case, the switch 1121 is electrically disconnected from the matching branch 1122, and the first antenna 110 supports the first preset frequency band; in addition, the first antenna 110 has good performance in the first preset frequency band. When the electronic device 1 is equipped with a metal protective case, if the state of the tuning circuit 112 remains unchanged from the state of the tuning circuit 112 when the electronic device 1 is not equipped with a metal protective case, that is, when the electronic device 1 is equipped with a metal protective case, the switch 1121 is electrically disconnected from the matching branch 1122, then, due to the influence of the metal protective case, the performance of the first antenna 110 in the first preset frequency band will be poor. For example, the total system efficiency of the first antenna 110 in the first preset frequency band decreases significantly. In addition, when the electronic device 1 is equipped with a metal protective case, if the state of the tuning circuit 112 remains unchanged from the state of the tuning circuit 112 when the electronic device 1 is not equipped with a metal protective case, that is, when the electronic device 1 is equipped with a metal protective case, the switch 1121 is electrically disconnected from the matching branch 1122. Due to the influence of the metal protective case, the first preset frequency band of the first antenna 110 may also be offset, resulting in poor performance in the first preset frequency band, or even failure to operate in the first preset frequency band.
[0044] The control module 20 may be, but is not limited to, a processor of the electronic device 1 , or a partial module in the processor, or a circuit with a control function in the electronic device 1 , etc. The control module 20 is not limited herein.
[0045] When the electronic device 1 is equipped with a metal protective case, and the switch 1121 is connected to the matching branch 1122, the first antenna 110 still supports the first preset frequency band and has the first performance when the electronic device 1 is equipped with a metal protective case. When the electronic device 1 is equipped with a metal protective case, if the switch 1121 is disconnected from the matching branch 1122, the first antenna 110 has the second performance in the first preset frequency band. In other words, when the electronic device 1 is equipped with a metal protective case, if the electrical connection relationship between the switch 1121 in the tuning circuit 112 and the matching branch 1122 is consistent with the electrical connection relationship when the electronic device 1 is not equipped with a metal protective case, the first antenna 110 has the second performance in the first preset frequency band. When the electronic device 1 is not equipped with a metal protective case, the switch 1121 is electrically disconnected from the matching branch 1122, and the performance of the first antenna 110 when supporting the first preset frequency band is the third performance. As can be seen from the previous introduction, the first performance is better than the second performance, and the third performance is better than the second performance.
[0046] Therefore, the electronic device 1 provided in the embodiment of the present application also includes a control module 20, and the control module 20 is used to control the switch 1121 of the tuning circuit 112 to be turned on with the matching branch 1122 when the electronic device 1 is wearing a metal protective shell, so that the antenna assembly 10 can still support the first preset frequency band and have the first performance when wearing a metal protective shell. The first performance is better than the second performance, wherein the second performance is the performance when the electronic device 1 is wearing a metal protective shell and the switch 1121 is electrically disconnected from the matching branch 1122, thereby reducing the influence of the setting of the metal protective shell on the first antenna 110 in the electronic device 1.
[0047] In summary, the electronic device 1 provided in the embodiment of the present application, when the electronic device 1 is not wearing a metal protective shell, the first antenna 110 supports the first preset frequency band. Compared with when the electronic device 1 is not wearing a metal protective shell, when the electronic device 1 is wearing a metal protective shell, the environment of the first antenna 110 in the antenna assembly 10 has changed. When the electronic device 1 is wearing a metal protective shell, the control module 20 controls the switch 1121 of the tuning circuit 112 to be turned on with the matching branch 1122, so that the first antenna 110 still supports the first preset frequency band and has the first performance when the electronic device 1 is wearing a metal protective shell. The first performance is better than the second performance, wherein the second performance is the performance when the electronic device 1 is wearing a metal protective shell and the switch 1121 is electrically disconnected from the matching branch 1122, thereby reducing or even eliminating the effect of setting the metal protective shell on the first antenna 110 in the electronic device 1, so that the first antenna 110 still has good antenna performance in the first preset frequency band.
[0048] Next, how to determine whether the electronic device 1 is wearing a metal protective case is described in detail. Figure 6 , Figure 6 A circuit block diagram of an electronic device provided in another embodiment of the present application. The electronic device 1 also includes a detection module 30 and a judgment module 40. The detection module 30 is used to detect the parameter value when the first antenna 110 supports the first preset frequency band to obtain the detection parameter. The judgment module 40 is used to determine whether the electronic device 1 is wearing a metal protective case according to the detection parameter.
[0049] The parameter value may be, but is not limited to, a carrier to noise density ratio (CN0) value. The calculation formula of CN0 is C / N0, where C represents the carrier power (Carrier Power) of the signal, in dBm; and N0 represents the noise power density (Noise Density) of the signal, in dB / Hz.
[0050] The parameter value may represent the performance of the first antenna 110 in supporting the first preset frequency band. For example, when the parameter value is CN0, the larger the value of CN0 is, the better the performance of the first antenna 110 in the first preset frequency band is; and the smaller the value of CN0 is, the worse the performance of the first antenna 110 in the first preset frequency band is.
[0051] From the previous introduction, it can be seen that when the electronic device 1 is not wearing a metal protective case, the performance of the first antenna 110 in supporting the first preset frequency band is better; if the electronic device 1 is wearing a metal protective case, if the tuning circuit 112 of the first antenna 110 continues to maintain the state when the electronic device 1 is not wearing a metal protective case, then the performance of the first antenna 110 in supporting the first preset frequency band is poor.
[0052] The judgment module 40 is connected to the detection module 30, and is used to receive the detection parameter, and can determine whether the electronic device 1 is wearing a metal protective case according to the size of the detection parameter. For example, when the judgment module 40 determines that the electronic device 1 is wearing a metal protective case according to the size of the detection parameter, a first signal is issued; when the judgment module 40 determines that the electronic device 1 is not wearing a metal protective case according to the size of the detection parameter, a second signal is issued.
[0053] Correspondingly, the control module 20 is connected to the judgment module 40. When the electronic device 1 is wearing a protective case, the control module 20 controls the switch 1121 of the tuning circuit 112 to be turned on with the matching branch 1122. Specifically, in this embodiment, when the control module 20 receives the first signal output by the judgment module 40, the control module 20 controls the switch 1121 of the tuning circuit 112 to be turned on with the matching branch 1122. Correspondingly, when the electronic device 1 is not wearing a protective case, the control module 20 controls the switch 1121 of the tuning circuit 112 to be electrically disconnected from the matching branch 1122, or controls the switch 1121 of the tuning circuit 112 to remain electrically disconnected from the matching branch 1122. Correspondingly, when the control module 20 receives the second signal output by the judgment module 40, the control module 20 controls the switch 1121 of the tuning circuit 112 to disconnect electrically from the matching branch 1122, or controls the switch 1121 of the tuning circuit 112 to remain disconnected electrically from the matching branch 1122.
[0054] In one embodiment, the detection module 30, the judgment module 40 and the control module 20 can be integrated into the same chip as the feed source S1. For example, when the first preset frequency band is the GPS L1 frequency band, the feed source S1 is set in the GPS chip, and accordingly, the detection module 30, the judgment module 40 and the control module 20 are also set in the GPS chip.
[0055] The electronic device 1 provided in the embodiment of the present application also includes a detection module 30 and a judgment module 40, which can more accurately determine whether the electronic device 1 is wearing a metal protective case. When the judgment module 40 determines that the electronic device 1 is wearing a metal protective case according to the detection parameters, the control module 20 controls the switch 1121 of the tuning circuit 112 to be turned on with the matching branch 1122, so that the first antenna 110 still supports the first preset frequency band and has the first performance when the electronic device 1 is wearing a metal protective case. Among them, the first performance is better than the second performance, and the second performance is the performance when the electronic device 1 is wearing a metal protective case and the switch 1121 is electrically disconnected from the matching branch 1122. Thereby, the influence of the metal protective case on the first antenna 110 in the electronic device 1 can be reduced or even eliminated, so that the first antenna 110 still has good antenna performance in the first preset frequency band.
[0056] Further, the detection module 30 is used to detect the parameter value when the first antenna 110 supports the first preset frequency band at a first frequency within a first preset time period to obtain multiple detection parameters. The judgment module 40 determines whether the difference between the preset parameter threshold and the detection parameter value is greater than or equal to the first preset value. Among them, the preset parameter threshold is the parameter value of the first antenna 110 supporting the first preset frequency band when the electronic device 1 is not wearing a metal protective case. The judgment module 40 also determines whether the absolute value of the difference between each detection parameter value and the average value of the detection parameter is less than or equal to a second preset value. When the judgment module 40 determines that the difference between the preset parameter threshold and the detection parameter value is greater than or equal to the first preset value, and the absolute value of the difference between each detection parameter value and the average value is less than or equal to the second preset threshold, the judgment module 40 determines that the electronic device 1 is wearing a metal protective case.
[0057] In one embodiment, the first preset time period may be, but is not limited to, 1 day, 2 days, 3 days, 4 days, etc. The first frequency may be, but is not limited to, 5 times / day, 6 times / day, etc. In this embodiment, the duration of each detection of the parameter value when the first antenna 110 supports the first preset frequency band is the same.
[0058] The preset parameter threshold is the parameter value of the first antenna 110 supporting the first preset frequency band when the electronic device 1 is not wearing a metal protective case. For example, in one embodiment, when the electronic device 1 leaves the factory, when the electronic device 1 is not wearing a metal protective case (also referred to as the electronic device 1 is in free space), the parameter value of the first antenna 110 supporting the first preset frequency band is measured, and the obtained value is the preset parameter threshold. The preset parameter threshold can be marked as Vp. In another embodiment, when the user uses the electronic device 1, when the electronic device 1 is not wearing a metal protective case (also referred to as the electronic device 1 is in free space), the parameter value of the first antenna 110 supporting the first preset frequency band is measured, and the obtained value is the preset parameter threshold.
[0059] The judgment module 40 compares each detection parameter value with the preset parameter threshold value, and judges whether the difference between the preset parameter threshold value and each detection parameter value is greater than or equal to the first preset threshold value. When the difference between the preset parameter threshold value and the detection parameter is greater than or equal to the first preset threshold value, it indicates that the performance of the first antenna 110 in the electronic device 1 when supporting the first preset frequency band is poor. For example, the first preset threshold value can be but is not limited to 15dB. It can be understood that the first preset threshold value can be adjusted, for example, the first preset threshold value can also be 14dB, or 16dB, etc.
[0060] According to the multiple detection parameters, an average value of the multiple detection parameters can be obtained. Specifically, the multiple detection parameters are added together to obtain a sum, and then the sum is divided by the number of detection parameters to obtain the average value of the multiple detection parameters.
[0061] When the absolute value of the difference between each detection parameter value and the average value of the detection parameter is less than or equal to the second preset value, it indicates that the difference between the detection parameter value and the average value of the detection parameter is within the range of plus or minus the second preset value. For example, the second preset threshold value may be, but is not limited to, 5 dB. When the second preset threshold value is 5 dB, when the absolute value of the difference between each detection parameter value and the average value of the detection parameter is less than or equal to the second preset value, it indicates that the difference between the detection parameter value and the average value of the detection parameter is within the range of plus or minus 5 dB.
[0062] In the electronic device 1 provided in the embodiment of the present application, when the judgment module 40 determines that the difference between the preset parameter threshold and the detection parameter value is greater than or equal to the first preset value, and the absolute value of the difference between each detection parameter value and the average value is less than or equal to the second preset threshold, the judgment module 40 determines that the electronic device 1 is wearing a metal protective case; otherwise, the judgment module 40 determines that the electronic device 1 is not wearing a metal protective case. Specifically, in one embodiment, when the judgment module 40 determines one of the following situations: the difference between the preset parameter threshold and the detection parameter value is less than the first preset value; the absolute value of the difference between each detection parameter value and the average value is greater than the second preset threshold; then the judgment module 40 determines that the electronic device 1 is not wearing a metal protective case.
[0063] In the electronic device 1 provided in the embodiment of the present application, when the judgment module 40 determines that the difference between the preset parameter threshold and the detection parameter value is greater than or equal to the first preset value, and the absolute value of the difference between each detection parameter value and the average value is less than or equal to the second preset threshold, the judgment module 40 judges that the electronic device 1 is wearing a metal protective case, thereby improving the accuracy of the judgment that the electronic device 1 is wearing a metal protective case.
[0064] In another embodiment, the detection module 30 is used to detect the parameter value when the first antenna 110 supports the first preset frequency band at a first frequency within a first preset time period to obtain a first number of detection parameters. The judgment module 40 determines whether the difference between the preset parameter threshold and the second number of the detection parameter values is greater than or equal to the first preset value. Among them, the second number is less than the first number. The judgment module 40 also determines whether the absolute value of the difference between the second number of detection parameter values and the average value of the detection parameter is less than or equal to the second preset value. When the judgment module 40 determines that the difference between the preset parameter threshold and each of the second number of detection parameter values is greater than or equal to the first preset value, and the absolute value of the difference between each of the second number of detection parameter values and the average value is less than or equal to the second preset threshold, the judgment module 40 determines that the electronic device 1 is wearing a metal protective case.
[0065] In one embodiment, the first preset time period may be, but is not limited to, 1 day, 2 days, 3 days, 4 days, etc. The first frequency may be, but is not limited to, 5 times / day, 6 times / day, etc. In this embodiment, the duration of each detection of the parameter value when the first antenna 110 supports the first preset frequency band is the same.
[0066] The preset parameter threshold is the parameter value of the first antenna 110 supporting the first preset frequency band when the electronic device 1 is not wearing a metal protective case. For example, in one embodiment, when the electronic device 1 leaves the factory, when the electronic device 1 is not wearing a metal protective case (also referred to as the electronic device 1 is in free space), the parameter value of the first antenna 110 supporting the first preset frequency band is measured, and the obtained value is the preset parameter threshold. The preset parameter threshold can be marked as Vp. In another embodiment, when the user uses the electronic device 1, when the electronic device 1 is not wearing a metal protective case (also referred to as the electronic device 1 is in free space), the parameter value of the first antenna 110 supporting the first preset frequency band is measured, and the obtained value is the preset parameter threshold.
[0067] The judgment module 40 compares each detection parameter value with the preset parameter threshold value, and calculates the difference between the preset parameter threshold value and each detection parameter value; and determines whether there is a second number of differences greater than or equal to the first preset threshold value. When the second number of differences is greater than or equal to the first preset threshold value, it indicates that the performance of the first antenna 110 in the electronic device 1 when supporting the first preset frequency band is poor. For example, the first preset threshold value can be but is not limited to 15dB. It can be understood that the first preset threshold value can be adjusted, for example, the first preset threshold value can also be 14dB, or 16dB, etc.
[0068] According to the multiple detection parameters, an average value of the multiple detection parameters can be obtained. Specifically, the multiple detection parameters are added together to obtain a sum, and then the sum is divided by the number of detection parameters to obtain the average value of the multiple detection parameters.
[0069] When the absolute value of the difference between each detection parameter value in the second number of detection parameter values and the average value of the detection parameter is less than or equal to the second preset value, it indicates that the difference between the detection parameter value and the average value of the detection parameter is within the range of plus or minus the second preset value. For example, the second preset threshold value may be, but is not limited to, 5 dB. When the second preset threshold value is 5 dB, when the absolute value of the difference between each detection parameter value in the second number of detection parameter values and the average value of the detection parameter is less than or equal to the second preset value, it indicates that the difference between each detection parameter value in the second number of detection parameter values and the average value of the detection parameter is within the range of plus or minus 5 dB.
[0070] For the electronic device 1 provided in the embodiment of the present application, when the judgment module 40 determines that the difference between the preset parameter threshold and the second number of the detection parameter values is greater than or equal to the first preset value, and the absolute value of the difference between the second number of detection parameter values and the average value is less than or equal to the second preset threshold, the judgment module 40 determines that the electronic device 1 is wearing a metal protective case; otherwise, the judgment module 40 determines that the electronic device 1 is not wearing a metal protective case.
[0071] In the electronic device 1 provided in the embodiment of the present application, when the judgment module 40 determines that the difference between the preset parameter threshold and each detection parameter value in the second number of detection parameter values is greater than or equal to the first preset value, and the absolute value of the difference between each detection parameter value in the second number of detection parameter values and the average value is less than or equal to the second preset threshold, the judgment module 40 judges that the electronic device 1 is wearing a metal protective case, thereby improving the accuracy of the judgment that the electronic device 1 is wearing a metal protective case. In addition, the probability of misjudging whether the electronic device 1 is wearing a metal protective case due to large deviations in some detection parameter values in the electronic device 1 can also be reduced.
[0072] For example, in one embodiment, the electronic device 1 is not equipped with a metal protective case. However, when the user uses the electronic device 1, other incidental factors may also cause the performance of the first antenna 110 in supporting the first preset frequency band to deteriorate. For example, the posture of the user holding the electronic device 1 (for example, portrait mode or landscape mode), and the relationship between the electronic device 1 and the human body (for example, placing the electronic device 1 near the head, or placing the electronic device 1 on a desktop, etc.) may affect the performance of the first antenna 110 in the electronic device 1 in supporting the first preset frequency band. For example, when the user holds the electronic device 1 in a portrait state and places the electronic device 1 near the head, the performance of the first antenna 110 in the electronic device 1 in supporting the first preset frequency band is weaker than the performance of the electronic device 1 in free space.
[0073] In the electronic device 1 provided in the embodiment of the present application, the judgment module 40 does not use all of the first number of detection parameters to judge whether the electronic device 1 is wearing a metal protective case, but uses the second number of first detection parameters to judge whether the electronic device 1 is wearing a metal protective case, thereby reducing the probability of misjudgment of whether the electronic device 1 is wearing a metal protective case due to large deviations in some detection parameter values in the electronic device 1.
[0074] Further, in one embodiment, the second number is smaller than the first number, and the ratio of the second number to the first number is greater than or equal to a preset ratio. For example, the preset ratio may be, but is not limited to, 0.6.
[0075] In one embodiment, the second number is smaller than the first number, and the ratio of the second number to the first number is greater than or equal to a preset ratio, which can further reduce the probability of misjudgment of whether the electronic device 1 is wearing a metal protective case due to large deviations in some detection parameter values in the electronic device 1.
[0076] In another embodiment, if the ratio of the second number to the first number is too large, it is not conducive to eliminating the detection parameters measured when the electronic device 1 is not wearing a metal protective case but the antenna performance of the first antenna 110 supporting the first preset frequency band is deteriorated due to other accidental factors; when the ratio of the second number to the first number is too small, the situation that the electronic device 1 is not wearing a metal protective case but the antenna performance of the first antenna 110 supporting the first preset frequency band is deteriorated due to other accidental factors will be mistaken as the electronic device 1 wearing a metal protective case. Therefore, if the ratio of the second number to the first number is too large or too small, it will affect the accuracy of judging whether the electronic device 1 is wearing a metal protective case.
[0077] In one implementation, the second number is smaller than the first number, and a ratio D0 of the second number to the first number satisfies: 0.6≤D0≤0.9.
[0078] For example, the ratio D0 of the second number to the first number may be, but is not limited to, 0.6, or 0.65, or 0.7, or 0.75, or 0.8, or 0.85, or 0.9, etc.
[0079] For example, when the first number is 10, the second number may be, but is not limited to, 6, 7, 8, or 9.
[0080] Further, when the judgment module 40 determines that the electronic device 1 is wearing a metal protective case, the detection module 30 is also used to detect the parameter value of the first antenna 110 supporting the first preset frequency band at a second frequency within a second preset time period to obtain a third number of detection parameters, wherein the second frequency is less than the first frequency. The judgment module 40 is also used to determine whether the electronic device 1 is wearing a metal protective case based on the third number of the detection parameters.
[0081] In one embodiment, the second preset time period is the same as the first preset time period. In another embodiment, the second preset time period is longer than the first preset time period.
[0082] For example, the second preset time period may be, but is not limited to, 1 day, 2 days, 3 days, 4 days, etc. The second frequency may be, but is not limited to, 5 times / day, 6 times / day, etc. In this embodiment, the duration of each detection of the parameter value when the first antenna 110 supports the first preset frequency band is the same.
[0083] When the electronic device 1 is wearing a metal protective case, the metal protective case is usually not replaced immediately. Therefore, when the judgment module 40 determines that the electronic device 1 is wearing a metal protective case, the parameter value of the first antenna 110 supporting the first preset frequency band is detected at a lower frequency (i.e., the second frequency) in the next second preset time period to obtain a third number of detection parameters, and determine whether the electronic device 1 is wearing a protective case based on the third number of detection parameters. Since the detection frequency is reduced in the second preset time period, the power consumption of the electronic device 1 can be reduced.
[0084] In one embodiment, the determination module 40 is used to determine whether the electronic device 1 is wearing a metal protective case according to the third number of the detection parameters. The specific description is as follows.
[0085] The judgment module 40 is used to compare the preset parameter threshold with each detection parameter in the third number of detection parameters to determine whether the difference between the preset parameter threshold and the detection parameter value is greater than or equal to a first preset value. Wherein, the preset parameter threshold is the parameter value of the first antenna 110 supporting the first preset frequency band when the electronic device 1 is not wearing a metal protective case. The judgment module 40 also determines whether the absolute value of the difference between each detection parameter value and the average value of the detection parameter is less than or equal to a second preset value. When the judgment module 40 determines that the difference between the preset parameter threshold and each detection parameter value in the third number of detection parameters is greater than or equal to the first preset value, and the absolute value of the difference between each detection parameter value and the average value is less than or equal to the second preset threshold, the judgment module 40 determines that the electronic device 1 is wearing a metal protective case. Otherwise, the judgment module 40 determines that the electronic device 1 is not wearing a metal protective case. Specifically, in one embodiment, when the judgment module 40 determines one of the following situations: the difference between the preset parameter threshold and each detection parameter value of the third number of detection parameter values is less than the first preset value; the absolute value of the difference between each detection parameter value and the average value is greater than the second preset threshold; then the judgment module 40 determines that the electronic device 1 is not wearing a metal protective case.
[0086] In the electronic device 1 provided in the embodiment of the present application, when the judgment module 40 determines that the difference between the preset parameter threshold and each detection parameter value in the third number of detection parameter values is greater than or equal to the first preset value, and the absolute value of the difference between each detection parameter value and the average value is less than or equal to the second preset threshold, the judgment module 40 judges that the electronic device 1 is wearing a metal protective case, thereby improving the accuracy of the judgment that the electronic device 1 is wearing a metal protective case.
[0087] In other implementations, the determination module 40 is used to determine whether the electronic device 1 is wearing a metal protective case according to the third number of detection parameters, as described in detail as follows.
[0088] The detection module 30 is used to detect the parameter value when the first antenna 110 supports the first preset frequency band at a second frequency within a second preset time period to obtain a third number of detection parameters. The judgment module 40 determines whether the difference between the preset parameter threshold and the second preset number of detection parameter values is greater than or equal to the first preset value. Among them, the second preset number is less than the third number. The judgment module 40 also determines whether the absolute value of the difference between the second preset number of detection parameter values and the average value of the detection parameter is less than or equal to the second preset value. When the judgment module 40 determines that the difference between the preset parameter threshold and each detection parameter value in the second preset number of detection parameter values is greater than or equal to the first preset value, and the absolute value of the difference between each detection parameter value in the second preset number of detection parameter values and the average value is less than or equal to the second preset threshold, the judgment module 40 determines that the electronic device 1 is wearing a metal protective case.
[0089] In one embodiment, the second preset time period may be, but is not limited to, 1 day, 2 days, 3 days, 4 days, etc. The first frequency may be, but is not limited to, 5 times / day, 6 times / day, etc. In this embodiment, the duration of each detection of the parameter value when the first antenna 110 supports the first preset frequency band is the same.
[0090] The preset parameter threshold is the parameter value of the first antenna 110 supporting the first preset frequency band when the electronic device 1 is not wearing a metal protective case. For example, in one embodiment, when the electronic device 1 leaves the factory, when the electronic device 1 is not wearing a metal protective case (also referred to as the electronic device 1 is in free space), the parameter value of the first antenna 110 supporting the first preset frequency band is measured, and the obtained value is the preset parameter threshold. The preset parameter threshold can be marked as Vp. In another embodiment, when the user uses the electronic device 1, when the electronic device 1 is not wearing a metal protective case (also referred to as the electronic device 1 is in free space), the parameter value of the first antenna 110 supporting the first preset frequency band is measured, and the obtained value is the preset parameter threshold.
[0091] The judgment module 40 compares each detection parameter value with the preset parameter threshold value, and calculates the difference between the preset parameter threshold value and each detection parameter value; and determines whether there is a second preset number of differences greater than or equal to the first preset threshold value. When the second preset number of differences is greater than or equal to the first preset threshold value, it indicates that the performance of the first antenna 110 in the electronic device 1 when supporting the first preset frequency band is poor. For example, the first preset threshold value can be but is not limited to 15dB. It can be understood that the first preset threshold value can be adjusted, for example, the first preset threshold value can also be 14dB, or 16dB, etc.
[0092] According to the multiple detection parameters, an average value of the multiple detection parameters can be obtained. Specifically, the multiple detection parameters are added together to obtain a sum, and then the sum is divided by the number of detection parameters to obtain the average value of the multiple detection parameters.
[0093] When the absolute value of the difference between each detection parameter value in the second preset number of detection parameter values and the average value of the detection parameter is less than or equal to the second preset value, it indicates that the difference between the detection parameter value and the average value of the detection parameter is within the range of plus or minus the second preset value. For example, the second preset threshold value may be, but is not limited to, 5dB. When the second preset threshold value is 5dB, when the absolute value of the difference between each detection parameter value in the second preset number of detection parameter values and the average value of the detection parameter is less than or equal to the second preset value, it indicates that the difference between each detection parameter value in the second preset number of detection parameter values and the average value of the detection parameter is within the range of plus or minus 5dB.
[0094] For the electronic device 1 provided in the embodiment of the present application, when the judgment module 40 determines that the difference between the preset parameter threshold and the second preset number of the detection parameter values is greater than or equal to the first preset value, and the absolute value of the difference between the second preset number of detection parameter values and the average value is less than or equal to the second preset threshold, the judgment module 40 determines that the electronic device 1 is wearing a metal protective case; otherwise, the judgment module 40 determines that the electronic device 1 is not wearing a metal protective case.
[0095] In the electronic device 1 provided in the embodiment of the present application, when the judgment module 40 determines that the difference between the preset parameter threshold and each detection parameter value in the second preset number of detection parameter values is greater than or equal to the first preset value, and the absolute value of the difference between each detection parameter value in the second preset number of detection parameter values and the average value is less than or equal to the second preset threshold, the judgment module 40 judges that the electronic device 1 is wearing a metal protective case, thereby improving the accuracy of the judgment that the electronic device 1 is wearing a metal protective case. In addition, the probability of misjudgment of whether the electronic device 1 is wearing a metal protective case due to large deviations in some detection parameter values in the electronic device 1 can also be reduced.
[0096] For example, in one embodiment, the electronic device 1 is not equipped with a metal protective case. However, when the user uses the electronic device 1, other incidental factors may also cause the performance of the first antenna 110 in supporting the first preset frequency band to deteriorate. For example, the posture of the user holding the electronic device 1 (for example, portrait mode or landscape mode), and the relationship between the electronic device 1 and the human body (for example, placing the electronic device 1 near the head, or placing the electronic device 1 on a desktop, etc.) may affect the performance of the first antenna 110 in the electronic device 1 in supporting the first preset frequency band. For example, when the user holds the electronic device 1 in a portrait state and places the electronic device 1 near the head, the performance of the first antenna 110 in the electronic device 1 in supporting the first preset frequency band is weaker than the performance of the electronic device 1 in free space.
[0097] In the electronic device 1 provided in the embodiment of the present application, the judgment module 40 does not use all of the third number of detection parameters to judge whether the electronic device 1 is wearing a metal protective case, but uses the second preset number of first detection parameters to judge whether the electronic device 1 is wearing a metal protective case, thereby reducing the probability of misjudgment of whether the electronic device 1 is wearing a metal protective case due to large deviations in some detection parameter values in the electronic device 1.
[0098] Further, in one embodiment, the second preset number is less than the third number, and the ratio of the second preset number to the third number is greater than or equal to a preset ratio. For example, the preset ratio may be, but is not limited to, 0.6, etc. It is understandable that the preset ratio of the second preset number to the third number may be the same as or different from the preset ratio of the second number to the first number, which is not limited here.
[0099] In one embodiment, the second preset number is smaller than the third number, and the ratio of the second preset number to the third number is greater than or equal to the preset ratio, which can further reduce the probability of misjudgment of whether the electronic device 1 is wearing a metal protective case due to large deviations in some detection parameter values in the electronic device 1.
[0100] In another embodiment, if the ratio of the second preset number to the third number is too large, it is not conducive to eliminating the detection parameters measured when the electronic device 1 is not wearing a metal protective case but the antenna performance of the first antenna 110 supporting the first preset frequency band is deteriorated due to other accidental factors; when the ratio of the second preset number to the third number is too small, the situation that the electronic device 1 is not wearing a metal protective case but the antenna performance of the first antenna 110 supporting the first preset frequency band is deteriorated due to other accidental factors will be mistaken as the electronic device 1 wearing a metal protective case. Therefore, if the ratio of the second preset number to the third number is too large or too small, it will affect the accuracy of the judgment of whether the electronic device 1 is wearing a metal protective case.
[0101] In one implementation, the second preset number is smaller than the third number, and a ratio D1 of the second preset number to the third number satisfies: 0.6≤D1≤0.9.
[0102] For example, the ratio D1 of the second preset number to the third number may be, but is not limited to, 0.6, or 0.65, or 0.7, or 0.75, or 0.8, or 0.85, or 0.9, etc.
[0103] For example, when the third number is 9, the second preset number may be, but is not limited to, 6, 7, or 8.
[0104] When the judgment module 40 determines that the electronic device 1 is wearing a metal protective case according to the third number of the detection parameters, the detection module 30 is further used to detect the parameter value of the first antenna 110 supporting the first preset frequency band at a third frequency within a third preset time period to obtain a fourth number of detection parameters, wherein the third frequency is less than the second frequency. The judgment module 40 is also used to determine whether the electronic device 1 is wearing a metal protective case according to the fourth number of the detection parameters.
[0105] In one embodiment, the third preset time period is the same as the second preset time period. In another embodiment, the third preset time period is longer than the second preset time period.
[0106] For example, the third preset time period may be, but is not limited to, 1 day, 2 days, 3 days, 4 days, etc. The third frequency may be, but is not limited to, 4 times / day, 5 times / day, etc. In this embodiment, the duration of each detection of the parameter value when the first antenna 110 supports the first preset frequency band is the same.
[0107] When the electronic device 1 is wearing a metal protective case, the metal protective case is usually not replaced immediately. Therefore, when the judgment module 40 determines that the electronic device 1 is wearing a metal protective case, the parameter value of the first antenna 110 supporting the first preset frequency band is detected at a lower frequency (i.e., the third frequency) in the next third preset time period to obtain a fourth number of detection parameters, and determine whether the electronic device 1 is wearing a protective case based on the fourth number of detection parameters. Since the detection frequency is reduced in the third preset time period, the power consumption of the electronic device 1 can be reduced.
[0108] Further, when the judgment module 40 determines that the electronic device 1 is not wearing a protective case according to the third number of the detection parameters, the control module 20 controls the switch 1121 of the tuning circuit 112 to disconnect the electrical connection with the matching branch 1122. The detection device is used to detect the parameter value of the first antenna 110 supporting the first preset frequency band at a fourth frequency within a fourth preset time period to obtain a fifth number of detection parameters, wherein the fourth frequency is greater than the second frequency. The judgment module 40 is also used to determine whether the electronic device 1 is wearing a metal protective case according to the fifth number of the detection parameters.
[0109] In this embodiment, when the judgment module 40 determines that the electronic device 1 is not wearing a metal protective case based on the third number of detection parameters, the control module 20 controls the switch 1121 of the adjustment circuit to disconnect electrically from the matching branch 1122, thereby enabling the first antenna 110 to have better antenna performance in the first preset frequency band.
[0110] When the judgment module 40 determines that the electronic device 1 is not wearing a protective case based on the third number of detection parameters, the detection device detects whether the electronic device 1 is wearing a metal protective case at a faster detection frequency (i.e., the fourth frequency is greater than the second frequency) to improve the accuracy of detecting whether the electronic device 1 is wearing a metal protective case.
[0111] See also Figure 2 and Figure 7 , Figure 7 This is a circuit block diagram of an electronic device provided in another embodiment of the present application. The electronic device 1 further includes a display screen 50 and a judgment module 40. The display screen 50 is used to display an interactive interface, and the interactive interface is used to receive input content. The judgment module 40 is used to judge whether the electronic device 1 is wearing a metal protective case according to the input content of the interactive interface.
[0112] In this embodiment, the electronic device 1 further includes a display screen 50, and the interactive interface of the display screen 50 is used to receive input content. For example, the interactive interface of the display screen 50 can display a dialog box "Does the electronic device 1 wear a metal protective case?" and display two buttons "Yes" and "No". When the judgment module 40 detects that the "Yes" button is triggered, the judgment module 40 determines that the electronic device 1 is wearing a metal protective case; when the judgment module 40 detects that the "No" button is triggered, the judgment module 40 determines that the electronic device 1 is not wearing a metal protective case.
[0113] In the present application, the electronic device 1 includes a detection module 30 and a judgment module 40, and the judgment module 40 judges whether the electronic device 1 is wearing a metal protective case according to the detection parameters detected by the detection module 30, which belongs to judgment method 1; the electronic device 1 includes a display screen 50 and a judgment module 40, and the judgment module 40 judges whether the electronic device 1 is wearing a metal protective case according to the input content of the interactive interface displayed by the display screen 50, which belongs to judgment method 2. It can be understood that judgment method 1 can be used to judge whether the electronic device 1 is wearing a metal protective case; judgment method 2 can also be used to judge whether the electronic device 1 is wearing a metal protective case; and judgment method 1 and judgment method 2 can also be used together to judge whether the electronic device 1 is wearing a metal protective case. When judging whether the electronic device 1 is wearing a metal protective case by using judgment method 1 and judgment method 2 together, it can be that when judging that the electronic device 1 is wearing a metal protective case by using judgment method 1, judgment method 2 is used for judgment. When the results of judgment by using judgment method 1 and judgment method 2 are the same, the results of judgment method 1 and judgment method 2 shall prevail; when the results of judgment by using judgment method 1 and judgment method 2 are different, the result of judgment method 2 shall prevail. For example, when judging that the electronic device 1 is wearing a metal protective case by using judgment method 1, an interactive interface is displayed on the display screen 50, and the judgment module 40 is used to judge whether the electronic device 1 is wearing a metal protective case according to the input content of the interactive interface. In addition, when judging whether the electronic device 1 is wearing a metal protective case by using judgment method 1 and judgment method 2 together, it can be that when judging that the electronic device 1 is wearing a metal protective case by using judgment method 2, judgment is performed again by using judgment method 1. When the results of judgment by using judgment method 1 and judgment method 2 are the same, the results of judgment method 1 and judgment method 2 shall prevail; when the results of judgment by using judgment method 1 and judgment method 2 are different, judgment is performed again by using judgment method 2, and the result of the second judgment method 2 shall prevail. In this way, the accuracy of judging whether the electronic device 1 is wearing a metal protective case can be improved.
[0114] The specific structure of the tuning circuit 112 provided in the embodiment of the present application is described in detail below. Figure 8 , Figure 8 A circuit diagram of a tuning circuit in a first antenna provided in an embodiment. In the first antenna 110, the switch 1121 includes a first end 112a and a second end 112b, and the first end 112a is electrically connected to the feed point P1. One end of the matching branch 1122 is electrically connected to the ground. When the second end 112b of the switch 1121 is electrically connected to the other end of the matching branch 1122, the switch 1121 is turned on with the matching branch 1122; when the second end 112b of the switch 1121 is disconnected from the matching branch 1122, the switch 1121 is disconnected from the matching branch 1122.
[0115] When the second end 112b of the switch 1121 is electrically connected to the other end of the matching branch 1122, the switch 1121 is turned on with the matching branch 1122. When the electronic device 1 is equipped with a metal protective case, the second end 112b of the switch 1121 is electrically connected to the other end of the matching branch 1122, so that the switch 1121 is turned on with the matching branch 1122.
[0116] When the second end 112b of the switch 1121 is disconnected from the matching branch 1122, the switch 1121 is electrically disconnected from the matching branch 1122. When the electronic device 1 is not wearing a metal protective case, the second end 112b of the switch 1121 is disconnected from the matching branch 1122, so that the switch 1121 is electrically disconnected from the matching branch 1122.
[0117] In this embodiment, the tuning circuit 112 includes a switch 1121 and a matching branch 1122 , and has a relatively simple structure and is easy to control.
[0118] In this embodiment, the four matching branches 1122 include a first capacitor C1, a second capacitor C2, a first inductor L1, and a second inductor L2. In this embodiment, when the electronic device 1 is equipped with a metal protective case, the switch 1121 is connected to the first capacitor C1; when the electronic device 1 is not equipped with a metal protective case, the switch 1121 is disconnected from the first capacitor C1.
[0119] In this embodiment, the switch 1121 is a single-pole four-throw switch, and the number of matching branches 1122 is four. It can be understood that in other embodiments, the switch 1121 is a single-pole single-throw switch, and the number of matching branches 1122 is one. When the switch 1121 is a single-pole single-throw switch, and the number of matching branches 1122 is one, the matching branch 1122 includes a first capacitor C1.
[0120] See also Fig. 9 , Fig. 9 A circuit diagram of an electronic device provided in one embodiment. In the first antenna 110, the switch 1121 includes a first end 112a and a second end 112b, and the first end 112a is electrically connected to the feeding point P1. One end of the matching branch 1122 is electrically connected to the ground. When the second end 112b of the switch 1121 is electrically connected to the other end of the matching branch 1122, the switch 1121 is turned on with the matching branch 1122; when the second end 112b of the switch 1121 is disconnected from the matching branch 1122, the switch 1121 is disconnected from the matching branch 1122.
[0121] When the second end 112b of the switch 1121 is electrically connected to the other end of the matching branch 1122, the switch 1121 is turned on with the matching branch 1122. When the electronic device 1 is equipped with a metal protective case, the second end 112b of the switch 1121 is electrically connected to the other end of the matching branch 1122, so that the switch 1121 is turned on with the matching branch 1122.
[0122] When the second end 112b of the switch 1121 is disconnected from the matching branch 1122, the switch 1121 is electrically disconnected from the matching branch 1122. When the electronic device 1 is not wearing a metal protective case, the second end 112b of the switch 1121 is disconnected from the matching branch 1122, so that the switch 1121 is electrically disconnected from the matching branch 1122.
[0123] In this embodiment, the tuning circuit 112 includes a switch 1121 and a matching branch 1122 , and has a relatively simple structure and is easy to control.
[0124] In this embodiment, the four matching branches 1122 include a first capacitor C1, a second capacitor C2, a first inductor L1, and a second inductor L2. In this embodiment, when the electronic device 1 is equipped with a metal protective case, the switch 1121 is connected to the first capacitor C1; when the electronic device 1 is not equipped with a metal protective case, the switch 1121 is disconnected from the first capacitor C1.
[0125] In this embodiment, the switch 1121 is a single-pole four-throw switch, and the number of matching branches 1122 is four. It can be understood that in other embodiments, the switch 1121 is a single-pole single-throw switch, and the number of matching branches 1122 is one. When the switch 1121 is a single-pole single-throw switch, and the number of matching branches 1122 is one, the matching branch 1122 includes a first capacitor C1.
[0126] In addition, in this embodiment, the first antenna 110 further includes an impedance matching circuit 113. The feed source S1 electrically connects the impedance matching circuit 113 to the feeding point P1.
[0127] The impedance matching circuit 113 is used to match the impedance between the feed source S1 and the radiator 111 so that the first antenna 110 has better antenna performance.
[0128] In this embodiment, the impedance matching circuit 113 includes a first matching capacitor C21, a first matching inductor L21, a second matching capacitor C22 and a second matching inductor L22. Among them, one end of the first matching capacitor C21 is electrically connected to the feed source S1, and the first matching inductor L21 is connected in parallel with the first matching capacitor C21. One end of the second matching capacitor C22 is electrically connected to the other end of the first matching capacitor C21, and the other end of the second matching capacitor C22 is grounded. One end of the second matching inductor L22 is electrically connected to the other end of the first matching capacitor C21, and the other end of the second matching inductor L22 is electrically connected to the feeding point P1. It should be noted that the impedance matching circuit 113 shown in the schematic diagram of this embodiment is only one form and should not be understood as a limitation on the impedance matching circuit 113 in the electronic device 1 provided in the embodiment of the present application.
[0129] Furthermore, the first antenna 110 also supports a second preset frequency band.
[0130] In other words, the first antenna 110 supports the first preset frequency band and the second preset frequency band, thereby meeting the communication requirements of the first antenna 110 in the first preset frequency band and the second preset frequency band.
[0131] In one implementation, the first preset frequency band is a GPS L1 frequency band, and the second preset frequency band is a WiFi 2.4G frequency band.
[0132] In this embodiment, the first antenna 110 supports the GPS L1 frequency band and the WiFi 2.4G frequency band, and can meet the communication requirements of the GPS L1 frequency band and the WiFi 2.4G frequency band.
[0133] For further information, see Fig.10 , Fig.10 This is a schematic diagram of an antenna assembly in an electronic device provided in another embodiment of the present application. The antenna assembly 10 further includes a second antenna 120, and the second antenna 120 is used to support at least one of the third preset frequency band and the fourth preset frequency band.
[0134] In this embodiment, the antenna assembly 10 further includes a second antenna 120, and the second antenna 120 is used to support at least one of the third preset frequency band and the fourth preset frequency band. In this way, the antenna assembly 10 can support more frequency bands.
[0135] In one embodiment, the second antenna 120 can support the third preset frequency band and the fourth preset frequency band at the same time.
[0136] For example, the third preset frequency band is an ultra-high frequency band (UHB), and the fourth preset frequency band is a WiFi 5G frequency band. For example, the third preset frequency band may be an N78 frequency band in the UHB frequency band.
[0137] In this embodiment, the radiator 111 of the first antenna 110 is also referred to as the first radiator. The first radiator has a ground terminal 1111, a feeding point P1 and a free end 1112 arranged in sequence. For the convenience of description, the ground terminal 1111 of the first radiator is named the first ground terminal, the feeding point P1 of the first radiator is named the first feeding point, and the free end 1112 of the first radiator is named the first free end. The first ground terminal is grounded. The feed source S1 in the first antenna 110 may also be referred to as the first feed source. In one embodiment, the first feed source is located on a printed circuit board (PCB). In other words, the first feeding point is electrically connected to a first feed source (also referred to as a radio frequency circuit) located on the printed circuit board.
[0138] The second antenna 120 includes a second radiator 121 and a second feed source S2. The second radiator 121 has a second grounding terminal 1211, a second feeding point P2 and a second free end 1212 arranged in sequence. The second grounding terminal 1211 is grounded. The second free end 1212 is separated from the first free end by a gap. The second feed source S2 is electrically connected to the second feeding point P2 to excite the second radiator 121 to support at least one of the third preset frequency band and the fourth preset frequency band. The second feed source S2 may also be located on the printed circuit board. In other words, the second feeding point P2 is electrically connected to the second feed source S2 (also called a radio frequency circuit) located on the printed circuit board.
[0139] The second radiator 121 can be a laser direct structuring (LDS) radiator, or a flexible printed circuit (FPC) radiator, or a print direct structuring (PDS) radiator, or a metal branch radiator. When the antenna assembly 10 is applied to an electronic device 1, the second radiator 121 can be a mechanical design antenna (MDA) radiator designed using the metal insert of the electronic device 1 itself. For example, the second radiator 121 can be an antenna radiator designed using the middle frame formed by plastic and metal of the electronic device 1. In addition, the second radiator 121 can also be a frame radiator designed with a metal middle frame.
[0140] The second feed source S2 may be electrically connected to the second feed point P2 by, but is not limited to, being electrically connected to the second feed point P2 via a feeding member (such as a conductive spring, or conductive glue, or conductive screw, or connecting rib, etc.).
[0141] In this embodiment, when the electronic device 1 is in a portrait state, the first radiator and the second radiator 121 are located at the top of the electronic device 1. Specifically, in this embodiment, the electronic device 1 includes a top edge 1a and a side edge 1b connected by a bend, wherein the length of the side edge 1b is greater than the length of the top edge 1a. In the illustrated perspective, the electronic device 1 is in a portrait state, the top edge 1a is the edge located at the top when the electronic device 1 is in a portrait state; the side edge 1b is the edge of the side portion when the electronic device 1 is in a portrait state. The first radiator is located at the top edge 1a, and the first radiator is disposed adjacent to the side edge 1b. Part of the second radiator 121 is located at the top edge 1a, and the other part of the second radiator 121 is located at the side edge 1b. The gap 111a between the first free end and the second free end 1212 is located at the top edge 1a.
[0142] The above-mentioned position setting of the first radiator and the second radiator 121 can make the first radiator and the second radiator 121 less blocked, so that the first antenna 110 and the second antenna 120 have a relatively good environment, and thus the first antenna 110 and the second antenna 120 have better antenna performance.
[0143] Also, please read Figure 2, the electronic device 1 provided in the embodiment of the present application also includes a middle frame 60 and a battery cover 70. Taking the example that the first radiator 111 and the second radiator 121 are both formed in the frame of the middle frame 60, it can be understood that it should not be understood as a limitation on the embodiment of the present application. The battery cover 70 is arranged on the side of the middle frame 60 away from the display screen 50. In other words, the display screen 50 and the battery cover 70 are respectively arranged on two sides opposite to each other of the middle frame 60. The battery cover 70 can be a metal battery cover or a non-metallic battery cover, which is not limited here. A receiving space is formed between the battery cover 70 and the middle frame 60. The receiving space can be used to receive devices in the electronic device 1, such as batteries, circuit boards, cameras, etc.
[0144] It is understandable that the electronic device 1 further includes a processor. The control module 20, the detection module 30 and the judgment module 40 are virtual modules integrated in the processor. In other words, the processor can implement the functions of the control module 20, the detection module 30 and the judgment module 40. It is understandable that in one embodiment, the electronic device 1 further includes a computer-readable storage medium, in which a computer-readable program is stored. When the computer-readable program is read, the function of the control module 20 can be executed. In one embodiment, when the electronic device 1 includes the control module 20, the detection module 30 and the judgment module 40, when the computer-readable program is read, the functions of the control module 20, the detection module 30 and the judgment module 40 can be executed.
[0145] Next, the performance of the antenna assembly 10 in the electronic device 1 provided in one embodiment of the present application is simulated and described.
[0146] See also Fig.11 and Fig.12 , Fig.11 A schematic diagram of S parameters of a first antenna and a second antenna of an electronic device in free space provided by one embodiment of the present application; Fig.12 This is a system total efficiency curve of the first antenna and the second antenna of the electronic device in free space provided by one embodiment of the present application. When the electronic device 1 is in free space, the switch 1121 in the tuning circuit 112 is disconnected from the matching branch 1122. Fig.11 In the figure, the horizontal axis is the frequency in GHz, and the vertical axis is the S parameter in dB. Fig.11In , curve ① is the S parameter curve of the first antenna 110; curve ② is the S parameter curve of the second antenna 120. It can be seen that when the electronic device 1 is in free space (i.e., not wearing a metal protective case), the first antenna 110 supports the first preset frequency band and the second preset frequency band, and the second antenna 120 supports the third preset frequency band and the fourth preset frequency band. Among them, in this embodiment, the first preset frequency band is the GPS L1 band, the second preset frequency band is the WiFi 2.4G band; the third preset frequency band is the N78 band in the UHB band, and the fourth preset frequency band is the WiFi 5G band. In Fig.12 In the figure, the horizontal axis is the frequency in GHz, and the vertical axis is the total system efficiency (SystemTot.Efficiency) in dB. Fig.12 middle, Fig.12 (a) is a color image. Fig.12 (b) in Fig.12 The grayscale image of (a) in Fig. Fig.12 The black curve in (a) is the system total efficiency curve of the first antenna 110, and curve ② (corresponding to Fig.12 The green curve in (a) is the total system efficiency curve of the second antenna 120. It can be seen that when the electronic device 1 is in free space: the first antenna 110 has a good total system efficiency in both the first preset frequency band and the second preset frequency band; the second antenna 120 has a good total system efficiency in both the third preset frequency band and the fourth preset frequency band. For example, when the first preset frequency band is the GPS L1 frequency band, the antenna efficiency of the GPS L1 frequency band is -4.3dB.
[0147] See also Fig.13 and Fig.14 , Fig.13 A schematic diagram of S parameters when an electronic device provided by one embodiment of the present application is equipped with a metal protective case and the switch in the tuning circuit is disconnected from the matching branch; Fig.14 This is a system total efficiency curve when the electronic device provided in one embodiment of the present application is equipped with a metal protective case and the switch in the tuning circuit is disconnected from the matching branch. Fig.13 In the figure, the horizontal axis is the frequency in GHz, and the vertical axis is the S parameter in dB. Fig.13 In FIG. 1 , the curve is the S parameter curve of the first antenna 110. It can be seen that compared with the resonant frequency (1.575 GHz, see Fig.11), when the electronic device 1 is equipped with a metal protective shell and the switch 1121 in the tuning circuit 112 is disconnected from the matching branch 1122, the resonance of the first preset frequency band is shifted to 1.816 GHz, which is more than 200 MHz higher. Fig.14 In the figure, the horizontal axis is the frequency in GHz, and the vertical axis is the total system efficiency (SystemTot.Efficiency) in dB. Fig.14 In , the curve is the system total efficiency curve of the first antenna 110. Fig.14 It can be seen that compared with the total system efficiency when the electronic device 1 is in a free state (see Fig.12 ), when the electronic device 1 is equipped with a metal protective case and the switch 1121 in the tuning circuit 112 is disconnected from the matching branch 1122, the total system efficiency of the first antenna 110 in the first preset frequency band (here the GPS L1 band) drops to -24.4 dB, a drop of about 20 dB.
[0148] See also Fig.15 and Fig.16 , Fig.15 A schematic diagram of S parameters when an electronic device provided by an embodiment of the present application is equipped with a metal protective case and the switch and the matching branch in the tuning circuit are turned on; Fig.16 This is a total system efficiency curve when an electronic device provided in an embodiment of the present application is equipped with a metal protective shell and the switch and matching branch in the tuning circuit are turned on. Fig.15 In the figure, the horizontal axis is the frequency in GHz, and the vertical axis is the S parameter in dB. Fig.15 In the figure, the curve is the S parameter curve of the first antenna 110. The first preset frequency band is the GPS L1 frequency band, and the resonance of the GPS L1 frequency band is 1.571 GHz. It can be seen that when the electronic device 1 is equipped with a metal protective case and the switch 1121 and the matching branch 1122 in the tuning circuit 112 are turned on, the first antenna 110 supports the first preset frequency band. Fig.16 In the figure, the horizontal axis is the frequency in GHz, and the vertical axis is the system total efficiency (System Tot. Efficiency) in dB. Fig.16 In FIG. 1 , curve ① is a system radiation efficiency (System Rad. Efficiency) curve of the first antenna 110; curve ② is a system total efficiency (System Tot. Efficiency) curve of the first antenna 110. Fig.16 It can be seen that compared with the case where the electronic device 1 is equipped with a metal protective shell and the switch 1121 in the tuning circuit 112 is disconnected from the matching branch 1122 (see Fig.14), when the electronic device 1 is equipped with a metal protective case and the switch 1121 and the matching branch 1122 in the tuning circuit 112 are turned on, the total system efficiency of the first antenna 110 in the first preset frequency band (here, the GPS L1 frequency band) is about -12.5 dB, which is better than Fig.14 In addition, compared with the free state (see Fig.13 and Fig.14 ), the efficiency drop of the first antenna 110 in the first preset frequency band is only 8 dB, and compared with the antenna assembly 10 of the related art, the antenna efficiency of the first antenna 110 in the first preset frequency band is improved by 12 dB.
[0149] To sum up, the electronic device 1 provided in one embodiment of the present application can improve the antenna performance of the antenna assembly 10 when the electronic device 1 (such as a mobile phone) is equipped with a metal protective case, thereby improving the user experience, and can reduce or even avoid the failure of the navigation function when the first antenna 110 in the antenna assembly 10 supports the GPS L1 frequency band, thereby reducing the probability of users returning the electronic device 1 after purchasing it.
[0150] The electronic device 1 provided in one embodiment of the present application can control the conduction or disconnection of the switch 1121 and the matching branch 1122 of the tuning circuit 112 according to the recognition result of the judgment module 40, thereby improving the performance of the GPS positioning function when the first antenna 110 supports the GPSL1 frequency band, thereby improving the user experience.
[0151] The electronic device 1 provided in one embodiment of the present application can identify the first preset value and the second preset value in the algorithm and the detection time of each detection, and can be adjusted according to the test results to improve the recognition accuracy of the judgment module 40 on whether the electronic device 1 is wearing a metal protective case.
[0152] The above is part of the implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications are also considered to be within the scope of protection of the present application.
Claims
1. An electronic device, characterized in that: The electronic device comprises: An antenna assembly, the antenna assembly comprising a first antenna, the first antenna comprising a radiator, a feed source and a tuning circuit, the radiator having a feed point, the feed source electrically connected to the feed point, the feed source used to generate an excitation signal of a first preset frequency band, one end of the tuning circuit electrically connected to the feed point, the other end of the tuning circuit grounded, the tuning circuit comprising a switch and at least one matching branch, when the electronic device is not wearing a metal protective case, the switch is electrically disconnected from the matching branch, and the first antenna supports the first preset frequency band; and A control module, when the electronic device is equipped with a metal protective case, the control module controls the switch of the tuning circuit to be turned on with the matching branch, so that the first antenna still supports the first preset frequency band and has a first performance when the electronic device is equipped with a metal protective case; wherein the first performance is better than the second performance, and the second performance is the performance when the electronic device is equipped with a metal protective case and the switch is electrically disconnected from the matching branch.
2. The electronic device according to claim 1, wherein: The electronic device further comprises: a detection module, the detection module being used to detect a parameter value when the first antenna supports the first preset frequency band, to obtain a detection parameter; and A judgment module is used to judge whether the electronic device is wearing a metal protective case according to the detection parameters.
3. The electronic device according to claim 2, characterized in that: The detection module is used to detect the parameter value of the first antenna when supporting the first preset frequency band at a first frequency within a first preset time period to obtain a plurality of detection parameters; The judgment module judges whether the difference between the preset parameter threshold and the detection parameter value is greater than or equal to a first preset value, wherein the preset parameter threshold is a parameter value of the first antenna supporting a first preset frequency band when the electronic device is not wearing a metal protective case; The judgment module further judges whether the absolute value of the difference between each detection parameter value and the average value of the detection parameter is less than or equal to a second preset value; When the judgment module determines that the difference between the preset parameter threshold and the detection parameter value is greater than or equal to the first preset value, and the absolute value of the difference between each detection parameter value and the average value is less than or equal to the second preset threshold, the judgment module determines that the electronic device is wearing a metal protective case.
4. The electronic device according to claim 2, characterized in that: The detection module is used to detect the parameter value of the first antenna when supporting the first preset frequency band at a first frequency within a first preset time period to obtain a first number of detection parameters; The judging module judges whether the differences between the preset parameter threshold and the second number of the detection parameter values are all greater than or equal to the first preset value, wherein the second number is smaller than the first number; The determination module further determines whether an absolute value of a difference between a second number of detection parameter values and an average value of the detection parameter is less than or equal to a second preset value; When the judgment module determines that the difference between the preset parameter threshold and each detection parameter value in the second number of detection parameter values is greater than or equal to the first preset value, and the absolute value of the difference between each detection parameter value in the second number of detection parameter values and the average value is less than or equal to the second preset threshold, the judgment module determines that the electronic device is wearing a metal protective case.
5. The electronic device according to claim 3 or 4, characterized in that: When the judgment module determines that the electronic device is wearing a metal protective case, the detection module is further used to detect a parameter value when the first antenna supports the first preset frequency band at a second frequency within a second preset time period to obtain a third number of detection parameters, wherein the second frequency is less than the first frequency; The judgment module is further used to judge whether the electronic device is equipped with a metal protective case according to a third number of the detection parameters.
6. The electronic device according to claim 5, characterized in that: When the judgment module determines that the electronic device is wearing a metal protective case according to the third number of the detection parameters, the detection module is further used to detect the parameter value of the first antenna supporting the first preset frequency band at a third frequency within a third preset time period to obtain a fourth number of detection parameters, wherein the third frequency is less than the second frequency; The judgment module is further used to judge whether the electronic device is equipped with a metal protective case according to a fourth number of the detection parameters.
7. The electronic device according to claim 5, characterized in that: When the judgment module determines that the electronic device is not wearing a protective case according to the third number of the detection parameters, the control module controls the switch of the tuning circuit to disconnect the electrical connection with the matching branch; The detection device is used to detect the parameter value of the first antenna supporting the first preset frequency band at a fourth frequency within a fourth preset time period to obtain a fifth number of detection parameters, wherein the fourth frequency is greater than the second frequency; The judgment module is further used to judge whether the electronic device is equipped with a metal protective case according to a fifth number of the detection parameters.
8. The electronic device according to claim 1, wherein: The electronic device further comprises: A display screen, the display screen is used to display an interactive interface, the interactive interface is used to receive input content; and A judgment module is used to judge whether the electronic device is wearing a metal protective case according to the input content of the interactive interface.
9. The electronic device according to claim 1, wherein: The switch comprises a first end and a second end, the first end being electrically connected to the feed point; One end of the matching branch is electrically connected to the ground; When the second end of the switch is electrically connected to the other end of the matching branch, the switch is turned on by the matching branch; when the second end of the switch is disconnected from the matching branch, the switch is electrically disconnected from the matching branch.
10. The electronic device according to claim 9, characterized in that: The first antenna also includes: An impedance matching circuit, wherein the feed source electrically connects the impedance matching circuit to the feeding point.
11. The electronic device according to claim 1, wherein: The first antenna also supports a second preset frequency band.
12. The electronic device according to claim 11, characterized in that: The first preset frequency band is the GPS L1 frequency band, and the second preset frequency band is the WiFi 2.4G frequency band.
13. The electronic device according to claim 1, wherein: The antenna assembly further includes a second antenna, and the second antenna is used to support at least one of a third preset frequency band and the fourth preset frequency band.
