Communication method and apparatus, storage medium, computer program product
By performing gain compensation on the power feedback circuit of the mobile terminal, the power runaway problem caused by nonlinearity was solved, thereby improving the accuracy of transmit power calibration and enhancing the communication experience.
Patent Information
- Application Number
- CN202411897345.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2026-06-23
AI Technical Summary
When mobile terminals are calibrating their transmit power, the fitting curve in the nonlinear region may cause power runaway risk, affecting user experience and communication performance.
By acquiring the gain compensation data of the power feedback circuit, the gain of the power feedback circuit is compensated, and the transmit power is calibrated based on the compensated power feedback circuit to obtain target calibration data, so as to ensure that different measured powers correspond to different feedback powers.
It improves the accuracy of transmit power calibration, reduces the risk of power runaway, simplifies the difficulty of adjusting transmit power, reduces the power consumption of mobile terminals, and enhances the communication experience.
Smart Images

Figure CN122268501A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to communication methods and apparatus, storage media, and computer program products. Background Technology
[0002] When a mobile terminal communicates, it can typically adjust its current transmit power by using data obtained from transmit power calibration to achieve a target transmit power. However, in practical designs, due to mismatches or significant front-end losses, the fitted curve corresponding to the transmit power calibration data may have a non-linear region. Therefore, when the mobile terminal adjusts its power based on this non-linear fitted curve, there is a risk of power runaway if the adjustment is mapped to the non-linear region, thus affecting the user experience. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides a communication method and apparatus, a storage medium, and a computer program product.
[0004] According to a first aspect of the present disclosure, a communication method is provided, comprising:
[0005] Obtain the gain compensation data of the power feedback circuit in the mobile terminal;
[0006] Based on the gain compensation data, the gain of the power feedback circuit is compensated.
[0007] Based on the compensated power feedback circuit, the mobile terminal's transmit power is calibrated to obtain target calibration data.
[0008] In the target calibration data, different measured powers correspond to different feedback powers; the measured power and the corresponding feedback power are used to adjust the current transmission power of the mobile terminal when the mobile terminal performs preset communication.
[0009] In some embodiments, obtaining the gain compensation data of the power feedback circuit in the mobile terminal includes:
[0010] The initial gain of the attenuator in the power feedback circuit and / or the initial gain of the amplifier in the power feedback circuit are adjusted to obtain the target gain.
[0011] The gain compensation data is obtained based on the target gain.
[0012] In some embodiments, adjusting the initial gain of the attenuator in the power feedback circuit and / or the initial gain of the amplifier in the power feedback circuit to obtain the target gain includes:
[0013] Based on the initial gain of the attenuator, the i-th gain of the attenuator is obtained; where i is a positive integer greater than or equal to 1.
[0014] Based on the i-th gain of the attenuator, the i-th difference between the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples is obtained; the power of the second group of samples is different from the power of the first group of samples.
[0015] If the i-th gain of the attenuator is less than the preset maximum attenuation gain, and the absolute value of the i-th difference is less than or equal to a preset threshold, then the i-th gain of the attenuator is taken as the target gain.
[0016] In some embodiments, obtaining the i-th gain of the attenuator based on its initial gain includes:
[0017] When i is 1, the initial gain of the attenuator is taken as the i-th gain of the attenuator;
[0018] or,
[0019] If i is greater than or equal to 2, and if the (i-1)th gain of the attenuator is less than the preset maximum attenuation gain, and the absolute value of the (i-1)th difference is greater than the preset threshold, the (i-1)th gain of the attenuator is adjusted to obtain the i-th gain of the attenuator.
[0020] In some embodiments, adjusting the initial gain of the attenuator in the power feedback circuit and / or the initial gain of the amplifier in the power feedback circuit to obtain the target gain includes:
[0021] If the i-th gain of the attenuator is greater than or equal to the preset maximum attenuation gain, and the absolute value of the i-th difference is greater than the preset threshold, the j-th gain of the amplifier is obtained based on the initial gain of the amplifier; where j is a positive integer greater than or equal to 1.
[0022] Based on the i-th gain of the attenuator and the j-th gain of the amplifier, the j-th difference between the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples is obtained;
[0023] If the j-th difference is less than or equal to the preset threshold, the i-th gain of the attenuator and the j-th gain of the amplifier are taken as the target gain.
[0024] In some embodiments, obtaining the j-th gain of the amplifier based on the amplifier's initial gain includes:
[0025] When j is 1, the initial gain of the amplifier is adjusted to obtain the j-th gain of the amplifier;
[0026] or,
[0027] If j is greater than or equal to 2, and if the absolute value of the (j-1)th difference is greater than the preset threshold, the (j-1)th gain of the amplifier is adjusted to obtain the j-th gain of the amplifier.
[0028] In some embodiments, obtaining the gain compensation data based on the target gain includes:
[0029] When the target gain includes the target gain of the attenuator, the gain compensation value of the attenuator is obtained based on the difference between the target gain of the attenuator and the initial gain of the attenuator; and / or,
[0030] When the target gain includes the target gain of the amplifier, the gain compensation value of the amplifier is obtained based on the difference between the target gain of the amplifier and the initial gain of the amplifier.
[0031] In some embodiments, compensating the gain of the power feedback circuit based on the gain compensation data includes:
[0032] If the gain compensation data includes the gain compensation value of the attenuator in the power feedback circuit, the gain of the attenuator is compensated based on the gain compensation value of the attenuator; and / or,
[0033] When the gain compensation data includes the gain compensation value of the amplifier in the power feedback circuit, the gain of the amplifier is compensated based on the gain compensation value of the amplifier.
[0034] According to a second aspect of the present disclosure, a communication method is provided, comprising:
[0035] When a preset communication is detected by the mobile terminal, the feedback power sampled by the power feedback circuit of the mobile terminal is obtained.
[0036] Based on the feedback power and the preset target calibration data, the measured power corresponding to the feedback power is obtained; wherein, the target calibration data is obtained by compensating the gain of the power feedback circuit based on gain compensation data, and calibrating the transmit power based on the compensated power feedback circuit.
[0037] Based on the measured power and the target transmission power of the mobile terminal for the preset communication, the current transmission power of the mobile terminal is adjusted.
[0038] According to a third aspect of the present disclosure, a communication device is provided, comprising:
[0039] The compensation acquisition unit is configured to acquire gain compensation data of the power feedback circuit in the mobile terminal;
[0040] The compensation adjustment unit is configured to compensate the gain of the power feedback circuit based on the gain compensation data.
[0041] The calibration unit is configured to perform transmit power calibration on the mobile terminal based on the compensated power feedback circuit to obtain target calibration data.
[0042] In the target calibration data, different measured powers correspond to different feedback powers; the measured power and the corresponding feedback power are used to adjust the current transmission power of the mobile terminal when the mobile terminal performs preset communication.
[0043] According to a fourth aspect of the present disclosure, a communication device is provided, comprising:
[0044] The power acquisition unit is configured to acquire the feedback power sampled by the power feedback circuit of the mobile terminal when the mobile terminal is detected to be conducting a preset communication.
[0045] The power acquisition unit is configured to obtain the measured power corresponding to the feedback power based on the feedback power and preset target calibration data; wherein, the target calibration data is obtained by compensating the gain of the power feedback circuit based on gain compensation data and calibrating the transmission power based on the compensated power feedback circuit.
[0046] The adjustment unit is configured to adjust the current transmission power of the mobile terminal based on the measured power and the target transmission power for the preset communication of the mobile terminal.
[0047] According to a fifth aspect of the present disclosure, a communication device is provided, comprising:
[0048] processor;
[0049] Memory used to store computer programs or instructions;
[0050] The processor executes the computer program or instructions to implement the steps of the method described in the first or second aspect.
[0051] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, the storage medium storing a computer program or instructions that, when executed by a processor, implement the steps of the method described in the first or second aspect above.
[0052] According to a seventh aspect of the present disclosure, a computer program product is provided, including a computer program or instructions, which, when executed by a processor, implement the steps of the method described in the first or second aspect.
[0053] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0054] In this embodiment, the gain of the power feedback circuit is first compensated based on the gain compensation data, and then the transmit power is calibrated based on the compensated power feedback circuit to obtain target calibration data. Furthermore, different measured powers in the target calibration data correspond to different feedback powers.
[0055] In other words, the embodiments of this disclosure compensate the gain of the power feedback circuit by using gain compensation data before performing transmit power calibration, so that the actual power obtained by transmit power calibration has a single mapping relationship with the feedback power. Thus, when adjusting the current transmit power of the mobile terminal, the measured power corresponding to the more accurate feedback power can be found based on the target calibration data.
[0056] In this way, by improving the accuracy of the current transmit power of the mobile terminal based on the target calibration data, the difficulty of adjustment caused by the inaccuracy of the measured power corresponding to the searched feedback power is reduced, which also affects the use of communication. This not only reduces the situation of power runaway and simplifies the difficulty of adjusting the current transmit power, but also reduces the actual power consumption of the mobile terminal, thereby improving the user experience of communication.
[0057] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0058] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0059] Figure 1 This is a schematic diagram of a conventional fitting curve obtained using conventional power calibration, according to an exemplary embodiment.
[0060] Figure 2 This is a flowchart illustrating a communication method according to an exemplary embodiment. Figure 1 .
[0061] Figure 3 This is a schematic diagram of a communication circuit that uses the CLPC mechanism for high-power transmission according to an exemplary embodiment.
[0062] Figure 4This is a schematic diagram illustrating transmit power calibration according to an exemplary embodiment.
[0063] Figure 5 This is a schematic diagram illustrating the fitting curve of the present disclosure according to an exemplary embodiment.
[0064] Figure 6 This is a schematic diagram illustrating the selection of two sets of sample power according to an exemplary embodiment.
[0065] Figure 7 This is a comparative schematic diagram of the fitted curves obtained from transmit power calibration according to an exemplary embodiment.
[0066] Figure 8 This is a schematic diagram of a communication method flow according to an exemplary embodiment. Figure 2 .
[0067] Figure 9 This is a schematic diagram illustrating the iteration of an attenuator and amplifier to obtain gain compensation data according to an exemplary embodiment.
[0068] Figure 10 This is a schematic diagram showing a comparison between a conventional fitting curve and a fitting curve obtained after compensation according to an exemplary embodiment.
[0069] Figure 11 This is a schematic diagram of a communication method according to an exemplary embodiment. Figure 3 .
[0070] Figure 12 This is a communication device frame illustrated according to an exemplary embodiment. Figure 1 .
[0071] Figure 13 This is a communication device frame illustrated according to an exemplary embodiment. Figure 2 .
[0072] Figure 14 This is a structural block diagram of a mobile terminal according to an exemplary embodiment. Detailed Implementation
[0073] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0074] In related technologies, Wireless Fidelity (Wi-Fi) uplink transmission schemes typically employ high-power transmission and utilize Closed Loop Power Control (CLPC). Because Wi-Fi's CLPC control method adds a power feedback circuit, when calibrating the transmission power of a mobile terminal, the feedback power can be detected through the power feedback circuit, and the measured power corresponding to different feedback powers can be obtained through an instrument. Furthermore, a fitting curve can be obtained by fitting the feedback power and the measured power corresponding to different feedback powers.
[0075] For example, Figure 1 This is a schematic diagram illustrating a conventional fitting curve obtained using conventional power calibration, according to an exemplary embodiment. Figure 1 As shown, when the maximum target power transmitted by the mobile terminal is Pmax, the measured power Pmeas is a, and the feedback power Pdadc corresponding to the measured power Pmeas is Φ.
[0076] In practical applications, transmission is performed at the maximum target power Pmax, and the feedback power Pdadc detected by the power feedback circuit is Φ. For example... Figure 1 As shown, since the traditional fitting curve has a nonlinear region, the curve corresponding to this nonlinear region will be compressed. Therefore, the measured power Pmeas corresponding to the feedback power Pdadc Φ obtained by the traditional fitting curve is b, instead of the measured power Pmeas corresponding to the feedback power Pdadcc Φ being a. That is, the feedback power obtained is an incorrect measured power.
[0077] Thus, comparing the incorrect measured power with the maximum target power will lead to the conclusion that the current transmit power of the mobile terminal is too low, and the gain will be further increased, resulting in the final transmit power of the mobile terminal being much higher than the maximum target power. This poses a risk of power runaway, which not only increases the difficulty of debugging, but also affects the actual power consumption of the mobile terminal and the user experience of communication.
[0078] To address the aforementioned problems, this disclosure proposes a communication method. This communication method is applied in a calibration device, which executes the communication method to control a mobile terminal to perform transmit power calibration.
[0079] Figure 2 This is a flowchart illustrating a communication method according to an exemplary embodiment. Figure 1 .like Figure 2 As shown, the communication method performed by the calibration equipment mainly includes the following steps:
[0080] S101. Obtain the gain compensation data of the power feedback circuit in the mobile terminal;
[0081] S102. Based on the gain compensation data, compensate the gain of the power feedback circuit;
[0082] S103. Based on the compensated power feedback circuit, the mobile terminal's transmission power is calibrated to obtain target calibration data;
[0083] In the target calibration data, different measured powers correspond to different feedback powers; the measured power and the corresponding feedback power are used to adjust the current transmission power of the mobile terminal when the mobile terminal performs preset communication.
[0084] In this embodiment of the disclosure, the calibration device may include any device that has established a communication connection with the mobile terminal and is capable of controlling the mobile terminal. The calibration device may include, but is not limited to, industrial control equipment.
[0085] The aforementioned communication method is applied in scenarios involving the calibration of the transmission power of mobile terminals. These mobile terminals include mobile phones, tablets, laptops, or wearable devices, among which wearable devices include smartwatches or smart bracelets.
[0086] For example, during the pre-shipment debugging phase, before the calibration equipment uses the communication method of this embodiment to calibrate the mobile phone's transmission power, it first compensates the power feedback circuit of the mobile terminal based on gain compensation data, and then calibrates the transmission power based on the compensated power feedback circuit. This makes different measured powers in the target calibration data correspond to different feedback powers. As a result, when adjusting the mobile phone for Wi-Fi communication, it can find a more accurate measured power corresponding to the feedback power based on the target calibration data. This reduces the difficulty of adjustment and the impact on Wi-Fi usage caused by inaccurate measured power corresponding to the found feedback power.
[0087] It should be noted that mobile terminals can use communication circuits to transmit at high power when communicating. Figure 3 This is a schematic diagram of a communication circuit employing the CLPC mechanism for high-power transmission according to an exemplary embodiment. Figure 3 As shown, the communication circuit includes a communication chip, a transmission link, a coupler, and a power feedback circuit connecting the coupler and the communication chip.
[0088] The coupler can couple out a portion of the signal power transmitted through the transmission link to the power feedback circuit for feedback purposes, while the remaining signal power continues to be transmitted to the antenna radiator and radiated out in the form of electromagnetic waves. The power feedback circuit is used to detect the feedback power when the mobile terminal is performing preset communication, so as to facilitate the adjustment of the current transmission power of the mobile terminal based on the measured power corresponding to the feedback power.
[0089] In step S101, gain compensation data of the power feedback circuit in the mobile terminal is obtained. This gain compensation data can be used to compensate the gain of the power feedback circuit.
[0090] It should be noted that in some embodiments, the acquired gain compensation data can be written into the calibration device, and the stored gain compensation data can be directly obtained during the process of using the calibration device to control the mobile phone to perform transmit power calibration.
[0091] Of course, in other embodiments, gain compensation data sent by other devices with which a communication connection has been established can be received, and the received gain compensation data can be used directly to control the mobile terminal to compensate the gain of the power feedback circuit.
[0092] In step S102, after acquiring the gain compensation data, the gain of the power feedback circuit can be compensated based on the gain compensation data.
[0093] It should be noted that the power feedback circuit includes at least an amplifier and an attenuator. This gain compensation data can be used to compensate for the gain of the amplifier and / or the attenuator.
[0094] In some embodiments, compensating the gain of the power feedback circuit based on the gain compensation data includes:
[0095] If the gain compensation data includes the gain compensation value of the attenuator in the power feedback circuit, the gain of the attenuator is compensated based on the gain compensation value of the attenuator; and / or,
[0096] When the gain compensation data includes the gain compensation value of the amplifier in the power feedback circuit, the gain of the amplifier is compensated based on the gain compensation value of the amplifier.
[0097] In other words, the embodiments of this disclosure can perform gain compensation on the attenuator gain, or on the amplifier gain, or simultaneously on both the attenuator gain and the amplifier gain. Thus, the embodiments of this disclosure enable more flexible gain compensation of the power feedback circuit according to requirements.
[0098] In this embodiment of the disclosure, compensating the gain of the attenuator based on its gain compensation value may include: adding the attenuator's current gain during calibration to the attenuator's gain compensation value to obtain the compensated attenuator. Compensating the gain of the amplifier based on its gain compensation value may include: adding the amplifier's current gain during calibration to the amplifier's gain compensation value to obtain the compensated amplifier.
[0099] In step S103, after compensating the gain of the power feedback circuit, the mobile terminal's transmit power can be calibrated based on the compensated power feedback circuit to obtain target calibration data.
[0100] Here, the compensated power feedback circuit includes a compensated attenuator and / or a compensated amplifier. That is, based on the compensated attenuator and / or the compensated amplifier, the transmit power of the mobile terminal is calibrated to obtain the target calibration data.
[0101] In this embodiment of the disclosure, the transmission power calibration based on the compensated power feedback circuit to obtain the target calibration data may include: sequentially increasing the sample transmission power when the sample transmission power is greater than a preset value, and using the power feedback circuit to detect the feedback power at this time. Here, the calibration device can obtain the target calibration data by acquiring different measured powers corresponding to different feedback powers.
[0102] For example, Figure 4 This is a schematic diagram illustrating transmit power calibration according to an exemplary embodiment. Figure 4 As shown, the communication chip includes a Wi-Fi chip. Before calibrating the mobile terminal's transmit power during the pre-shipment debugging phase, the test socket is connected to an instrument. The calibration equipment triggers the Wi-Fi chip to output transmit power sequentially from smallest to largest sample power. Simultaneously, the calibration equipment is connected to the instrument and acquires the measured power obtained by the instrument. When the sample transmit power is greater than or equal to 7dBm, the CLPC mechanism is activated, and the compensated power feedback circuit detects the feedback power Pdadc and the corresponding measured power Pmeas. Thus, the calibration equipment can obtain the target calibration data.
[0103] It should be noted that the different feedback powers in the target calibration data, and the different measured powers corresponding to the different feedback powers, can be used to adjust the current transmission power of the mobile terminal when the mobile terminal is conducting preset communication.
[0104] Here, the preset communication includes Wi-Fi communication, Bluetooth communication, or cellular communication, etc., and this disclosure does not limit this.
[0105] In this embodiment, different feedback powers in the target calibration data and the corresponding measured powers can be mapped one-to-one to obtain the fitting curve of this disclosure. Here, the measured power can be obtained based on the fitting curve of this disclosure and the feedback power currently detected by the mobile terminal, and then compared with the target transmission power. If the measured power is greater than the target transmission power, the gain of the power feedback circuit when the mobile terminal performs preset communication can be reduced; if the measured power is less than the target transmission power, the gain of the power feedback circuit when the mobile terminal performs preset communication can be increased. In this way, the current transmission power of the mobile terminal can be adjusted.
[0106] Exemplarily, Figure 5 is a schematic diagram of the fitting curve of the present disclosure shown according to an exemplary embodiment. As Figure 5 shown, when the target transmission power is a, if the feedback power Pdadc = m obtained after attenuation and amplification by the power feedback circuit, the measured power Pmeas = b corresponding to m is obtained by looking up the fitting curve of the present disclosure. At this time, compare the magnitudes of a and b. If a > b, lower the gain of the power feedback circuit. If a < b, increase the gain of the power feedback circuit. Eventually, b can be made to approach a. Thus, by adjusting the gain of the power feedback circuit to control the current transmission power of the mobile terminal, the accuracy of the transmission power can be improved.
[0107] It can be understood that the embodiments of the present disclosure first compensate the gain of the power feedback circuit based on the gain compensation data, and then perform transmission power calibration based on the compensated power feedback circuit to obtain the target calibration data. And different measured powers in the target calibration data correspond to different feedback powers.
[0108] That is to say, the embodiments of the present disclosure compensate the gain of the power feedback circuit with the gain compensation data before performing transmission power calibration, so that the actual power obtained by the transmission power calibration and the feedback power have a single mapping relationship. Furthermore, when adjusting the current transmission power of the mobile terminal, the measured power corresponding to a more accurate feedback power can be found based on the target calibration data.
[0109] Thus, while improving the accuracy of the current transmission power of the mobile terminal based on the target calibration data, the situation of large adjustment difficulty and affecting communication use caused by inaccurate measured power corresponding to the searched feedback power is reduced. It can not only simplify the adjustment difficulty of the current transmission power, but also reduce the actual power consumption of the mobile terminal, thereby improving the experience of communication use.
[0110] In some embodiments, the obtaining of the gain compensation data of the power feedback circuit in the mobile terminal includes:
[0111] Adjust the initial gain of the attenuator in the power feedback circuit and / or the initial gain of the amplifier in the power feedback circuit to obtain the target gain;
[0112] Based on the target gain, obtain the gain compensation data.
[0113] In the embodiments of the present disclosure, the initial gain of the attenuator can be adjusted, the initial gain of the amplifier can also be adjusted, and the initial gains of both the attenuator and the amplifier can be adjusted separately.
[0114] It should be noted that different target gains of different devices correspond to different gain compensation data of different devices.
[0115] In some embodiments, obtaining the gain compensation data based on the target gain includes:
[0116] When the target gain includes the target gain of the attenuator, the gain compensation value of the attenuator is obtained based on the difference between the target gain of the attenuator and the initial gain of the attenuator; and / or,
[0117] When the target gain includes the target gain of the amplifier, the gain compensation value of the amplifier is obtained based on the difference between the target gain of the amplifier and the initial gain of the amplifier.
[0118] For example, the gain compensation value A of the attenuator offset =AA 初始 The amplifier's gain compensation value G offset =GG 初始 Among them, A 初始 Let G represent the initial gain of the attenuator, and A represent the target gain of the attenuator; 初始 Let G represent the initial gain of the amplifier, and G represent the target gain of the amplifier.
[0119] In this embodiment of the disclosure, when the target gain includes the target gain of the attenuator and the target gain of the amplifier, the gain compensation value of the attenuator and the gain compensation value of the amplifier can be obtained.
[0120] It is understood that the embodiments of this disclosure adjust the initial gain of the attenuator and / or the initial gain of the amplifier to obtain a target gain, and obtain gain compensation data based on the target gain. In other words, the embodiments of this disclosure can obtain the gain compensation data through calculation without adding any additional hardware circuitry.
[0121] Thus, the embodiments of this disclosure not only enable the gain of the power feedback circuit to be compensated by gain compensation data before the transmission power calibration, so that the measured power corresponding to the more accurate feedback power can be found based on the target calibration data, thereby improving the communication experience, but also have the effect of simplifying the circuit and reducing the circuit space occupied by not adding additional hardware circuit structure.
[0122] In some embodiments, adjusting the initial gain of the attenuator in the power feedback circuit and / or the initial gain of the amplifier in the power feedback circuit to obtain the target gain includes:
[0123] Based on the initial gain of the attenuator, the i-th gain of the attenuator is obtained; where i is a positive integer greater than or equal to 1.
[0124] Based on the i-th gain of the attenuator, the i-th difference between the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples is obtained; the power of the second group of samples is different from the power of the first group of samples.
[0125] If the i-th gain of the attenuator is less than or equal to the preset maximum attenuation gain, and the absolute value of the i-th difference is less than or equal to the preset threshold, then the i-th gain of the attenuator is taken as the target gain.
[0126] In this embodiment, considering that the attenuator is a passive device and the amplifier is an active device, directly adjusting the amplifier gain might affect stability. Therefore, this embodiment prioritizes determining the target gain based on the initial gain of the attenuator during the calculation of the target gain. If the target gain can be determined based on the initial gain of the attenuator, there is no need to adjust the amplifier gain; if the target gain cannot be determined based on the initial gain of the attenuator, the amplifier gain is further adjusted. In this way, the stability of communication by the mobile terminal can be maximized.
[0127] It should be noted that the method of obtaining the i-th gain of the attenuator differs depending on the number of cycles i.
[0128] In some embodiments, obtaining the i-th gain of the attenuator based on its initial gain includes:
[0129] When i is 1, the initial gain of the attenuator is taken as the i-th gain of the attenuator;
[0130] or,
[0131] If i is greater than or equal to 2, and if the (i-1)th gain of the attenuator is less than the preset maximum attenuation gain, and the absolute value of the (i-1)th difference is greater than the preset threshold, the (i-1)th gain of the attenuator is adjusted to obtain the i-th gain of the attenuator.
[0132] It should be noted that, initially, the attenuator's initial gain can be directly used as the attenuator's i-th gain; in subsequent iterations, when the absolute value of the (i-1)-th difference is greater than a preset threshold, the attenuator's (i-1)-th gain needs to be adjusted to obtain the attenuator's i-th gain. In other words, this embodiment of the present disclosure iteratively adjusts the attenuator's gain so that the absolute value of the i-th difference is less than or equal to the preset threshold.
[0133] In this embodiment of the disclosure, adjusting the (i-1)th gain of the attenuator to obtain the i-th gain of the attenuator may include: obtaining the i-th gain of the attenuator based on the sum of the (i-1)th gain of the attenuator and a preset attenuation gain. Here, the preset attenuation gain can be set according to actual needs, and this embodiment of the disclosure does not limit it.
[0134] In this embodiment of the disclosure, after obtaining the i-th gain of the attenuator, the i-th difference between the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples can be obtained based on the i-th gain of the attenuator.
[0135] It should be noted that the first and second sets of sample powers can be selected based on the power within the CLPC calibration range. If the power within the first preset power range is a power within the CLPC calibration range that is less than a preset power, then the first set of sample powers can include at least two powers selected within the first preset power range. For example, the first preset power range includes a range of 8dBm to 14dBm. Here, two different powers can be selected within the 8dBm to 14dBm range as the first set of sample powers.
[0136] If the power in the second preset power range is a power greater than the preset power within the CLPC calibration interval, then the second set of sample power can include at least two powers selected within the second preset power range. For example, the second preset power range includes a range of 18dBm to 24dBm. Here, two different powers can be selected within the 18dBm to 24dBm range as the second set of sample power.
[0137] For example, Figure 6 This is a schematic diagram illustrating the selection of two sets of sample power according to an exemplary embodiment. For example... Figure 6 As shown, x1 and x2 can be selected as the first group of sample powers, and y1 and y2 can be selected as the second group of sample powers.
[0138] In this embodiment of the disclosure, during the pre-calibration process based on the power feedback circuit composed of an attenuator with the i-th gain, two different powers included in the first group of sample power are transmitted, and the corresponding two first measured powers and two first feedback powers are recorded. The first difference between the two first feedback powers and the second difference between the two first measured powers can be obtained. Finally, the slope corresponding to the first group of sample power can be obtained based on the ratio between the first difference and the second difference.
[0139] For example, such as Figure 6As shown, the first difference can be obtained based on the first feedback power m2 and the first feedback power m1, the second difference can be obtained based on the first measured power x2 and the first measured power x1, and finally the slope kx corresponding to the power of the first group of samples can be obtained based on the ratio between the first difference and the second difference.
[0140] Similarly, the second set of sample power can be transmitted using two different powers, and the corresponding two second measured powers and two second feedback powers can be recorded. The third difference between the two second feedback powers and the fourth difference between the two second measured powers can be obtained. Finally, the slope corresponding to the second set of sample power can be obtained based on the ratio between the third difference and the fourth difference.
[0141] For example, such as Figure 6 As shown, the third difference can be obtained based on the second feedback power n2 and the first feedback power n1, and the fourth difference can be obtained based on the second measured power y2 and the second measured power y1. Finally, the slope ky corresponding to the power of the second group of samples can be obtained based on the ratio between the third difference and the fourth difference.
[0142] It should be noted that the power of the first group of samples and the power of the second group of samples can each include three or more powers, and the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples can be obtained by averaging.
[0143] Here, after obtaining the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples based on the i-th gain of the attenuator, the i-th difference between the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples can be obtained.
[0144] It should be noted that during the pre-calibration process based on the power feedback circuit composed of an attenuator with the i-th gain, the gain of the amplifier in the power feedback circuit is the initial gain and is not adjusted. In other words, this pre-calibration is based on the power feedback circuit composed of an attenuator with the i-th gain and an amplifier with the initial gain, thereby obtaining the i-th difference between the slope corresponding to the power of the first set of samples and the slope corresponding to the power of the second set of samples.
[0145] It is understandable that, considering the continuous changes in the gain of the attenuator and the gain of the amplifier in the power feedback circuit during actual transmit power calibration, this embodiment of the present disclosure first performs a linearity judgment during the pre-calibration process. That is, it compares the slope corresponding to the power of the second set of samples with the slope corresponding to the power of the first set of samples to determine in advance whether the fitted curve obtained by calibration has a nonlinear region.
[0146] It should be noted that if the absolute value of the i-th difference is less than or equal to the preset threshold, it indicates that the fitted curve obtained by pre-calibration does not exhibit a non-linear region, meaning the fitted curve obtained by pre-calibration is a linear curve, and there is no need to further adjust the attenuator gain. If the absolute value of the i-th difference is greater than the preset threshold, it indicates that the fitted curve obtained by pre-calibration has a non-linear region, and in this case, iterative adjustment of the attenuator gain is required to obtain the gain compensation data corresponding to the transition from the non-linear region to the linear region.
[0147] Here, the attenuator has a preset maximum attenuation gain. During the iterative adjustment of the attenuator's gain, it is also necessary to consider whether the i-th gain of the attenuator is greater than or equal to the preset maximum attenuation gain. If the i-th gain of the attenuator is less than the preset maximum attenuation gain and the absolute value of the i-th difference is less than or equal to the preset threshold, it is determined that it has been adjusted to the linear region, and the i-th gain of the attenuator can be directly used as the target gain to calculate the gain compensation data.
[0148] If the i-th gain of the attenuator is greater than or equal to the preset maximum attenuation gain, and the absolute value of the i-th difference is greater than the preset threshold, it is determined that adjusting the gain of the attenuator has failed to bring the nonlinear region to the linear region, and the gain of the amplifier needs to be further adjusted to achieve a return to the linear region.
[0149] It is understood that the embodiments of this disclosure, by iteratively adjusting the gain of the attenuator, can revert the determined nonlinear region to the linear region in advance, thereby obtaining the final gain compensation data. In some embodiments, adjusting the initial gain of the attenuator in the power feedback circuit and / or the initial gain of the amplifier in the power feedback circuit to obtain the target gain includes:
[0150] If the i-th gain of the attenuator is greater than or equal to the preset maximum attenuation gain, and the absolute value of the i-th difference is greater than the preset threshold, the j-th gain of the amplifier is obtained based on the initial gain of the amplifier; where j is a positive integer greater than or equal to 1.
[0151] Based on the i-th gain of the attenuator and the j-th gain of the amplifier, the j-th difference between the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples is obtained;
[0152] If the j-th difference is less than or equal to the preset threshold, the i-th gain of the attenuator and the j-th gain of the amplifier are taken as the target gain.
[0153] In this embodiment of the disclosure, considering that the gain of the iterative attenuator is limited, and that the i-th gain of the attenuator is greater than or equal to the preset maximum attenuation gain, and the absolute value of the i-th difference is greater than the preset threshold, it is determined that there is still a nonlinear region, and therefore the initial gain of the amplifier needs to be adjusted.
[0154] In other words, when the gain of the attenuator is increased to the preset maximum attenuation gain through iteration, the nonlinear region on the fitting curve can be returned to the linear region by adjusting the initial gain of the amplifier.
[0155] In this embodiment of the disclosure, different number of cycles j correspond to different ways of obtaining the j-th gain of the amplifier.
[0156] In some embodiments, obtaining the j-th gain of the amplifier based on the initial gain of the amplifier includes:
[0157] When j is 1, the initial gain of the amplifier is adjusted to obtain the j-th gain of the amplifier;
[0158] or,
[0159] If j is greater than or equal to 2, and if the absolute value of the (j-1)th difference is greater than the preset threshold, the (j-1)th gain of the amplifier is adjusted to obtain the j-th gain of the amplifier.
[0160] It should be noted that, initially, the amplifier's gain can be adjusted to obtain the j-th gain of the amplifier; in subsequent adjustments, when the absolute value of the (j-1)-th difference is greater than a preset threshold, the amplifier's (j-1)-th gain needs to be adjusted to obtain the j-th gain of the attenuator.
[0161] In this embodiment of the disclosure, adjusting the initial gain of the amplifier to obtain the j-th gain of the amplifier may include: obtaining the j-th gain of the amplifier based on the difference between the initial gain of the amplifier and a preset amplification gain.
[0162] The above adjustment of the amplifier's (j-1)th gain to obtain the amplifier's j-th gain may include: obtaining the amplifier's j-th gain based on the difference between the amplifier's (j-1)th gain and a preset amplification gain.
[0163] Here, the preset amplification gain can be set according to actual needs, and this embodiment does not limit it.
[0164] In this embodiment of the disclosure, if the j-th difference is less than or equal to a preset threshold, the i-th gain of the attenuator and the j-th gain of the amplifier are used as the target gain. That is, if the j-th difference is less than or equal to the preset threshold, the adjustment of the amplifier gain ends, and it is determined that the adjustment has reached a linear curve. If the j-th difference is greater than the preset threshold, the amplifier gain will continue to be iteratively adjusted until the adjusted difference is less than or equal to the preset threshold.
[0165] Understandably, the nonlinearity of the fitted curve obtained from calibration is difficult to directly reflect in the test data, making it hard to identify nonlinear regions in advance. Furthermore, differences between motherboards in mobile terminals lead to varying transmit link losses, which are often more easily exposed during mass production and use, increasing the difficulty of adjusting the current transmit power of the mobile terminal to the target transmit power.
[0166] Based on this, the embodiments of this disclosure import gain compensation data for compensation before formal calibration, which is equivalent to adding a high-power calibration error prevention measure. This can identify the nonlinear region to the greatest extent and avoid the detection of feedback power to the nonlinear region in advance, thereby reducing the situation of power runaway and optimizing the transmission performance of the mobile terminal.
[0167] Furthermore, by adjusting the gain of the attenuator first and then the gain of the amplifier in this embodiment, it is possible not only to calculate the gain compensation data corresponding to the transition from the nonlinear region to the linear region, thereby enabling different measured powers in the target calibration data to correspond to different feedback powers, but also to maximize the stability of mobile terminal communication.
[0168] To better understand the communication methods of one or more of the above embodiments, examples of embodiments of this disclosure are provided below:
[0169] Figure 7 This is a comparative schematic diagram of the fitted curve obtained from transmit power calibration according to an exemplary embodiment. For example... Figure 7 As shown, the ideal fitting curve is a straight line with a predetermined slope. However, the traditional fitting curve obtained by the conventional transmit power calibration method has a nonlinear region and will be compressed.
[0170] Because traditional fitting curves have a non-linear region, they can cause RF performance to reach critical or exceed limits at full power. Furthermore, under severe compression, the feedback power cannot be accurately mapped to the correct measured power, leading to incorrect comparison results between the measured power and the target transmit power. For example, a common outcome might be that the measured power is too low, prompting continuous increases in gain, resulting in uncontrolled transmit power. This not only increases the difficulty of debugging but also affects the actual power consumption of the mobile terminal and the user experience of communication.
[0171] It is evident that the accuracy of improving transmission power depends on the fitted curve obtained from transmission power calibration. When the feedback power detected by the mobile terminal during preset communication is mapped to the nonlinear region, the mobile terminal's performance will deteriorate or even become uncontrollable when transmitting at high power.
[0172] Based on this, this disclosure proposes a communication method. Figure 8 This is a schematic diagram of a communication method flow according to an exemplary embodiment. Figure 2 .like Figure 8As shown, the communication method implemented in this embodiment includes the following steps:
[0173] S201. Obtain the power of the first group of samples and the power of the second group of samples;
[0174] S202. Calculate the slope kx corresponding to the power of the first group of samples and the slope ky corresponding to the power of the second group of samples.
[0175] S203. Determine whether kx-ky is less than or equal to a preset threshold; if yes, proceed to step S204; otherwise, proceed to step S205.
[0176] S204, Output target gain;
[0177] S205. Determine whether the current gain of the attenuator is less than the preset maximum attenuation gain; if yes, proceed to step S206; otherwise, proceed to step S207.
[0178] S206. Adjust the current gain of the attenuator;
[0179] Here, adjusting the current gain of the attenuator includes increasing the current gain of the attenuator. After increasing the current gain of the attenuator, a pre-calibration is performed based on the attenuator with the adjusted gain, and then the process returns to step S202.
[0180] S207. Adjust the current gain of the amplifier.
[0181] The current gain of the amplifier may include the amplifier's initial gain, or it may be obtained by adjusting the amplifier's previous gain. Adjusting the amplifier's current gain includes lowering the amplifier's current gain. Here, after lowering the amplifier's current gain, a pre-calibration is performed based on the amplifier with the adjusted gain, and then the process returns to step S202.
[0182] It should be noted that after adjusting to obtain the target gain, gain compensation data can be obtained based on the target gain.
[0183] Figure 9 This is a schematic diagram illustrating the iterative process of obtaining gain compensation data using an attenuator and amplifier according to an exemplary embodiment. Figure 9 As shown, after multiple iterations, the attenuator gain changes from A... 初始 Adjust to A, amplifier gain from G 初始 Adjust to G. Furthermore, the attenuator gain and amplifier gain obtained from different iterations correspond to different fitting curves. For example... Figure 8 As shown, in the final result, A represents the target gain of the attenuator, G represents the target gain of the amplifier, and the attenuator gain compensation value A is... offset =AA 初始 The amplifier's gain compensation value Goffset =GG 初始 .
[0184] Figure 10 This is a schematic diagram comparing a conventional fitting curve with a compensated fitting curve obtained according to an exemplary embodiment. Figure 10 As shown, in the traditional fitting curve, the feedback power corresponding to the measured power a and the measured power b is Φ. However, in the fitting curve of this disclosure, the feedback power corresponding to the measured power b is Φ2, and the feedback power corresponding to the measured power a is Φ1.
[0185] In other words, the measured power and feedback power in the fitting curve of this disclosure are a one-to-one mapping, with a single mapping relationship. Thus, the embodiments of this disclosure can identify nonlinear regions and proactively avoid mapping the detected feedback power into these regions, reducing power runaway and optimizing the transmission performance of the mobile terminal.
[0186] Furthermore, the embodiments disclosed herein not only enable the gain of the power feedback circuit to be compensated using gain compensation data before transmitting power calibration, thereby enabling the more accurate measured power corresponding to the feedback power to be found based on the target calibration data, thus improving the communication experience, but also simplify the circuit and reduce the circuit space occupied by not requiring additional hardware circuit structures.
[0187] Furthermore, since the gain compensation data can be obtained by selecting the first set of sample power and the second set of sample power in this embodiment, the sample power selected in this embodiment is small, which can optimize the transmission performance of the mobile terminal without increasing the time consumption, thus saving computing resources.
[0188] This disclosure also proposes a communication method for use in a mobile terminal. Figure 11 This is a schematic diagram of a communication method according to an exemplary embodiment. Figure 3 .like Figure 11 As shown, the mobile terminal executes this communication method mainly through the following steps:
[0189] S301. When it is detected that the mobile terminal is conducting a preset communication, the feedback power sampled by the power feedback circuit of the mobile terminal is obtained.
[0190] S302. Based on the feedback power and the preset target calibration data, obtain the measured power corresponding to the feedback power; wherein, the target calibration data is obtained by compensating the gain of the power feedback circuit based on gain compensation data, and calibrating the transmission power based on the compensated power feedback circuit.
[0191] S303. Based on the measured power and the target transmission power of the mobile terminal for the preset communication, adjust the current transmission power of the mobile terminal.
[0192] In this embodiment, the calibration device compensates the gain of the power feedback circuit based on gain compensation data, and then performs transmit power calibration based on the compensated power feedback circuit to obtain target calibration data. The target calibration data is then written to the mobile terminal. Thus, when the mobile terminal performs preset communication, the preset target calibration data can be directly adjusted to obtain the measured power corresponding to the feedback power.
[0193] It should be noted that the above communication method can be applied in scenarios with weak network conditions. For example, in real life, when the distance between the mobile terminal and the routing device is greater than a preset distance, or when there is an obstacle between the mobile terminal and the routing device, the communication signal of the mobile terminal for preset communication will weaken, and the mobile terminal will operate in a high-power state for a long time. At this time, by calling the target calibration data disclosed herein, the mobile terminal can not only improve the accuracy of the transmission power, but also optimize the transmission performance of the mobile terminal, thereby better ensuring the user experience.
[0194] The aforementioned communication method can also be used in mobile terminal aging scenarios. For example, as users use the device over time, the performance of the mobile terminal's circuit board and components deteriorates due to aging, and the transmission link loss increases accordingly. Mobile terminals with critical performance before leaving the factory will experience even greater deterioration, further impacting the user experience of long-term use. In this case, by calling the target calibration data disclosed herein, the mobile terminal can more accurately control its transmission power, which is beneficial for performance assurance in weak network scenarios and mobile terminal aging scenarios.
[0195] Furthermore, in this embodiment of the present disclosure, the gain of the power feedback circuit is compensated by gain compensation data before the transmission power calibration, so that the actual power obtained by the transmission power calibration has a single mapping relationship with the feedback power. Thus, when adjusting the current transmission power of the mobile terminal, the measured power corresponding to the feedback power can be found more accurately based on the target calibration data.
[0196] In this way, by improving the accuracy of the current transmit power of the mobile terminal based on the target calibration data, the difficulty of adjustment caused by the inaccuracy of the measured power corresponding to the searched feedback power is reduced, which also affects the use of communication. This not only simplifies the difficulty of adjusting the current transmit power, but also reduces the actual power consumption of the mobile terminal, thereby improving the user experience of communication.
[0197] This disclosure provides a communication device. Figure 12 This is a communication device frame illustrated according to an exemplary embodiment. Figure 1 .like Figure 12 As shown, the communication device mainly includes:
[0198] The compensation acquisition unit 1201 is configured to acquire gain compensation data of the power feedback circuit in the mobile terminal;
[0199] The compensation adjustment unit 1202 is configured to compensate the gain of the power feedback circuit based on the gain compensation data.
[0200] The calibration unit 1203 is configured to perform transmit power calibration on the mobile terminal based on the compensated power feedback circuit to obtain target calibration data.
[0201] In the target calibration data, different measured powers correspond to different feedback powers; the measured power and the corresponding feedback power are used to adjust the current transmission power of the mobile terminal when the mobile terminal performs preset communication.
[0202] In some embodiments, the compensation acquisition unit is further configured to adjust the initial gain of the attenuator in the power feedback circuit and / or the initial gain of the amplifier in the power feedback circuit to obtain a target gain; and to obtain the gain compensation data based on the target gain.
[0203] In some embodiments, the compensation acquisition unit is further configured to obtain the i-th gain of the attenuator based on the initial gain of the attenuator, where i is a positive integer greater than or equal to 1; obtain the i-th difference between the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples based on the i-th gain of the attenuator; where the power of the second group of samples is different from the power of the first group of samples; and take the i-th gain of the attenuator as the target gain when the i-th gain of the attenuator is less than a preset maximum attenuation gain and the absolute value of the i-th difference is less than or equal to a preset threshold.
[0204] In some embodiments, the compensation acquisition unit is further configured to, when i is 1, use the initial gain of the attenuator as the i-th gain of the attenuator; or,
[0205] If i is greater than or equal to 2, and if the (i-1)th gain of the attenuator is less than the preset maximum attenuation gain, and the absolute value of the (i-1)th difference is greater than the preset threshold, the (i-1)th gain of the attenuator is adjusted to obtain the i-th gain of the attenuator.
[0206] In some embodiments, the compensation acquisition unit is further configured to, when the i-th gain of the attenuator is greater than or equal to the preset maximum attenuation gain, and the absolute value of the i-th difference is greater than the preset threshold, obtain the j-th gain of the amplifier based on the initial gain of the amplifier; where j is a positive integer greater than or equal to 1.
[0207] Based on the i-th gain of the attenuator and the j-th gain of the amplifier, the j-th difference between the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples is obtained;
[0208] If the j-th difference is less than or equal to the preset threshold, the i-th gain of the attenuator and the j-th gain of the amplifier are taken as the target gain.
[0209] In some embodiments, the compensation acquisition unit is further configured to adjust the initial gain of the amplifier when j is 1, to obtain the j-th gain of the amplifier; or,
[0210] If j is greater than or equal to 2, and if the absolute value of the (j-1)th difference is greater than the preset threshold, the (j-1)th gain of the amplifier is adjusted to obtain the j-th gain of the amplifier.
[0211] In some embodiments, the compensation acquisition unit is further configured to, when the target gain includes the target gain of the attenuator, obtain a gain compensation value for the attenuator based on the difference between the target gain of the attenuator and the initial gain of the attenuator; and / or,
[0212] When the target gain includes the target gain of the amplifier, the gain compensation value of the amplifier is obtained based on the difference between the target gain of the amplifier and the initial gain of the amplifier.
[0213] In some embodiments, the compensation adjustment unit is further configured to compensate the gain of the attenuator based on the gain compensation value of the attenuator when the gain compensation data includes the gain compensation value of the attenuator in the power feedback circuit; and / or,
[0214] When the gain compensation data includes the gain compensation value of the amplifier in the power feedback circuit, the gain of the amplifier is compensated based on the gain compensation value of the amplifier.
[0215] This disclosure provides a communication device. Figure 13 This is a communication device frame illustrated according to an exemplary embodiment. Figure 2 .like Figure 13 As shown, the communication device mainly includes:
[0216] The power acquisition unit 1301 is configured to acquire the feedback power sampled by the power feedback circuit of the mobile terminal when the mobile terminal is detected to be conducting a preset communication.
[0217] The power acquisition unit 1302 is configured to obtain the measured power corresponding to the feedback power based on the feedback power and preset target calibration data; wherein, the target calibration data is obtained by compensating the gain of the power feedback circuit based on gain compensation data and calibrating the transmission power based on the compensated power feedback circuit.
[0218] The adjustment unit 1303 is configured to adjust the current transmission power of the mobile terminal based on the measured power and the target transmission power for the preset communication of the mobile terminal.
[0219] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0220] Figure 14 This is a structural block diagram of a mobile terminal according to an exemplary embodiment. For example, a mobile terminal may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0221] Reference Figure 14 The mobile terminal may include one or more of the following components: processing component 1402, memory 1404, power supply component 1406, multimedia component 1408, audio component 1410, input / output (I / O) interface 1412, sensor component 1414, and communication component 1416.
[0222] Processing component 1402 typically controls the overall operation of the mobile terminal, such as operations associated with at least one of display, telephone call, data communication, camera operation, and recording. Processing component 1402 may include one or more processors 1420 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1402 may include one or more modules to facilitate interaction between processing component 1402 and other components. For example, processing component 1402 may include a multimedia module to facilitate interaction between multimedia component 1408 and processing component 1402.
[0223] Memory 1404 is configured to store various types of data to support operation on the mobile terminal. Examples of such data include at least one of the following: instructions for any application or method operating on the mobile terminal, contact data, phonebook data, messages, pictures, and videos. Memory 1404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0224] Power supply component 1406 provides power to various components of the mobile terminal. Power supply component 1406 may include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the mobile terminal.
[0225] Multimedia component 1408 includes a screen that provides an output interface between a mobile terminal and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a Touch Panel, the screen may be implemented as a touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1408 includes a front-facing camera and / or a rear-facing camera. When the mobile terminal is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0226] Audio component 1410 is configured to output and / or input audio signals. For example, audio component 1410 includes a microphone (MIC) configured to receive external audio signals when the mobile terminal is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1404 or transmitted via communication component 1416. In some embodiments, audio component 1410 also includes a speaker for outputting audio signals.
[0227] I / O interface 1412 provides an interface between processing component 1402 and peripheral interface modules, such as keyboards, click wheels, and buttons. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0228] Sensor assembly 1414 includes one or more sensors for providing state assessments of various aspects of the mobile terminal. For example, sensor assembly 1414 can detect the on / off state of the mobile terminal, the relative positioning of components such as the display and keypad of the mobile terminal, changes in the position of the mobile terminal or a component within the mobile terminal, the presence or absence of user contact with the mobile terminal, the orientation or acceleration / deceleration of the mobile terminal, and temperature changes of the mobile terminal. Sensor assembly 1414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1414 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 1414 may also include, but is not limited to, at least one of the following: an accelerometer, a gyroscope, a magnetometer, a pressure sensor, and a temperature sensor.
[0229] Communication component 1416 is configured to facilitate wired or wireless communication between a mobile terminal and other devices. The mobile terminal can access wireless networks based on communication standards, such as Wi-Fi, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 1416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1416 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT), and other technologies.
[0230] In an exemplary embodiment, the mobile terminal may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0231] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1404 including executable instructions or a computer program, which can be executed by the processor 1420 of the mobile terminal to complete the aforementioned communication method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, or optical data storage device, etc.
[0232] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor, enables a communication device to perform any of the communication methods described in the embodiments of this disclosure. For example, the method includes:
[0233] Obtain the gain compensation data of the power feedback circuit in the mobile terminal;
[0234] Based on the gain compensation data, the gain of the power feedback circuit is compensated.
[0235] Based on the compensated power feedback circuit, the mobile terminal's transmit power is calibrated to obtain target calibration data.
[0236] In the target calibration data, different measured powers correspond to different feedback powers; the measured power and the corresponding feedback power are used to adjust the current transmission power of the mobile terminal when the mobile terminal performs preset communication.
[0237] This disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the communication methods described in this disclosure.
[0238] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0239] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A communication method, characterized in that, include: Obtain the gain compensation data of the power feedback circuit in the mobile terminal; Based on the gain compensation data, the gain of the power feedback circuit is compensated. Based on the compensated power feedback circuit, the mobile terminal's transmit power is calibrated to obtain target calibration data. In the target calibration data, different measured powers correspond to different feedback powers; the measured power and the corresponding feedback power are used to adjust the current transmission power of the mobile terminal when the mobile terminal performs preset communication.
2. The method according to claim 1, characterized in that, The acquisition of gain compensation data from the power feedback circuit in the mobile terminal includes: The initial gain of the attenuator in the power feedback circuit and / or the initial gain of the amplifier in the power feedback circuit are adjusted to obtain the target gain. The gain compensation data is obtained based on the target gain.
3. The method according to claim 2, characterized in that, The adjustment of the initial gain of the attenuator in the power feedback circuit and / or the initial gain of the amplifier in the power feedback circuit to obtain the target gain includes: Based on the initial gain of the attenuator, the i-th gain of the attenuator is obtained; where i is a positive integer greater than or equal to 1. Based on the i-th gain of the attenuator, the i-th difference between the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples is obtained; the power of the second group of samples is different from the power of the first group of samples. If the i-th gain of the attenuator is less than the preset maximum attenuation gain, and the absolute value of the i-th difference is less than or equal to a preset threshold, then the i-th gain of the attenuator is taken as the target gain.
4. The method according to claim 3, characterized in that, The process of obtaining the i-th gain of the attenuator based on its initial gain includes: When i is 1, the initial gain of the attenuator is taken as the i-th gain of the attenuator; or, If i is greater than or equal to 2, and if the (i-1)th gain of the attenuator is less than the preset maximum attenuation gain, and the absolute value of the (i-1)th difference is greater than the preset threshold, the (i-1)th gain of the attenuator is adjusted to obtain the i-th gain of the attenuator.
5. The method according to claim 3, characterized in that, The adjustment of the initial gain of the attenuator in the power feedback circuit and / or the initial gain of the amplifier in the power feedback circuit to obtain the target gain includes: If the i-th gain of the attenuator is greater than or equal to the preset maximum attenuation gain, and the absolute value of the i-th difference is greater than the preset threshold, the j-th gain of the amplifier is obtained based on the initial gain of the amplifier; where j is a positive integer greater than or equal to 1. Based on the i-th gain of the attenuator and the j-th gain of the amplifier, the j-th difference between the slope corresponding to the power of the first group of samples and the slope corresponding to the power of the second group of samples is obtained; If the j-th difference is less than or equal to the preset threshold, the i-th gain of the attenuator and the j-th gain of the amplifier are taken as the target gain.
6. The method according to claim 5, characterized in that, The process of obtaining the j-th gain of the amplifier based on its initial gain includes: When j is 1, the initial gain of the amplifier is adjusted to obtain the j-th gain of the amplifier; or, If j is greater than or equal to 2, and if the absolute value of the (j-1)th difference is greater than the preset threshold, the (j-1)th gain of the amplifier is adjusted to obtain the j-th gain of the amplifier.
7. The method according to any one of claims 2 to 6, characterized in that, The process of obtaining the gain compensation data based on the target gain includes: When the target gain includes the target gain of the attenuator, the gain compensation value of the attenuator is obtained based on the difference between the target gain of the attenuator and the initial gain of the attenuator; and / or, When the target gain includes the target gain of the amplifier, the gain compensation value of the amplifier is obtained based on the difference between the target gain of the amplifier and the initial gain of the amplifier.
8. The method according to any one of claims 1 to 6, characterized in that, The step of compensating the gain of the power feedback circuit based on the gain compensation data includes: If the gain compensation data includes the gain compensation value of the attenuator in the power feedback circuit, the gain of the attenuator is compensated based on the gain compensation value of the attenuator; and / or, When the gain compensation data includes the gain compensation value of the amplifier in the power feedback circuit, the gain of the amplifier is compensated based on the gain compensation value of the amplifier.
9. A communication method, characterized in that, include: When a preset communication is detected by the mobile terminal, the feedback power sampled by the power feedback circuit of the mobile terminal is obtained. Based on the feedback power and the preset target calibration data, the measured power corresponding to the feedback power is obtained; wherein, the target calibration data is obtained by compensating the gain of the power feedback circuit based on gain compensation data, and calibrating the transmit power based on the compensated power feedback circuit. Based on the measured power and the target transmission power of the mobile terminal for the preset communication, the current transmission power of the mobile terminal is adjusted.
10. A communication device, characterized in that, include: The compensation acquisition unit is configured to acquire gain compensation data of the power feedback circuit in the mobile terminal; The compensation adjustment unit is configured to compensate the gain of the power feedback circuit based on the gain compensation data. The calibration unit is configured to perform transmit power calibration on the mobile terminal based on the compensated power feedback circuit to obtain target calibration data. In the target calibration data, different measured powers correspond to different feedback powers; the measured power and the corresponding feedback power are used to adjust the current transmission power of the mobile terminal when the mobile terminal performs preset communication.
11. A communication device, characterized in that, include: The power acquisition unit is configured to acquire the feedback power sampled by the power feedback circuit of the mobile terminal when the mobile terminal is detected to be conducting a preset communication. The power acquisition unit is configured to obtain the measured power corresponding to the feedback power based on the feedback power and preset target calibration data; wherein, the target calibration data is obtained by compensating the gain of the power feedback circuit based on gain compensation data and calibrating the transmission power based on the compensated power feedback circuit. The adjustment unit is configured to adjust the current transmission power of the mobile terminal based on the measured power and the target transmission power for the preset communication of the mobile terminal.
12. A communication device, characterized in that, include: processor; Memory used to store computer programs or instructions; The processor executes the computer program or instructions to implement the steps of the method according to any one of claims 1 to 9.
13. A non-transitory computer-readable storage medium storing a computer program or instructions, characterized in that, When the computer program or instructions in the storage medium are executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
14. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 9.