Pre-distortion method and related equipment
By using a scaling factor table to calculate the complex gain in the digital pre-distortion algorithm, the hardware resource and power consumption issues caused by the nonlinear characteristics of the power amplifier varying with temperature and input power are resolved, achieving more efficient system adaptability.
Patent Information
- Application Number
- CN202410225363.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-28
- Publication Date
- 2025-09-05
AI Technical Summary
In existing digital pre-distortion algorithms, the nonlinear behavior of the power amplifier changes with temperature and input power, leading to frequent calibration of the lookup table, which puts excessive pressure on the hardware resources and power consumption of electronic equipment.
By determining a scaling factor table, the scaling factor is calculated based on the current temperature and amplifier input power, and the complex gain is directly determined using a predistortion calibration lookup table, avoiding frequent execution of the calibration lookup table process.
It reduces the hardware resource pressure and power consumption of electronic equipment, improves the efficiency and flexibility of the system, and adapts to different temperatures and changes in amplifier input power.
Smart Images

Figure CN120601852A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a predistortion method and related equipment. Background Art
[0002] Digital Pre-Distortion (DPD) is a technology used to linearize RF power amplifiers and is widely used to address nonlinearity issues in PAs. The DPD algorithm processes the input signal to compensate for the nonlinear characteristics of the PA, thereby improving overall system efficiency and linearity.
[0003] The DPD algorithm mainly consists of two parts: calibration of the Look-Up Table (LUT) and calling the LUT. In the calibration of the LUT, a LUT corresponding to the current temperature and the current amplifier input power is obtained, and in the LUT calling part, the input signal is processed nonlinearly according to the obtained LUT. Figure 1 As shown, the process of calibrating the LUT table is as follows Figure 1 As shown in the dotted line process, the process of calling the LUT table is as follows Figure 1 As shown in the solid line process.
[0004] However, as an electronic device, the nonlinear behavior of the power amplifier will change with temperature, and the nonlinear behavior of the power amplifier will also be affected by the input power of the power amplifier. Therefore, every time the temperature and / or the input power of the power amplifier changes, the electronic device needs to re-calibrate the lookup table part of the DPD algorithm, that is, it needs to re-execute the following steps: Figure 1 The dotted line process shown in the figure is used to obtain the corresponding LUT table when the temperature and / or the power amplifier input power change. This method of re-determining the LUT table every time the temperature and / or the power amplifier input power changes will put a huge pressure on the hardware resources of the electronic device. Summary of the Invention
[0005] The present application provides a predistortion method and related devices, which can reduce the hardware resource pressure of electronic devices.
[0006] In a first aspect, some embodiments of the present application provide a predistortion method. The predistortion method may include: determining a first temperature and a first power amplifier input power, where the first temperature is an ambient temperature and the first power amplifier input power is the power amplifier input power of a first signal; determining a first scaling factor based on the first temperature, the first power amplifier input power, and a preset scaling factor table, where the preset scaling factor table includes a mapping relationship between temperature, power amplifier input power, and scaling factor; determining a first complex gain based on the first scaling factor and a first predistortion calibration lookup table, where the first predistortion calibration lookup table is a predefined predistortion calibration lookup table at a second temperature and a second power amplifier input power, where the first predistortion calibration lookup table includes a mapping relationship between an index and a complex gain; and processing the first signal based on the first complex gain to obtain a second signal.
[0007] In the above manner, a first scaling factor is determined based on the current temperature and the current power amplifier input power, and a first complex gain is determined based on the first scaling factor and a preset first pre-distortion calibration lookup table, thereby avoiding multiple executions of the calibration LUT table portion, thereby reducing the hardware resource pressure and power consumption of the electronic device.
[0008] In a possible implementation, the first scaling factor is used to scale an index in a first predistortion calibration lookup table, or the first scaling factor is used to scale a first index corresponding to the first signal.
[0009] In the above manner, by scaling the index in the power calibration table by the scaling factor, or by scaling the index corresponding to the signal by the scaling factor, the first pre-distortion calibration lookup table is applicable to other different temperatures and / or different power amplifier input powers.
[0010] In one possible implementation, determining the first complex gain based on the first scaling factor and the first predistortion calibration lookup table involves scaling the index in the first predistortion calibration lookup table based on the first scaling factor to obtain a second predistortion calibration lookup table; determining a first index corresponding to the first signal; and determining the first complex gain from the second predistortion calibration lookup table based on the first index.
[0011] In the above manner, the first scaling factor is determined based on the first temperature and the first power amplifier input power, so the second pre-distortion calibration lookup table obtained by scaling the index in the first pre-distortion calibration lookup table by the first scaling factor is a pre-distortion calibration lookup table corresponding to the first temperature and the first power amplifier input power.
[0012] In one possible implementation, the first signal is in complex form; determining the first index corresponding to the first signal includes: determining the modulus of the first signal based on the real part and the imaginary part of the first signal; and determining the first index corresponding to the first signal based on the modulus of the first signal.
[0013] Through the above method, the index corresponding to the signal can be accurately determined.
[0014] In one possible implementation, the second temperature is different from the first temperature, and the first power amplifier input power is different from the second power amplifier input power; or the second temperature is the same as the first temperature, and the first power amplifier input power is different from the second power amplifier input power; or the second temperature is different from the first temperature, and the first power amplifier input power is the same as the second power amplifier input power.
[0015] In one possible implementation, the first complex gain is determined based on the first scaling factor and the first pre-distortion calibration lookup table, specifically by: determining a first index corresponding to the first signal; scaling the first index corresponding to the first signal based on the first scaling factor to obtain a second index; and determining the first complex gain from the first pre-distortion calibration lookup table based on the second index.
[0016] In this manner, a first scaling factor is determined based on the current temperature and the current amplifier input power, a second index is determined using the first scaling factor, and the first complex gain is directly looked up from the first predistortion calibration lookup table based on the second index. This avoids multiple executions of the calibration LUT.
[0017] In one possible implementation, the first scaling factor is determined based on the first temperature, the first power amplifier input power, and a preset scaling factor table. Specifically, if a temperature change and / or a power amplifier input power change is determined based on the first temperature and the first power amplifier input power, the first scaling factor is determined based on the first temperature, the first power amplifier input power, and the preset scaling factor table.
[0018] In this way, when the temperature and / or the amplifier input power changes, the scaling factor is determined, so that the complex gain can be accurately determined under different temperatures and / or the amplifier input power without performing the calibration LUT table part.
[0019] In a second aspect, the present application provides an electronic device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are configured to store computer program code. The computer program code comprises computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the predistortion method of any possible implementation of the first aspect.
[0020] In a third aspect, the present application provides a predistortion device, which may be an electronic device, a device within an electronic device, or a device capable of being used in conjunction with an electronic device. The predistortion device may also be a system-on-a-chip (SoC) capable of executing the method performed by the electronic device in the first aspect. The functions of the predistortion device may be implemented via hardware, or via hardware executing corresponding software. The hardware or software may include one or more units corresponding to the aforementioned functions. These units may be software and / or hardware. The operations and beneficial effects performed by the predistortion device may refer to the methods and beneficial effects described in the first aspect above, and any repetitions will not be repeated.
[0021] In a fourth aspect, the present application provides a chip system, which includes a processor and an interface, and the processor and the interface are coupled; the interface is used to receive or output signals, and the processor is used to execute code instructions to perform the pre-distortion method in any possible implementation of the first aspect above.
[0022] In a fifth aspect, the present application provides a computer-readable storage medium storing a computer program / instruction. When the computer program product runs on a computer, the computer executes the pre-distortion method in any possible implementation of the first aspect.
[0023] In a sixth aspect, the present application provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the predistortion method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic diagram of a DPD algorithm flow provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0026] Figure 3 A flowchart of a hardware-based predistortion method provided in an embodiment of the present application;
[0027] Figure 4 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0028] Figure 5 A flowchart of a predistortion method provided in an embodiment of the present application;
[0029] Figure 6 A schematic diagram of a power calibration provided in an embodiment of the present application;
[0030] Figure 7A flowchart of another predistortion method provided in an embodiment of the present application;
[0031] Figure 8 A schematic structural diagram of a predistortion device provided in an embodiment of the present application;
[0032] Figure 9 A schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. 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.
[0034] It should be understood that the terms "first," "second," and the like in the specification, claims, and drawings of this application are used to distinguish between different objects, rather than to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements, but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0035] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
[0036] To facilitate understanding of the solutions provided by the embodiments of the present application, the following describes the relevant concepts involved in the embodiments of the present application:
[0037] Digital Pre-Distortion (DPD) is a technology used to improve the efficiency of RF power amplifiers. DPD operates by processing the signal through a predistorter before it enters the power amplifier to compensate for the amplifier's nonlinear characteristics. As the signal passes through the amplifier, the predistorter's adjustments suppress any nonlinear distortion in the output signal, improving overall signal quality and amplifier efficiency.
[0038] A key component of a digital pre-distortion (DPD) system is the Lookup Table (LUT), which stores information related to specific channel conditions and is used to quickly look up and calculate compensation values. Specifically, the LUT contains predefined mappings between indices and corresponding complex gains, generated based on previously measured channel data. When the DPD system receives a signal, it first checks the LUT to see if there are mappings matching the current channel conditions. If so, the DPD system uses these mappings to quickly calculate and apply channel compensation.
[0039] Digital-to-Analog Converter (DAC): Another key component in a DPD system, the DAC is responsible for converting digital signals into analog signals. The DAC converts digital signals into analog signals before they can be amplified by the power amplifier and transmitted to the antenna.
[0040] Analog-to-digital converter: The analog-to-digital converter (ADC) is another key component in the DPD system. It is responsible for converting analog signals into digital signals so that the digital signal processor can process and correct the nonlinear characteristics of the power amplifier.
[0041] Coupler: It is an important RF device and another key component in the DPD system. It is used to extract a small part of the signal from the wireless signal trunk channel.
[0042] Filters are another key component in DPD systems. They allow signals within a specific frequency range to pass while suppressing or attenuating signals at other frequencies. In wireless communications, filters can be used to suppress out-of-band interference and noise, improving signal quality.
[0043] The Digital Front End (DFE) refers to the implementation of digital signal processing in wireless communication systems, primarily involving signal sampling, quantization, filtering, and modulation. Its primary task is to digitally process baseband signals to adapt them to transmission over wireless channels.
[0044] Complex gain: Complex gain refers to the adjustment value relative to the amplitude and phase of the input signal in wireless communication.
[0045] The hardware structure of the electronic device 100 is introduced below. Figure 2 , Figure 2 Schematic diagram of the hardware structure of the electronic device 100 provided in an embodiment of the present application.
[0046] The electronic 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.
[0047] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0048] 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 processing unit (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). The different processing units may be independent devices or integrated into one or more processors.
[0049] The controller may be the nerve center and command center of the electronic 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.
[0050] 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. This memory can store instructions or data that have just been used or are being recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves system efficiency. The processor 110 calls the instructions or data stored in the memory, causing the electronic device 100 to execute the shooting method performed by the electronic device in the following method embodiment.
[0051] In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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.
[0052] The charging management module 140 is configured to receive charging input from a charger, which may be a wireless charger or a wired charger.
[0053] 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 to provide power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160. In some other embodiments, the power management module 141 can also be set in the processor 110.
[0054] The wireless communication function of the electronic 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.
[0055] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0056] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic 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.
[0057] The modem processor includes a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a medium- or high-frequency signal. The demodulator demodulates 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 processing by the baseband processor, the low-frequency baseband signal is passed to the application processor.
[0058] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), BLE broadcasting, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. applied to the electronic 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, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0059] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1. Display screen 194 may be an outward-folding screen, i.e., a display screen that folds outward.
[0060] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor. The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture still images or videos. The camera 193 may include a front camera and a rear camera, the front camera is located in the display area of the screen, and the rear camera is located in the back area of the screen. The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. The video codec is used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs.
[0061] 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.
[0062] 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 electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function.
[0063] 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 electronic 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), etc. The data storage area can store data (such as audio data) created during the use of the electronic device 100, 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 a flash memory device, etc.
[0064] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0065] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0066] Speaker 170A, also known as a "horn," is used to convert audio electrical signals into sound signals. Receiver 170B, also known as an "earpiece," is used to convert audio electrical signals into sound signals. Microphone 170C, also known as a "microphone" or "microphone," is used to convert sound signals into electrical signals. Headphone jack 170D is used to connect wired headphones. Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A may be provided on display screen 194. Gyroscope sensor 180B may be used to determine the motion posture of electronic device 100. Air pressure sensor 180C is used to measure air pressure. Magnetic sensor 180D includes a Hall sensor. Acceleration sensor 180E may detect the magnitude of acceleration of electronic device 100 in various directions (generally three axes). Distance sensor 180F is used to measure distance. Proximity light sensor 180G may include, for example, a light-emitting diode (LED) and a light detector. Ambient light sensor 180L is used to sense ambient light brightness. Fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect the temperature. The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The bone conduction sensor 180M can obtain vibration signals. The buttons 190 include a power button, a volume button, etc. The motor 191 can generate vibration prompts. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect a SIM card.
[0067] In some embodiments, in addition to the above-mentioned filters and power amplifiers, the mobile communication module 150 also includes a DFE, a DAC, an ADC, a coupler, a scaling factor calling module, a predistorter, and a calibration module. Among them, the DFE, DAC, ADC, and coupler can be found in the introduction of the above-mentioned related concepts, and this application will not go into details here. Among them, a scaling factor table is pre-stored in the scaling factor calling module, and the scaling factor table includes a mapping relationship between temperature and power amplifier input power and scaling factors; the calibration module can determine a LUT table based on the feedback signal y and the calibration signal x, and send the LUT table to the predistorter; the predistorter can realize the linearization of the power amplifier, thereby improving the transmission performance and efficiency of the entire system.
[0068] For example, Figure 3As shown, in the calibration LUT portion, at a second temperature and a second PA input power, the calibration module receives a calibration signal x from the DFE and then obtains a feedback signal y through the DPD system (specifically, the predistorter, DAC, power amplifier, coupler, and ADC in the system). Based on the feedback signal y and the calibration signal x, the calibration module determines a first predistortion calibration lookup table and sends this first predistortion calibration lookup table to the predistorter.
[0069] After determining the first temperature and the first power amplifier input power, the DFE sends the first temperature and the first power amplifier input power to the scaling factor calling module. The scaling factor calling module determines a first scaling factor based on the first temperature, the first power amplifier input power and the scaling factor table, and sends the first scaling factor to the predistorter.
[0070] The first temperature may be determined by a temperature sensor and then sent to the DFE; the first power amplifier input power is a preset power amplifier input power of the first signal.
[0071] Calling the LUT: The predistorter includes a first scaling factor and a first predistortion calibration lookup table, using the calibration lookup table. Upon receiving a first signal from the DFE, the predistorter determines a first complex gain corresponding to the first signal based on the first scaling factor and the first predistortion calibration lookup table. The predistorter processes the first signal based on the first complex gain to generate a second signal.
[0072] The second signal is subsequently sent to the DAC to convert the digital signal into an analog signal for amplification by the power amplifier; after the power amplifier amplifies the second signal, the amplified second signal is sent to the coupler.
[0073] Figure 4 A schematic diagram of the software structure of an electronic device 100 provided in an embodiment of the present application.
[0074] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0075] The application layer can include a series of application packages. Figure 4 As shown, the application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0076] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 4 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0077] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0078] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0079] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0080] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).
[0081] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0082] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically, without requiring user interaction. For example, the Notification Manager can be used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the system's top status bar as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include displaying text messages in the status bar, emitting alert sounds, vibrating the user's terminal, and flashing indicator lights.
[0083] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.
[0084] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0085] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0086] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0087] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0088] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0089] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0090] A 2D graphics engine is a drawing engine for 2D drawings.
[0091] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0092] The following further introduces the pre-distortion method provided in the embodiment of the present application:
[0093] See Figure 5 , Figure 5 This is a flow chart of a predistortion method provided in an embodiment of the present application. Figure 5 As shown, the predistortion method includes the following steps 501 to 504. Figure 5 The method shown can be performed by the electronic device mentioned above. Alternatively, Figure 5 The execution entity of the method shown may be a chip in an electronic device, which is not limited in the embodiments of the present application.
[0094] For the convenience of description, Figure 5 The following description is made by taking an electronic device as the execution subject of the method as an example.
[0095] 501. The electronic device determines a first temperature and a first power amplifier input power, where the first temperature is an ambient temperature and the first power amplifier input power is the power amplifier input power of a first signal.
[0096] The first temperature may be determined by a temperature sensor in the electronic device, and the first power amplifier input power is a preset power amplifier input power of the first signal.
[0097] 502. The electronic device determines a first scaling factor based on a first temperature, a first power amplifier input power, and a preset scaling factor table, where the preset scaling factor table includes a mapping relationship between temperature, power amplifier input power, and scaling factors.
[0098] The calculation process of the mapping relationship between temperature, amplifier input power and scaling factor in the scaling factor table may be pre-extracted in a laboratory and stored in the electronic device, or may be pre-determined when the electronic device leaves the factory.
[0099] For example, the scaling factor table is shown in Table 1 below:
[0100]
[0101] As shown in the scaling factor table above, if the first temperature is -10°C and the first amplifier input power is the amplifier input power A, then the first scaling factor is S 1,1 Similarly, if the first temperature is 25°C and the first amplifier input power is the amplifier input power B, then the first scaling factor is S 2,2 Similarly, the scaling factors corresponding to different temperatures and different amplifier input powers can be obtained by looking up the scaling factor table.
[0102] It should be noted that the above Table 1 is only for example. The scaling factor table can also include more temperatures and more implicit relationships between the power amplifier input power and the scaling factors. This application does not impose any restrictions on this.
[0103] In a possible embodiment, the electronic device determines the first scaling factor based on the first temperature, the first power amplifier input power, and a preset scaling factor table. Specifically, if the electronic device determines that a temperature change and / or a power amplifier input power change occurs based on the first temperature and the first power amplifier input power, the electronic device determines the first scaling factor based on the first temperature, the first power amplifier input power, and the preset scaling factor table.
[0104] That is, when the electronic device detects that the current temperature and / or power amplifier input power has changed, it re-determines the scaling factor corresponding to the changed temperature and / or power amplifier input power.
[0105] For example, the original temperature is -10°C, and the original power amplifier input power is +1dBm (dBm is the unit of absolute power value). After the electronic device detects that the temperature changes from -10°C to 25°C (25°C is the first temperature), and detects that the power amplifier input power changes from +1dBm to +0.5dBm (+0.5dBm is the first power amplifier input power), it determines the first scaling factor from the preset scaling factor table based on 25°C and +0.5dBm.
[0106] It should be noted that when the electronic device detects a change in either the temperature or the amplifier input power, it will re-determine the scaling factor based on the changed temperature and / or the changed amplifier input power. For example, if the temperature changes from -10°C to 25°C, but the amplifier input power remains at +1dBm, the electronic device will determine the scaling factor based on 25°C and +1dBm.
[0107] For another example, when the temperature remains at -10°C, but the power amplifier input power changes from +1 dBm to +0.5 dBm, the electronic device determines the scaling factor based on -10°C and +0.5 dBm.
[0108] In this way, when the temperature and / or the amplifier input power changes, the scaling factor is determined, so that the complex gain can be accurately determined under different temperatures and / or the amplifier input power without performing the calibration LUT table part.
[0109] In a possible embodiment, the first scaling factor is used to scale an index in a first predistortion calibration lookup table, or the first scaling factor is used to scale a first index corresponding to the first signal.
[0110] The first scaling factor may be multiplied by an index in a first pre-distortion calibration lookup table to perform scaling; or the first scaling factor may be multiplied by a first index corresponding to the first signal to perform scaling.
[0111] Exemplarily, the first scaling factor is 0.8913, and the indices in the first pre-distortion calibration lookup table are 0.01, 0.02, 0.03, ..., 0.99, and 1. After the first scaling factor is applied to the indices in the first pre-distortion calibration lookup table, new indices are obtained: 0.008913, 0.017826, 0.026739, ..., 0.882387, and 0.8913.
[0112] In the above manner, by scaling the index in the power calibration table by the scaling factor, or by scaling the index corresponding to the signal by the scaling factor, the first pre-distortion calibration lookup table is applicable to other different temperatures and / or different power amplifier input powers.
[0113] 503. The electronic device determines a first complex gain based on the first scaling factor and a first predistortion calibration lookup table, where the first predistortion calibration lookup table is a predistortion calibration lookup table predetermined at a second temperature and a second power amplifier input power, and the first predistortion calibration lookup table includes a mapping relationship between an index and a complex gain.
[0114] The first complex gain is used to adjust the amplitude and phase of the first signal. The complex gain can be described in the above-mentioned related concepts and will not be described in detail in this application. The second temperature can be room temperature, and the second power amplifier input power is the maximum power amplifier input power at room temperature.
[0115] In a possible embodiment, the electronic device determines a first pre-distortion calibration lookup table at a second temperature and a second power amplifier input power. The determination process of the first pre-distortion calibration lookup table can be referred to as follows: Figure 1 The dotted line process is the calibration lookup table process, wherein the determined process may be determined when the electronic device leaves the factory, and after the electronic device leaves the factory, the electronic device stores the first pre-distortion calibration lookup table.
[0116] Optionally, the first pre-distortion calibration lookup table may be directly written into the electronic device by a developer when the device leaves the factory, or the first pre-distortion calibration lookup table may be obtained by the electronic device from the cloud.
[0117] Since the first scaling factor can be used to scale the index in the first predistortion calibration lookup table or the first index corresponding to the first signal, there are two ways to determine the first complex gain based on the first scaling factor and the first predistortion calibration lookup table. One is to update the first predistortion calibration lookup table based on the first scaling factor to obtain a predistortion calibration lookup table that is adapted to the current temperature and power amplifier input power; the other is to update the first index corresponding to the first signal based on the first scaling factor to obtain an index of the first predistortion calibration lookup table that is adapted to the first signal at the current temperature and power amplifier input power. The above two methods are introduced below respectively:
[0118] Method 1: updating the first pre-distortion calibration lookup table based on the first scaling factor.
[0119] The electronic device determines a first complex gain based on the first scaling factor and the first predistortion calibration lookup table. Specifically, the electronic device scales the index in the first predistortion calibration lookup table based on the first scaling factor to obtain a second predistortion calibration lookup table; determines a first index corresponding to the first signal; and determines the first complex gain from the second predistortion calibration lookup table based on the first index.
[0120] The number of indices included in the second pre-distortion calibration lookup table is equal to or less than the number of indices included in the first pre-distortion calibration lookup table. In this embodiment, the indexes in the pre-distortion calibration lookup table are signal amplitudes, and for the convenience of subsequent description, they are collectively referred to as indices.
[0121] For example, Figure 6 As shown, Figure 6 The table marked with 601 is the first predistortion calibration lookup table 601. Figure 6 The table marked 602 is the second predistortion calibration lookup table 602. The first scaling factor is 0.9. To ensure the linearity of the second predistortion calibration lookup table 602, the mapping relationship in the second predistortion calibration lookup table 602 can be determined by the proximity principle and the first predistortion calibration lookup table 601.
[0122] For example, the complex gain corresponding to the index with a value of 0.06 in the first pre-distortion calibration lookup table 601 is G6, and the complex gain corresponding to the index with a value of 0.06 in the second pre-distortion calibration lookup table 602 is G5 (0.06 multiplied by 0.9 is 0.054, and 0.054 is close to 0.05, so the complex gain corresponding to the index with a value of 0.06 in the second pre-distortion calibration lookup table 602 is G5, which is the complex gain corresponding to the index with a value of 0.05 in the first pre-distortion calibration lookup table 601).
[0123] For example, the complex gain corresponding to the index with a value of 0.07 in the first pre-distortion calibration lookup table 601 is G7, and the complex gain corresponding to the index with a value of 0.07 in the second pre-distortion calibration lookup table 602 is G6 (0.07 multiplied by 0.9 is 0.063, and 0.063 is close to 0.06, so the complex gain corresponding to the index with a value of 0.07 in the second pre-distortion calibration lookup table 602 is G6, which is the complex gain corresponding to the index with a value of 0.06 in the first pre-distortion calibration lookup table 601). And so on, this application will not be repeated here.
[0124] Optionally, determining the mapping relationship in the second predistortion calibration lookup table 602 by the proximity principle and the first predistortion calibration lookup table 601 may also be: determining the complex gain corresponding to the second predistortion calibration lookup table by using the complex gains corresponding to two adjacent indexes in the first predistortion calibration lookup table.
[0125] For example, the complex gain corresponding to the index with a value of 0.06 in the first pre-distortion calibration lookup table 601 is G6, and the complex gain corresponding to the index with a value of 0.06 in the second pre-distortion calibration lookup table 602 is H6 (H6 is determined as follows: 0.06 multiplied by 0.9 is 0.054, and the two adjacent indexes of 0.054 in the first pre-distortion calibration lookup table are 0.05 and 0.06, so H6 is determined based on the complex gain corresponding to the index with a value of 0.06 in the second pre-distortion calibration lookup table 602, the complex gain G5 corresponding to the index with a value of 0.05 in the first pre-distortion calibration lookup table 601, and the complex gain G6 corresponding to the index with a value of 0.06 in the first pre-distortion calibration lookup table 601).
[0126] For example, the complex gain corresponding to the index with a value of 0.07 in the first pre-distortion calibration lookup table 601 is G7, and the complex gain corresponding to the index with a value of 0.07 in the second pre-distortion calibration lookup table 602 is H7 (H7 is determined as follows: 0.07 multiplied by 0.9 is 0.063, and the two adjacent indexes of 0.063 in the first pre-distortion calibration lookup table are 0.06 and 0.07, so H7 is determined based on the complex gain corresponding to the index with a value of 0.07 in the second pre-distortion calibration lookup table 602, the complex gain G6 corresponding to the index with a value of 0.06 in the first pre-distortion calibration lookup table 601, and the complex gain G7 corresponding to the index with a value of 0.07 in the first pre-distortion calibration lookup table 601). And so on, this application will not be described in detail here.
[0127] Optionally, in addition to considering two adjacent indexes in the first pre-distortion calibration lookup table, multiple adjacent indexes, such as four adjacent indexes, in the first pre-distortion calibration lookup table may also be considered.
[0128] In the above manner, the first scaling factor is determined based on the first temperature and the first power amplifier input power, so the second pre-distortion calibration lookup table obtained by scaling the index in the first pre-distortion calibration lookup table by the first scaling factor is a pre-distortion calibration lookup table corresponding to the first temperature and the first power amplifier input power.
[0129] In a possible embodiment, the first signal is in complex form; determining the first index corresponding to the first signal includes: determining the modulus of the first signal based on the real part and the imaginary part of the first signal; and determining the first index corresponding to the first signal based on the modulus of the first signal.
[0130] The complex form may include both the amplitude and phase information of the signal. The phase information of the signal is used to describe the position of the signal waveform relative to the time reference point. The amplitude of the signal is used to describe the signal strength. The amplitude of the signal represents the maximum absolute value of the signal deviation baseline.
[0131] In a possible embodiment, the modulus calculation of the first signal satisfies the following formula:
[0132]
[0133] Where I is the real part of the complex number, and Q is the imaginary part of the complex number.
[0134] Through the above method, the index corresponding to the signal can be accurately determined.
[0135] In a possible embodiment, the electronic device determines a first index corresponding to the first signal based on the modulus value of the first signal. Specifically, the electronic device determines an index closest to the modulus value of the first signal from a second pre-distortion calibration lookup table based on the modulus value of the first signal, and determines the index closest to the modulus value of the first signal as the first index.
[0136] Since the calculated modulus value of the first signal may not have a completely identical index in the second pre-distortion calibration lookup table, to avoid the inability to determine the first complex gain due to the lack of a completely identical index, an index close to the modulus value of the first signal is determined as the first index. For example, the indices in the second pre-distortion calibration lookup table are 1, 2, 3, 4, and 5, and the modulus value of the first signal is 2.8. In this case, there is no index of 2.8 in the second pre-distortion calibration lookup table, and the index with a value of 3 in the second pre-distortion calibration lookup table is closest to the modulus value of the first signal. Therefore, the first index corresponding to the first signal determined based on the modulus value of the first signal is 3.
[0137] Optionally, the electronic device determines a first index corresponding to the first signal based on the modulus value of the first signal, specifically: the first index is the modulus value of the first signal rounded down. For example, if the modulus value of the first signal is 2.8, the first index corresponding to the first signal is 2. Alternatively, the first index is the modulus value of the first signal rounded up. For example, if the modulus value of the first signal is 2.8, the first index corresponding to the first signal is 3.
[0138] In a possible embodiment, the second temperature is different from the first temperature, and the first power amplifier input power is different from the second power amplifier input power; or the second temperature is the same as the first temperature, and the first power amplifier input power is different from the second power amplifier input power; or the second temperature is different from the first temperature, and the first power amplifier input power is the same as the second power amplifier input power.
[0139] That is, as long as either the first temperature or the first power amplifier input power is different, a second pre-distortion calibration lookup table needs to be determined. For example, if the first temperature is 25°C and the first power amplifier input power is +1dBm, the second temperature may be 25°C and the second power amplifier input power is +0.5dBm; or if the first temperature is 25°C and the first power amplifier input power is +1dBm, the second temperature may be 55°C and the second power amplifier input power is +1dBm; or if the first temperature is 55°C and the first power amplifier input power is +1dBm, the second temperature may be 25°C and the second power amplifier input power is +0.5dBm.
[0140] Method 2: updating the first index corresponding to the first signal based on the first scaling factor.
[0141] The electronic device determines a first complex gain based on the first scaling factor and the first pre-distortion calibration lookup table. Specifically, the electronic device determines a first index corresponding to the first signal; scales the first index corresponding to the first signal based on the first scaling factor to obtain a second index; and determines the first complex gain from the first pre-distortion calibration lookup table based on the second index.
[0142] In a possible embodiment, the first signal is in complex form; the electronic device determines the first index corresponding to the first signal, specifically: the electronic device determines the modulus value of the first signal based on the real part and imaginary part of the first signal; and determines the first index corresponding to the first signal based on the modulus value of the first signal.
[0143] Among them, this embodiment can refer to the introduction in the above-mentioned method 1, and this application will not go into details here.
[0144] Since there is a possibility that the calculated second index does not have a completely consistent index in the first pre-distortion calibration lookup table, in order to avoid the situation where there is no completely consistent index, resulting in the inability to determine the first complex gain, an index close to the scaled first index is taken as the second index.
[0145] In a possible embodiment, the electronic device scales the first index corresponding to the first signal based on a first scaling factor to obtain a second index. Specifically, the electronic device determines, based on the scaled first index, from a first pre-distortion calibration lookup table an index closest to the scaled first index, and determines the index closest to the modulus value of the scaled first signal as the second index.
[0146] For example, if the first index is 4, after scaling the first index based on the first scaling factor, the scaled first index is 5.1. The first predistortion calibration lookup table includes the following indices: 1, 2, 3, 4, 5, and 6. The index closest to the scaled first index is 5. Therefore, the second index is determined to be 5.
[0147] In a possible embodiment, the second index satisfies the following calculation formula:
[0148] Second index = floor(|x|*S ij *N)
[0149] Wherein, |x| is the first index, which is the modulus value of the first signal, S ij is the first scaling factor, N is the total number of rows in the predistortion calibration lookup table, which can also be understood as the number of mapping relationships in the predistortion calibration lookup table. Rounding down is rounding down to a positive integer. For example, if it is 2.8, it is rounded down to 2, if it is 5.1, it is rounded down to 5, and so on.
[0150] Optionally, the calculation formula of the second index may round up in addition to rounding down, for example, if the value is 2.8, then round it up to 3, if it is 5.1, then round it up to 6, and so on.
[0151] Optionally, in addition to rounding down and rounding up, the calculation formula for the second index may also round to the nearest decimal place. For example, if the number is 2.8, it is rounded to 3; if it is 5.1, it is rounded to 5, and so on. This application does not limit the rounding method.
[0152] In a possible embodiment, the process of the second method can be found in Figure 7 As shown, Figure 7 The middle modulus value is the first index of the first signal.
[0153] In this manner, a first scaling factor is determined based on the current temperature and the current amplifier input power, a second index is determined using the first scaling factor, and the first complex gain is directly looked up from the first predistortion calibration lookup table based on the second index. This avoids multiple executions of the calibration LUT.
[0154] 504. The electronic device processes the first signal based on the first complex gain to obtain a second signal.
[0155] The processing of the first signal by the first complex gain may be to perform complex multiplication on the first complex gain and the first signal, and a result of the complex multiplication is the second signal.
[0156] In the above manner, a first scaling factor is determined based on the current temperature and the current power amplifier input power, and a first complex gain is determined based on the first scaling factor and a preset first pre-distortion calibration lookup table, thereby avoiding multiple executions of the calibration LUT table portion, thereby reducing the hardware resource pressure and power consumption of the electronic device.
[0157] See Figure 8 , Figure 8A schematic structural diagram of a predistortion device 800 provided in an embodiment of the present application. Figure 8 The predistortion device shown may be an electronic device, or a device in an electronic device, or a device that can be used in conjunction with an electronic device. Figure 8 The pre-distortion training apparatus shown may include an acquisition unit 801 and a processing unit 802.
[0158] An acquiring unit 801 is configured to determine a first temperature and a first power amplifier input power, where the first temperature is an ambient temperature and the first power amplifier input power is the power amplifier input power of a first signal;
[0159] A processing unit 802 is configured to determine a first scaling factor based on the first temperature, the first power amplifier input power, and a preset scaling factor table, wherein the preset scaling factor table includes a mapping relationship between temperature, power amplifier input power, and scaling factors;
[0160] The processing unit 802 is further configured to determine a first complex gain based on the first scaling factor and a first predistortion calibration lookup table, where the first predistortion calibration lookup table is a predistortion calibration lookup table predetermined at a second temperature and a second power amplifier input power, and the first predistortion calibration lookup table includes a mapping relationship between an index and a complex gain;
[0161] The processing unit 802 is further configured to process the first signal based on the first complex gain to obtain a second signal.
[0162] In a possible implementation, the first scaling factor is used to scale an index in a first predistortion calibration lookup table, or the first scaling factor is used to scale a first index corresponding to the first signal.
[0163] In one possible implementation, the processing unit 802 is further configured to scale the index in the first predistortion calibration lookup table based on the first scaling factor to obtain a second predistortion calibration lookup table; determine a first index corresponding to the first signal; and determine a first complex gain from the second predistortion calibration lookup table based on the first index.
[0164] In a possible implementation, the processing unit 802 is further configured to determine a modulus value of the first signal based on the real part and the imaginary part of the first signal; and determine a first index corresponding to the first signal based on the modulus value of the first signal.
[0165] In one possible implementation, the second temperature is different from the first temperature, and the first power amplifier input power is different from the second power amplifier input power; or the second temperature is the same as the first temperature, and the first power amplifier input power is different from the second power amplifier input power; or the second temperature is different from the first temperature, and the first power amplifier input power is the same as the second power amplifier input power.
[0166] In one possible implementation, the processing unit 802 is further configured to determine a first index corresponding to the first signal; scale the first index corresponding to the first signal based on a first scaling factor to obtain a second index; and determine a first complex gain from a first predistortion calibration lookup table based on the second index.
[0167] In one possible implementation, the processing unit 802 is further configured to determine a first scaling factor based on the first temperature, the first power amplifier input power, and a preset scaling factor table if a temperature change and / or a power amplifier input power change is determined based on the first temperature and the first power amplifier input power.
[0168] For the case where the predistortion device can be a chip or a chip system, see Figure 9 Schematic diagram of the chip structure shown. Figure 9 The chip 900 shown includes a processor 901 and an interface 902. Optionally, it may also include a memory 903. The number of processors 901 may be one or more, and the number of interfaces 902 may be multiple.
[0169] For the case where the chip is used to implement the electronic device in the embodiment of the present application:
[0170] The interface 902 is used to receive or output signals;
[0171] The processor 901 is configured to execute data processing operations of the electronic device.
[0172] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0173] It is understood that some optional features in the embodiments of the present application may, in certain scenarios, be implemented independently of other features, such as the solutions on which they are currently based, to solve corresponding technical problems and achieve corresponding effects. Alternatively, they may be combined with other features in certain scenarios as needed. Accordingly, the predistortion device provided in the embodiments of the present application may also implement these features or functions accordingly, which will not be described in detail here.
[0174] It should be understood that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
[0175] It is understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0176] The present application also provides a computer-readable storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed on an electronic device, the functions of any of the above method embodiments are implemented.
[0177] The present application also provides a computer program product, which, when executed on a computer, enables the computer to implement the functions of any of the above method embodiments.
[0178] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may 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 may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0179] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A predistortion method, characterized in that: The method comprises: Determine a first temperature and a first power amplifier input power, where the first temperature is an ambient temperature and the first power amplifier input power is the power amplifier input power of the first signal; Determining a first scaling factor based on the first temperature, the first power amplifier input power, and a preset scaling factor table, the preset scaling factor table including a mapping relationship between temperature, power amplifier input power, and scaling factors; determining a first complex gain based on the first scaling factor and a first predistortion calibration lookup table, wherein the first predistortion calibration lookup table is a predistortion calibration lookup table predetermined at a second temperature and a second power amplifier input power, and the first predistortion calibration lookup table includes a mapping relationship between an index and a complex gain; The first signal is processed based on the first complex gain to obtain a second signal.
2. The method according to claim 1, characterized in that The first scaling factor is used to scale an index in the first predistortion calibration lookup table, or the first scaling factor is used to scale a first index corresponding to the first signal.
3. The method according to claim 1 or 2, characterized in that The determining a first complex gain based on the first scaling factor and a first predistortion calibration lookup table comprises: Scaling the indexes in the first predistortion calibration lookup table based on the first scaling factor to obtain a second predistortion calibration lookup table; determining a first index corresponding to the first signal; A first complex gain is determined from the second predistortion calibration lookup table based on the first index.
4. The method according to claim 2 or 3, characterized in that The first signal is in complex form; The determining a first index corresponding to the first signal includes: determining a modulus value of the first signal based on the real part and the imaginary part of the first signal; A first index corresponding to the first signal is determined based on the modulus value of the first signal.
5. The method according to any one of claims 2 to 4, characterized in that The second temperature is different from the first temperature, and the first power amplifier input power is different from the second power amplifier input power; or the second temperature is the same as the first temperature, and the first power amplifier input power is different from the second power amplifier input power; or the second temperature is different from the first temperature, and the first power amplifier input power is the same as the second power amplifier input power.
6. The method according to claim 1 or 2, characterized in that The determining a first complex gain based on the first scaling factor and a first predistortion calibration lookup table comprises: determining a first index corresponding to the first signal; Scaling a first index corresponding to the first signal based on the first scaling factor to obtain a second index; A first complex gain is determined from the first predistortion calibration lookup table based on the second index.
7. The method according to any one of claims 1 to 6, characterized in that The determining a first scaling factor based on the first temperature, the first power amplifier input power, and a preset scaling factor table includes: If a temperature change and / or a power amplifier input power change is determined based on the first temperature and the first power amplifier input power, a first scaling factor is determined based on the first temperature, the first power amplifier input power and a preset scaling factor table.
8. An electronic device comprising one or more memories and one or more processors, characterized in that: The memory is used to store a computer program; the processor is used to call the computer program, so that the electronic device executes the method according to any one of claims 1 to 7.
9. A chip system, applied to electronic equipment, characterized in that: The chip system includes at least one processor and an interface, wherein the interface is used to receive instructions and transmit them to the at least one processor; the at least one processor executes the instructions so that the electronic device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.