A radio frequency power control method, module and terminal device
By obtaining the target power required by the base station equipment and the loss value of the current signal channel of the antenna, and adjusting the output power of the RF front-end module, the problem of poor signal quality and excessive power consumption of the terminal equipment during RF signal transmission is solved, and more accurate power is achieved. control and lower power consumption.
Patent Information
- Application Number
- CN202310477527.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-26
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-04-26
AI Technical Summary
During the radio frequency signal transmission process, the terminal equipment cannot accurately adjust the power of each signal channel, resulting in poor signal quality and excessive power consumption. The existing technology cannot effectively solve the problems caused by the difference in signal channel loss.
By obtaining the target power required by the base station equipment and the loss value of the current signal channel of the antenna, the output power of the radio frequency front-end module is determined, and based on the output power of the radio frequency front-end module and the target power, it is judged whether the power level needs to be switched, and the voltage and current of the power amplifier are adjusted to Ensure signal quality and reduce power consumption.
It improves the accuracy of the signal transmission power of the signal channel, ensures the signal quality while reducing the transmission power consumption, and solves the problems of power consumption waste and poor signal quality caused by the difference in signal channel loss.
Smart Images

Figure CN117119570B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a radio frequency power control method, module and terminal device. Background Art
[0002] In the process of transmitting RF signals, the terminal device needs to adjust the power of the transmitted signal according to the power required by the base station device. However, since the terminal device always adjusts the power of all signal channels according to the same power adjustment method when transmitting signals, the signal quality of some signal channels will be poor, while the signal power consumption of other signal channels will be too large. Summary of the invention
[0003] The embodiments of the present application disclose a radio frequency power control method, module and terminal device, which can improve the accuracy of the signal transmission power of the current signal channel of the antenna, ensure the signal quality and reduce the transmission power consumption.
[0004] In a first aspect, the present application provides a radio frequency power control method, which is applied to a terminal device, and the method includes:
[0005] The terminal device obtains a first target power, where the first target power is the power value that the base station device requires the terminal device's transmission signal to reach; the terminal device determines the output power of the RF front-end module based on the first loss value and the first antenna port power; the first loss value is the power loss corresponding to the antenna's current signal channel, and the first antenna port power is the power value of the transmitting port of the antenna's current signal channel; the terminal device determines a second target power based on the first loss value and the first target power; the terminal device determines whether it is necessary to switch the power level based on the RF front-end module output power and the second target power.
[0006] In an embodiment of the present application, the terminal device can first determine the first loss value of the antenna signal channel of the current transmitted signal, and determine the output power of the RF front-end module based on the first loss value and the antenna port power of the current signal channel, and determine the second target power that the output power of the RF front-end module needs to reach based on the first target power required by the base station device. Based on the output power of the RF front-end module and the second target power, it is determined whether the power level needs to be switched. The difference in loss values of each signal channel can be taken into account, and the loss value and power control strategy basis can be calculated separately for each signal channel to ensure that the power switching can be more accurate, so that the actual transmission power is developed to the required target power while reducing power consumption waste.
[0007] Among them, the output power of the RF front-end module can be understood as the power input to the antenna module where the current signal channel is located. In an antenna module, multiple antenna channels can be included. At the same time, only one antenna channel in an antenna module is sending and receiving signals. The loss value of the signal channel of each antenna module needs to be specifically considered to achieve the actual requirements of the signal channel. The first antenna port power specifically refers to the output power of the antenna port of the current signal channel of the antenna in the antenna module, which can be specifically measured.
[0008] In a possible implementation, after the terminal device determines whether it is necessary to switch the power level based on the output power of the RF front-end module and the second target power, the method further includes: if it is necessary to switch the power level, the terminal device controls the power amplifier PA to switch the power level; if it is not necessary to switch the power level, the terminal device keeps the current power level unchanged. In this way, the terminal device can perform the switching operation based on the judgment result, and ensure the accuracy of power switching.
[0009] In a possible implementation, when the power level needs to be switched, after the terminal device controls the PA to switch the power level, the method further includes: the terminal device determines the target second mapping relationship based on the current signal channel of the antenna; the terminal device stores the second mapping relationship in each signal channel; the second mapping relationship is the mapping relationship between power and voltage and / or current at different power levels; the terminal device determines from the target second mapping relationship that the voltage corresponding to the second target power at the current power level is the first voltage, and / or the current corresponding to the second target power is the first current; the terminal device adjusts the voltage of the PA to the first voltage, and / or the terminal device adjusts the current of the PA to the first current. In this way, the terminal device stores the second mapping relationship for each signal channel, and the second mapping relationship is the mapping relationship between power and voltage and / or current at different power levels. The terminal device can find the target second mapping relationship based on the current signal channel, indicating that for the adjustment of voltage and / or current, the terminal device can measure and standardize the specific signal channel to ensure that the voltage and / or current adjustment can reach the second target power, and the power control adjustment is more detailed, which can ensure the signal quality while reducing the waste of transmission power consumption.
[0010] In a possible implementation, when there is no need to switch the power level, after the terminal device keeps the current power level unchanged, the method further includes: the terminal device determines a target second mapping relationship based on the current signal channel; the terminal device stores a second mapping relationship in each signal channel; the second mapping relationship is a mapping relationship between power and voltage and / or current at different power levels; the terminal device determines from the target second mapping relationship that the voltage corresponding to the second target power at the current power level is the first voltage, and / or the current corresponding to the second target power is the first current; the terminal device adjusts the voltage of the PA to the first voltage, and / or adjusts the current of the PA to the first current. In this way, after not adjusting the power level, it is also necessary to fine-tune the power to ensure signal quality while reducing the waste of transmission power consumption.
[0011] In a possible implementation, before the terminal device determines the output power of the RF front-end module based on the first loss value and the first antenna port power, the method further includes: the terminal device obtains the first temperature and the current communication frequency band; the first temperature is the current temperature measured by the terminal device itself, and the current communication frequency band is the signal frequency band used by the current signal channel of the antenna; the terminal device determines the target first mapping relationship based on the current signal channel of the antenna; the terminal device stores a first mapping relationship for each signal channel, and the first mapping relationship is a mapping relationship between temperature, communication frequency band and loss data; the terminal device determines the loss data corresponding to the first temperature and the current communication frequency band in the target first mapping relationship as the first loss value. In this way, the terminal device can determine the loss value of the current signal channel of the antenna based on the temperature and the communication frequency band, ensure the accuracy of the loss value determination, and thus ensure the accuracy of the subsequent power control adjustment.
[0012] In a possible implementation, the terminal device determines whether it is necessary to switch the power level based on the output power of the RF front-end module and the second target power, specifically including: when the output power of the RF front-end module and the second target power are at the same power level, the terminal device determines that it is not necessary to switch the power level; when the output power of the RF front-end module and the second target power are at different power levels, the terminal device determines that it is necessary to switch the power level. In this way, the terminal device can determine whether the output power of the RF front-end module and the second target power are at the same power level. If they are already at the same power level, there is no need to adjust the power level; otherwise, it is necessary to adjust it, thereby ensuring that the output power of the RF front-end module is constantly close to the second target power, so that the transmission power meets the specific requirements and the power control accuracy is guaranteed.
[0013] In a possible implementation, when the RF front-end module output power and the second target power are at the same power level, the terminal device determines that there is no need to switch the power level; when the RF front-end module output power and the second target power are at different power levels, the terminal device determines that the power level needs to be switched, specifically including: the terminal device determines a power switching direction based on the RF front-end module output power and the second target power; when the RF front-end module output power is less than the second target power, the power switching direction is upward switching; when the RF front-end module output power is greater than the second target power, the power switching direction is downward switching; the power switching direction includes upward switching and downward switching. Switch; the power switching standard includes an upward switching standard and a downward switching standard. When the power switching direction is an upward switching, the terminal device determines whether the output power of the RF front-end module and the second target power are at the same power level based on the upward switching standard; when the power switching direction is a downward switching, the terminal device determines whether the output power of the RF front-end module and the second target power are at the same power level based on the downward switching standard; the upward switching standard and the downward switching standard are different power switching standards; when they are at the same power level, the terminal device determines that the power level does not need to be switched; when they are at different power levels, the terminal device determines that the power level needs to be switched. In this way, the terminal device can be set with different switching standards, and the switching direction can select different switching standards. For the problem of frequent switching caused by the power close to the critical value of the switching point, the switching standard is more stringent, avoiding the problem of frequent switching, thereby reducing the power consumption waste caused by a large number of switching times.
[0014] In a possible implementation, when the power levels to be switched are the same, the switching point in the upward switching standard is greater than the switching point in the downward switching standard, and the switching point is a boundary value between adjacent power levels. In this way, the problem of frequent switching is avoided, thereby reducing power consumption waste caused by a large number of switching times.
[0015] Among them, the switching point in the upward switching standard is greater than the switching point in the downward switching standard, specifically referring to the switching point between the same power levels in the two sets of switching standards, and the switching point value in the upward switching standard is greater than the switching point value in the downward switching standard.
[0016] In a possible implementation, the output power of the RF front-end module is the sum of the first loss value and the first antenna port power; the second target power is the sum of the first loss value and the first target power. In this way, the terminal device can effectively measure the loss values according to different signal channels, specifically measure the output power of the RF front-end module and the second target power it needs to achieve, and ensure the accuracy of power control.
[0017] In a possible implementation, the terminal device includes a baseband module, a radio frequency module, and M antenna modules; the baseband module includes a modem; M is a positive integer; the terminal device obtains a first target power, specifically including: the terminal device obtains the first target power through the modem; the terminal device determines the output power of the radio frequency front-end module based on the first loss value and the first antenna port power, specifically including: the terminal device determines the output power of the radio frequency front-end module based on the first loss value and the first antenna port power through the modem; the terminal device determines the second target power based on the first loss value and the first target power, specifically including: the terminal device determines the second target power based on the first loss value and the first target power through the modem; the terminal device determines whether it is necessary to switch the power level based on the output power of the radio frequency front-end module and the second target power, specifically including: the terminal device determines whether it is necessary to switch the power level based on the output power of the radio frequency front-end module and the second target power through the modem. In this way, the terminal device can perform overall regulation through the modem, ensuring that the terminal device has an execution subject that can handle the power control process as a whole, ensuring that the solution is feasible, and improving the execution efficiency of power control adjustment. At the same time, it can also ensure the accuracy of power control, ensure signal quality and reduce transmission power waste.
[0018] In a possible implementation, the terminal device further includes a power control module, and the method further includes: the terminal device controls the power control module to read the power of the first antenna port through the modem. In this way, the terminal device can control the power control module to read the power of the first antenna port through the modem to ensure the accuracy and timeliness of the power of the first antenna port.
[0019] In a possible implementation, the terminal device also includes a power module, the RF module includes the PA, and the method also includes: the terminal device determines a target second mapping relationship based on the current signal channel of the antenna through the Modem; the terminal device determines from the target second mapping relationship through the Modem that the voltage corresponding to the second target power at the current power level is a first voltage, and / or that the current corresponding to the second target power is a first current; the terminal device controls the power module through the Modem to adjust the voltage of the PA to the first voltage, and / or adjusts the current of the PA to the first current.
[0020] In the second aspect, the present application provides a radio frequency power control module, which includes a baseband module, a radio frequency module, and M antenna modules; the baseband module includes a modem; wherein: the modem obtains a first target power, the first target power is the power value that the base station device requires the transmitting signal of the terminal device to reach; the modem determines the output power of the radio frequency front-end module based on a first loss value and a first antenna port power; the first loss value is the power loss corresponding to the current signal channel of the antenna, and the first antenna port power is the power value of the transmitting port of the current signal channel of the antenna; the modem determines the second target power based on the first loss value and the first target power; the modem determines whether it is necessary to switch the power level based on the output power of the radio frequency front-end module and the second target power.
[0021] In an embodiment of the present application, the terminal device can first determine the first loss value of the antenna signal channel of the current transmitted signal, and determine the output power of the RF front-end module based on the first loss value and the antenna port power of the current signal channel, and determine the second target power that the output power of the RF front-end module needs to reach based on the first target power required by the base station device. Based on the output power of the RF front-end module and the second target power, it is determined whether the power level needs to be switched. The difference in loss values of each signal channel can be taken into account, and the loss value and power control strategy basis can be calculated separately for each signal channel to ensure that the power switching can be more accurate, so that the actual transmission power is developed to the required target power while reducing power consumption waste.
[0022] Among them, the output power of the RF front-end module can be understood as the power input to the antenna module where the current signal channel is located. In an antenna module, multiple antenna channels can be included. At the same time, only one antenna channel in an antenna module is sending and receiving signals. The loss value of the signal channel of each antenna module needs to be specifically considered to achieve the actual requirements of the signal channel. The first antenna port power specifically refers to the output power of the antenna port of the current signal channel of the antenna in the antenna module, which can be specifically measured.
[0023] In a possible implementation, the RF module includes the PA, and after the Modem determines whether the power level needs to be switched based on the output power of the RF front-end module and the second target power, the module further executes: if the power level needs to be switched, the Modem controls the PA to switch the power level; if the power level does not need to be switched, the Modem keeps the current power level unchanged. In this way, the terminal device can specifically perform the switching operation based on the judgment result of the PA to ensure the accuracy of the power switching.
[0024] In a possible implementation, the module further includes a power module. When the power level needs to be switched, after the Modem controls the PA to switch the power level, the module further executes: the Modem determines the target second mapping relationship based on the current signal channel of the antenna; the terminal device stores the second mapping relationship in each signal channel; the second mapping relationship is the mapping relationship between power and voltage and / or current at different power levels; the Modem determines from the target second mapping relationship that the voltage corresponding to the second target power at the current power level is the first voltage, and / or the current corresponding to the second target power is the first current; the Modem controls the power module to adjust the voltage of the PA to the first voltage, and / or the Modem controls the power module to adjust the current of the PA to the first current. In this way, the terminal device stores the second mapping relationship for each signal channel, and the second mapping relationship is the mapping relationship between power and voltage and / or current at different power levels. The terminal device can find the target second mapping relationship based on the current signal channel, indicating that for the adjustment of voltage and / or current, the terminal device can measure and standardize the specific signal channel to ensure that the voltage and / or current adjustment can reach the second target power. The power control adjustment is more detailed, which can ensure the signal quality while reducing the waste of transmission power consumption.
[0025] In a possible implementation, the module also includes a power module. When the power level does not need to be switched, after the Modem keeps the current power level unchanged, the module further executes: the Modem determines the target second mapping relationship based on the current signal channel of the antenna; the terminal device stores the second mapping relationship in each signal channel; the second mapping relationship is the mapping relationship between power and voltage and / or current at different power levels; the Modem determines from the target second mapping relationship that the voltage corresponding to the second target power at the current power level is the first voltage, and / or the current corresponding to the second target power is the first current; the Modem controls the power module to adjust the voltage of the PA to the first voltage, and / or the Modem controls the power module to adjust the current of the PA to the first current. In this way, after the power level is not adjusted, the power also needs to be fine-tuned to ensure signal quality while reducing the waste of transmission power consumption.
[0026] In a possible implementation, before the Modem determines the output power of the RF front-end module based on the first loss value and the first antenna port power, the module also executes: the Modem obtains the first temperature and the current communication frequency band; the first temperature is the current temperature measured by the terminal device, and the current communication frequency band is the signal frequency band used by the current signal channel of the antenna; the Modem determines the target first mapping relationship based on the current signal channel of the antenna; the terminal device stores a first mapping relationship for each signal channel, and the first mapping relationship is a mapping relationship between temperature, communication frequency band and loss data; the Modem determines the loss data corresponding to the first temperature and the current communication frequency band in the target first mapping relationship as the first loss value. In this way, the terminal device can determine the loss value of the current signal channel of the antenna based on the temperature and communication frequency band, ensure the accuracy of the loss value determination, and thus ensure the accuracy of the subsequent power control adjustment.
[0027] In a possible implementation, the Modem determines whether it is necessary to switch the power level based on the output power of the RF front-end module and the second target power, and specifically performs: when the output power of the RF front-end module and the second target power are at the same power level, the Modem determines that it is not necessary to switch the power level; when the output power of the RF front-end module and the second target power are at different power levels, the Modem determines that it is necessary to switch the power level. In this way, the terminal device can determine whether the output power of the RF front-end module and the second target power are at the same power level. If they are already at the same power level, there is no need to adjust the power level; otherwise, it is necessary to adjust it, thereby ensuring that the output power of the RF front-end module is constantly close to the second target power, so that the transmission power meets the specific requirements and the accuracy of power control is guaranteed.
[0028] In a possible implementation manner, when the RF front-end module output power and the second target power are at the same power level, the Modem determines that there is no need to switch the power level; when the RF front-end module output power and the second target power are at different power levels, the Modem determines that the power level needs to be switched, specifically performing: the Modem determines a power switching direction based on the RF front-end module output power and the second target power; when the RF front-end module output power is less than the second target power, the power switching direction is upward switching; when the RF front-end module output power is greater than the second target power, the power switching direction is downward switching; the power switching direction includes upward switching and downward switching ; The power switching standard includes an upward switching standard and a downward switching standard. When the power switching direction is upward switching, the Modem determines whether the output power of the RF front-end module and the second target power are at the same power level based on the upward switching standard; when the power switching direction is downward switching, the Modem determines whether the output power of the RF front-end module and the second target power are at the same power level based on the downward switching standard; the upward switching standard and the downward switching standard are different power switching standards; when they are at the same power level, the Modem determines that the power level does not need to be switched; when they are at different power levels, the Modem determines that the power level needs to be switched. In this way, the terminal device can be set with different switching standards, and the switching direction can select different switching standards. For the problem of frequent switching caused by the power close to the critical value of the switching point, the switching standard is more stringent, avoiding the problem of frequent switching, thereby reducing the power consumption waste caused by a large number of switching times.
[0029] In a possible implementation, when the power levels to be switched are the same, the switching point in the upward switching standard is greater than the switching point in the downward switching standard, and the switching point is a boundary value between adjacent power levels. In this way, the problem of frequent switching is avoided, thereby reducing power consumption waste caused by a large number of switching times.
[0030] Among them, the switching point in the upward switching standard is greater than the switching point in the downward switching standard, specifically referring to the switching point between the same power levels in the two sets of switching standards, and the switching point value in the upward switching standard is greater than the switching point value in the downward switching standard.
[0031] In a possible implementation, the output power of the RF front-end module is the sum of the first loss value and the first antenna port power; the second target power is the sum of the first loss value and the first target power. In this way, the terminal device can effectively measure the loss values according to different signal channels, specifically measure the output power of the RF front-end module and the second target power it needs to achieve, and ensure the accuracy of power control.
[0032] In a third aspect, the present application provides a terminal device, comprising: one or more processors and one or more memories, the one or more memories being used to store computer program code, the computer program code comprising computer instructions, and when the one or more processors execute the computer instructions, the terminal device executes the RF power control method in any possible implementation of the first aspect.
[0033] In a fourth aspect, the present application provides a terminal device, including: one or more functional modules. The one or more functional modules are used to execute the radio frequency power control method in any possible implementation of the first aspect.
[0034] In a fifth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions. When the computer instructions are executed on a terminal device, the terminal device executes the radio frequency power control method in any possible implementation of the first aspect above.
[0035] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the radio frequency power control method in any possible implementation of the first aspect above.
[0036] In the seventh aspect, an embodiment of the present application provides a chip, including a baseband chip, a radio frequency chip and an antenna chip. The baseband chip executes the radio frequency power control method in any possible implementation manner executed by the baseband module in the second aspect, the radio frequency chip executes the radio frequency power control method in any possible implementation manner executed by the radio frequency module in the second aspect, and the antenna chip executes the radio frequency power control method in any possible implementation manner executed by M antenna modules in the second aspect.
[0037] In an eighth aspect, an embodiment of the present application provides a chip, the chip including a processor for executing a program stored in a memory, and when the program is executed, the chip executes the above method.
[0038] As a possible implementation, the memory is located outside the chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 This is a schematic diagram of a network architecture provided by an embodiment of the present application;
[0040] Figure 2 It is a structural diagram of a terminal device communication device provided in an embodiment of the present application;
[0041] Figure 3 This is a schematic diagram of the loss situation on a signal channel provided in an embodiment of the present application;
[0042] Figure 4 It is a schematic diagram of a method flow of radio frequency power adjustment provided in an embodiment of the present application;
[0043] Figure 5 It is a structural diagram of a terminal device communication device provided in an embodiment of the present application;
[0044] Figure 6 is a flow chart of a power control calibration method provided in an embodiment of the present application;
[0045] Figure 7 It is a schematic diagram of a chip structure provided in an embodiment of the present application;
[0046] Figure 8 It is a schematic diagram of the hardware structure of a terminal device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0048] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0049] The embodiments of the present application provide a radio frequency power control method, module and terminal device, which can ensure the quality of radio frequency signals and effectively reduce power consumption.
[0050] In the implementation of this application, the terminal device can communicate with the base station device. Figure 1 This is a schematic diagram of a network architecture disclosed in the embodiment of this application. Figure 1 As shown, the terminal device can communicate with the base station device through wireless signals.
[0051] Base station equipment refers to equipment that controls the reception and transmission of radio signals and forms a two-way telephone circuit between the mobile station. It can also be called base station equipment.
[0052] The base station equipment may include modules such as a remote radio unit (RRU) or RU. Both RRU and RU have the function of amplifying, filtering and transmitting the signal. Among them, the remote radio unit is divided into a proximal machine, namely the wireless baseband control (Radio Server), and a remote machine, namely the remote radio unit (RRU). RRU may include one or more intermediate frequency modules, transceiver modules, power amplification and filtering modules, etc. RRU can modulate and demodulate, digitally up and down convert, A / D convert, etc. the signal through the intermediate frequency module. The transceiver module completes the conversion of the intermediate frequency signal to the radio frequency signal; then the signal is processed by the power amplification and filtering module and transmitted from the antenna port.
[0053] The terminal device may also be called a mobile station (MS), a mobile terminal (MT), etc., and is a device that provides voice and / or data connectivity to users. The terminal device may be a handheld terminal, a notebook computer, a subscriber unit, a cellular phone, a smartphone, a wireless data card, a personal digital assistant (PDA) computer, a tablet computer, a wireless modem, a handheld device (handheld), a laptop computer, a cordless phone or a wireless local loop (WLL) station, a machine type communication (MTC) terminal, a wearable device (such as a smart watch, a smart bracelet, a pedometer, etc.), an in-vehicle device (such as a car, a bicycle, an electric car, an airplane, a ship, a train, a high-speed rail, etc.), a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a smart home device (such as a refrigerator, a television, an air conditioner, an electric meter, etc.), an intelligent robot, a workshop device, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a smart grid (smart grid), a wearable device (such as a smart watch, a smart bracelet, a pedometer, etc.), a wearable device (such as a smart watch, a smart bracelet, a pedometer, etc.), an in-vehicle device (such as a car, a bicycle, an electric car, an airplane, a ship, a train, a high-speed rail, etc.), a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a smart home device (such as a refrigerator, a television, an air conditioner, an electric meter, etc.), a smart robot, a workshop device, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a smart grid (smart grid), a smart home device (such as a smart home device), a smart modem (such as a handheld device), a laptop computer, a cordless phone or a wireless local loop (WLL) station, a machine type communication (MTC) terminal, a wearable device (such as a smart watch, a smart bracelet, a pedometer, etc.), an in-vehicle device (such as a car, a bicycle, an electric car, an airplane, a ship, a train, a high-speed rail, etc.), a The invention relates to wireless terminals in the Internet of Things (IoT) grid, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, flying equipment (for example, smart robots, hot air balloons, drones, airplanes), or other devices that can access the Internet.
[0054] In order to better understand the signal transmission and reception process of the terminal device, the communication device of the embodiment of the present application is described below. Figure 2 , Figure 2 Schematic diagram of the structure of a terminal device communication device disclosed in the embodiment of the present application. Figure 2 As shown, the communication device may include a baseband module 210, a radio frequency module 220 and an antenna module 230.
[0055] The baseband module 210 can perform digital baseband signal processing and perform encoding and decoding of digital baseband signals. The baseband module 210 may include a modem 211. The modem 211 can complete baseband signal processing and perform encoding and decoding of digital baseband signals. The modem 211 can modulate the signal through a multiplier and a carrier.
[0056] The RF module 220 may include a RF front-end module 221 and a RF transceiver module 222 .
[0057] Among them, the RF transceiver module 222 can be used to perform conversion between digital baseband and analog RF signals, process the digital baseband signal emitted by the baseband module 210 into an RF analog signal and then send it to the RF front-end module 221, or receive the RF analog signal transmitted by the RF front-end module 221, convert it into a digital baseband signal and send it to the baseband module 210.
[0058] The RF front-end module 221 can be used to select to send RF analog signals to the antenna module 230 or to receive RF analog signals from the antenna module 230, so as to realize amplification, filtering and other processing of RF analog signals. The RF front-end module 221 can include a power amplifier (PA) 2211, and of course, can also include low noise amplifiers (LNA), filters, duplexers and switches and other devices. The important function of the power amplifier PA2211 is to amplify the power and obtain sufficient signal strength so as to radiate through the antenna, while the signal is not distorted in the process. PA is the core component of the RF front-end module 221, which can use the current control function of the triode or the voltage control function of the field effect tube to convert the power of the power supply into a current that changes according to the input signal. PA is mainly used in the transmission link, and by amplifying the weak RF signal of the transmission channel, the signal successfully obtains a sufficiently high power, thereby achieving higher communication quality, stronger battery life, and longer communication distance. The indicators of the power amplifier PA2211 can mainly include frequency range, output power, gain, etc.
[0059] In the embodiment of the present application, the PA can be set with different gain levels. The terminal device can switch the gain levels of different PAs to meet the needs of transmitting signals. The larger the gain level, the greater the gain of the PA, that is, the higher the amplification factor, and the better the signal quality of the transmitted signal. At the same time, the greater the gain of the PA, the greater the transmission power consumption.
[0060] The antenna module 230 is used as an external antenna to receive or send radio frequency analog signals. The antenna module 230 may include a switch (3P3T) and an antenna.
[0061] Among them, the switch switch can switch different signal channels.
[0062] The antenna module 230 may include multiple antennas. For example, the antenna module 230 includes a first antenna ANT0, a second antenna ANT1, and a third antenna ANT2. Among them, the first antenna ANT0, the second antenna ANT1, and the third antenna ANT2 can all support the transmission and reception of radio frequency signals in multiple frequency bands of 2G, 3G, 4G, and 5G low, medium, and high frequencies. Each antenna can be formed using any suitable type of antenna. For example, each antenna may include an antenna with a resonant element formed by the following antenna structures: an array antenna structure, a loop antenna structure, a patch antenna structure, a slot antenna structure, a spiral antenna structure, a strip antenna, a monopole antenna, a dipole antenna, and the like. Different types of antennas can be used for different frequency bands and frequency band combinations. In an embodiment of the present application, the types of the first antenna ANT0, the second antenna ANT1, and the third antenna ANT2 are not limited, and the number of antennas is not limited.
[0063] In addition, the terminal device may include multiple antenna modules, and each antenna module may be independent of each other and not interfere with each other. For example, a mobile phone includes four antenna modules, and these four antenna modules can all be used for sending and receiving wireless signals.
[0064] In the process of communication between the terminal device and the base station device, in order to achieve the receiving power of the base station signal, the base station device can broadcast the signal transmission power that it should use to the terminal device. After the terminal device receives the signal transmission power of the signal, it can adjust the transmission power to the corresponding requirement when transmitting the signal, thereby ensuring the quality of the transmitted signal.
[0065] When the terminal device is communicating with the base station device, the RF communication capability of the terminal device comes from the baseband module, RF module and antenna module of the terminal device. When the terminal device sends a signal to the base station device, the transmission power of the terminal device needs to reach the transmission power required by the base station device, so that the transmission power of the terminal device signal can reach the signal quality required by the base station device while reducing the signal reception power consumption as much as possible.
[0066] For the signal channel of the actual transmission signal of the terminal device, during the transmission of the signal between the RF front-end module and the antenna module, each transceiver channel of the antenna module has loss. For a terminal device manufacturing project, the difference in loss may be greater. When the terminal device transmits a signal, since the signal passes through the antenna module to reach the transmitting antenna port, and since the power loss formed in each signal channel of the transmitted signal is different, it is impossible to take into account the loss difference between different signal channels by uniformly adjusting the transmission power of the antenna module port according to the transmission power requirements of the base station. In this way, using a unified standard to adjust the transmission power of all signal channels will cause the transmission power between different signal channels to be inaccurate in order to take into account the loss difference of different signal channels. Specifically, in a signal channel with a large loss value, a larger power consumption should be used to ensure the signal quality, and adjusting the transmission power by a unified standard will result in the actual power of the final transmission failing to reach the required power, and the quality of the transmitted signal is poor; in a signal channel with a small loss value, a smaller power consumption should be used to reduce the waste of power consumption, and adjusting the transmission power by a unified standard will result in excessive transmission power consumption and the signal quality is far from the standard. Therefore, in the above process, the terminal device controls the power of the transmitted signal, the signal quality is poor and the power consumption is also large.
[0067] For example, Figure 3 Schematic diagram of the loss of a signal channel disclosed in an exemplary embodiment of the present application. Figure 3As shown, the antenna module 230 of the terminal device may include n+1 transmitting signal channels, namely TX0, TX1, ..., TXn. Wherein, n is a positive integer. In the signal channel TX0, the signal is received and sent through the antenna ANT0, and the signal loss value loss is 1dB; in the signal channel TX1, the signal is received and sent through the antenna ANT1, and the signal loss value loss is 3dB; ...; in the signal channel TXn, the signal is received and sent through the antenna ANTn, and the signal loss value loss is -2dB. Assume that the signal channel of the current communication is TX1. If the terminal device can determine that the antenna port power is 13dBm, and the power required by the base station device received by the terminal device is 18dBm. The terminal device can switch the gain level of the PA to achieve the switching of the antenna port power from 13dBm to 18dBm. If 15dBm is a switching point for the antenna power, the terminal device can switch the PA gain level to a gain level above 15dBm, and then adjust the power by adjusting the voltage of the PA. However, for different signal channels, due to the different channel losses, the PA gain level is uniformly switched to a gain level above 15dBm, and the antenna port power of different signal channels is not the same. Therefore, there will be multiple different signal channels whose antenna port power is not equal to 15dBm. For example, in signal channel TX0, the PA gain level is switched to above 15dBm, and VCC is adjusted, and the actual power of the antenna port is 17.5dBm; in signal channel TX1, the PA gain level is switched to above 15dBm, and VCC is adjusted, and the actual power of the antenna port is 15.5dBm; ...; in signal channel TXn, the PA gain level is switched to above 15dBm, and VCC is adjusted, and the antenna port power is 20.5dBm. Therefore, in the above process, the actual power of the antenna ports of signal channels TX0 and TX1 cannot reach 18dBm, and the signal quality is poor; ...; the actual power of the antenna port of signal channel TXn exceeds 18dBm, and the power consumption is wasted.
[0068] In addition, the above-mentioned one-size-fits-all PA power adjustment method for different communication channels does not take into account the different losses between different signal channels and the loss differences between different projects. It will also cause inconsistency in the power consumption and signal quality levels that the terminal equipment can achieve near the PA power switching point, and is not conducive to the overall processing between projects.
[0069] In addition, for situations where the loss difference is large, the terminal device may adjust the PA switching point for a certain signal channel separately. However, the separate processing process often increases the workload, making the execution efficiency worse. In addition, the compensation effect of a single signal channel is also limited. Furthermore, when the loss is found to be too large or too small, the PA power level is adjusted. The process of discovering the problem is often delayed, and it is impossible to fundamentally solve the problems of poor signal quality and waste of power.
[0070] In response to the above technical problems, an embodiment of the present application proposes a radio frequency power control method, which is applied to a terminal device. The modem of the terminal device can obtain a first target power from a base station device, and can determine a first loss value based on the first temperature value and the first frequency band obtained, determine the output power of the radio frequency front-end module based on the first loss value and the antenna port power, and determine the second target power based on the first target power and the first loss value. Among them, the first temperature value is the temperature value of the current terminal device, and the first frequency band is the frequency band of the signal channel currently used by the antenna module to transmit the signal. Afterwards, the terminal device can determine whether it is necessary to switch the power level based on the output power of the radio frequency front-end module and the second target power. In the case where the power level needs to be switched, the terminal device can switch the power level through the PA so that the output power of the radio frequency front-end module after switching is the same as the power level of the second target power; and adjust the voltage and / or current accordingly so that the transmit power of the antenna module is closer to the second target power. In the case where the power level does not need to be switched, the terminal device can keep the current power level unchanged. In the above implementation, the terminal device can specifically determine the loss value of the current signal channel, and adjust the output power of the RF front-end module based on the loss result and the second target power, so that during the signal transmission process of the terminal device, even if there is signal loss, the signal quality transmitted by the antenna module is guaranteed. And for different temperatures and frequency bands, the terminal device can specifically determine the loss value of the signal power, ensure the reliability and accuracy of the power adjustment, and ensure that the transmission power meets the requirements while reducing the transmission power consumption as much as possible.
[0071] In addition, the above-mentioned basis for RF power control has been carefully measured for different signal channels for the loss value, which allows different signals, different antenna modules, different projects or products to effectively solve the problems of power consumption waste and poor signal quality caused by loss differences, and also prepares in advance for the use (connection) between projects. In the above process, by measuring the loss of different signal channels of the terminal equipment in advance, no further calibration and update is required later.
[0072] In the embodiments of the present application, the power level of the PA can also be understood as the gain level, and the actual meanings of the two are the same.
[0073] Figure 4 1 is a flow chart of a method for adjusting radio frequency power disclosed in an embodiment of the present application. Figure 4 As shown, the above method may include but is not limited to the following steps:
[0074] In the embodiment of the present application, the radio frequency power adjusted by the terminal device is a transmission power control process for the terminal device when transmitting a radio frequency signal to a base station device.
[0075] S401: The terminal device obtains a power switching instruction.
[0076] The base station device can send a power switching instruction to the terminal device. Correspondingly, the terminal device can receive a power switching instruction from the base station device. The power switching instruction is used by the terminal device to adjust the transmission power of the signal. The power switching instruction includes a first target power. The first target power can be the signal transmission power that the terminal device should adjust to. The first target power is the power value that the base station device requires the terminal device to transmit the signal to reach. Therefore, the first target power can ensure that the signal quality of the terminal device's transmission signal can meet the reception requirements of the base station device, and does not require excessive transmission power consumption. Specifically, the modem of the terminal device can receive the power switching instruction from the base station device, and the modem can obtain the first target power.
[0077] S402: The terminal device determines a first loss value of a current signal channel based on a first temperature value and a first frequency band.
[0078] The first loss value is a power loss value of the current signal channel. The first loss value may be an insertion loss, that is, the loss of the signal caused by the components on the signal channel.
[0079] In a possible implementation, the terminal device stores first mapping relationships for different signal channels. The first mapping relationship may be a mapping relationship between temperature, communication frequency band, and loss data. The terminal device may obtain the current signal channel and determine the corresponding first mapping relationship based on the signal channel. The terminal device stores a first mapping relationship for each signal channel.
[0080] The terminal device may store K first mapping relationships, and all antenna modules of the terminal device include K signal channels. The K first mapping relationships correspond to the K signal channels one by one, and K is a positive integer. The terminal device may determine the signal channel of the current antenna (one of the K signal channels) through a modem, and each signal channel has an identifier, namely, a signal channel identifier. The signal channel identifier may uniquely identify the signal channel of the terminal device. There is a one-to-one correspondence between the signal channel and the first mapping relationship. The terminal device may determine the first mapping relationship that uniquely corresponds to the current signal channel based on the signal channel identifier of the current signal channel through a modem, namely, the target first mapping relationship.
[0081] After determining the target first mapping relationship, the Modem of the terminal device can obtain the first temperature value and the first frequency band. Afterwards, it can be determined that the loss data corresponding to the first temperature value and the first frequency band in the target first mapping relationship is the first loss value. That is, after knowing the first temperature value, the first frequency band and the target first mapping relationship, the Modem of the terminal device can search the loss data corresponding to the first temperature value and the first frequency band from the target first mapping relationship as the first loss value. Among them, the first temperature value can be the current temperature of the terminal device. The first frequency band is the communication frequency band of the current antenna module. The Modem of the terminal device can determine the first temperature value through the current temperature sensor, and obtain the current communication frequency band as the first frequency band.
[0082] In the embodiment of the present application, the signal channel refers to the signal channel through which the antenna module transmits signals.
[0083] Exemplarily, Table 1 is a mapping relationship table between the temperature, communication frequency band and loss data of a certain signal channel disclosed in an embodiment of the present application.
[0084] Table 1
[0085]
[0086] As shown in Table 1, under different temperatures and communication frequency bands, the corresponding loss values are different. When the frequency band remains unchanged, the loss value increases with the increase of temperature. When the temperature remains unchanged, the loss value changes irregularly with the increase of the frequency band. When the modem of the terminal device determines the current temperature and frequency band, that is, the first temperature value and the first frequency band, it can determine the corresponding first loss value based on the mapping relationship in Table 1.
[0087] Exemplarily, when the first temperature value is 30°C and the first frequency band is 1745MHz, the terminal device determines that the first loss value corresponding to 30°C and 1745MHz is 1.9dB based on Table 1. When the first temperature value is 55°C and the first frequency band is 1785MHz, the terminal device determines that the first loss value corresponding to 55°C and 1785MHz is 2.6dB based on Table 1.
[0088] It should be noted that the above Table 1 is only an exemplary illustration of the first mapping relationship and does not constitute a limitation. Generally speaking, the above Table 1 can be stored in advance, and the Modem can directly call it when determining the target first mapping relationship.
[0089] In the above implementation, since the loss data will be affected by temperature and communication frequency band, the loss value of each signal channel is specifically determined by temperature and frequency band, which can more carefully and accurately determine the loss of the current signal channel, thereby ensuring the accuracy and effectiveness of the basis for determining power adjustment of the current signal channel, and ensuring the quality of the transmitted signal while reducing power consumption as much as possible.
[0090] In another possible implementation, the terminal device may store a loss data for each signal channel. The terminal device may determine the corresponding loss data as a first loss value based on the signal channel of the current antenna. In the above process, the loss data of each signal channel may be determined separately to ensure that the output power of the RF front-end module can take into account the difference in different loss values and ensure the accuracy of power control.
[0091] S403: The terminal device determines the output power of the RF front-end module based on the first loss value and the antenna port power, and determines the second target power based on the first loss value and the first target power.
[0092] The modem of the terminal device can obtain the measured antenna port power, and determine the sum of the antenna port power and the first loss value as the output power of the RF front-end module, and determine the sum of the first target power and the first loss value as the second target power. The antenna port power is the power value of the current signal channel at the antenna port. In an embodiment of the present application, the signal channel of the antenna module will cause loss to the signal, and the output power of the RF front-end module is the power before the loss, that is, the power output by the RF front-end module. The second target power is the power value that the output power of the RF front-end module needs to reach.
[0093] After the terminal device obtains the first loss value, the modem of the terminal device can determine the RF front-end output power power_paout based on the antenna port power power_ant and the first loss value loss: power_paout=power_ant+loss, and determine the second target power as the sum of the first target power and loss.
[0094] For example, it is known that the first loss value loss is 2dB, and the measured antenna port power power_ant is 16dBm, so the RF front-end output power power_paout can be determined to be 18dBm=(16+2)dBm. The first target power is 18dB m, and the second target power is 20dBm=(18+2)dBm.
[0095] For example, the first loss value loss is known to be -1dB, and the measured antenna port power power_ant is 17dBm, so the RF front-end output power power_paout can be determined to be 16dBm = (17-1)dBm. The first target power is 15dB m, and the second target power is 14dBm = (15-1)dBm.
[0096] In the embodiment of the present application, the loss value of the signal channel can be positive, negative or 0, without specific limitation.
[0097] In the above implementation, the terminal device can determine the output power of the RF front-end module of the current signal channel based on the loss value and the antenna port power. The output power of the RF front-end module can provide a more reliable basis for adjusting the antenna power due to the amount of loss value added.
[0098] Figure 5 Schematic diagram of a terminal device communication device shown in an exemplary embodiment of the present application. Figure 5 As shown, the communication device of the terminal device may include a baseband module 210, a radio frequency module 220, an antenna module 230, a power module 240 and a power control module FBRX250. The power control module FBRX250 may be used to obtain the antenna port power of the antenna module 230. The power module 240 may adjust the voltage and / or current of the power amplifier PA. The connection and description of each module may refer to Figure 2 In the above description, the process of the modem obtaining the measured antenna port power may specifically be that the modem controls the power control module FBRX250 to obtain the antenna port power in the current signal channel.
[0099] S404: The terminal device determines whether the power level needs to be switched based on the output power of the RF front-end module and the second target power. If yes, execute S405; otherwise, execute S406.
[0100] The PA of the RF front-end module of the terminal device is set with different gain levels, that is, the power level of the PA of the terminal device. The terminal device can determine whether the second target power and the output power of the RF front-end module are at the same power level through the modem. In the case of the same power level, it can be determined that there is no need to switch the power level. In the case of different power levels, it can be determined that the power level needs to be switched.
[0101] In one possible implementation, the terminal device determines the power switching direction based on the RF front-end module output power and the second target power. When the power switching direction is upward switching, the terminal device determines whether the RF front-end module output power and the second target power are at the same power level based on the upward switching standard; when the power switching direction is downward switching, the terminal device determines whether the RF front-end module output power and the second target power are at the same power level based on the downward switching standard. When they are at the same power level, the terminal device determines that the power level does not need to be switched; when they are at different power levels, the terminal device determines that the power level needs to be switched.
[0102] The power switching direction of the terminal device may include two power switching directions, "upward switching" and "downward switching". "Upward switching" refers to switching in the direction of increasing power level; "downward switching" refers to switching in the direction of decreasing power level. For the two power switching directions, the terminal device has two switching standards. The switching standard for "upward switching" is the upward switching standard, and the switching standard for "downward switching" is the downward switching standard. The terminal device stores the upward switching standard and the downward switching standard. Both switching standards are used to determine whether power switching in the corresponding direction is currently required. Both switching standards can include three gain levels: high, medium and low. For example, in the upward switching standard, a power value greater than 15dBm is a high gain level; a power value less than or equal to 15dBm and greater than 5dBm is a medium gain level; a power value less than or equal to 5dBm is a low gain level. In the downward switching standard, a power value greater than 11dBm is a high gain level; a power value less than or equal to 11dBm and greater than 1dBm is a medium gain level; a power value less than or equal to 1dBm is a low gain level.
[0103] The terminal device can determine the power switching direction based on the second target power and the output power of the RF front-end module. The terminal device can specifically determine the power switching direction by the magnitude relationship between the second target power and the output power of the RF front-end module. When the output power of the RF front-end module is greater than the second target power, the power switching direction is determined to be a downward switch. When the output power of the RF front-end module is less than the second target power, the power switching direction is determined to be an upward switch.
[0104] After the terminal device determines the power switching direction, it can determine the switching standard of the object based on the switching direction, and determine whether power switching is currently required based on the second target power and the output power of the RF front-end module and the corresponding switching standard.
[0105] In the case where it is determined that the power switching direction is an upward switch, the terminal device can determine whether it is necessary to switch the power level based on the upward switch standard. In the case where the second target power and the output power of the RF front-end module are at the same power level in the upward switch standard, it can be determined that there is no need to switch the power level. In the case where the second target power and the RF front-end module are at different power levels in the upward switch standard, it can be determined that the current power level of the PA needs to be switched upward so that the output power of the RF front-end module is the same as the power level at which the second target power is located.
[0106] Exemplarily, in the known upward switching standard, a power value greater than 15dBm is a high gain level; a power value less than or equal to 15dBm and greater than 5Bm is a medium gain level; a power value less than or equal to 5dBm is a low gain level. Assume that the second target power is 14dBm and the output power of the RF front-end module is 10dBm. 10dBm<14dBm, determine the power switching direction to switch upward. 14dBm and 10dBm are both power values less than 15dBm and greater than 5dBm, and both are medium gain levels. The terminal device can determine that the second target power 14dBm and the output power 10dBm of the RF front-end module are at the same power level, and there is no need to switch the power level. Assume that the second target power is 19dBm and the output power of the RF front-end module is 12dBm. 12dBm<19dBm, determine the power switching direction to switch upward. 19dBm is greater than 15dBm, which is a high gain level; 12dBm is less than 15dBm and greater than 5dBm, which is a medium gain level. The terminal device can determine that the second target power 19dBm and the RF front-end module output power 12dBm are at different power levels and need to switch the power level, that is, the power level needs to be switched up one power level.
[0107] In the case where it is determined that the power switching direction is a downward switch, the terminal device can determine whether it is necessary to switch the power level based on the downward switch standard. In the case where the second target power and the output power of the RF front-end module are at the same power level in the downward switch standard, it can be determined that there is no need to switch the power level. In the case where the second target power and the output power of the RF front-end module are at different power levels in the downward switch standard, it can be determined that the power level needs to be switched downward so that the output power of the RF front-end module is the same as the power level at which the second target power is located.
[0108] Exemplarily, in the known downward switching standard, a power value greater than 11dBm is a high gain level; a power value less than or equal to 11dBm and greater than 1dBm is a medium gain level; a power value less than or equal to 1dBm is a low gain level. Assume that the second target power is 10dBm and the output power of the RF front-end module is 16dBm. 10dBm<16dBm, determine that the power switching direction is downward switching. 16dBm is greater than 11dBm, and the output power of the RF front-end module is a high gain level; 10dBm is less than 11dBm and greater than 1dBm, and the second target power is a medium gain level. The terminal device can determine that the second target power of 10dBm and the output power of the RF front-end module of 16dBm are in different power levels, and the power level needs to be switched, that is, the power level of the PA needs to be switched down by one power level. Assume that the second target power is 14dBm and the output power of the RF front-end module is 18dBm. 14dBm<18dBm, the power switching direction is determined to be downward switching. 14dBm and 18dBm are both greater than 11dBm, and the second target power and the RF front-end module output power are both high gain levels. The terminal device can determine that the second target power and the RF front-end module output power are at the same power level, and there is no need to switch the power level.
[0109] In an embodiment of the present application, when the power levels to be switched are the same, the switching point in the upward switching standard is greater than the switching point in the downward switching standard, and the switching point is the dividing value between adjacent power levels. That is, the switching points of the high, medium and low gain levels of the upward switching standard are correspondingly greater than the switching points of the high, medium and low gain levels of the downward switching standard. For example, the switching point of the high and medium gain level in the upward switching standard in the above example is 15dBm, and the switching point of the high and medium gain level in the downward switching standard is 11dBm, 15dBm>11dBm. The switching point of the medium and low gain level in the upward switching standard is 5dBm, and the switching point of the medium and low gain level in the downward switching standard is 1dBm, 5dBm>1dBm. According to the above implementation, if the output power of the RF front-end module is less than the second target power, the power value of the upper and lower switching points is larger; if the output power of the RF front-end module is higher than the second target power, the power value of the upper and lower switching points is smaller, so that the ping-pong effect can be avoided, and the situation of repeatedly switching the power level up and down can be prevented when the power is just at the switching point. Furthermore, the above process can reduce the number of switching as much as possible, thereby ensuring signal quality while reducing the number of switching and the power consumption of power level switching.
[0110] In another possible implementation of the first target power, the terminal device stores only one power switching standard. The terminal device can determine whether the output power of the RF front-end module and the second target power are the same power level in the power switching standard. In the case of the same power level, the terminal device can determine that the power level does not need to be switched; in the case of different power levels, the terminal device can determine that the power level needs to be switched.
[0111] Exemplarily, assume that the upper cut-off point is known to be 15dBm and the lower cut-off point is 6dBm. The output power of the RF front-end module is 14dBm, and 14dBm is between 6 and 15dBm. The output power of the RF front-end module is a medium power level, and the second target power is 18dBm, which is a high power level. At this point, it can be determined that the output power of the RF front-end module and the second target power are at different power levels, and it can be determined that the power level at which the PA needs to be switched. If the output power of the RF front-end module and the second target power are both 13dBm, which are at a medium power level, the output power of the RF front-end module and the second target power are the same power level, and it can be determined that there is no need to switch the power level.
[0112] Through the above judgment process, it is possible to effectively determine whether the current power level needs to be switched, and the judgment can take into account the channel loss, ensure the accuracy and necessity of the switching, and ensure the quality of the transmitted signal while reducing power consumption as much as possible.
[0113] S405: When the power level needs to be switched, the terminal device switches the power level through the PA so that the power level of the RF front-end module after switching is the same as the second target power; and adjusts the voltage and / or current.
[0114] In the case where the terminal device needs to switch the power level, the terminal device can control the PA to switch the power level (gain level) through the Modem, and the output power of the RF front-end module after switching is the same as the power level of the second target power. Specifically, in the case where the power level of the RF front-end module output power is inconsistent with the power level of the second target power, the terminal device switches the power level of the RF front-end module to the power level of the second target power by controlling the Modem to adjust the power level of the PA.
[0115] Specifically, based on the processing of S404, when the Modem determines that switching is required, the switching direction is also determined. The Modem of the terminal device controls the PA to switch the power level according to the determined switching direction. Exemplarily, the power level at which the output power of the RF front-end module is at a medium gain level, and the power level at which the second target power is at a high gain level. The terminal device can switch the power level of the PA upward, from the medium gain level to the high gain level. The power level at which the output power of the RF front-end module is at a medium gain level, and the power level at which the second target power is at a low gain level. The terminal device can switch the power level of the PA downward, from the medium gain level to the low gain level.
[0116] After the terminal device switches the power level of the PA, the modem adjusts its voltage and / or current accordingly to perform fine power adjustment.
[0117] like Figure 5 As shown, the power module 240 can supply power to the PA in the RF module 220. The power module 240 can be controlled by a modem. The power module 240 can be a power supply chip, which is not limited in this application. The remaining modules can refer to Figure 2 The relevant description will not be repeated here.
[0118] Optionally, after the modem of the terminal device switches the power level of the output power of the RF front-end module to the power level of the second target power, the power supply voltage and / or current can be further adjusted. Specifically, the terminal device can adjust the power supply voltage (VCC) and / or current (which can be the collector current ICQ of the PA) of the power module through the modem to achieve the purpose of making the output power of the RF front-end module closer to the second target power, that is, the antenna port power reaches the first target power. The process of the modem of the terminal device adjusting the voltage and / or current through the power module 240 to adjust the output power of the RF front-end module to the second target power is described in detail below:
[0119] In one possible case, the terminal device may store a second mapping relationship. The second mapping relationship is a mapping relationship between the second target power and the voltage and / or current. The signal channel of the current antenna of the terminal device is different, and the corresponding selected target second mapping relationship is different. In the case where the terminal device has a total of K signal channels, the terminal device stores K second mapping relationships accordingly. Assuming that the signal channel of the current antenna is the i-th signal channel, the terminal device can determine that the i-th second mapping relationship in the second mapping relationship corresponding to the i-th signal channel is the target second mapping relationship. After the terminal device determines the target second mapping relationship, it can select the first voltage and / or the first current corresponding to the second mapping relationship based on the current power level and the second target power. The terminal device can adjust the current PA power supply voltage to the first voltage and / or the collector current of the PA to the first current through the Modem. Therefore, the terminal device can specifically adjust the output power of the RF front-end module based on the second mapping relationship so that the output power of the RF front-end module reaches the second target power.
[0120] The second mapping relationship may be a mapping relationship between the power supply voltage and the second target power, a mapping relationship between the current and the second target power, or a mapping relationship between the current, the power supply voltage and the second target power. For different signal channels, the selected target second mapping relationship is different.
[0121] Table 2 is a second mapping relationship table corresponding to the i-th signal channel disclosed in an embodiment of the present application.
[0122] Table 2
[0123]
[0124] As shown in Table 2, in the second mapping relationship of the i-th signal channel (Table 2 is the target second mapping relationship), when the current power level is at a low power level, the second target power corresponding voltage of 8dBm is 2.2V; the second target power corresponding voltage of 10dBm is 2.4V. When the current power level is at a medium power level, the second target power corresponding voltage of 12dBm is 2.8V; the second target power corresponding voltage of 14dBm is 3V; the second target power corresponding voltage of 15dBm is 3.2V. When the current power level is at a high power level, the second target power corresponding voltage of 16dBm is 2.4V; the second target power corresponding voltage of 17dBm is 2.6V; the second target power corresponding voltage of 18dBm is 2.8V; the second target power corresponding voltage of 19dBm is 3V; the second target power corresponding voltage of 20dBm is 3.2V; the second target power corresponding voltage of 21dBm is 3.4V. When the power level of the PA is determined, the second target power increases relatively with the increase of the power supply voltage. When the PA power level has been adjusted, the modem of the terminal device can adjust the voltage and / or current to adjust the transmission power of the terminal device in the current signal channel.
[0125] Exemplarily, when the current power level is a medium power level and the second target power is 16 dBm (at this time, 16 dBm is at a high gain level), the modem of the terminal device can determine that 16 dBm corresponds to 3.4 V (the first voltage) based on Table 2, and control the power module to adjust the power voltage to 3.4 V. When the second target power is 17 dBm, the modem of the terminal device can determine that 17 dBm corresponds to 3.6 V (the first voltage) based on Table 1, and control the power module to adjust the power voltage to 3.6 V.
[0126] It should be noted that the second mapping relationship is illustrated as the mapping relationship between the second target power and the voltage in Table 2, which does not constitute a limitation. In addition, the second mapping relationship can also be the mapping relationship between the second target power and the current, and the mapping relationship between the second target power and the voltage and the current. The specific description can be analogous to Table 2 and is not repeated.
[0127] In the above process, the terminal device can adjust the output power of the RF front-end module of the terminal device to be close to the second target power by adjusting the power supply voltage and / or current. The target second mapping relationship can ensure the accuracy and reliability of the adjustment, and can ensure the quality of the transmitted signal while reducing power consumption as much as possible.
[0128] In another possible case, the terminal device may store a power adjustment function, which may be used to specifically adjust the output power of the RF front-end module.
[0129] The terminal device can store different power adjustment functions corresponding to different signal channels. The signal channels of the current antenna of the terminal device are different, and the corresponding power adjustment functions are different. In the case where the terminal device has a total of K signal channels, the terminal device stores K groups of power adjustment functions. Assuming that the signal channel of the current antenna is the i-th signal channel, the terminal device can determine the i-th group of power adjustment functions corresponding to the i-th signal channel. The terminal device can determine the target power adjustment function in the i-th group of power adjustment functions based on the current power level. The terminal device can determine the first voltage and / or the first current based on the second target power, the output power of the RF front-end module and the target power adjustment function. The terminal device can adjust the current PA power supply voltage to the first voltage and / or the collector current of the PA to the first current through the Modem adjustment. Therefore, the terminal device can specifically adjust the output power of the RF front-end module based on the power adjustment function so that the output power of the RF front-end module reaches the second target power.
[0130] The modem of the terminal device can determine the adjustment value of the voltage and / or current based on the power adjustment function. When the current power level is determined, the modem of the terminal device can determine the corresponding power adjustment function based on the current power level, which can be called the second target power adjustment function.
[0131] When the target power adjustment function is determined, the modem of the terminal device can determine the adjustment value of the voltage and / or power supply based on the second target power, the output power of the RF front-end module and the target power adjustment function, and adjust the voltage and / or power supply of the PA accordingly.
[0132] Exemplarily, the target power adjustment function corresponding to the current power level is voltage adjustment value Y = (second target power - RF front-end module output power) / 0.2V. Wherein, Y is a negative number, indicating downward adjustment; Y is a positive number, indicating upward adjustment; Y is 0, indicating no adjustment. For example, if the current voltage is 3.2V, Y is calculated to be -0.2, and the modem of the terminal device can control the power supply voltage to decrease by 0.2, that is, to 3.0V.
[0133] In the above process, the terminal device can adjust the power supply voltage and / or current, and the second target power adjustment function can ensure the accuracy and reliability of the adjustment, and can reduce power consumption as much as possible while ensuring the quality of the transmitted signal.
[0134] Table 3 is a comparison table between a scheme of an embodiment of the present application and Scheme 1, which is exemplarily disclosed in an embodiment of the present application. As shown in Table 3, in Scheme 1, the terminal device adjusts the voltage and current based on the antenna port power. For different signal channels TX0 and TX1, the power supply voltage VCC is adjusted to the first voltage 3.2V and ICQ is adjusted to the first current a mA based on the antenna port power. In this adjustment process, the terminal device does not take into account the loss difference between different signals and processes them according to a unified standard. In the scheme of the embodiment of the present application, the terminal device can specifically determine the loss value for different signal channels TX0 and TX1, and determine the output power of the RF front-end module based on the loss value. The terminal device can adjust its voltage and current based on the output power of the RF front-end module of each channel. Among them, in order to adjust the output power of the RF front-end module to 18dBm, TX0 needs to adjust VCC to the first voltage 2.6V and ICQ to the first current a mA. In order to adjust the output power of the RF front-end module to 21dBm, TX0 needs to adjust VCC to the first voltage 3.2V and ICQ to the first current c mA.
[0135] Table 3
[0136]
[0137] In the above two schemes, the terminal device may be able to measure the antenna port power as 15dBm, but the voltage and current adjustment results made by the terminal device may be completely different. The important reason is that the basis for adjustment is different. The scheme of the embodiment of the present application makes adjustments for each signal channel, so that the power adjustment result is more accurate, that is, it can reduce the power consumption of the signal while ensuring the signal quality.
[0138] S406: When there is no need to switch the power level, the terminal device maintains the current power level unchanged; and adjusts the power supply and / or voltage.
[0139] In a possible implementation, the terminal device may maintain the current power level unchanged, and ensure that the power level at which the RF front-end module outputs power remains unchanged.
[0140] Optionally, the modem of the terminal device can further adjust the power supply voltage and / or current. Specifically, the terminal device can adjust the power supply voltage (VCC) and / or current (which can be the collector current ICQ of the PA) of the power module through the modem. The specific adjustment method can refer to the relevant description of the two methods in S405, which will not be repeated here.
[0141] In the above implementation, the terminal device can specifically determine the loss value of the current signal channel, and adjust the power level of the PA based on the loss value and the second target power, so that during the signal transmission process, even if there are differences in the losses between different signal channels, the signal quality transmitted by the terminal device is guaranteed. In addition, for different temperatures and frequency bands, the terminal device can specifically determine the loss value of the signal power, ensure the reliability and accuracy of power regulation, and reduce power consumption as much as possible.
[0142] In addition, the above-mentioned basis for RF power control has been carefully measured for different signal channels for the loss value, which allows different signals, different antenna modules, different projects or products to effectively solve the problems of power consumption waste and poor signal quality caused by loss differences, and also prepares for the use between projects in advance. In the above process, the loss of the terminal equipment needs to be measured in advance, and no further calibration and update is required later.
[0143] On the terminal device Figure 4 Before performing power control using the method in the present invention, it is necessary to establish a first mapping relationship and a second mapping relationship for different signal channels in advance, and continuously adjust and correct the first mapping relationship and the second mapping relationship, so as to ensure the accuracy of power control performed by the terminal device during the power control stage.
[0144] Figure 6 FIG. 1 is a flow chart of a power control calibration method disclosed in an embodiment of the present application. Figure 6 As shown, the power control calibration method may include but is not limited to the following steps:
[0145] like Figure 5 As shown, the communication device of the terminal device may include a baseband module 210, a radio frequency module 220, an antenna module 230, a power module 240 and a power control module FBRX250. The power control module FBRX250 may be used to obtain the antenna port power of the antenna module 230. The power module 240 may adjust the voltage and / or current of the power amplifier PA. Figure 5 illustrate Figure 6 The method flow is shown.
[0146] S601: The terminal device obtains loss data of each signal channel under different temperature conditions and different communication frequency band conditions.
[0147] All antenna modules of the terminal device include K signal channels. The terminal device needs to determine a first mapping relationship for each signal channel.
[0148] Taking the terminal device determining the loss data of the kth signal channel as an example (where k can be an integer from 1 to K, and the terminal device needs to determine the loss data of each signal channel) as an example, it is specifically described as follows:
[0149] While keeping the temperature condition unchanged, the communication frequency band of the signal is constantly controlled and changed, and the terminal device can read the loss data of this signal channel through the gold board. After that, the temperature condition can be changed, the communication frequency band can be readjusted, and the loss data can be read. The loss data is the insertion loss data between the output end of the RF front-end module and the antenna port, and the unit of the loss data is dB. The gold board is a standard board that has the function of obtaining various hardware parameters of the antenna. In the embodiment of the present application, the gold board can obtain the loss data of the current signal channel. The loss data is specifically related to Figure 4 and Figure 6 The loss data and loss values described in have the same meaning and are not repeated here.
[0150] In the above-mentioned process of controlling and reading loss data, the terminal device controls different temperatures and different frequency bands, and reads the gold plate to read the insertion loss data. There is no limitation on the control process of temperature and frequency band. Furthermore, after reading the loss data of the current signal channel, the loss data of the next signal channel can be read in the same way until the loss data of all signal channels are obtained.
[0151] When the terminal device reads the loss data, it is necessary to store the temperature, frequency band and loss data.
[0152] S602: The terminal device establishes a first mapping relationship between each signal channel based on temperature, communication frequency band and loss data.
[0153] The first mapping relationship is a mapping relationship between temperature, communication frequency band and loss data.
[0154] The terminal device reads the size of the loss data under different temperatures and different frequency bands through a gold board. And determine the first mapping relationship according to the temperature, communication frequency band and the corresponding collected loss data at that time. The specific representation of the first mapping relationship can refer to Table 1 and related descriptions, which will not be repeated here. After the terminal device establishes the first mapping relationship, the first mapping relationship can be stored for subsequent use. Specifically, the terminal device can store the first mapping relationship of each signal channel in its non-volatile random access memory (NVRAM / NV).
[0155] S603: The terminal device obtains the output power of the RF front-end module based on the antenna port power and loss data.
[0156] The output power power_paout of the RF front-end module is the sum of the antenna port power power_ant and the loss data loss. That is, when the current signal channel loss data is determined, power_paout=power_ant+loss is calculated. Among them, loss is the loss data determined by the current signal channel.
[0157] The terminal device can store the calculation relationship between the RF front-end module output power power_paout and the sum of the antenna port power power_ant and the loss data loss, and directly call it during use.
[0158] S604: The terminal device establishes a second mapping relationship between the output power of the RF front-end module and the voltage and / or current.
[0159] When the second mapping relationship is a mapping relationship between voltage and RF front-end module output power, the second mapping relationship can be established based on voltage and RF front-end module output power. In the process of establishing the second mapping relationship, the magnitude of the second target power is the RF front-end module output power currently calculated by measuring the antenna port power.
[0160] For the kth signal channel, when the power level is determined, by adjusting VCC, the terminal device can read the mapping relationship between the voltage and the antenna port power. After that, the output power of the RF front-end module power_paout=power_ant+loss can be calculated based on the antenna port power under the condition of the current VCC. In the above process, the second mapping relationship between the voltage and the output power of the RF front-end module (as the second target power in the second mapping relationship) can be determined. The terminal device can switch the power level and continue to determine the second mapping relationship until the output power of the RF front-end module and the voltage and / or current of all power levels of the current signal channel are determined, so that the second mapping relationship of the kth signal channel can be obtained. After the second mapping relationship of all power levels of the kth signal channel is determined, the second mapping relationship of the k+1th signal channel can be obtained according to the above method. Until the second mapping relationships of all power levels of all signal channels are obtained.
[0161] After the terminal device obtains the second mapping relationships of all power levels of all signal channels, these second mapping relationships can be stored in the terminal device according to the signal channels and power levels. Specifically, the terminal device can store the second mapping relationships corresponding to all power levels of each signal channel in the NV.
[0162] When the second mapping relationship is a mapping relationship between current and output power of the RF front-end module, the second mapping relationship can be established based on the current and the output power of the RF front-end module.
[0163] It is necessary to determine the current (ICQ) of each signal channel and each power level under the signal channel, calculate the corresponding RF front-end module output power, and establish a second mapping relationship. The terminal device can then store the second mapping relationship.
[0164] When the second mapping relationship is a mapping relationship between voltage and current and the output power of the RF front-end module, the second mapping relationship can be established based on the voltage and current and the output power of the RF front-end module.
[0165] It is necessary to determine the voltage (VCC) and current (ICQ) of each signal channel and each power level under the signal channel, and while adjusting the voltage and current, determine the output power of the RF front-end module and establish a second mapping relationship.
[0166] In the above process, the process of adjusting the voltage and / or current is obtained by the terminal device controlling the power module 240 through the Modem 211. After the adjustment, the Modem 211 of the terminal device can obtain the antenna port power through the power control module FBRX 250, and calculate the output power of the RF front-end module (at this time, the output power of the RF front-end module is the second target power written in the second mapping relationship).
[0167] S605: The terminal device stores the first mapping relationship and the second mapping relationship.
[0168] The terminal device stores all the acquired first mapping relationships according to the signal channels.
[0169] Exemplarily, the terminal device may store all first mapping relationships and the correspondence between the identifiers of the signal channels and the first mapping relationships. The terminal device may select the first mapping relationship to be used according to the identifier of the current signal channel.
[0170] The terminal device stores all the acquired second mapping relationships according to the signal channels and power levels.
[0171] Exemplarily, the terminal device may store the second mapping relationship and the correspondence between the signal channel identifier and the power level and the second mapping relationship. The terminal device may determine the (target) second mapping relationship to be used by the identifier of the current signal channel and the power level of the current PA.
[0172] The terminal device can specifically store the data in a non-volatile random access memory (NVRAM / NV).
[0173] Before the terminal device stores the first mapping relationship and the second mapping relationship, it is necessary to continuously adjust the two based on signal quality and power consumption. This allows the terminal device to achieve more accurate signal quality and power consumption during the process of using the first mapping relationship and the second mapping relationship. Therefore, during the process of the terminal device determining the first mapping relationship and the second mapping relationship, it is necessary to continuously adjust and iterate to ensure the accuracy of power adjustment based on the output power of the RF front-end module.
[0174] In the above-mentioned implementation mode, the adjustment basis of the power control process of the terminal device can be determined in advance, the different losses of different signal channels can be taken into account in advance, and the different power control adjustment methods of the output power of different RF front-end modules can be corrected in advance. In the subsequent power adjustment process, the signal quality can be guaranteed while reducing the transmission power consumption.
[0175] Figure 7 FIG. 1 is a schematic diagram of a chip structure disclosed in an exemplary embodiment of the present application. Figure 7 As shown, the terminal device may include a baseband chip 710, a radio frequency chip 720 and an antenna chip 730. The specific description of the baseband chip 710 may refer to Figure 5 For the related description of the baseband module 210 and the specific description of the RF chip 720, please refer to Figure 5 For the relevant description of the RF module 220 and the specific description of the antenna chip 730, please refer to Figure 5 The terminal device can execute the above-mentioned various chips. Figure 4 and Figure 6 The method flow shown completes power control and advance power control calibration.
[0176] The following is an introduction to the device involved in the embodiments of the present application.
[0177] Figure 8 A schematic diagram of the hardware structure of a terminal device 100 provided in an embodiment of the present application.
[0178] The following embodiment is specifically described by taking the terminal device 100 as an example. It should be understood that: Figure 8 The illustrated terminal device 100 is merely an example, and the terminal device 100 may have more or fewer components, may combine two or more components, or may have a different configuration of components. Figure 8The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0179] The terminal device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0180] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0181] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0182] The controller may be the nerve center and command center of the terminal device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0183] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0184] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0185] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the terminal device 100.
[0186] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0187] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0188] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0189] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the terminal device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the terminal device 100.
[0190] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0191] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.
[0192] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0193] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device through the power management module 141.
[0194] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0195] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0196] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch. In an embodiment of the present application, the antenna module 230 may include antenna 1 and antenna 2.
[0197] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0198] In the embodiment of the present application, the mobile communication module may be the radio frequency module 220 in the embodiment of the present application.
[0199] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0200] In the embodiment of the present application, the baseband processor can be understood as a baseband module.
[0201] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0202] In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0203] The terminal device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
[0204] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0205] The terminal device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0206] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0207] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the terminal device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0208] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the terminal device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0209] Video codecs are used to compress or decompress digital videos. The terminal device 100 may support one or more video codecs. Thus, the terminal device 100 may play or record videos in various coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0210] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the terminal device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0211] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0212] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the terminal device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the terminal device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0213] The terminal device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0214] The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to avoid abnormal shutdown of the terminal device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
[0215] In the embodiment of the present application, the temperature sensor can collect the current temperature of the terminal device, that is, the first temperature.
[0216] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.
[0217] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0218] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Claims
1. A radio frequency power control method, It is characterized in that The method is applied to a terminal device, and the method comprises: The terminal device acquires a first target power, where the first target power is a power value that a base station device requires a transmission signal of the terminal device to reach; The terminal device acquires a first temperature and a current communication frequency band; the first temperature is the current temperature of the terminal device itself measured, and the current communication frequency band is the signal frequency band used by the current signal channel of the antenna; The terminal device determines a target first mapping relationship based on the current signal channel of the antenna; the terminal device stores a first mapping relationship for each signal channel, and the first mapping relationship is a mapping relationship between temperature, communication frequency band and loss data; the signal channel is a signal channel for the antenna module of the terminal device to transmit signals; the loss data of the first mapping relationship corresponding to each signal channel is the insertion loss data detected between the output end of the RF front-end module and the antenna port under the corresponding temperature and communication frequency band conditions when each signal channel sends a signal; the antenna module of the terminal device includes K signal channels, and the loss data of the first mapping relationship of the kth signal channel is the loss data read when the temperature condition is kept unchanged and the communication frequency band of the transmitted signal is changed, and the loss data read when the temperature condition is changed and the communication frequency band of the transmitted signal is readjusted; the kth signal channel is one of the K signal channels, and k is an integer from 1 to K in sequence; The terminal device determines the loss data corresponding to the first temperature and the current communication frequency band in the target first mapping relationship as a first loss value; The terminal device determines the output power of the RF front-end module based on the first loss value and the first antenna port power; the first loss value is the power loss corresponding to the current signal channel of the antenna, and the first antenna port power is the power value of the transmitting port of the current signal channel of the antenna; the output power of the RF front-end module is the sum of the first loss value and the first antenna port power; The terminal device determines a second target power based on the first loss value and the first target power; the second target power is the sum of the first loss value and the first target power; The terminal device determines whether it is necessary to switch the power level based on the output power of the RF front-end module and the second target power.
2. The method according to claim 1, It is characterized in that After the terminal device determines whether it is necessary to switch the power level based on the output power of the RF front-end module and the second target power, the method further includes: When the power level needs to be switched, the terminal device controls the power amplifier PA to switch the power level; when the power level does not need to be switched, the terminal device keeps the current power level unchanged.
3. The method according to claim 2, It is characterized in that In the case where the power level needs to be switched, after the terminal device controls the PA to switch the power level, the method further includes: The terminal device determines a target second mapping relationship based on the current signal channel of the antenna; the terminal device stores a second mapping relationship in each signal channel; the second mapping relationship is a mapping relationship between power and voltage and / or current at different power levels; The terminal device determines, from the target second mapping relationship, that a voltage corresponding to the second target power at a current power level is a first voltage, and / or that a current corresponding to the second target power is a first current; The terminal device adjusts the voltage of the PA to the first voltage, and / or the terminal device adjusts the current of the PA to the first current.
4. The method according to claim 2, It is characterized in that In the case where the power level does not need to be switched, after the terminal device maintains the current power level unchanged, the method further includes: The terminal device determines a target second mapping relationship based on the current signal channel; the terminal device stores a second mapping relationship in each signal channel; the second mapping relationship is a mapping relationship between power and voltage and / or current at different power levels; The terminal device determines, from the target second mapping relationship, that a voltage corresponding to the second target power at a current power level is a first voltage, and / or that a current corresponding to the second target power is a first current; The terminal device adjusts the voltage of the PA to the first voltage, and / or adjusts the current of the PA to the first current.
5. The method according to any one of claims 1 to 4, It is characterized in that The terminal device determines whether it is necessary to switch the power level based on the output power of the RF front-end module and the second target power, specifically including: When the RF front-end module output power and the second target power are at the same power level, the terminal device determines that there is no need to switch the power level; when the RF front-end module output power and the second target power are at different power levels, the terminal device determines that there is a need to switch the power level.
6. The method according to claim 5, It is characterized in that When the output power of the RF front-end module and the second target power are at the same power level, the terminal device determines that there is no need to switch the power level; when the output power of the RF front-end module and the second target power are at different power levels, the terminal device determines that the power level needs to be switched, specifically including: The terminal device determines a power switching direction based on the output power of the RF front-end module and the second target power; when the output power of the RF front-end module is less than the second target power, the power switching direction is upward switching; when the output power of the RF front-end module is greater than the second target power, the power switching direction is downward switching; the power switching direction includes upward switching and downward switching; The power switching standard includes an upward switching standard and a downward switching standard. When the power switching direction is upward switching, the terminal device determines whether the output power of the RF front-end module and the second target power are at the same power level based on the upward switching standard; when the power switching direction is downward switching, the terminal device determines whether the output power of the RF front-end module and the second target power are at the same power level based on the downward switching standard; the upward switching standard and the downward switching standard are different power switching standards; When the power levels are the same, the terminal device determines that the power level does not need to be switched; when the power levels are different, the terminal device determines that the power level needs to be switched.
7. The method according to claim 6, It is characterized in that When the switched power levels are the same, the switching point in the upward switching standard is greater than the switching point in the downward switching standard, and the switching point is a boundary value between adjacent power levels.
8. The method according to any one of claims 1 to 4, It is characterized in that The terminal device includes a baseband module, a radio frequency module, and M antenna modules; the baseband module includes a modem; M is a positive integer; The terminal device obtains the first target power, specifically including: The terminal device obtains a first target power through the Modem; The terminal device determines the output power of the radio frequency front-end module based on the first loss value and the first antenna port power, specifically including: The terminal device determines the output power of the radio frequency front-end module based on the first loss value and the first antenna port power through the Modem; The terminal device determines the second target power based on the first loss value and the first target power, specifically including: The terminal device determines a second target power through the Modem based on the first loss value and the first target power; The terminal device determines whether it is necessary to switch the power level based on the output power of the RF front-end module and the second target power, specifically including: The terminal device determines whether it is necessary to switch the power level based on the output power of the RF front-end module and the second target power through the Modem.
9. The method according to claim 8, It is characterized in that The terminal device further includes a power control module, and the method further includes: The terminal device controls the power control module through the Modem to read the power of the first antenna port.
10. The method according to claim 8, It is characterized in that The terminal device further includes a power module, the radio frequency module includes the PA, and the method further includes: The terminal device determines a target second mapping relationship based on the current signal channel of the antenna through the Modem; The terminal device determines, through the Modem, from the target second mapping relationship, that the voltage corresponding to the second target power at the current power level is the first voltage, and / or that the current corresponding to the second target power is the first current; The terminal device adjusts the voltage of the PA to the first voltage and / or adjusts the current of the PA to the first current through the Modem control power supply module.
11. A radio frequency power control module, It is characterized in that The module includes a baseband module, a radio frequency module, and M antenna modules; the baseband module includes a modem; wherein: The modem obtains a first target power, where the first target power is a power value that the base station device requires the transmission signal of the terminal device to reach; The modem obtains a first temperature and a current communication frequency band; the first temperature is the current temperature of the terminal device measured by itself, and the current communication frequency band is the signal frequency band used by the current signal channel of the antenna; The modem determines the target first mapping relationship based on the current signal channel of the antenna; the terminal device stores a first mapping relationship for each signal channel, and the first mapping relationship is a mapping relationship between temperature, communication frequency band and loss data; the signal channel is a signal channel for the antenna module of the terminal device to transmit signals; the loss data of the first mapping relationship corresponding to each signal channel is the insertion loss data between the output end of the RF front-end module and the antenna port detected under the corresponding temperature and communication frequency band conditions when each signal channel sends a signal; the antenna module of the terminal device includes K signal channels, and the loss data of the first mapping relationship of the kth signal channel is the loss data read when the temperature condition is kept unchanged and the communication frequency band of the transmitted signal is changed, and the loss data read when the temperature condition is changed and the communication frequency band of the transmitted signal is readjusted; the kth signal channel is one of the K signal channels, and k is an integer from 1 to K in sequence; The modem determines the loss data corresponding to the first temperature and the current communication frequency band in the target first mapping relationship as a first loss value; The modem determines the output power of the RF front-end module based on the first loss value and the first antenna port power; the first loss value is the power loss corresponding to the current signal channel of the antenna, and the first antenna port power is the power value of the transmitting port of the current signal channel of the antenna; the output power of the RF front-end module is the sum of the first loss value and the first antenna port power; The modem determines a second target power based on the first loss value and the first target power; the second target power is the sum of the first loss value and the first target power; The modem determines whether it is necessary to switch the power level based on the output power of the RF front-end module and the second target power.
12. The module according to claim 11, It is characterized in that The radio frequency module includes a PA. After the modem determines whether to switch the power level based on the output power of the radio frequency front-end module and the second target power, the module further performs: In the case where the power level needs to be switched, the Modem controls the PA to switch the power level; in the case where the power level does not need to be switched, the Modem keeps the current power level unchanged.
13. The module according to claim 12, It is characterized in that The module further includes a power module. When the power level needs to be switched, after the Modem controls the PA to switch the power level, the module further executes: The modem determines a target second mapping relationship based on the current signal channel of the antenna; the terminal device stores a second mapping relationship in each signal channel; the second mapping relationship is a mapping relationship between power and voltage and / or current at different power levels; The modem determines, from the target second mapping relationship, that a voltage corresponding to the second target power at a current power level is a first voltage, and / or that a current corresponding to the second target power is a first current; The modem controls the power module to adjust the voltage of the PA to the first voltage, and / or the modem controls the power module to adjust the current of the PA to the first current.
14. The module according to claim 12, It is characterized in that The module further includes a power module. When the power level does not need to be switched, after the modem keeps the current power level unchanged, the module further executes: The modem determines a target second mapping relationship based on the current signal channel of the antenna; the terminal device stores a second mapping relationship in each signal channel; the second mapping relationship is a mapping relationship between power and voltage and / or current at different power levels; The modem determines, from the target second mapping relationship, that a voltage corresponding to the second target power at a current power level is a first voltage, and / or that a current corresponding to the second target power is a first current; The modem controls the power module to adjust the voltage of the PA to the first voltage, and / or the modem controls the power module to adjust the current of the PA to the first current.
15. The module according to any one of claims 11 to 14, It is characterized in that The modem determines whether to switch the power level based on the output power of the RF front-end module and the second target power, and specifically performs: When the output power of the RF front-end module and the second target power are at the same power level, the Modem determines that there is no need to switch the power level; when the output power of the RF front-end module and the second target power are at different power levels, the Modem determines that the power level needs to be switched.
16. The module according to claim 15, It is characterized in that When the output power of the RF front-end module and the second target power are at the same power level, the Modem determines that the power level does not need to be switched; when the output power of the RF front-end module and the second target power are at different power levels, the Modem determines that the power level needs to be switched, specifically performing: the Modem determines the power switching direction based on the output power of the RF front-end module and the second target power; when the output power of the RF front-end module is less than the second target power, the power switching direction is upward switching; When the output power of the RF front-end module is greater than the second target power, the power switching direction is downward switching; the power switching direction includes upward switching and downward switching; The power switching standard includes an upward switching standard and a downward switching standard. When the power switching direction is upward switching, the modem determines whether the output power of the RF front-end module and the second target power are at the same power level based on the upward switching standard; In the case where the power switching direction is downward switching, the modem determines whether the output power of the RF front-end module and the second target power are at the same power level based on the downward switching standard; the upward switching standard and the downward switching standard are different power switching standards; In the case of being at the same power level, the Modem determines that the power level does not need to be switched; in the case of being at different power levels, the Modem determines that the power level needs to be switched.
17. The module according to claim 16, It is characterized in that When the power levels to be switched are the same, the switching point in the upward switching standard is greater than the switching point in the downward switching standard, and the switching point is a boundary value between adjacent power levels.
18. A terminal device, It is characterized in that include: one or more processors and one or more memories; The one or more processors are coupled to the one or more memories, and the one or more memories are used to store a computer program. When the one or more processors execute the computer program, the terminal device executes the method according to any one of claims 1 to 10.
19. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed on a terminal device, the terminal device is caused to execute the method according to any one of claims 1 to 10.
