Antenna assemblies, electronic devices, control methods, apparatuses, and readable storage media
By introducing couplers and adjustable power dividers into the antenna assembly, harmonic power is detected and the power division ratio is adjusted, thus solving the harmonic interference problem of the antenna tuner and achieving a reduction in harmonic components and an improvement in matching stability of the antenna assembly.
Patent Information
- Application Number
- CN202510395230.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2045-03-31
AI Technical Summary
Due to size limitations, existing mobile phone antennas are prone to harmonic interference problems in the antenna tuner, especially affecting the matching effect under high voltage conditions.
A combination of coupler and adjustable power divider is used. The coupler detects the harmonic power signal and controls the adjustable power divider to adjust the power ratio of the antenna, thereby optimizing the antenna's transmit power distribution and reducing harmonic interference.
While keeping the antenna transmit power constant, the overall harmonic components of the antenna assembly were reduced, the harmonic interference problem of the antenna tuner was solved, and the matching stability of the antenna was improved.
Smart Images

Figure CN120165732B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of radio frequency technology, specifically relating to an antenna assembly, electronic device, control method, apparatus, and readable storage medium. Background Technology
[0002] Existing mobile phone antennas are often small in size, so they typically use antenna tuners for impedance matching to increase the antenna's operating bandwidth and support more communication bands. Because the antenna feed location and length are usually limited by the overall device design, the antenna impedance is often quite extreme, and its voltage can be much higher than that at the radio frequency (RF) end. When the circuit voltage exceeds the maximum operating voltage of the antenna tuner, it will affect the normal operation of the antenna matching.
[0003] In related technologies, high-voltage antenna tuners are usually selected. However, even with high-voltage antenna tuners, harmonic interference is still a common problem. Summary of the Invention
[0004] The purpose of this application is to provide an antenna assembly, electronic device, control method, apparatus, and readable storage medium that solves the problem of harmonic interference in the antenna tuner of the antenna assembly.
[0005] In a first aspect, embodiments of this application provide an antenna assembly, comprising: a radio frequency power amplifier; a coupler including a first path and a second path, the first path being coupled to the second path, a first end of the first path being connected to the output end of the radio frequency power amplifier; a switch connected to the second path of the coupler, the switch being used to switch the coupling direction between the first path and the second path; an adjustable power divider, the input end of the adjustable power divider being connected to the second end of the first path; at least two antennas connected to at least two output ends of the adjustable power divider; at least two tuners, each connected to at least two antennas; and a controller connected to the second path, the controller being connected to the control end of the switch, and the controller being connected to the adjustable power divider, wherein, when the coupling direction is reverse coupling, the second path is used to transmit a harmonic power signal to the controller, and the controller is used to control the adjustable power divider according to the harmonic power signal to adjust the power division ratio corresponding to the at least two antennas.
[0006] Secondly, embodiments of this application provide an electronic device, including: an antenna assembly from any of the above-described technical solutions.
[0007] Thirdly, embodiments of this application provide a control method applied to an electronic device in any of the above technical solutions. The control method includes: controlling a switching device to switch the coupling direction of the first path and the second path of the coupler to reverse coupling; receiving the harmonic power signal output by the second path; and controlling an adjustable power divider according to the harmonic power signal to adjust the power division ratio corresponding to at least two antennas.
[0008] Fourthly, embodiments of this application provide a control device applied to the electronic device in any of the above technical solutions. The control device includes: a control module for controlling a switching element to switch the coupling direction of the first path and the second path of the coupler to reverse coupling; a receiving module for receiving the harmonic power signal output by the second path; and an adjustment module for controlling an adjustable power divider according to the harmonic power signal to adjust the power division ratio corresponding to at least two antennas.
[0009] Fifthly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the third aspect.
[0010] In a sixth aspect, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method as described in the third aspect.
[0011] In a seventh aspect, embodiments of this application provide a chip including a processor and a communication interface coupled to the processor, the processor being used to run programs or instructions to implement the steps of the method as described in the third aspect.
[0012] Eighthly, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method as described in the third aspect.
[0013] In this embodiment, a coupler is provided in the antenna assembly to detect harmonic power. An adjustable power divider is also provided to adjust the transmit power of each antenna. Therefore, the controller can control the power ratio of at least two lines through the adjustable power divider while detecting the current harmonic power through the coupler. An optimization algorithm is then used to redistribute the transmit power of at least two antennas. While maintaining the transmit power of at least two antennas unchanged, the antenna path with poor nonlinearity among the at least two antennas bears less transmit power, thereby reducing the overall harmonic components generated by the tuner's nonlinearity in the antenna assembly and solving the problem of harmonic interference in the antenna tuner within the antenna assembly. Attached Figure Description
[0014] Figure 1 A circuit diagram of one of the antenna assemblies provided in some embodiments of this application is shown;
[0015] Figure 2 The graphs showing the relationship between the capacitance value and reverse bias voltage of the varactor diode provided in some embodiments of this application are illustrated.
[0016] Figure 3 The graphs showing the relationship between harmonic power and voltage of the tuner provided in some embodiments of this application are shown.
[0017] Figure 4 A second circuit diagram of an antenna assembly provided in some embodiments of this application is shown;
[0018] Figure 5 One of the circuit diagrams of the switching element and coupler in some embodiments of this application is shown;
[0019] Figure 6 A second circuit diagram of the switching element and coupler in some embodiments of this application is shown;
[0020] Figure 7 A schematic diagram showing the coupling direction of the coupler provided in some embodiments of this application is illustrated;
[0021] Figure 8 Schematic block diagrams of electronic devices provided in some embodiments of this application are shown;
[0022] Figure 9 One of the flowcharts of the control method provided in some embodiments of this application is shown;
[0023] Figure 10 A flowchart of a control method for a switching device provided in some embodiments of this application is shown;
[0024] Figure 11 The flowcharts of the power division ratio optimization methods provided in some embodiments of this application are shown;
[0025] Figure 12 A second flowchart of a control method provided in some embodiments of this application is shown;
[0026] Figure 13 Schematic block diagrams of control devices provided in some embodiments of this application are shown;
[0027] Figure 14 A structural block diagram of an electronic device according to an embodiment of this application is shown;
[0028] Figure 15 The diagram shows a hardware structure schematic of an electronic device in some embodiments of this application.
[0029] Figure 1 , Figure 4 , Figure 5 , Figure 6 and Figure 7 The accompanying figure labels are as follows:
[0030] 100 Antenna assembly, 110 RF power amplifier, 120 Coupler, 121 First path, 122 Second path, 130 Switch, 131 First moving contact, 132 Second moving contact, 133 First stationary contact, 134 Second stationary contact, 140 Adjustable power divider, 150 Antenna, 160 Tuner, 170 Controller, 180 Resistor. Detailed Implementation
[0031] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0032] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0033] The following is in conjunction with the appendix Figures 1 to 15 The antenna assembly, electronic device, control method, apparatus, and readable storage medium provided in this application will be described in detail through specific embodiments and application scenarios.
[0034] In some embodiments of this application, an antenna assembly is provided. Figure 1 A circuit diagram of one of the antenna assemblies provided in some embodiments of this application is shown, such as... Figure 1As shown, the antenna assembly 100 includes: a radio frequency power amplifier 110; a coupler 120, which includes a first path 121 and a second path 122, the first path 121 being coupled to the second path 122, and a first end of the first path 121 being connected to the output end of the radio frequency power amplifier 110; a switch 130, connected to the second path 122 of the coupler 120, the switch 130 being used to switch the coupling direction between the first path 121 and the second path 122; an adjustable power divider 140, the input end of which is connected to the second end of the first path 121; and at least two antennas 1 50, connected to at least two output terminals of the adjustable power divider 140; at least two tuners 160, each connected to at least two antennas 150; controller 170, connected to the second path 122, connected to the control terminal of the switch 130, and connected to the adjustable power divider 140, wherein, when the coupling direction is reverse coupling, the second path 122 is used to transmit harmonic power signals to the controller 170, and the controller 170 is used to control the adjustable power divider 140 according to the harmonic power signals to adjust the power division ratio corresponding to the at least two antennas 150.
[0035] In this embodiment, the antenna assembly 100 includes at least two antennas 150, each antenna 150 being equipped with a tuner 160. An RF power amplifier 110 is connected to the at least two antennas 150 via an adjustable power divider 140, which dynamically distributes the transmit power to the at least two antennas 150. A coupler 120 for acquiring harmonic power signals is also provided between the RF power amplifier 110 and the adjustable power divider 140. By acquiring the harmonic power signals through the coupler 120, the sum of the harmonic power of the at least two antennas 150 can be collected.
[0036] Figure 2 The graphs showing the relationship between the capacitance value and reverse bias voltage of the varactor diode provided in some embodiments of this application are illustrated. Figure 3 The following are graphs showing the relationship between harmonic power and voltage of the tuner provided in some embodiments of this application, such as... Figure 2 and Figure 3As shown, the relationship between the capacitance value of the varactor diode and the reverse bias voltage is that the capacitance value decreases non-linearly as the voltage increases. Due to the non-linearity of the device, when the voltage applied to the tuner 160 is large, a large harmonic will be generated. That is, as the voltage increases, the harmonic power increases rapidly. If the harmonic of one frequency band happens to fall within another frequency band, it will cause harmonic interference. As voltage increases, harmonic power increases exponentially. In the case where the antenna assembly 100 includes multiple antennas 150 and corresponding tuners 160, the harmonic power is distributed among multiple tuners 160, and the total harmonic power is less than that of a single tuner 160 with concentrated power. This reduces the overall harmonic components of the antenna assembly 100 generated by the tuners 160. Therefore, by redistributing the transmission power of at least two antennas 150 through the adjustable power divider 140, the power borne by a single tuner 160 can be reduced while ensuring the overall transmission power of the antenna assembly 100. This alleviates the nonlinear effect of a single tuner 160, and the overall harmonic components of at least two tuners 160 will be lower than the harmonic components of a single antenna 150 transmitting at high power.
[0037] For example, the tuner 160 may be composed of semiconductor devices such as varactor diodes and field-effect transistors.
[0038] In this embodiment, during the operation of the antenna assembly 100, harmonic power signals are acquired through the coupler 120. When the harmonic power corresponding to the harmonic power signal is detected to exceed the power threshold, it is determined that the harmonic power is large. At this time, the adjustable power divider 140 is controlled to redistribute the transmission power of at least two antennas 150. While keeping the transmission power of at least two antennas 150 unchanged, the antenna 150 path with poor nonlinearity among the at least two antennas 150 bears a smaller transmission power, thereby reducing the overall harmonic components of the antenna assembly 100 caused by the nonlinearity of the tuner 160.
[0039] Specifically, in actual user scenarios of electronic devices, the grip position and method of the user on the electronic device vary in different scenarios, which will affect the input impedance of the antenna 150, causing changes in reflection, which may change the voltage that the tuning withstands, thereby affecting the harmonic magnitude. Therefore, by setting a coupler 120 in the antenna assembly 100, the harmonic power of the antenna assembly 100 can be monitored, and an adjustable power divider 140 is set in the antenna assembly 100 to dynamically distribute the transmission power of at least two antennas 150 in a timely manner based on the monitoring results of the harmonic power, thereby minimizing the harmonics of the antenna assembly 100.
[0040] In this embodiment, the coupler 120 includes a first path 121 and a second path 122. The first path 121 is connected between the RF power amplifier 110 and the adjustable power divider 140. The second path 122 is connected to the ground terminal and the controller 170 via a switch 130. The switch 130 can be a double-pole double-throw switch, which allows adjustment of the coupling direction between the second path 122 and the first path 121. When the coupling direction is reverse coupling, the second path 122 can transmit harmonic power signals to the controller 170, enabling the controller 170 to detect the harmonic power generated by at least two antennas 150.
[0041] Specifically, after the controller 170 acquires the harmonic power signal, it can control the adjustable power divider 140 according to the harmonic power signal, transforming the harmonic optimization into a general optimization problem, and achieving the optimal solution through software algorithms.
[0042] Figure 4 A second circuit diagram of an antenna assembly provided in some embodiments of this application is shown, such as... Figure 4 As shown, coupler 120 samples the harmonic power signal, and after power detection, transmits the harmonic power signal to controller 170. Controller 170 outputs a control signal to control the adjustable power divider 140, thereby controlling the power division ratio of the adjustable power divider 140. For example, antenna assembly 100 has N antenna channels 150, numbered i, with values 1, 2, ..., N, and the power ratio of each antenna channel 150 is P. i , where P i The following relationship must be satisfied: If the total transmitted power is constant, then the harmonic power H can be defined, and H and P are related. i The following relation (1) is satisfied:
[0043] H = f(P1,P2,…,P) N (1)
[0044] Where H is the harmonic power, P i Let f be the power division ratio, and f() be the mapping relationship between each power division ratio and harmonic power.
[0045] Due to the power ratio constraint Given the constraint that the number of independent variables is N-1, the variables are: P1, P2, ..., P N-1 And P N The expression (2) is as follows:
[0046]
[0047] Among them, P N P is a variable in the power ratio. i The ratio of work done.
[0048] In this embodiment, a coupler 120 is provided in the antenna assembly 100 to detect harmonic power. An adjustable power divider 140 is also provided to adjust the transmission power of each antenna 150. Therefore, the controller 170 can control the power ratio of at least two lines through the adjustable power divider 140 while detecting the current harmonic power through the coupler 120. An optimization algorithm is then used to redistribute the transmission power of at least two antennas 150. While maintaining the transmission power of at least two antennas 150 unchanged, the path of the antenna 150 with poor nonlinearity bears less transmission power, thereby reducing the overall harmonic components of the antenna assembly 100 caused by the nonlinearity of the tuner 160. This solves the problem of harmonic interference in the antenna 150 and tuner 160 within the antenna assembly 100.
[0049] Figure 5 One of the circuit diagrams of the switching element and coupler in some embodiments of this application is shown. Figure 6 This is a second example of a circuit diagram showing the switching elements and couplers provided in some embodiments of this application, such as... Figure 5 and Figure 6 As shown, the switch 130 includes: a first moving contact 131 and a second moving contact 132, the first moving contact 131 being connected to the first end of the second passage 122, and the second moving contact 132 being connected to the second end of the second passage 122; a first stationary contact 133 and a second stationary contact 134, the first stationary contact 133 being grounded, and the second stationary contact 134 being connected to the controller 170; wherein, when the first moving contact 131 is connected to the first stationary contact 133 and the second moving contact 132 is connected to the second stationary contact 134, the coupling direction is reverse coupling.
[0050] In this embodiment, the switch 130 is a double-pole double-throw switch, comprising two moving contacts and two stationary contacts. The first moving contact 131 and the second moving contact 132 of the switch 130 are respectively connected to the first end and the second end of the second passage 122. The first stationary contact 133 and the second stationary contact 134 of the switch 130 are respectively connected to the grounding terminal and the signal input terminal of the controller 170. The controller 170 can control the first moving contact 131 of the switch 130 to connect with the first stationary contact 133 or the second stationary contact 134, and control the second moving contact 132 of the switch 130 to connect with the first stationary contact 133 or the second stationary contact 134.
[0051] like Figure 6 As shown, the first and second paths of the coupler are coupled in reverse.
[0052] Specifically, when the first moving contact 131 is connected to the first stationary contact 133, the second moving contact 132 is connected to the second stationary contact 134; when the first moving contact 131 is connected to the second stationary contact 134, the second moving contact 132 is connected to the first stationary contact 133. When the first moving contact 131 is connected to the first stationary contact 133, and the second moving contact 132 is connected to the second stationary contact 134, the first path 121 and the second path 122 of the coupler 120 are reverse-coupled. Therefore, the second end of the second path 122 outputs a reverse-coupled signal, i.e., a harmonic power signal, through the second stationary contact 134 of the switching element 130.
[0053] Figure 7 A schematic diagram of the coupling direction of the coupler 120 provided in some embodiments of this application is shown, such as... Figure 7 As shown, arrow A indicates the forward coupling direction between the first path 121 and the second path 122 in coupler 120, and arrow B indicates the reverse coupling direction between the first path 121 and the second path 122 in coupler 120.
[0054] In this embodiment of the application, the second path 122 of the coupler 120 is connected to a double-pole double-throw switch, and the controller 170 can control the switch 130 so that the coupling direction of the first path 121 and the second path 122 of the coupler 120 is reverse coupling, thereby enabling the harmonic power signal to be sampled through the coupler 120.
[0055] In some embodiments of this application, when the coupling direction is in positive coupling, the second path 122 is used to transmit a transmit power signal to the controller 170; wherein, when the first moving contact 131 is connected to the second stationary contact 134 and the second moving contact 132 is connected to the first stationary contact 133, the coupling direction is in positive coupling.
[0056] In this embodiment of the application, when the coupling direction of the first path 121 and the second path 122 in the coupler 120 is positive coupling, the coupler 120 can collect the transmission power signals of at least two antennas 150 and transmit the transmission power signals outward through the second path 122.
[0057] like Figure 5 As shown, the first path 121 and the second path 122 of the coupler 120 are positively coupled.
[0058] Specifically, the output of the RF power amplifier 110 is connected to the coupler 120. The first path 121 and the second path 122 of the coupler 120 are forward-coupled to detect the transmit power signal, thereby detecting the transmit power of at least two antennas 150. The detected transmit power signal is transmitted to the controller 170, enabling the controller 170 to control the transmit power of the at least two antennas 150 based on the transmit power signal. When detecting harmonic power, a double-pole double-throw switch 130 switches the first path 121 and the second path 122 of the coupler 120 to reverse coupling to detect harmonic power.
[0059] In this embodiment, the second path 122 of the coupler 120 is connected to the switch 130. The switch 130 can control the coupling direction between the first path 121 and the second path 122 in the coupler 120, so that the coupler 120 can detect the transmit power signal through the forward coupling of the first path 121 and the second path 122, and can also detect the harmonic power signal through the reverse coupling of the first path 121 and the second path 122.
[0060] like Figure 1 and Figure 4 As shown, in some embodiments of this application, the antenna assembly 100 further includes a resistor 180, the first end of which is connected to the first stationary contact 133 of the switch 130, and the second end of which is grounded.
[0061] In this embodiment, the antenna assembly 100 further includes a resistor 180, which is the grounding resistance of the antenna assembly 100. The first stationary contact 133 of the switch 130 is connected to the ground terminal through the resistor 180. The second stationary contact 134 of the switch 130 is a signal acquisition port. When the first path 121 and the second path 122 are reverse coupled, a harmonic power signal is output through the second stationary contact 134 of the switch 130. When the first path 121 and the second path 122 are forward coupled, a transmit power signal is output through the second stationary contact 134 of the switch 130. This allows the switch 130 to control the coupler 120 to acquire at least one of the transmit power signal and the harmonic power signal.
[0062] In some embodiments of this application, an electronic device is provided. Figure 8 Schematic block diagrams of electronic devices provided in some embodiments of this application are shown, such as... Figure 8 As shown, the electronic device 800 includes an antenna assembly 100, which is the antenna assembly 100 in any of the above embodiments, and therefore has all the beneficial technical effects of the antenna assembly 100 in any of the above embodiments, which will not be elaborated further here.
[0063] For example, the electronic device also includes a housing, within which the antenna assembly is disposed.
[0064] In some embodiments of this application, a control method is provided, applied to the electronic device in any of the above embodiments. Figure 9 A flowchart of one of the control methods provided in some embodiments of this application is shown, such as Figure 9 As shown, the control methods include:
[0065] Step 902: Control the switching device to switch the coupling direction of the first path and the second path of the coupler to reverse coupling;
[0066] In this embodiment, the coupler includes a first path and a second path. When the first path and the second path are reverse coupled, the coupler can acquire harmonic power signals.
[0067] Specifically, the controller controls the RF front-end devices through control commands. Under normal conditions, the coupler is in a forward coupling state. By switching the switching device, the harmonics reflected back from the tuner can be classified and coupled, and sent to the controller for harmonic power detection. After the detection is completed, the first and second paths of the coupler are controlled to be forward coupled through the switching device, and the forward transmit power detection is restored.
[0068] Step 904: Receive the harmonic power signal output from the second channel;
[0069] Step 906: Control the adjustable power divider according to the harmonic power signal to adjust the power division ratio of at least two antennas.
[0070] In this embodiment of the application, during the operation of the antenna assembly, harmonic power signals are collected through a coupler. When the harmonic power corresponding to the harmonic power signal is detected to exceed the power threshold, it is determined that the harmonic power is large. At this time, the adjustable power divider is controlled to redistribute the transmission power of at least two antennas. While keeping the transmission power of at least two antennas unchanged, the antenna path with poor nonlinearity among the at least two antennas bears a smaller transmission power, thereby reducing the overall harmonic components of the antenna assembly caused by the nonlinearity of the tuner.
[0071] Specifically, in actual user scenarios of electronic devices, the grip position and method of the device vary depending on the user, which affects the input impedance of the antenna, causing changes in reflection. This may alter the voltage across the tuning circuit, thus affecting the harmonic magnitude. Therefore, by installing a coupler in the antenna assembly, the harmonic power of the antenna assembly can be monitored. Furthermore, by installing an adjustable power divider in the antenna assembly, the transmit power of at least two antennas can be dynamically allocated in a timely manner based on the monitoring results of the harmonic power, thereby minimizing the harmonics of the antenna assembly.
[0072] In this embodiment, the coupler includes a first path and a second path. The first path is connected between the RF power amplifier and the adjustable power divider. The second path is connected to the ground terminal and the controller via a switch. The switch can be a double-pole double-throw switch, which allows adjustment of the coupling direction between the second path and the first path. When the coupling direction is reverse coupling, the second path can output a harmonic power signal to the controller, enabling the controller to detect the harmonic power generated by at least two antennas.
[0073] Specifically, after the controller acquires the harmonic power signal, it can control the adjustable power divider according to the harmonic power signal, transforming harmonic optimization into a general optimization problem, and achieving the optimal solution through software algorithms.
[0074] In this embodiment, a coupler is provided in the antenna assembly to detect harmonic power. An adjustable power divider is also provided to adjust the transmit power of each antenna. Therefore, the controller can control the power ratio of at least two lines through the adjustable power divider while detecting the current harmonic power through the coupler. An optimization algorithm is then used to redistribute the transmit power of at least two antennas. While maintaining the transmit power of at least two antennas unchanged, the antenna path with poor nonlinearity among the at least two antennas bears less transmit power, thereby reducing the overall harmonic components generated by the tuner's nonlinearity in the antenna assembly and solving the problem of harmonic interference in the antenna tuner within the antenna assembly.
[0075] Figure 10 Flowcharts of control methods for switching devices provided in some embodiments of this application are shown, such as... Figure 10 As shown, the control method for the switching device includes:
[0076] Step 1002: The controller sets the switching element of the coupler to reverse coupling state via control commands;
[0077] The control instructions can be MIPI (Mobile Industry Processor Interface) instructions or GPIO (General-purpose input / output) instructions.
[0078] Step 1004: The harmonic power signal acquired in the reverse coupling state is transmitted to the controller. The controller amplifies, detects, and samples the signal internally to obtain the corresponding harmonic power.
[0079] Step 1006: The controller sets the switching element of the coupler to the positive coupling state through control commands.
[0080] In some embodiments of this application, controlling an adjustable power divider based on harmonic power signals to adjust the power division ratios of at least two antennas includes: determining adjustment gradients for at least two power division ratios when the first harmonic power value is greater than a power threshold, wherein the first harmonic power value is the power value of the harmonic power signal before adjusting the power division ratios; adjusting the at least two power division ratios according to the adjustment gradient and a step coefficient; determining a first power difference between the first harmonic power value and a second harmonic power value, wherein the second harmonic power value is the power value of the harmonic power signal after adjusting the power division ratios according to the adjustment gradient; and returning to the step of determining the adjustment gradients for at least two power division ratios when the first power difference is greater than or equal to a difference threshold.
[0081] In this embodiment, the first harmonic power value is the power value of the harmonic signal collected by the coupler before adjusting the power division ratio, that is, the harmonic power value at the current moment. The power threshold is used to determine whether the current harmonic power value is too large. When the first harmonic power value is detected to be greater than the power threshold, it is determined that the harmonic power is too large at this time, which may affect the operation of at least two antennas. At this time, harmonic optimization processing begins.
[0082] In this embodiment of the application, the harmonic power is optimized by the gradient descent method. The gradient descent method requires first determining the adjustment gradient, then adjusting at least two power ratios along the negative gradient, and then determining whether to continue iterative adjustment.
[0083] Specifically, after obtaining the adjustment gradients for at least two power ratios, the at least two power ratios are adjusted according to the adjustment gradients and step coefficients. After adjustment, the second harmonic power value of the adjusted harmonic power signal is obtained through the coupler. The first harmonic power value is compared with the second harmonic power value to obtain the first power difference. Then, the first power difference is compared with the difference threshold. If the first power difference is greater than or equal to the difference threshold, it indicates that there is still room for optimization of the current power ratio. In this case, the process returns to the step of determining the adjustment gradient of the power ratio and continues to iteratively optimize the at least two power ratios according to the newly determined adjustment gradient. If the first power difference is less than the difference threshold, it indicates that the current power ratio has reached the optimal value, and the complete optimization process stops.
[0084] It should be noted that the power division ratio has an adjustment range due to the limitations of the adjustable range of hardware devices such as antennas and adjustable power dividers. If the power division ratio after adjusting the gradient exceeds the adjustment range, the boundary value of the adjustment range shall be taken as the adjusted power division ratio.
[0085] For example, the following describes the optimization process of the power division ratio using a case with two antennas and tuners:
[0086] If the number of antennas and tuners is 2, then the number of independent variables is only 1. To distinguish the parameters of different iterations, the power division ratio of the t-th iteration is defined as P 1t , and the total harmonic power of the t-th iteration is H t . The initial values are respectively defined as P 10 and H0. The step coefficient is a, the gradient detection step size is ΔP, and the error of the termination condition is err, that is, the difference threshold is err. For example, the initial power division ratio is set to equal power division, that is, P 10 = 0.5.
[0087] Figure 11 The flowchart of the power division ratio optimization method provided in some embodiments of the present application is shown. As Figure 11 shown, the power division ratio optimization method includes:
[0088] Step 1101, set the initial value of the power division ratio P 10 . Determine the first harmonic power value as H0 through the coupler, and the iteration number t = 1;
[0089] Step 1102, set the power division ratio to P 1(t-1) + ΔP and P 1(t-1) - ΔP, respectively determine the corresponding harmonic powers as H(P 1(t-1) + ΔP) and H(P 1(t-1) - ΔP) through the coupler, and determine the adjustment gradient as H’ = [H(P 1(t-1) + ΔP) - H(P 1(t-1) - ΔP)] / 2ΔP;
[0090] Among them, ΔP is the gradient detection step size, P 1(t-1) is the power division ratio before adjustment, and H(P 1(t-1) + ΔP) and H(P 1(t-1) - ΔP) are the harmonic powers after adjustment according to + ΔP and - ΔP respectively.
[0091] Step 1103, adjust the power division ratio P 1t = P 1(t-1) - aH’, and collect the current second harmonic power H t ;
[0092] Among them, a is the step coefficient.
[0093] Step 1104, judge whether it satisfies H t-1 - H t < err. If the judgment is yes, end the optimization; if the judgment is no, return to execute step 1102.
[0094] Among them, H t-1 is the harmonic power before adjustment, and H t-1 t is the power difference, and err is the difference threshold.
[0095] In this embodiment, when the first harmonic power value is detected to be greater than the power threshold, the gradient descent method is used to optimize the power division ratio. After determining the adjustment gradient, the adjustable power divider is controlled by adjusting the gradient and step coefficient to adjust at least two power division ratios. The adjusted second harmonic power is detected by the coupler. Then, based on whether the first power difference between the first harmonic power value and the second harmonic power is less than the difference threshold, it is determined whether the optimization process is completed. If the optimization process is not completed, the process returns to the step of determining the adjustment gradient to continue the optimization, which effectively reduces the harmonic level of the antenna tuner.
[0096] In some embodiments of this application, after determining the first power difference between the first harmonic power value and the second harmonic power value, the control method further includes: if the first power difference is less than the difference threshold, after a preset time interval, returning to the step of receiving the harmonic power signal output by the second channel.
[0097] In this embodiment, when the detected first power difference is less than the difference threshold, it is determined that the current optimization of the power division ratio through the adjustable power divider has been completed. Since users may hold electronic devices in different positions or near metal objects, causing harmonic power degradation in the tuner, after the current optimization is completed, after a preset interval, the first and second paths in the coupler are re-coupled in reverse to collect the current harmonic power signal and determine whether the next round of optimization needs to be restarted. This achieves real-time monitoring of the harmonic power of at least two antennas, enabling timely adjustment of the power division ratio of at least two antennas through the adjustable power divider when harmonic power is too high, effectively preventing excessive harmonic power.
[0098] It should be noted that within a preset time period, the first and second paths of the coupler are switched to positive coupling by a switching device, so that the coupler can collect positive transmission power signals when it is not collecting harmonic power signals.
[0099] In some embodiments of this application, determining the adjustment gradient of at least two power division ratios includes: sequentially determining at least two power division ratios as target power division ratios; adjusting the target power division ratios according to a gradient detection step size, wherein the remaining power division ratios among the at least two power division ratios, excluding the target power division ratio, change with the adjusted target power division ratio; obtaining at least two third harmonic power values corresponding to the at least two power division ratios, wherein the at least two third harmonic power values are the power values of the harmonic power signals after adjusting the target power division ratios according to the gradient detection step size; and determining the adjustment gradient based on the at least two third harmonic power values and the first harmonic power value.
[0100] In this embodiment of the application, when using the gradient descent algorithm to optimize at least two power ratios of at least two antennas, it is necessary to obtain the adjustment gradient. In the optimization, the adjustment gradient is obtained by setting a small gradient detection step size and replacing the derivative with the difference. When the number of antennas is greater than two, it is possible to set a gradient detection step size that detects multiple dimensions and use the difference to replace the partial derivative to determine the adjustment gradient.
[0101] Specifically, in determining the adjustment gradient, the power ratio of each antenna needs to be polled in turn, that is, each power ratio is taken as the target power ratio in turn. The target power ratio is then adjusted using a preset gradient detection step size. Since the total transmit power of at least two antennas remains constant, the remaining power ratios change with the adjusted target power ratio. While taking at least two power ratios as the target power ratios in turn and adjusting them according to the gradient detection step size, the harmonic power signal corresponding to each target power ratio is continuously recorded through a coupler, and the corresponding third harmonic power value is determined; that is, the number of third harmonic power values is the same as the number of power ratios. At this point, the adjustment gradient can be calculated based on at least two third harmonic power values and the first harmonic power value before adjustment.
[0102] For example, the number of antennas is N, the gradient detection step size is ΔP, and the first harmonic power value is H. t The third harmonic power values are H1, H2, ..., H N Through H t With H1, H2, ..., H respectively N By comparing the two power ratios, we can determine the power ratio that has the greatest impact on harmonic power among at least two power ratios, and thus determine the adjustment gradient.
[0103] In this embodiment of the application, when the number of antennas and the number of tuners are both at least two, each power division ratio is sequentially used as the target power division ratio and adjusted by gradient detection step size. The adjustment gradient can be determined based on the adjusted power values of at least two third harmonics and the power values of the first harmonic before adjustment, so that subsequent adjustment of at least two power division ratios by adjusting the adjustment gradient can effectively reduce the harmonic power of at least two antennas.
[0104] In some embodiments of this application, determining the adjustment gradient based on at least two third harmonic power values and a first harmonic power value includes: calculating the difference between the at least two third harmonic power values and the first harmonic power value to obtain at least two second power differences; calculating the ratio between the at least two second power differences and the gradient detection step size to obtain at least two target ratios; and determining the adjustment gradient based on the at least two target ratios.
[0105] In this embodiment, at least two third harmonic power values are the harmonic powers detected after adjusting each target power ratio sequentially according to the gradient detection step size. At least two second power differences are obtained by subtracting the first harmonic power value from each of the at least two third harmonic power values. These at least two second power differences reflect the impact on the harmonic power of at least two antennas when different power ratios are adjusted as target power ratios. The ratio of these at least two power differences to the gradient detection step size is then calculated, and the adjustment gradient can be determined based on the calculated at least two target ratios.
[0106] For example, the second power difference is calculated using the following formula (3):
[0107] ΔH N =H t -H N (3)
[0108] Among them, H t H is the first harmonic power value. N The third harmonic power value, ΔH N This is the second power difference.
[0109] The adjustment gradient is calculated using the following formula (4):
[0110]
[0111] Among them, ΔH1, ΔH2..., ΔH N ΔP is the second power difference, ΔP is the gradient detection step size, and G is the adjusted gradient.
[0112] In this embodiment of the application, by sequentially polling each power division ratio as a target power division ratio and obtaining at least two corresponding second power differences, the adjustment gradient for subsequent adjustment of the power division ratio can be determined based on the at least two power differences, thereby further improving the accuracy of subsequent adjustment of the at least two power division ratios.
[0113] In some embodiments of this application, a control method is provided, applied to the electronic device in any of the above embodiments. Figure 12 A second flowchart of a control method provided in some embodiments of this application is shown, such as... Figure 12 As shown, the control methods include:
[0114] Step 1201: Set the coupler to reverse coupling via the switching device and obtain the first harmonic power value at the current moment;
[0115] Step 1202: Determine whether the first harmonic power value is greater than the power threshold. If the determination is no, proceed to step 1203; if the determination is yes, proceed to step 1204.
[0116] Step 1203: Delay for the preset duration, then return to step 1201.
[0117] Step 1204: Fine-tune at least two power ratios by gradient detection step size and detect and adjust gradient;
[0118] Step 1205: Adjust at least two power ratios according to the adjustment gradient;
[0119] Step 1206: The coupler detects the adjusted second resonant power;
[0120] Step 1207: Determine whether the first power difference is less than the difference threshold. If the determination is no, return to step 1204; if the determination is yes, proceed to step 1203.
[0121] The first power is represented by the difference between the second resonant power and the first resonant power.
[0122] In some embodiments of this application, a control device is provided, applied to the electronic device in any of the above embodiments. Figure 13 Schematic block diagrams of control devices provided in some embodiments of this application are shown. For example... Figure 13 As shown, the control device 1300 includes:
[0123] The control module 1302 is used to control the switching element to switch the coupling direction of the first path and the second path of the coupler to reverse coupling;
[0124] The receiving module 1304 is used to receive the harmonic power signal output from the second channel;
[0125] The adjustment module 1306 is used to control the adjustable power divider according to the harmonic power signal to adjust the power division ratio of at least two antennas.
[0126] In this embodiment, a coupler is provided in the antenna assembly to detect harmonic power. An adjustable power divider is also provided to adjust the transmit power of each antenna. Therefore, the controller can control the power ratio of at least two lines through the adjustable power divider while detecting the current harmonic power through the coupler. An optimization algorithm is then used to redistribute the transmit power of at least two antennas. While maintaining the transmit power of at least two antennas unchanged, the antenna path with poor nonlinearity among the at least two antennas bears less transmit power, thereby reducing the overall harmonic components generated by the tuner's nonlinearity in the antenna assembly and solving the problem of harmonic interference in the antenna tuner within the antenna assembly.
[0127] In some embodiments of this application, the control device 1300 further includes:
[0128] The determination module is used to determine at least two adjustment gradients of the power division ratio when the first harmonic power value is greater than the power threshold, wherein the first harmonic power value is the power value of the harmonic power signal before the power division ratio is adjusted;
[0129] The adjustment module 1306 is also used to adjust at least two power division ratios according to the adjustment gradient and step factor;
[0130] The determining module is also used to determine a first power difference between the first harmonic power value and the second harmonic power value, wherein the second harmonic power value is the power value of the harmonic power signal after adjusting the power division ratio according to the adjustment gradient;
[0131] The execution module is used to return to the step of determining the adjustment gradient of at least two power division ratios if the first power difference is greater than or equal to the difference threshold.
[0132] In this embodiment, when the first harmonic power value is detected to be greater than the power threshold, the gradient descent method is used to optimize the power division ratio. After determining the adjustment gradient, the adjustable power divider is controlled by adjusting the gradient and step coefficient to adjust at least two power division ratios. The adjusted second harmonic power is detected by the coupler. Then, based on whether the first power difference between the first harmonic power value and the second harmonic power is less than the difference threshold, it is determined whether the optimization process is completed. If the optimization process is not completed, the process returns to the step of determining the adjustment gradient to continue the optimization, which effectively reduces the harmonic level of the antenna tuner.
[0133] In some embodiments of this application, the execution module is further configured to, at a preset time interval, return to the step of receiving the harmonic power signal output by the second channel when the first power difference is less than the difference threshold.
[0134] In this embodiment, when the detected first power difference is less than the difference threshold, it is determined that the current optimization of the power division ratio through the adjustable power divider has been completed. Since users may hold electronic devices in different positions or near metal objects, causing harmonic power degradation in the tuner, after the current optimization is completed, after a preset interval, the first and second paths in the coupler are re-coupled in reverse to collect the current harmonic power signal and determine whether the next round of optimization needs to be restarted. This achieves real-time monitoring of the harmonic power of at least two antennas, enabling timely adjustment of the power division ratio of at least two antennas through the adjustable power divider when harmonic power is too high, effectively preventing excessive harmonic power.
[0135] In some embodiments of this application, the determining module is further configured to sequentially determine at least two power ratios as target power ratios;
[0136] The adjustment module 1306 is also used to adjust the target power ratio according to the gradient detection step size, and the power ratios other than the target power ratio among at least two power ratios change with the adjusted target power ratio.
[0137] The control device 1300 also includes:
[0138] The acquisition module is used to acquire at least two third harmonic power values corresponding to at least two power division ratios, wherein the at least two third harmonic power values are the power values of the harmonic power signals after adjusting the target power division ratio according to the gradient detection step size;
[0139] The determination module is used to determine the adjustment gradient based on at least two third harmonic power values and the first harmonic power value.
[0140] In this embodiment of the application, when the number of antennas and the number of tuners are both at least two, each power division ratio is sequentially used as the target power division ratio and adjusted by gradient detection step size. The adjustment gradient can be determined based on the adjusted power values of at least two third harmonics and the power values of the first harmonic before adjustment, so that subsequent adjustment of at least two power division ratios by adjusting the adjustment gradient can effectively reduce the harmonic power of at least two antennas.
[0141] In some embodiments of this application, the control device 1300 further includes:
[0142] The calculation module is used to calculate the difference between at least two third harmonic power values and the first harmonic power value to obtain at least two second power differences;
[0143] The calculation module is also used to calculate the ratio of at least two second power differences to the gradient detection step size to obtain at least two target ratios;
[0144] The determination module is also used to determine the adjustment gradient based on at least two target ratios.
[0145] In this embodiment of the application, by sequentially polling each power division ratio as a target power division ratio and obtaining at least two corresponding second power differences, the adjustment gradient for subsequent adjustment of the power division ratio can be determined based on the at least two power differences, thereby further improving the accuracy of subsequent adjustment of the at least two power division ratios.
[0146] The control device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.
[0147] The control device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0148] The control device provided in this application embodiment can implement the various processes implemented in the above method embodiments, and will not be described again here to avoid repetition.
[0149] Optionally, embodiments of this application also provide an electronic device, which includes a control device as described in any of the above embodiments, and thus has all the beneficial effects of the antenna assembly in any of the embodiments, which will not be elaborated further here.
[0150] Optionally, embodiments of this application also provide an electronic device. Figure 14 A structural block diagram of an electronic device according to an embodiment of this application is shown, such as... Figure 14 As shown, the electronic device 1400 includes a processor 1402, a memory 1404, and a program or instructions stored in the memory 1404 and executable on the processor 1402. When the program or instructions are executed by the processor 1402, they implement the various processes of the antenna component embodiments described above and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0151] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.
[0152] Figure 15 The diagram shows a hardware structure schematic of an electronic device in some embodiments of this application.
[0153] The electronic device 1500 includes, but is not limited to, components such as: radio frequency unit 1501, network module 1502, audio output unit 1503, input unit 1504, sensor 1505, display unit 1506, user input unit 1507, interface unit 1508, memory 1509, and processor 1510.
[0154] Those skilled in the art will understand that the electronic device 1500 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1510 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 15 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0155] The processor 1510 is used to control the switching device to switch the coupling direction of the first path and the second path of the coupler to reverse coupling.
[0156] Processor 1510 is used to receive the harmonic power signal output from the second channel;
[0157] The processor 1510 is used to control the adjustable power divider according to the harmonic power signal to adjust the power division ratio corresponding to at least two antennas.
[0158] In this embodiment, a coupler is provided in the antenna assembly to detect harmonic power. An adjustable power divider is also provided to adjust the transmit power of each antenna. Therefore, the controller can control the power ratio of at least two lines through the adjustable power divider while detecting the current harmonic power through the coupler. An optimization algorithm is then used to redistribute the transmit power of at least two antennas. While maintaining the transmit power of at least two antennas unchanged, the antenna path with poor nonlinearity among the at least two antennas bears less transmit power, thereby reducing the overall harmonic components generated by the tuner's nonlinearity in the antenna assembly and solving the problem of harmonic interference in the antenna tuner within the antenna assembly.
[0159] Furthermore, the processor 1510 is configured to determine at least two adjustment gradients for the power division ratio when the first harmonic power value is greater than a power threshold, wherein the first harmonic power value is the power value of the harmonic power signal before the power division ratio is adjusted.
[0160] Processor 1510 is used to adjust at least two power ratios based on the adjustment gradient and step factor;
[0161] Processor 1510 is used to determine a first power difference between a first harmonic power value and a second harmonic power value, wherein the second harmonic power value is the power value of the harmonic power signal after adjusting the power division ratio according to the adjustment gradient.
[0162] The processor 1510 is configured to return to the step of determining the adjustment gradient of at least two power division ratios if the first power difference is greater than or equal to the difference threshold.
[0163] In this embodiment, when the first harmonic power value is detected to be greater than the power threshold, the gradient descent method is used to optimize the power division ratio. After determining the adjustment gradient, the adjustable power divider is controlled by adjusting the gradient and step coefficient to adjust at least two power division ratios. The adjusted second harmonic power is detected by the coupler. Then, based on whether the first power difference between the first harmonic power value and the second harmonic power is less than the difference threshold, it is determined whether the optimization process is completed. If the optimization process is not completed, the process returns to the step of determining the adjustment gradient to continue the optimization, which effectively reduces the harmonic level of the antenna tuner.
[0164] Furthermore, the processor 1510 is configured to, after a preset time interval, return to the step of receiving the harmonic power signal output from the second channel when the first power difference is less than the difference threshold.
[0165] In this embodiment, when the detected first power difference is less than the difference threshold, it is determined that the current optimization of the power division ratio through the adjustable power divider has been completed. Since users may hold electronic devices in different positions or near metal objects, causing harmonic power degradation in the tuner, after the current optimization is completed, after a preset interval, the first and second paths in the coupler are re-coupled in reverse to collect the current harmonic power signal and determine whether the next round of optimization needs to be restarted. This achieves real-time monitoring of the harmonic power of at least two antennas, enabling timely adjustment of the power division ratio of at least two antennas through the adjustable power divider when harmonic power is too high, effectively preventing excessive harmonic power.
[0166] Furthermore, the processor 1510 is used to sequentially determine at least two power ratios as target power ratios;
[0167] Processor 1510 is used to adjust the target power ratio according to the gradient detection step size, and at least two power ratios other than the target power ratio change with the adjusted target power ratio.
[0168] Processor 1510 is configured to acquire at least two third harmonic power values corresponding to at least two power division ratios, wherein the at least two third harmonic power values are the power values of the harmonic power signals adjusted according to the target power division ratio based on the gradient detection step size.
[0169] Processor 1510 is used to determine the adjustment gradient based on at least two third harmonic power values and the first harmonic power value.
[0170] In this embodiment of the application, when the number of antennas and the number of tuners are both at least two, each power division ratio is sequentially used as the target power division ratio and adjusted by gradient detection step size. The adjustment gradient can be determined based on the adjusted power values of at least two third harmonics and the power values of the first harmonic before adjustment, so that subsequent adjustment of at least two power division ratios by adjusting the adjustment gradient can effectively reduce the harmonic power of at least two antennas.
[0171] Furthermore, the processor 1510 is used to calculate the difference between at least two third harmonic power values and the first harmonic power value respectively to obtain at least two second power differences;
[0172] Processor 1510 is used to calculate the ratio of at least two second power differences to the gradient detection step size to obtain at least two target ratios;
[0173] Processor 1510 is used to determine the adjustment gradient based on at least two target ratios.
[0174] In this embodiment of the application, by sequentially polling each power division ratio as a target power division ratio and obtaining at least two corresponding second power differences, the adjustment gradient for subsequent adjustment of the power division ratio can be determined based on the at least two power differences, thereby further improving the accuracy of subsequent adjustment of the at least two power division ratios.
[0175] It should be understood that, in this embodiment, the input unit 1504 may include a graphics processing unit (GPU) 15041 and a microphone 15042. The GPU 15041 processes image data of still images or motion files obtained by an image capture device (such as a camera) in motion file capture mode or image capture mode. The display unit 1506 may include a display panel 15061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1507 includes a touch panel 15071 and at least one of other input devices 15072. The touch panel 15071 is also called a touch screen. The touch panel 15071 may include a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0176] The memory 1509 can be used to store software programs and various data. The memory 1509 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1509 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1509 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0177] Processor 1510 may include one or more processing units; optionally, processor 1510 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1510.
[0178] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0179] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0180] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the antenna component embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0181] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0182] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the antenna component embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0183] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, apparatus, article, or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, apparatus, article, or device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, apparatus, article, or device that includes that element. Furthermore, it should be noted that the scope of the apparatus and devices in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described apparatus may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0184] Through the above description of the embodiments, those skilled in the art can clearly understand that the apparatus of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platform, and of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the apparatus of the various embodiments of this application.
[0185] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. An antenna assembly, characterized in that, include: RF power amplifier; A coupler, the coupler including a first path and a second path, the first path being coupled to the second path, and a first end of the first path being connected to the output end of the radio frequency power amplifier; A switching element is connected to the second path of the coupler, and the switching element is used to switch the coupling direction between the first path and the second path; An adjustable power divider, wherein the input terminal of the adjustable power divider is connected to the second terminal of the first path; At least two antennas are connected to at least two output terminals of the adjustable power divider; At least two tuners are connected to at least two of the antennas, respectively; The controller is connected to the second path, the controller is connected to the control terminal of the switch, and the controller is connected to the adjustable power divider. When the coupling direction is reverse coupling, the second path is used to transmit harmonic power signals to the controller, and the controller is used to control the adjustable power divider according to the harmonic power signals to adjust the power division ratio corresponding to at least two of the antennas.
2. The antenna assembly according to claim 1, characterized in that, The switching element includes: A first moving contact and a second moving contact, wherein the first moving contact is connected to the first end of the second passage, and the second moving contact is connected to the second end of the second passage; First stationary contact and second stationary contact, the first stationary contact is grounded, and the second stationary contact is connected to the controller; Wherein, if the first moving contact is connected to the first stationary contact and the second moving contact is connected to the second stationary contact, the coupling direction is reverse coupling.
3. The antenna assembly according to claim 2, characterized in that, When the coupling direction is in positive coupling, the second path is used to transmit the transmit power signal to the controller; Wherein, when the first moving contact is connected to the second stationary contact, and the second moving contact is connected to the first stationary contact, the coupling direction is positive coupling.
4. The antenna assembly according to claim 2 or 3, characterized in that, Also includes: A resistor, the first end of which is connected to the first stationary contact of the switch, and the second end of which is grounded.
5. An electronic device, characterized in that, include: The antenna assembly as described in any one of claims 1 to 4.
6. A control method, characterized in that, The control method, applied to the electronic device of claim 5, comprises: The control switch switches the coupling direction of the first and second paths of the coupler to reverse coupling; Receive the harmonic power signal output from the second channel; The adjustable power divider is controlled according to the harmonic power signal to adjust the power division ratio of at least two antennas.
7. The control method according to claim 6, characterized in that, The step of controlling the adjustable power divider according to the harmonic power signal to adjust the power division ratio corresponding to at least two antennas includes: When the first harmonic power value is greater than the power threshold, at least two adjustment gradients of the power division ratio are determined, wherein the first harmonic power value is the power value of the harmonic power signal before the power division ratio is adjusted. Adjust at least two power ratios according to the adjustment gradient and step coefficient; Determine a first power difference between the first harmonic power value and the second harmonic power value, wherein the second harmonic power value is the power value of the harmonic power signal after adjusting the power division ratio according to the adjustment gradient; If the first power difference is greater than or equal to the difference threshold, return to the step of determining the adjustment gradient of at least two of the power division ratios.
8. The control method according to claim 7, characterized in that, After determining the first power difference between the first harmonic power value and the second harmonic power value, the control method further includes: If the first power difference is less than the difference threshold, the process returns to the step of receiving the harmonic power signal output from the second channel after a preset time interval.
9. The control method according to claim 7, characterized in that, Determining the adjustment gradients for at least two of the power division ratios includes: At least two of the aforementioned power ratios are sequentially determined as the target power ratios; The target power ratio is adjusted according to the gradient detection step size, and at least two of the power ratios, excluding the target power ratio, change with the adjusted target power ratio. Obtain at least two third harmonic power values corresponding to at least two of the power division ratios, wherein the at least two third harmonic power values are the power values of the harmonic power signal after adjusting the target power division ratio according to the gradient detection step size; The adjustment gradient is determined based on at least two of the third harmonic power values and the first harmonic power value.
10. The control method according to claim 9, characterized in that, Determining the adjustment gradient based on at least two of the third harmonic power values and the first harmonic power value includes: The difference between at least two of the third harmonic power values and the first harmonic power value is calculated to obtain at least two second power differences; At least two second power differences are respectively compared with the gradient detection step size to obtain at least two target ratios; The adjustment gradient is determined based on at least two of the target ratios.
11. A control device, characterized in that, The control device, applied to the electronic device of claim 5, comprises: The control module is used to control the switching device to switch the coupling direction of the first and second paths of the coupler to reverse coupling; A receiving module is used to receive the harmonic power signal output from the second channel; The adjustment module is used to control the adjustable power divider according to the harmonic power signal to adjust the power division ratio corresponding to at least two antennas.
12. The control device according to claim 11, characterized in that, Also includes: The determination module is used to determine at least two adjustment gradients of the power division ratio when the first harmonic power value is greater than the power threshold, wherein the first harmonic power value is the power value of the harmonic power signal before the power division ratio is adjusted. The adjustment module is also used to adjust at least two power division ratios according to the adjustment gradient and step coefficient; The determining module is further configured to determine a first power difference between the first harmonic power value and the second harmonic power value, wherein the second harmonic power value is the power value of the harmonic power signal after the power division ratio is adjusted according to the adjustment gradient; An execution module is configured to return to the step of determining the adjustment gradient of at least two of the power division ratios if the first power difference is greater than or equal to the difference threshold.
13. The control device according to claim 12, characterized in that, The execution module is further configured to, at a preset time interval, return to the step of receiving the harmonic power signal output by the second channel when the first power difference is less than the difference threshold.
14. The control device according to claim 12, characterized in that, The determining module is further configured to sequentially determine at least two of the power division ratios as target power division ratios; The adjustment module is further configured to adjust the target power ratio according to the gradient detection step size, and the remaining power ratios of at least two of the power ratios, excluding the target power ratio, change with the adjusted target power ratio; The control device further includes: An acquisition module is used to acquire at least two third harmonic power values corresponding to at least two of the power division ratios, wherein the at least two third harmonic power values are the power values of the harmonic power signals after the target power division ratio is adjusted according to the gradient detection step size; The adjustment gradient is determined based on at least two of the third harmonic power values and the first harmonic power value.
15. The control device according to claim 14, characterized in that, Also includes: The calculation module is used to calculate the difference between at least two third harmonic power values and the first harmonic power value to obtain at least two second power differences; The calculation module is also used to calculate the ratio of at least two second power differences with the gradient detection step size to obtain at least two target ratios; The determining module is further configured to determine the adjustment gradient based on at least two of the target ratios.
16. An electronic device, characterized in that, include: A processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in any one of claims 6 to 10.
17. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the method as described in any one of claims 6 to 10.
Citation Information
Patent Citations
Radio frequency parameter detection circuit and method and electronic equipment
CN112291022A
Directional calibration device and method for bidirectional coupler
CN114868344A