CN116455709A - Digital predistortion method, device, electronic equipment and storage medium - Google Patents
Digital predistortion method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116455709A CN116455709A CN202310310224.1A CN202310310224A CN116455709A CN 116455709 A CN116455709 A CN 116455709A CN 202310310224 A CN202310310224 A CN 202310310224A CN 116455709 A CN116455709 A CN 116455709A
- Authority
- CN
- China
- Prior art keywords
- digital
- distortion
- signal
- time period
- transmitted
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
- H04L25/40—Transmitting circuits; Receiving circuits
- H04L25/49—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/14—Two-way operation using the same type of signal, i.e. duplex
- H04L5/1469—Two-way operation using the same type of signal, i.e. duplex using time-sharing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Amplifiers (AREA)
Abstract
本申请提供一种数字预失真方法、装置、电子设备及存储介质,所述方法包括:获取待发送信号;在第一时间段内,根据第一数字预失真查找表对所述待发送信号进行数字预失真,确定所述待发送信号在所述第一时间段内的第一数字预失真输出;在第二时间段内,根据第二数字预失真查找表对所述待发送信号进行数字预失真,确定所述待发送信号在所述第二时间段内的第二数字预失真输出。该数字预失真方法用以在Wi‑Fi时分双工的模式下,实现高精度的数字预失真方案,从而提高动态EVM性能。
The present application provides a digital pre-distortion method, device, electronic equipment, and storage medium, the method comprising: acquiring a signal to be transmitted; performing a process on the signal to be transmitted according to a first digital pre-distortion lookup table within a first time period Digital pre-distortion, determining a first digital pre-distortion output of the signal to be transmitted within the first time period; within a second time period, performing digital pre-distortion on the signal to be transmitted according to a second digital pre-distortion lookup table Distortion, determining a second digital predistortion output of the signal to be transmitted within the second time period. The digital pre-distortion method is used to implement a high-precision digital pre-distortion solution in a Wi‑Fi time-division duplex mode, thereby improving dynamic EVM performance.
Description
技术领域technical field
本申请涉及信号预失真领域,具体而言,涉及一种数字预失真方法、装置、电子设备及存储介质。The present application relates to the field of signal predistortion, in particular, to a digital predistortion method, device, electronic equipment and storage medium.
背景技术Background technique
功率放大器(Power Amplifier,PA)广泛应用于各种电子领域。然而,由于PA电路具有非线性增益特征,信号经过PA电路进行放大后,会出现非线性失真,从而引起误差向量幅度(Error Vector Magnitude,EVM)恶化。因此,需要对信号进行补偿,减少PA电路引入的非线性失真。目前,通常采用数字预失真(Digital Pre-Distortion,DPD)技术实现PA的线性化。A power amplifier (Power Amplifier, PA) is widely used in various electronic fields. However, since the PA circuit has a nonlinear gain characteristic, after the signal is amplified by the PA circuit, nonlinear distortion will occur, which will cause error vector magnitude (Error Vector Magnitude, EVM) to deteriorate. Therefore, it is necessary to compensate the signal to reduce the nonlinear distortion introduced by the PA circuit. Currently, a digital pre-distortion (Digital Pre-Distortion, DPD) technology is usually used to implement linearization of the PA.
随着Wi-Fi技术的发展,对EVM的要求也更为严格。同时,由于Wi-Fi中一般采用时分双工的模式,设备需要发射时,打开发射通路(含PA),关闭接收通路;无需发射时,保持在接收状态,关闭发射通路,打开接收通路。这种模式下,设备发包时,需要进行RX(Receive,接收)到TX(Transport,发送)的切换,同时打开PA。设备发包结束后,关闭PA。设备需要再次发包时,重新开启PA。With the development of Wi-Fi technology, the requirements for EVM are also more stringent. At the same time, because Wi-Fi generally adopts the time-division duplex mode, when the device needs to transmit, it opens the transmission path (including PA) and closes the reception path; when it does not need to transmit, it remains in the receiving state, closes the transmission path, and opens the reception path. In this mode, when the device sends a packet, it needs to switch from RX (Receive, receive) to TX (Transport, send), and turn on the PA at the same time. After the device sends packets, close the PA. When the device needs to send packets again, restart the PA.
PA从开启达到稳定工作点需要一定时间,在这段时间内PA工作状态发生变化,会对动态EVM产生一定程度的恶化。在Wi-Fi时分双工的模式下,Wi-Fi发射机上的PA会不断地在开启和关闭间切换,PA的非线性特征在开启阶段和稳定阶段存在差异。因此,现有的DPD方案存在精度较低的问题。It takes a certain amount of time for the PA to reach a stable operating point from being turned on. During this period of time, the working state of the PA changes, which will cause a certain degree of deterioration of the dynamic EVM. In the Wi-Fi TDD mode, the PA on the Wi-Fi transmitter will constantly switch between on and off, and the non-linear characteristics of the PA are different in the turn-on phase and the stable phase. Therefore, the existing DPD scheme has the problem of low accuracy.
发明内容Contents of the invention
本申请实施例的目的在于提供一种数字预失真方法、装置、电子设备及存储介质,用以在Wi-Fi时分双工的模式下,实现高精度的数字预失真方案,从而提高动态EVM性能。The purpose of the embodiments of the present application is to provide a digital pre-distortion method, device, electronic equipment, and storage medium to implement a high-precision digital pre-distortion solution in Wi-Fi time-division duplex mode, thereby improving dynamic EVM performance .
第一方面,本申请提供一种数字预失真方法,包括:获取待发送信号;在第一时间段内,根据第一数字预失真查找表对所述待发送信号进行数字预失真,确定所述待发送信号在所述第一时间段内的第一数字预失真输出;在第二时间段内,根据第二数字预失真查找表对所述待发送信号进行数字预失真,确定所述待发送信号在所述第二时间段内的第二数字预失真输出。In a first aspect, the present application provides a digital pre-distortion method, including: acquiring a signal to be transmitted; performing digital pre-distortion on the signal to be transmitted according to a first digital pre-distortion lookup table within a first time period, and determining the The first digital pre-distortion output of the signal to be transmitted within the first time period; within the second time period, perform digital pre-distortion on the signal to be transmitted according to the second digital pre-distortion lookup table, and determine the signal to be transmitted A second digital predistortion output of the signal within the second time period.
在上述实现过程中,考虑到功率放大器在不同的时间段上的非线性特征不同,设置第一数字预失真查找表和第二数字预失真查找表,在进行数字预失真过程中,在第一时间段选择第一数字预失真查找表进行数字预失真,补偿功率放大器在第一时间段上引入的非线性特征,在第二时间段选择第二数字预失真查找表进行数字预失真,补偿功率放大器在第一时间段上引入的非线性特征,从而实现高精度的数字预失真方案。In the above implementation process, considering that the power amplifier has different nonlinear characteristics in different time periods, the first digital pre-distortion look-up table and the second digital pre-distortion look-up table are set. During the digital pre-distortion process, the first digital pre-distortion look-up table Select the first digital pre-distortion look-up table for digital pre-distortion in the time period to compensate the nonlinear characteristics introduced by the power amplifier in the first time period, and select the second digital pre-distortion look-up table in the second time period for digital pre-distortion to compensate power The non-linear characteristic introduced by the amplifier in the first time period realizes a high-precision digital pre-distortion scheme.
在可选的实施方式中,在所述获取待发送信号之前,所述方法还包括:据训练信号在所述第一时间段内的数据对第一数字预失真模型进行训练,确定所述第一数字预失真查找表;根据所述训练信号在所述第二时间段内的数据对第二数字预失真模型进行训练,确定所述第二数字预失真查找表。In an optional implementation manner, before the acquisition of the signal to be sent, the method further includes: training the first digital predistortion model according to the data of the training signal in the first time period, and determining the first digital predistortion model A digital pre-distortion look-up table; the second digital pre-distortion model is trained according to the data of the training signal in the second time period, and the second digital pre-distortion look-up table is determined.
在可选的实施方式中,所述根据训练信号在所述第一时间段内的数据对所述第一数字预失真模型进行训练,确定所述第一数字预失真查找表,包括:获取第一训练数据和第一反馈数据;其中,所述第一训练数据为训练信号在所述第一时间段内的数据输入数字预失真器后得到的输出数据,所述第一反馈数据为所述第一训练数据输入功率放大器后得到的输出数据;根据所述第一训练数据和所述第一反馈数据对所述第一数字预失真模型进行训练,得到训练后的第一数字预失真模型对应的第一模型系数;根据所述第一模型系数生成第一数字预失真查找表。In an optional implementation manner, the training of the first digital predistortion model according to the data of the training signal in the first time period, and determining the first digital predistortion lookup table include: obtaining the first digital predistortion lookup table A training data and first feedback data; wherein, the first training data is the output data obtained after the data of the training signal is input into the digital predistorter within the first time period, and the first feedback data is the The output data obtained after the first training data is input into the power amplifier; the first digital pre-distortion model is trained according to the first training data and the first feedback data, and the corresponding first digital pre-distortion model after training is obtained first model coefficients; generating a first digital predistortion lookup table according to the first model coefficients.
在可选的实施方式中,所述根据所述训练信号在所述第二时间段内的数据对所述第二数字预失真模型进行训练,确定所述第二数字预失真查找表,包括:获取第二训练数据和第二反馈数据;其中,所述第二训练数据为训练信号在所述第二时间段内的数据输入数字预失真器后得到的输出数据,所述第二反馈数据为所述第二训练数据输入功率放大器后得到的输出数据;根据所述第二训练数据和所述第二反馈数据对所述第二数字预失真模型进行训练,得到训练后的第二数字预失真模型对应的第二模型系数;根据所述第二模型系数生成第二数字预失真查找表。In an optional implementation manner, the training of the second digital predistortion model according to the data of the training signal in the second time period, and determining the second digital predistortion lookup table include: Obtaining second training data and second feedback data; wherein, the second training data is the output data obtained after the data of the training signal is input into the digital predistorter within the second time period, and the second feedback data is The output data obtained after the second training data is input into the power amplifier; the second digital pre-distortion model is trained according to the second training data and the second feedback data to obtain the trained second digital pre-distortion second model coefficients corresponding to the model; generating a second digital predistortion lookup table according to the second model coefficients.
在可选的实施方式中,所述第一时间段为所述待发送信号的起始时刻到功率放大器到达工作稳定状态的时刻之间的时间段,所述第二时间段为功率放大器到达工作稳定状态的时刻到所述待发送信号的结束时刻之间的时间段。In an optional embodiment, the first time period is the time period between the start time of the signal to be transmitted and the time when the power amplifier reaches the working stable state, and the second time period is the time period when the power amplifier reaches the working state. The time period between the moment of the steady state and the end moment of the signal to be sent.
本申请实施例中,为了消除功率放大器的工作状态在达到工作稳定状态前和在达到工作稳定状态后存在的非线性特征,将第一时间段设置为待发送信号的起始时刻到功率放大器到达工作稳定状态的时刻之间的时间段,将第二时间段设置为功率放大器到达工作稳定状态的时刻到待发送信号的结束时刻之间的时间段,在进行数字预失真时,在第一时间段选择第一数字预失真查找表进行数字预失真,在第二时间段选择第二数字预失真查找表进行数字预失真,从而实现高精度的数字预失真方案。In the embodiment of the present application, in order to eliminate the nonlinear characteristics of the working state of the power amplifier before reaching the stable working state and after reaching the stable working state, the first time period is set from the initial moment of the signal to be sent to the arrival of the power amplifier. The time period between the moments of the stable state of work, the second time period is set as the time period between the moment when the power amplifier reaches the stable state of work and the end moment of the signal to be sent, when performing digital pre-distortion, at the first time The first digital pre-distortion look-up table is selected for digital pre-distortion in the first period, and the second digital pre-distortion look-up table is selected for digital pre-distortion in the second period, thereby realizing a high-precision digital pre-distortion solution.
在可选的实施方式中,所述在第一时间段内,根据第一数字预失真查找表对所述待发送信号进行数字预失真,确定所述待发送信号在所述第一时间段内的第一数字预失真输出,包括:In an optional implementation manner, within the first time period, digital predistortion is performed on the signal to be transmitted according to a first digital predistortion lookup table, and it is determined that the signal to be transmitted is within the first time period The first DPD output consists of:
根据如下公式确定所述第一数字预失真输出:Determine the first digital predistortion output according to the following formula:
其中,y1(n)为所述第一数字预失真输出,x(n-m)为所述待发送信号的第m阶延迟,LUT1m,k(|x(n-k)|为所述第一数字预失真查找表,M和K为记忆深度,td为所述第一时间段的结束时刻,Fs为采样率。Wherein, y 1 (n) is the first digital predistortion output, x(nm) is the mth order delay of the signal to be transmitted, LUT1 m,k (|x(nk)| is the first digital A predistortion lookup table, M and K are memory depths, t d is the end moment of the first time period, and Fs is a sampling rate.
在可选的实施方式中,所述在第二时间段内,根据第二数字预失真查找表对所述待发送信号进行数字预失真,确定所述待发送信号在所述第二时间段内的第二数字预失真输出,包括:In an optional implementation manner, within the second time period, digital predistortion is performed on the signal to be transmitted according to a second digital predistortion lookup table, and it is determined that the signal to be transmitted is within the second time period The second DPD output consists of:
根据如下公式确定所述第二数字预失真输出:The second digital predistortion output is determined according to the following formula:
其中,y2(n)为所述第二数字预失真输出,x(n-m)为所述待发送信号的第m阶延迟,LUT2m,k(|x(n-k)|为所述第二数字预失真查找表,M和K为记忆深度,td为所述第一时间段的结束时刻,T为所述待发送信号的持续时长,Fs为采样率。Wherein, y 2 (n) is the second digital predistortion output, x(nm) is the mth order delay of the signal to be transmitted, LUT2 m,k (|x(nk)| is the second digital A predistortion lookup table, M and K are the memory depth, td is the end moment of the first time period, T is the duration of the signal to be sent, and Fs is the sampling rate.
第二方面,本申请提供一种数字预失真装置,包括:获取模块,用于获取待发送信号;第一预失真模块,用于在第一时间段内,根据第一数字预失真查找表对所述待发送信号进行数字预失真,确定所述待发送信号在所述第一时间段内的第一数字预失真输出;第二预失真模块,用于在第二时间段内,根据第二数字预失真查找表对所述待发送信号进行数字预失真,确定所述待发送信号在所述第二时间段内的第二数字预失真输出。In a second aspect, the present application provides a digital pre-distortion device, including: an acquisition module, configured to acquire a signal to be transmitted; a first pre-distortion module, configured to perform a pair of performing digital pre-distortion on the signal to be transmitted, and determining a first digital pre-distortion output of the signal to be transmitted within the first time period; The digital predistortion lookup table performs digital predistortion on the signal to be transmitted, and determines a second digital predistortion output of the signal to be transmitted within the second time period.
在可选的实施方式中,所述数字预失真装置还包括:第一训练模块,用于根据训练信号在所述第一时间段内的数据对第一数字预失真模型进行训练,确定所述第一数字预失真查找表;第二训练模块,用于根据所述训练信号在所述第二时间段内的数据对第二数字预失真模型进行训练,确定所述第二数字预失真查找表。In an optional implementation manner, the digital pre-distortion device further includes: a first training module, configured to train the first digital pre-distortion model according to the data of the training signal in the first time period, and determine the A first digital pre-distortion look-up table; a second training module, configured to train a second digital pre-distortion model according to the data of the training signal in the second time period, and determine the second digital pre-distortion look-up table .
在可选的实施方式中,所述第一训练模块具体用于获取第一训练数据和第一反馈数据;其中,所述第一训练数据为训练信号在所述第一时间段内的数据输入数字预失真器后得到的输出数据,所述第一反馈数据为所述第一训练数据输入功率放大器后得到的输出数据;根据所述第一训练数据和所述第一反馈数据对所述第一数字预失真模型进行训练,得到训练后的第一数字预失真模型对应的第一模型系数;根据所述第一模型系数生成第一数字预失真查找表。In an optional implementation manner, the first training module is specifically configured to acquire first training data and first feedback data; wherein, the first training data is data input of training signals within the first time period The output data obtained after the digital predistorter, the first feedback data is the output data obtained after the first training data is input into the power amplifier; according to the first training data and the first feedback data, the first feedback data is A digital predistortion model is trained to obtain first model coefficients corresponding to the trained first digital predistortion model; a first digital predistortion lookup table is generated according to the first model coefficients.
在可选的实施方式中,所述第二训练模块具体用于获取第二训练数据和第二反馈数据;其中,所述第二训练数据为训练信号在所述第二时间段内的数据输入数字预失真器后得到的输出数据,所述第二反馈数据为所述第二训练数据输入功率放大器后得到的输出数据;根据所述第二训练数据和所述第二反馈数据对所述第二数字预失真模型进行训练,得到训练后的第二数字预失真模型对应的第二模型系数;根据所述第二模型系数生成第二数字预失真查找表。In an optional implementation manner, the second training module is specifically configured to acquire second training data and second feedback data; wherein, the second training data is the data input of the training signal within the second time period The output data obtained after the digital predistorter, the second feedback data is the output data obtained after the second training data is input into the power amplifier; according to the second training data and the second feedback data, the first Two digital pre-distortion models are trained to obtain second model coefficients corresponding to the trained second digital pre-distortion model; a second digital pre-distortion lookup table is generated according to the second model coefficients.
在可选的实施方式中,所述第一时间段为所述待发送信号的起始时刻到功率放大器到达工作稳定状态的时刻之间的时间段,所述第二时间段为功率放大器到达工作稳定状态的时刻到所述待发送信号的结束时刻之间的时间段。In an optional embodiment, the first time period is the time period between the start time of the signal to be transmitted and the time when the power amplifier reaches the working stable state, and the second time period is the time period when the power amplifier reaches the working state. The time period between the moment of the steady state and the end moment of the signal to be sent.
在可选的实施方式中,所述第一预失真模块具体用于根据如下公式确定所述第一数字预失真输出:In an optional implementation manner, the first pre-distortion module is specifically configured to determine the first digital pre-distortion output according to the following formula:
其中,y1(n)为所述第一数字预失真输出,x(n-m)为所述待发送信号的第m阶延迟,LUT1m,k(|x(n-k)|为所述第一数字预失真查找表,M和K为记忆深度,td为所述第一时间段的结束时刻,Fs为采样率。Wherein, y 1 (n) is the first digital predistortion output, x(nm) is the mth order delay of the signal to be transmitted, LUT1 m,k (|x(nk)| is the first digital A predistortion lookup table, M and K are memory depths, td is the end moment of the first time period, and Fs is a sampling rate.
在可选的实施方式中,所述第二预失真模块具体用于根据如下公式确定所述第二数字预失真输出:In an optional implementation manner, the second pre-distortion module is specifically configured to determine the second digital pre-distortion output according to the following formula:
其中,y2(n)为所述第二数字预失真输出,x(n-m)为所述待发送信号的第m阶延迟,LUT2m,k(|x(n-k)|为所述第二数字预失真查找表,M和K为记忆深度,td为所述第一时间段的结束时刻,T为所述待发送信号的持续时长,Fs为采样率。Wherein, y 2 (n) is the second digital predistortion output, x(nm) is the mth order delay of the signal to be transmitted, LUT2 m,k (|x(nk)| is the second digital A predistortion lookup table, M and K are the memory depth, td is the end moment of the first time period, T is the duration of the signal to be sent, and Fs is the sampling rate.
第三方面,本申请提供一种电子设备,包括:处理器、存储器和总线;所述处理器和所述存储器通过所述总线完成相互间的通信;所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如前述实施方式任一项所述的方法。In a third aspect, the present application provides an electronic device, including: a processor, a memory, and a bus; the processor and the memory communicate with each other through the bus; Executed program instructions, the processor calls the program instructions to be able to execute the method as described in any one of the foregoing implementation manners.
第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序指令,所述计算机程序指令被计算机读取并运行时,执行如前述实施方式任一项所述的方法。In a fourth aspect, the present application provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are read and executed by a computer, any one of the preceding implementation modes is executed. the method described.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings that need to be used in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application, so It should not be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings according to these drawings without creative work.
图1为本申请实施例提供的一种数字预失真方法的流程图;FIG. 1 is a flow chart of a digital predistortion method provided in an embodiment of the present application;
图2为本申请实施例提供的一种训练信号的示意图;FIG. 2 is a schematic diagram of a training signal provided by an embodiment of the present application;
图3为本申请实施例提供的一种数字预失真间接学习架构;FIG. 3 is a digital predistortion indirect learning framework provided by an embodiment of the present application;
图4为本申请实施例提供的一种数字预失真方法的整体流程图;FIG. 4 is an overall flow chart of a digital predistortion method provided in an embodiment of the present application;
图5为本申请实施例提供的一种数字预失真装置的结构框图;FIG. 5 is a structural block diagram of a digital predistortion device provided by an embodiment of the present application;
图6为本申请实施例提供的一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
本申请实施例的目的在于提供一种数字预失真方法、装置、电子设备及存储介质,用以在Wi-Fi时分双工的模式下,实现高精度的数字预失真方案。The purpose of the embodiments of the present application is to provide a digital pre-distortion method, device, electronic equipment, and storage medium for realizing a high-precision digital pre-distortion solution in a Wi-Fi time-division duplex mode.
为方便理解本方案,以下对本方案中涉及的专业名词进行说明。For the convenience of understanding this scheme, the professional terms involved in this scheme are explained below.
时分双工模式:设备需要发射数据包时,打开发射通路(含PA),关闭接收通路。设备无需发射数据包时,保持在接收状态,关闭发射通路,打开接收通路。在时分双工模式下,设备需要发射数据包时,需要进行RX到TX的切换,同时打开PA。Time-division duplex mode: When the device needs to transmit data packets, it opens the transmission path (including PA) and closes the reception path. When the device does not need to transmit data packets, it remains in the receiving state, closes the transmission path, and opens the reception path. In time-division duplex mode, when the device needs to transmit data packets, it needs to switch from RX to TX and turn on PA at the same time.
数字预失真:通过一个预失真元件(Predistorter)来和功放元件(PA)级联,非线性失真功能内置于数字、数码基带信号处理域中,其与放大器展示的失真数量相当(“相等”),但功能却相反。将这两个非线性失真功能相结合,便能够实现高度线性、无失真的系统。Digital predistortion: through a predistortion element (Predistorter) to cascade with the power amplifier element (PA), the nonlinear distortion function is built into the digital, digital baseband signal processing domain, which is equivalent to ("equal") the amount of distortion exhibited by the amplifier , but the function is reversed. Combining these two non-linear distortion functions enables a highly linear, distortion-free system.
该技术可采用相应的软件、硬件以及软硬结合的方式实现。以下对本申请实施例进行详细介绍。This technology can be realized by using corresponding software, hardware and a combination of software and hardware. The following describes the embodiments of the present application in detail.
图1为本申请实施例提供的一种数字预失真方法的流程图,该数字预失真方法可以包括以下内容:Fig. 1 is a flow chart of a digital pre-distortion method provided by the embodiment of the present application, the digital pre-distortion method may include the following:
步骤101:获取待发送信号。Step 101: Obtain a signal to be sent.
步骤102:在第一时间段内,根据第一数字预失真查找表对待发送信号进行数字预失真,确定待发送信号在第一时间段内的第一数字预失真输出。Step 102: In the first time period, perform digital predistortion on the signal to be transmitted according to the first digital predistortion lookup table, and determine the first digital predistortion output of the signal to be transmitted in the first time period.
步骤103:在第二时间段内,根据第二数字预失真查找表对待发送信号进行数字预失真,确定待发送信号在第二时间段内的第二数字预失真输出。Step 103: During the second period of time, perform digital predistortion on the signal to be transmitted according to the second digital predistortion lookup table, and determine a second digital predistortion output of the signal to be transmitted within the second period of time.
本申请实施例中,当支持Wi-Fi功能的电子设备(采用时分双工的模式进行数据收发)发送Wi-Fi数据包(即待发送信号)时,电子设备从RX切换为TX,电子设备上的Wi-Fi发射机中的数字预失真器获取电子设备将要发送的待发送信号,待发送信号可以为数字信号。In the embodiment of the present application, when an electronic device supporting the Wi-Fi function (using time division duplex mode for data transmission and reception) sends a Wi-Fi data packet (that is, a signal to be sent), the electronic device switches from RX to TX, and the electronic device The digital predistorter in the Wi-Fi transmitter on the Internet obtains the signal to be sent to be sent by the electronic device, and the signal to be sent may be a digital signal.
当电子设备从RX切换为TX时,Wi-Fi发射机中的PA开启。由于PA从开启达到稳定工作点需要一定时间,在这段时间内PA工作状态发生变化,会对EVM产生一定程度的恶化。因此,为了匹配PA在不同时间段内工作状态的变化,根据设定的时间分段,在第一时间段内,数字预失真器使用第一数字预失真查找表对待发送信号进行数字预失真,确定待发送信号在第一时间段内的第一数字预失真输出。在第二时间段内,数字预失真器使用第二数字预失真查找表对待发送信号进行数字预失真,确定待发送信号在第二时间段内的第二数字预失真输出。When an electronic device switches from RX to TX, the PA in the Wi-Fi transmitter turns on. Since it takes a certain amount of time for the PA to reach a stable operating point from being turned on, changes in the working state of the PA during this period will cause a certain degree of deterioration of the EVM. Therefore, in order to match the change of the working state of the PA in different time periods, according to the set time segment, in the first time period, the digital predistorter uses the first digital predistortion lookup table to perform digital predistortion on the signal to be transmitted, Determine the first digital predistortion output of the signal to be sent within the first time period. During the second time period, the digital predistorter uses the second digital predistortion lookup table to perform digital predistortion on the signal to be transmitted, and determines the second digital predistortion output of the signal to be transmitted within the second time period.
需要说明的是,待发送信号在发送时会持续一段时间。第一数字预失真输出是数字预失真器使用第一数字预失真查找表对待发送信号在第一时间段内的数据进行数字预失真后产生的输出,第二数字预失真输出是数字预失真器使用第二数字预失真查找表对待发送信号在第二时间段内的数据进行数字预失真后产生的输出。It should be noted that the signal to be sent lasts for a period of time when it is sent. The first digital pre-distortion output is the output generated by the digital pre-distortion device after using the first digital pre-distortion look-up table to perform digital pre-distortion on the data of the signal to be transmitted in the first time period, and the second digital pre-distortion output is the output of the digital pre-distortion device An output generated after performing digital pre-distortion on the data of the signal to be transmitted within the second time period by using the second digital pre-distortion look-up table.
通过上述方式,设置第一数字预失真查找表和第二数字预失真查找表,进行数字预失真时,在不同的时间段使用对应的数字预失真查找表对待发送信号进行数字预失真,减少因PA工作状态发生变化而产生的EVM恶化,减少频谱扩展,从而实现高精度的数字预失真方案。Through the above method, the first digital pre-distortion look-up table and the second digital pre-distortion look-up table are set. When performing digital pre-distortion, use the corresponding digital pre-distortion look-up table to perform digital pre-distortion on the signal to be sent in different time periods, reducing the The deterioration of EVM caused by the change of PA working state reduces the spectrum spread, so as to realize the high-precision digital pre-distortion scheme.
以下对获取第一数字预失真查找表和第二数字预失真查找表的方式进行说明。The following describes how to obtain the first digital predistortion lookup table and the second digital predistortion lookup table.
作为一种可选的实施方式,本申请实施例提供的数字预失真方法还可以包括以下内容:As an optional implementation manner, the digital predistortion method provided in the embodiment of the present application may also include the following content:
A1:根据训练信号在第一时间段内的数据对第一数字预失真模型进行训练,确定第一数字预失真查找表。A1: Train the first digital predistortion model according to the data of the training signal in the first time period, and determine the first digital predistortion lookup table.
A2:根据训练信号在第二时间段内的数据对第二数字预失真模型进行训练,确定第二数字预失真查找表。A2: Train the second digital predistortion model according to the data of the training signal in the second time period, and determine the second digital predistortion lookup table.
本申请实施例中,在对待发送信号进行数字预失真之前,构建两个数字预失真模型,使用训练信号在不同的时间段内的数据对第一数字预失真模型和第二数字预失真模型进行训练,确定第一数字预失真查找表和第二数字预失真查找表。In the embodiment of the present application, before digital pre-distortion is performed on the signal to be transmitted, two digital pre-distortion models are constructed, and the data of the training signal in different time periods are used to carry out the first digital pre-distortion model and the second digital pre-distortion model. Training, determining the first digital pre-distortion look-up table and the second digital pre-distortion look-up table.
作为一种可选的实施方式,如图2所示,第一时间段为训练信号(对应图2中的Packet)的起始时刻到功率放大器到达工作稳定状态的时刻之间的时间段,第二时间段为功率放大器到达工作稳定状态的时刻到训练信号的结束时刻之间的时间段。As an optional implementation, as shown in Figure 2, the first time period is the time period between the initial moment of the training signal (corresponding to Packet in Figure 2) and the time when the power amplifier reaches a stable working state, and the first time period The second time period is the time period between the time when the power amplifier reaches the stable working state and the end time of the training signal.
PA在电子设备从RX切换为TX时开启,为了匹配PA在不同时间段内工作状态的变化,将第一时间段设置为训练信号的起始时刻到PA到达工作稳定状态的时刻之间的时间段,根据训练信号在该第一时间段内的数据对第一数字预失真模型进行训练,确定第一数字预失真查找表。将第二时间段设置为PA到达工作稳定状态的时刻到训练信号的结束时刻之间的时间段,根据训练信号在该第二时间段内的数据对第二数字预失真模型进行训练,确定第二数字预失真查找表。The PA is turned on when the electronic device is switched from RX to TX. In order to match the change of the working state of the PA in different time periods, the first time period is set as the time between the initial moment of the training signal and the moment when the PA reaches a stable working state. segment, train the first digital pre-distortion model according to the data of the training signal in the first time segment, and determine the first digital pre-distortion look-up table. The second time period is set as the time period between the moment when the PA reaches the stable working state and the end moment of the training signal, and the second digital predistortion model is trained according to the data of the training signal in the second time period, and the second digital predistortion model is determined. Two digital predistortion look-up tables.
进一步地,上述步骤A1可以包括以下内容:Further, the above step A1 may include the following:
获取第一训练数据和第一反馈数据;根据第一训练数据和第一反馈数据对第一数字预失真模型进行训练,得到训练后的第一数字预失真模型对应的第一模型系数;根据第一模型系数生成第一数字预失真查找表。Obtain first training data and first feedback data; train the first digital pre-distortion model according to the first training data and the first feedback data, and obtain first model coefficients corresponding to the trained first digital pre-distortion model; according to the first A model coefficient generates a first digital predistortion look-up table.
本申请实施例中,第一训练数据为训练信号在第一时间段内的数据输入数字预失真器后得到的输出数据,第一反馈数据为第一训练数据输入功率放大器后得到的输出数据。In the embodiment of the present application, the first training data is the output data obtained after the data of the training signal in the first time period is input to the digital predistorter, and the first feedback data is the output data obtained after the first training data is input to the power amplifier.
具体地,请参阅图3,图3为本申请实施例提供的一种数字预失真间接学习架构。首先构建第一数字预失真模型,其中,第一数字预失真模型可以为Volterra级数简化的GMP模型。第一数字预失真模型为:Specifically, please refer to FIG. 3 . FIG. 3 is a digital predistortion indirect learning architecture provided by an embodiment of the present application. Firstly, a first digital pre-distortion model is constructed, where the first digital pre-distortion model may be a Volterra series-simplified GMP model. The first digital predistortion model is:
其中,n=0,1,2,…,N1-1;y1(n)为第一训练数据,fp{|x1(n-k)|}为非线性记忆模型的非线性基底,M和K记忆深度,P为非线性基底的阶数;x1为训练信号在该第一时间段内的数据,amkp为第一数字预失真模型系数。Among them, n=0, 1, 2, ..., N 1 -1; y 1 (n) is the first training data, f p {|x 1 (nk)|} is the nonlinear basis of the nonlinear memory model, M and K memory depth, P is the order of the nonlinear basis; x 1 is the data of the training signal in the first time period, and a mkp is the coefficient of the first digital predistortion model.
需要说明的是,M的取值可以为:2、5、8等自然数,K的取值可以为:2、5、8等自然数,M和K的取值可以相当也可以不相等,本申请对此不作具体限定。It should be noted that the value of M can be: 2, 5, 8 and other natural numbers, the value of K can be: 2, 5, 8 and other natural numbers, and the values of M and K can be equal or unequal. This application This is not specifically limited.
图3中的数字预失真器包括PA的前置逆函数,数字预失真训练器包括PA的后置逆函数,二者相互等价,使用相同的预失真模型和系数,将经过数字预失真训练器解算后的系数复制至数字预失真器中。The digital predistorter in Figure 3 includes the pre-inverse function of the PA, and the digital pre-distortion trainer includes the post-inverse function of the PA. The two are equivalent to each other, using the same pre-distortion model and coefficients, and will undergo digital pre-distortion training The coefficients calculated by the filter are copied to the digital predistorter.
确定第一数字预失真模型后,发送一个训练信号(图3中的x(n)),在第一时间段内的训练信号x1(n)经过数字预失真器后,输出第一训练数据y1(n)。第一训练数据y1(n)经过数模转换器、上变频模块、PA、上变频模块及模数转换器处理后,得到第一反馈数据z1(n)。After determining the first digital pre-distortion model, send a training signal (x(n) in Figure 3), after the training signal x 1 (n) in the first time period passes through the digital pre-distorter, output the first training data y 1 (n). After the first training data y 1 (n) is processed by the digital-to-analog converter, the up-conversion module, the PA, the up-conversion module and the analog-to-digital converter, the first feedback data z 1 (n) is obtained.
在训练第一数字预失真模型的过程中,期望第一反馈数据z1(n)逼近训练信号x1(n),由于前置逆函数和后置逆函数相同,即期望e1(n)=y1(n)-v1(n)最小,将v1(n)→y1(n)作为迭代方向。In the process of training the first digital predistortion model, it is expected that the first feedback data z 1 (n) is close to the training signal x 1 (n), since the pre-inverse function and the post-inverse function are the same, that is, the expectation e 1 (n) =y 1 (n)-v 1 (n) is the smallest, and v 1 (n)→y 1 (n) is taken as the iteration direction.
建立第一组解算方程:Create the first set of solving equations:
定义方程基底rmkp(n)=z1(n-m)fp{|z1(n-k)|}Define the equation basis r mkp (n)=z 1 (nm)f p {|z 1 (nk)|}
则有方程矩阵:Then there is a matrix of equations:
其中in
然后可以使用最小二乘、最小均方、递推最小二乘等算法对计算系数矩阵AL×1。举例来说,使用最小二乘算法计算系数矩阵:The coefficient matrix AL×1 can then be calculated using algorithms such as least squares, least mean squares, and recursive least squares. As an example, compute the coefficient matrix using the least squares algorithm:
将第一训练数据y1(n)代入上述公式中,解算得出系数矩阵AL×1。将计算得到的系数复制给数字预失真器,再次发送一个训练信号,重复上述步骤,进行下一轮的系数矩阵解算,直至得到收敛的系数矩阵。Substitute the first training data y 1 (n) into the above formula, and solve to obtain the coefficient matrix AL×1 . Copy the calculated coefficients to the digital predistorter, send a training signal again, repeat the above steps, and perform the next round of coefficient matrix calculation until a converged coefficient matrix is obtained.
在一些实施方式中,系数矩阵的收敛条件可以为e1(n)=y1(n)-v1(n)的均方误差MES小于预设阈值。In some implementations, the convergence condition of the coefficient matrix may be that the mean square error MES of e 1 (n)=y 1 (n)−v 1 (n) is smaller than a preset threshold.
在另一些实施方式中,系数矩阵的收敛条件可以为x1(n)-z1(n)的均方误差MES小于预设阈值。In some other implementation manners, the convergence condition of the coefficient matrix may be that the mean square error MES of x 1 (n)-z 1 (n) is smaller than a preset threshold.
收敛的系数矩阵即为训练后的第一数字预失真模型对应的第一模型系数。确定第一模型系数后,根据第一模型系数生成第一数字预失真查找表LUT(Look-Up-Table)。需要说明的是,根据第一模型系数生成第一数字预失真查找表的具体方式可以参考现有技术,为使说明书简洁,在此不做赘述。The converged coefficient matrix is the first model coefficient corresponding to the trained first digital predistortion model. After the first model coefficients are determined, a first digital predistortion look-up table LUT (Look-Up-Table) is generated according to the first model coefficients. It should be noted that the specific manner of generating the first digital predistortion lookup table according to the first model coefficients may refer to the prior art, and details are not repeated here for the sake of brevity in the description.
进一步地,上述步骤A2可以包括以下内容:Further, the above step A2 may include the following:
获取第二训练数据和第二反馈数据;根据第二训练数据和第二反馈数据对第二数字预失真模型进行训练,得到训练后的第二数字预失真模型对应的第二模型系数;根据第二模型系数生成第二数字预失真查找表。Obtain second training data and second feedback data; train the second digital pre-distortion model according to the second training data and the second feedback data, and obtain second model coefficients corresponding to the trained second digital pre-distortion model; according to the second The second model coefficients generate a second digital predistortion lookup table.
本申请实施例中,第二训练数据为训练信号在第二时间段内的数据输入数字预失真器后得到的输出数据,第二反馈数据为第二训练数据输入功率放大器后得到的输出数据。In the embodiment of the present application, the second training data is the output data obtained after the data of the training signal in the second time period is input to the digital predistorter, and the second feedback data is the output data obtained after the second training data is input to the power amplifier.
继续参阅图3,构建第二数字预失真模型,其中,第二数字预失真模型可以为Volterra级数简化的GMP模型。第二数字预失真模型为:Continuing to refer to FIG. 3, a second digital pre-distortion model is constructed, where the second digital pre-distortion model may be a Volterra series-simplified GMP model. The second digital predistortion model is:
其中,n=0,1,2,…,N2-1;y2(n)为第二训练数据,fp{|x2(n-k)|}为非线性记忆模型的非线性基底,M和K记忆深度,P为非线性基底的阶数;x2为训练信号在该第二时间段内的数据,bmkp为第二数字预失真模型系数。Among them, n=0, 1, 2, ..., N 2 -1; y 2 (n) is the second training data, f p {|x 2 (nk)|} is the nonlinear basis of the nonlinear memory model, M and K memory depth, P is the order of the nonlinear basis; x 2 is the data of the training signal in the second time period, and b mkp is the second digital predistortion model coefficient.
可以理解的是,第一数字预失真模型中记忆深度M和K与第二数字预失真模型中记忆深度M和K可以相同也可以不相同。使用相同的记忆深度时,确定的第一数字预失真查找表和第二数字预失真查找表的深度相同;反之,则确定的第一数字预失真查找表和第二数字预失真查找表的深度存在差异。It can be understood that the memory depths M and K in the first digital predistortion model may be the same as or different from the memory depths M and K in the second digital predistortion model. When using the same memory depth, the depth of the determined first digital pre-distortion look-up table and the second digital pre-distortion look-up table are the same; otherwise, the determined first digital pre-distortion look-up table and the depth of the second digital pre-distortion look-up table has a difference.
确定第二数字预失真模型后,建立第二组解算方程:After the second digital predistortion model is determined, a second set of solving equations is established:
定义方程基底rmkp(n)=z2(n-m)fp{|z2(n-k)|}Define the equation basis r mkp (n)=z 2 (nm)f p {|z 2 (nk)|}
则有方程矩阵:Then there is a matrix of equations:
其中in
然后可以使用最小二乘、最小均方、递推最小二乘等算法对计算系数矩阵BL×1。举例来说,使用最小二乘算法计算系数矩阵:The coefficient matrix BL×1 can then be calculated using algorithms such as least squares, least mean squares, and recursive least squares. As an example, compute the coefficient matrix using the least squares algorithm:
将第二训练数据y2(n)代入上述公式中,解算得出系数矩阵BL×1。将计算得到的系数复制给数字预失真器,再次发送一个训练信号,重复上述步骤,进行下一轮的系数矩阵解算,直至得到收敛的系数矩阵。The second training data y 2 (n) is substituted into the above formula, and the coefficient matrix BL×1 is obtained through calculation. Copy the calculated coefficients to the digital predistorter, send a training signal again, repeat the above steps, and perform the next round of coefficient matrix calculation until a converged coefficient matrix is obtained.
需要说明的是,第二数字预失真模型的训练过程与第一数字预失真模型的训练过程类似,为使说明书简洁,相同或相似之处可以互相参照。二者的区别在于第一数字预失真模型在训练时采用的是训练信号在第一时间段内的数据,第二数字预失真模型在训练时采用的是训练信号在第二时间段内的数据。It should be noted that the training process of the second digital pre-distortion model is similar to the training process of the first digital pre-distortion model, and for the sake of brevity in the description, reference may be made to the same or similar points. The difference between the two is that the first digital predistortion model uses the data of the training signal in the first time period during training, and the second digital predistortion model uses the data of the training signal in the second time period during training. .
根据前述介绍可知,训练信号在第一时间段内的数据和训练信号在第二时间段内的数据在时间上是连续的。因此,第一数字预失真模型和第二数字预失真模型的训练过程可以串行进行,即训练信号输入到图3中的数字预失真间接学习架构中后,在第一时间段内,对第一数字预失真模型进行训练。紧接着在第二时间段内,对第二数字预失真模型进行训练。采用上述串行训练方式可以节省训练第一数字预失真模型和第二数字预失真模型的资源开销。According to the foregoing introduction, it can be seen that the data of the training signal in the first time period and the data of the training signal in the second time period are continuous in time. Therefore, the training process of the first digital predistortion model and the second digital predistortion model can be performed serially, that is, after the training signal is input into the digital predistortion indirect learning framework in Fig. A digital predistortion model is trained. Immediately after the second period of time, the second digital predistortion model is trained. Using the above serial training manner can save resource overhead for training the first digital predistortion model and the second digital predistortion model.
本申请实施例中,在确定数字预失真查找表时,考虑到功率放大器在达到工作稳定状态前和在达到工作稳定状态后的非线性特征存在差异,为了消除这部分差异,构建两个数字预失真模型,采用在功率放大器在达到工作稳定状态前(第一时间段)和在功率放大器在达到工作稳定状态后(第二时间段)两个时间段中的训练信号的数据,对两个数字预失真模型进行训练,生成对应功率放大器在达到工作稳定状态前的第一数字预失真查找表和对应功率放大器在达到工作稳定状态后的第二数字预失真查找表。In the embodiment of the present application, when determining the digital pre-distortion look-up table, considering that there is a difference in the non-linear characteristics of the power amplifier before reaching the stable working state and after reaching the stable working state, in order to eliminate this part of the difference, two digital pre-distortion The distortion model adopts the data of the training signal in two time periods before the power amplifier reaches the stable working state (the first time period) and after the power amplifier reaches the stable working state (the second time period). The pre-distortion model is trained to generate a first digital pre-distortion look-up table corresponding to the power amplifier before reaching a stable working state and a second digital pre-distortion look-up table corresponding to the power amplifier after reaching a stable working state.
进一步地,对第一数字预失真模型和第二数字预失真模型训练完成后,得到第一数字预失真查找表和第二数字预失真查找表。将第一数字预失真查找表和第二数字预失真查找表存储在数字预失真器中。数字预失真器在获取到待发送信号后,待发送信号在第一时间段内,使用第一数字预失真查找表对待发送信号进行数字预失真,确定待发送信号在第一时间段内的第一数字预失真输出;待发送信号进入第二时间段后,使用第二数字预失真查找表对待发送信号进行数字预失真,确定待发送信号在第二时间段内的第二数字预失真输出。Further, after the training of the first digital predistortion model and the second digital predistortion model is completed, a first digital predistortion lookup table and a second digital predistortion lookup table are obtained. The first digital predistortion lookup table and the second digital predistortion lookup table are stored in the digital predistorter. After the digital predistorter obtains the signal to be transmitted, the signal to be transmitted is within the first time period, and the signal to be transmitted is digitally predistorted using the first digital predistortion lookup table to determine the first time period of the signal to be transmitted within the first time period. A digital predistortion output; after the signal to be transmitted enters the second time period, use the second digital predistortion lookup table to perform digital predistortion on the signal to be transmitted, and determine the second digital predistortion output of the signal to be transmitted within the second time period.
作为一种可选的实施方式,第一时间段为待发送信号的起始时刻到功率放大器到达工作稳定状态的时刻之间的时间段,第二时间段为功率放大器到达工作稳定状态的时刻到待发送信号的结束时刻之间的时间段。As an optional implementation, the first time period is the time period between the initial moment of the signal to be transmitted and the time when the power amplifier reaches the stable working state, and the second time period is the time period between the time when the power amplifier reaches the stable working state and The time period between the end moments of the signal to be sent.
本申请实施例中,为了消除功率放大器的工作状态在达到工作稳定状态前和在达到工作稳定状态后存在的非线性特征,将第一时间段设置为待发送信号的起始时刻到功率放大器到达工作稳定状态的时刻之间的时间段,将第二时间段设置为功率放大器到达工作稳定状态的时刻到待发送信号的结束时刻之间的时间段,在进行数字预失真时,在第一时间段选择第一数字预失真查找表进行数字预失真,在第二时间段选择第二数字预失真查找表进行数字预失真,实现高精度的数字预失真方案。In the embodiment of the present application, in order to eliminate the nonlinear characteristics of the working state of the power amplifier before reaching the stable working state and after reaching the stable working state, the first time period is set from the initial moment of the signal to be sent to the arrival of the power amplifier. The time period between the moments of the stable state of work, the second time period is set as the time period between the moment when the power amplifier reaches the stable state of work and the end moment of the signal to be sent, when performing digital pre-distortion, at the first time The first digital pre-distortion look-up table is selected to perform digital pre-distortion in the first period, and the second digital pre-distortion look-up table is selected to perform digital pre-distortion in the second period, so as to realize a high-precision digital pre-distortion solution.
可以理解的是,在进行数字预失真时的两个时间段与训练第一数字预失真模型和第二数字预失真模型时的两个时间段相同。It can be understood that the two time periods when performing digital pre-distortion are the same as the two time periods when training the first digital pre-distortion model and the second digital pre-distortion model.
进一步地,作为一种可选实施方式,上述步骤102可以包括以下内容:Further, as an optional implementation manner, the above step 102 may include the following content:
根据如下公式确定第一数字预失真输出:Determine the first digital predistortion output according to the following formula:
其中,y1(n)为第一数字预失真输出,x(n-m)为待发送信号的第m阶延迟,LUT1m,k(|x(n-k)|为第一数字预失真查找表,M和K为记忆深度,td为第一时间段的结束时刻,Fs为采样率。Wherein, y 1 (n) is the first digital pre-distortion output, x(nm) is the mth order delay of the signal to be transmitted, LUT1 m, k (|x(nk)| is the first digital pre-distortion look-up table, M and K are the memory depth, t d is the end moment of the first time period, and Fs is the sampling rate.
进一步地,作为一种可选实施方式,上述步骤103可以包括以下内容:Further, as an optional implementation manner, the above step 103 may include the following content:
根据如下公式确定第二数字预失真输出:Determine the second digital predistortion output according to the following formula:
其中,y2(n)为第二数字预失真输出,x(n-m)为待发送信号的第m阶延迟,LUT2m,k(|x(n-k)|为第二数字预失真查找表,M和K为记忆深度,td为第一时间段的结束时刻,T为待发送信号的持续时长,Fs为采样率。Wherein, y 2 (n) is the second digital pre-distortion output, x(nm) is the mth order delay of the signal to be transmitted, LUT2 m, k (|x(nk)| is the second digital pre-distortion look-up table, M and K are the memory depth, t d is the end moment of the first time period, T is the duration of the signal to be sent, and Fs is the sampling rate.
为了便于理解,请参照图4,为本申请实施例提供的数字预失真方法的整体流程图。如图4所示,先构建第一数字预失真模型和第二数字预失真模型,并根据第一数字预失真模型和第二数字预失真模型分别构建第一组解算方程和第二组解算方程。发送训练信号,将训练信号输入到图3中的数字预失真间接学习架构中后,在第一时间段内,利用第一训练数据和第一反馈数据对第一组解算方程进行解算,确定第一系数矩阵。在第二时间段内,利用第二训练数据和第二反馈数据对第二组解算方程进行解算,确定第二系数矩阵。发送多个训练信号,重复上述步骤,直至第一系数矩阵和第二系数矩阵收敛。For ease of understanding, please refer to FIG. 4 , which is an overall flow chart of the digital predistortion method provided by the embodiment of the present application. As shown in Figure 4, the first digital pre-distortion model and the second digital pre-distortion model are first constructed, and the first set of solution equations and the second set of solutions are respectively constructed according to the first digital pre-distortion model and the second digital pre-distortion model Calculate the equation. After sending the training signal and inputting the training signal into the digital predistortion indirect learning framework in Fig. 3, within the first period of time, using the first training data and the first feedback data to solve the first set of solving equations, Determine the first coefficient matrix. In the second time period, the second set of solving equations are solved by using the second training data and the second feedback data to determine the second coefficient matrix. Multiple training signals are sent, and the above steps are repeated until the first coefficient matrix and the second coefficient matrix converge.
确定第一系数矩阵和第二系数矩阵后,根据第一系数矩阵确定第一数字预失真查找表,根据第二系数矩阵确定第二数字预失真查找表,将第一数字预失真查找表和第二数字预失真查找表存储在数字预失真器中。在进行数字预失真阶段,数字预失真器在获取到待发送信号后,待发送信号在第一时间段内,使用第一数字预失真查找表对待发送信号进行数字预失真,确定待发送信号在第一时间段内的第一数字预失真输出;待发送信号进入第二时间段后,使用第二数字预失真查找表对待发送信号进行数字预失真,确定待发送信号在第二时间段内的第二数字预失真输出。图4中的数字预失真输出为待发送信号经过数字预失真器后的输出(即第一数字预失真输出和第二数字预失真输出)。After the first coefficient matrix and the second coefficient matrix are determined, the first digital predistortion lookup table is determined according to the first coefficient matrix, the second digital predistortion lookup table is determined according to the second coefficient matrix, and the first digital predistortion lookup table and the second digital predistortion lookup table are determined. Two digital predistortion look-up tables are stored in the digital predistorter. In the digital pre-distortion stage, after the digital pre-distorter obtains the signal to be transmitted, the signal to be transmitted uses the first digital pre-distortion look-up table to perform digital pre-distortion on the signal to be transmitted within the first time period, and determines that the signal to be transmitted is in The first digital pre-distortion output in the first time period; after the signal to be transmitted enters the second time period, use the second digital pre-distortion lookup table to perform digital pre-distortion on the signal to be transmitted, and determine the signal to be transmitted in the second time period Second digital predistortion output. The digital predistortion output in FIG. 4 is the output of the signal to be transmitted after passing through the digital predistorter (ie, the first digital predistortion output and the second digital predistortion output).
基于同一发明构思,本申请实施例中还提供一种数字预失真装置。请参阅图5,图5为本申请实施例提供的一种数字预失真装置的结构框图,该数字预失真装置500可以包括:Based on the same inventive concept, an embodiment of the present application further provides a digital predistortion device. Please refer to FIG. 5. FIG. 5 is a structural block diagram of a digital pre-distortion device provided in an embodiment of the present application. The digital pre-distortion device 500 may include:
获取模块501,用于获取待发送信号;An acquisition module 501, configured to acquire a signal to be sent;
第一预失真模块502,用于在第一时间段内,根据第一数字预失真查找表对所述待发送信号进行数字预失真,确定所述待发送信号在所述第一时间段内的第一数字预失真输出;The first pre-distortion module 502 is configured to perform digital pre-distortion on the signal to be transmitted according to a first digital pre-distortion lookup table within a first time period, and determine the signal to be transmitted within the first time period the first digital predistortion output;
第二预失真模块503,用于在第二时间段内,根据第二数字预失真查找表对所述待发送信号进行数字预失真,确定所述待发送信号在所述第二时间段内的第二数字预失真输出。The second pre-distortion module 503 is configured to perform digital pre-distortion on the signal to be transmitted according to a second digital pre-distortion lookup table within a second time period, and determine the signal to be transmitted within the second time period Second digital predistortion output.
在可选的实施方式中,所述数字预失真装置还包括:In an optional implementation manner, the digital pre-distortion device further includes:
第一训练模块,用于根据训练信号在所述第一时间段内的数据对第一数字预失真模型进行训练,确定所述第一数字预失真查找表;The first training module is used to train the first digital pre-distortion model according to the data of the training signal in the first time period, and determine the first digital pre-distortion look-up table;
第二训练模块,用于根据所述训练信号在所述第二时间段内的数据对第二数字预失真模型进行训练,确定所述第二数字预失真查找表。The second training module is configured to train a second digital predistortion model according to data of the training signal within the second time period, and determine the second digital predistortion lookup table.
在可选的实施方式中,所述第一训练模块具体用于获取第一训练数据和第一反馈数据;其中,所述第一训练数据为训练信号在所述第一时间段内的数据输入数字预失真器后得到的输出数据,所述第一反馈数据为所述第一训练数据输入功率放大器后得到的输出数据;In an optional implementation manner, the first training module is specifically configured to acquire first training data and first feedback data; wherein, the first training data is data input of training signals within the first time period The output data obtained after the digital predistorter, the first feedback data is the output data obtained after the first training data is input into the power amplifier;
根据所述第一训练数据和所述第一反馈数据对所述第一数字预失真模型进行训练,得到训练后的第一数字预失真模型对应的第一模型系数;training the first digital pre-distortion model according to the first training data and the first feedback data, to obtain first model coefficients corresponding to the trained first digital pre-distortion model;
根据所述第一模型系数生成第一数字预失真查找表。A first digital predistortion lookup table is generated according to the first model coefficients.
在可选的实施方式中,所述第二训练模块具体用于获取第二训练数据和第二反馈数据;其中,所述第二训练数据为训练信号在所述第二时间段内的数据输入数字预失真器后得到的输出数据,所述第二反馈数据为所述第二训练数据输入功率放大器后得到的输出数据;In an optional implementation manner, the second training module is specifically configured to acquire second training data and second feedback data; wherein, the second training data is the data input of the training signal within the second time period The output data obtained after the digital predistorter, the second feedback data is the output data obtained after the second training data is input into the power amplifier;
根据所述第二训练数据和所述第二反馈数据对所述第二数字预失真模型进行训练,得到训练后的第二数字预失真模型对应的第二模型系数;training the second digital predistortion model according to the second training data and the second feedback data, to obtain second model coefficients corresponding to the trained second digital predistortion model;
根据所述第二模型系数生成第二数字预失真查找表。A second digital predistortion lookup table is generated according to the second model coefficients.
在可选的实施方式中,所述第一时间段为所述待发送信号的起始时刻到功率放大器到达工作稳定状态的时刻之间的时间段,所述第二时间段为功率放大器到达工作稳定状态的时刻到所述待发送信号的结束时刻之间的时间段。In an optional embodiment, the first time period is the time period between the start time of the signal to be transmitted and the time when the power amplifier reaches the working stable state, and the second time period is the time period when the power amplifier reaches the working state. The time period between the moment of the steady state and the end moment of the signal to be sent.
在可选的实施方式中,所述第一预失真模块502具体用于根据如下公式确定所述第一数字预失真输出:In an optional implementation manner, the first pre-distortion module 502 is specifically configured to determine the first digital pre-distortion output according to the following formula:
其中,y1(n)为所述第一数字预失真输出,x(n-m)为所述待发送信号的第m阶延迟,LUT1m,k(|x(n-k)|为所述第一数字预失真查找表,M和K为记忆深度,td为所述第一时间段的结束时刻,Fs为采样率。Wherein, y 1 (n) is the first digital predistortion output, x(nm) is the mth order delay of the signal to be transmitted, LUT1 m,k (|x(nk)| is the first digital A predistortion lookup table, M and K are memory depths, t d is the end moment of the first time period, and Fs is a sampling rate.
在可选的实施方式中,所述第二预失真模块503具体用于根据如下公式确定所述第二数字预失真输出:In an optional implementation manner, the second pre-distortion module 503 is specifically configured to determine the second digital pre-distortion output according to the following formula:
其中,y2(n)为所述第二数字预失真输出,x(n-m)为所述待发送信号的第m阶延迟,LUT2m,k(|x(n-k)|为所述第二数字预失真查找表,M和K为记忆深度,td为所述第一时间段的结束时刻,T为所述待发送信号的持续时长,Fs为采样率。Wherein, y 2 (n) is the second digital predistortion output, x(nm) is the mth order delay of the signal to be transmitted, LUT2 m,k (|x(nk)| is the second digital A predistortion lookup table, M and K are the memory depth, td is the end moment of the first time period, T is the duration of the signal to be sent, and Fs is the sampling rate.
请参阅图6,图6为本申请实施例的电子设备600的结构示意图,该电子设备600包括:至少一个处理器601,至少一个通信接口602,至少一个存储器603和至少一个总线604。其中,总线604用于实现这些组件直接的连接通信,通信接口602用于与其他节点设备进行信令或数据的通信,存储器603存储有处理器601可执行的机器可读指令。当电子设备600运行时,处理器601与存储器603之间通过总线604通信,机器可读指令被处理器601调用时执行如上述数字预失真方法。Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of an electronic device 600 according to an embodiment of the present application. The electronic device 600 includes: at least one processor 601 , at least one communication interface 602 , at least one memory 603 and at least one bus 604 . Wherein, the bus 604 is used to realize the direct connection and communication of these components, the communication interface 602 is used to perform signaling or data communication with other node devices, and the memory 603 stores machine-readable instructions executable by the processor 601 . When the electronic device 600 is running, the processor 601 communicates with the memory 603 through the bus 604 , and when the machine-readable instructions are invoked by the processor 601 , the digital pre-distortion method described above is executed.
处理器601可以是一种集成电路芯片,具有信号处理能力。上述处理器601可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(NetworkProcessor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。其可以实现或者执行本申请实施例中公开的各种方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 601 may be an integrated circuit chip with signal processing capability. Above-mentioned processor 601 can be general-purpose processor, comprises central processing unit (Central Processing Unit, CPU), network processor (NetworkProcessor, NP) etc.; Can also be digital signal processor (Digital Signal Processing, DSP), ASIC (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can realize or execute various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
存储器603可以包括但不限于随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-OnlyMemory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。Memory 603 may include but not limited to random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electrically Erasable Read-Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
可以理解,图6所示的结构仅为示意,电子设备600还可包括比图6中所示更多或者更少的组件,或者具有与图6所示不同的配置。图6中所示的各组件可以采用硬件、软件或其组合实现。于本申请实施例中,电子设备600可以是,但不限于台式机、笔记本电脑、智能手机、智能穿戴设备、车载设备等实体设备,还可以是虚拟机等虚拟设备。另外,电子设备600也不一定是单台设备,还可以是多台设备的组合,例如服务器集群,等等。It can be understood that the structure shown in FIG. 6 is only for illustration, and the electronic device 600 may also include more or less components than those shown in FIG. 6 , or have a configuration different from that shown in FIG. 6 . Each component shown in FIG. 6 may be implemented by hardware, software or a combination thereof. In the embodiment of the present application, the electronic device 600 may be, but not limited to, physical devices such as desktop computers, notebook computers, smart phones, smart wearable devices, and vehicle-mounted devices, or virtual devices such as virtual machines. In addition, the electronic device 600 is not necessarily a single device, but may also be a combination of multiple devices, such as a server cluster, and so on.
此外,本申请实施例还提供一种计算机可读存储介质,该计算机存储介质上存储有计算机程序,该计算机程序被计算机运行时,执行如上述实施例中数字预失真方法的步骤。In addition, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a computer, the steps of the digital predistortion method in the above-mentioned embodiments are executed.
在本申请所提供的实施例中,应该理解到,所揭露装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
另外,作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。In addition, the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
再者,在本申请各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。Furthermore, each functional module in each embodiment of the present application may be integrated to form an independent part, each module may exist independently, or two or more modules may be integrated to form an independent part.
需要说明的是,功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。It should be noted that, if the functions are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, and other media capable of storing program codes.
在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。In this document, relational terms such as first and second etc. are used only to distinguish one entity or operation from another without necessarily requiring or implying any such relationship between these entities or operations. Actual relationship or sequence.
以上所述仅为本申请的实施例而已,并不用于限制本申请的保护范围,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only examples of the present application, and are not intended to limit the scope of protection of the present application. For those skilled in the art, various modifications and changes may be made to the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application shall be included within the protection scope of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310310224.1A CN116455709A (en) | 2023-03-27 | 2023-03-27 | Digital predistortion method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310310224.1A CN116455709A (en) | 2023-03-27 | 2023-03-27 | Digital predistortion method, device, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116455709A true CN116455709A (en) | 2023-07-18 |
Family
ID=87127985
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310310224.1A Pending CN116455709A (en) | 2023-03-27 | 2023-03-27 | Digital predistortion method, device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116455709A (en) |
-
2023
- 2023-03-27 CN CN202310310224.1A patent/CN116455709A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11082013B2 (en) | Method of reducing memory effect of power amplifier | |
| CN101040502B (en) | Wideband enhanced digital injection predistortion system and method | |
| JP4801074B2 (en) | Apparatus and method for signal predistortion | |
| CN103685111B (en) | Calculating method of digital pre-distortion parameters and pre-distortion system | |
| US6956433B2 (en) | Polynomial predistorter using complex vector multiplication | |
| US20130329833A1 (en) | Modeling Digital Predistorter | |
| CN104363191B (en) | A kind of digital pre-distortion method of frequency-hopping communication system | |
| US8218676B2 (en) | System and method for training pre-inverse of nonlinear system | |
| WO2012126431A2 (en) | Pre-distortion correction method, pre-distortion correction device, transmitter and base station | |
| US9450544B2 (en) | Pre-distortion method, associated apparatus and non-transitory machine readable medium | |
| WO2003103167A1 (en) | Table reference predistortor | |
| CN114421902B (en) | Predistortion Calibration Method and Application for WiFi Memoryless Power Amplifier | |
| CN105262447A (en) | Pre-distortion method and device for power amplifier and radio frequency system | |
| CN108011598B (en) | Digital predistortion adaptive processing method | |
| EP2837093A1 (en) | Digital predistorter (dpd) structure based on dynamic deviation reduction (ddr)-based volterra series | |
| CN111064439A (en) | System and method for improving short-wave digital predistortion performance | |
| KR100546245B1 (en) | Power amplification apparatus using predistortion, a method and a wireless communication system including the apparatus | |
| CN102611661B (en) | Predistortion device and method based on precise inverse solution memory polynomial model equation | |
| US20140218107A1 (en) | Method and apparatus for applying predistortion to an input signal for a nonlinear power amplifier | |
| KR20130063774A (en) | Digital pre-distortion device and pre-distortion method thereof | |
| CN107431495B (en) | Digital predistortion correction method and device | |
| CN116455709A (en) | Digital predistortion method, device, electronic equipment and storage medium | |
| CN114553247B (en) | Radio frequency circuit, method and device for determining digital predistortion coefficient set | |
| CN111082829A (en) | Signal processing device, radio remote device and base station | |
| CN104300919A (en) | Predistortion method and predistortion device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |