[go: up one dir, main page]

CN116015590B - A signal phase alignment method, device and related equipment - Google Patents

A signal phase alignment method, device and related equipment Download PDF

Info

Publication number
CN116015590B
CN116015590B CN202211734184.5A CN202211734184A CN116015590B CN 116015590 B CN116015590 B CN 116015590B CN 202211734184 A CN202211734184 A CN 202211734184A CN 116015590 B CN116015590 B CN 116015590B
Authority
CN
China
Prior art keywords
phase
relative
signal
value
approximate
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.)
Active
Application number
CN202211734184.5A
Other languages
Chinese (zh)
Other versions
CN116015590A (en
Inventor
俞鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Xingsi Semiconductor Co Ltd
Original Assignee
Shanghai Xingsi Semiconductor Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Xingsi Semiconductor Co ltd filed Critical Shanghai Xingsi Semiconductor Co ltd
Priority to CN202211734184.5A priority Critical patent/CN116015590B/en
Publication of CN116015590A publication Critical patent/CN116015590A/en
Application granted granted Critical
Publication of CN116015590B publication Critical patent/CN116015590B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

The invention provides a method, a device and related equipment for aligning phases of signals, comprising the following steps: obtaining the product of the conjugate of a transmitting signal and a feedback signal corresponding to the transmitting signal; determining an imaginary part of the product as an approximate relative phase of the transmit signal and the feedback signal; a phase adjustment factor is determined from the approximate relative phase, the phase adjustment factor being used to phase align the transmit signal with the feedback signal. According to the signal phase alignment method provided by the embodiment of the invention, the real part and the imaginary part of the transmitted signal and the feedback signal are operated, so that the process of angle calculation of the transmitted signal and the feedback signal is avoided, and the alignment efficiency of a transmitter and a receiver is improved.

Description

一种信号的相位对齐方法、装置及相关设备A signal phase alignment method, device and related equipment

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种信号的相位对齐方法、装置及相关设备。The present invention relates to the field of communication technology, in particular to a signal phase alignment method, device and related equipment.

背景技术Background technique

在发射机的DFE(Digital Front End,数字前端)算法中,比如,DPD(Digital Pre-Distortion,数字预失真),IQ补偿等算法,通常需要将发射信号(可以是DFE中的任意信号)与接收反馈信号进行比较,因此需要通过接收反馈信号与发射信号之间进行对齐,从而获取接收信号和发射信号的准确值可以忽略模拟通路上的增益、时延、相位旋转等对DFE算法的影响。目前,在芯片中一般通过数字硬件逻辑的方式对接收反馈信号和发射信号直接进行运算,但由于接收反馈信号和发射信号一般为实复数,导致需要的硬件资源较高,出现接收反馈信号和发射信号对齐效率较低的问题。In the DFE (Digital Front End) algorithm of the transmitter, such as DPD (Digital Pre-Distortion, digital pre-distortion), IQ compensation and other algorithms, it is usually necessary to compare the transmitted signal (which can be any signal in the DFE) with the received feedback signal. Therefore, it is necessary to align the received feedback signal with the transmitted signal to obtain the accurate value of the received signal and the transmitted signal. The influence of the gain, delay, and phase rotation on the analog channel on the DFE algorithm can be ignored. At present, in the chip, the received feedback signal and the transmitted signal are generally directly calculated by means of digital hardware logic. However, since the received feedback signal and the transmitted signal are generally real complex numbers, the required hardware resources are high, and the alignment efficiency of the received feedback signal and the transmitted signal is low.

发明内容Contents of the invention

本发明实施例提供的一种信号的相位对齐的方法、装置及相关设备,解决了现有技术中反馈信号和发射信号对齐需要硬件资源较高的问题。The embodiments of the present invention provide a signal phase alignment method, device, and related equipment, which solve the problem in the prior art that the alignment of feedback signals and transmission signals requires high hardware resources.

第一方面,本发明实施例提供了一种信号的相位对齐方法,包括:In the first aspect, an embodiment of the present invention provides a signal phase alignment method, including:

获取发射信号与所述发射信号对应反馈信号的共轭的乘积;obtaining the product of the conjugate of the transmit signal and the feedback signal corresponding to the transmit signal;

将所述乘积的虚部确定为所述发射信号与所述反馈信号的近似相对相位;determining an imaginary part of the product as an approximate relative phase of the transmit signal and the feedback signal;

根据所述近似相对相位确定相位调节因子,所述相位调节因子用于使得所述发射信号与所述反馈信号相位对齐。A phase adjustment factor is determined based on the approximate relative phase, the phase adjustment factor being used to phase align the transmit signal with the feedback signal.

可选的,所述获取发射信号与所述发射信号对应反馈信号的共轭的乘积之前,还包括:Optionally, before obtaining the product of the conjugate of the transmitted signal and the corresponding feedback signal of the transmitted signal, the method further includes:

对所述发射信号和所述反馈信号进行幅度对齐。Amplitude alignment is performed on the transmit signal and the feedback signal.

可选的,所述根据所述近似相对相位确定相位调节因子,包括:Optionally, the determining the phase adjustment factor according to the approximate relative phase includes:

确定所述近似相对相位在参考象限中对应的参考相对相位,其中,所述近似相对相位的取值范围为[-π,π],所述近似相对相位满足以下相位关系之一:Determine the reference relative phase corresponding to the approximate relative phase in the reference quadrant, wherein the value range of the approximate relative phase is [-π, π], and the approximate relative phase satisfies one of the following phase relationships:

与所述参考相对相位相等;is equal to said reference relative phase;

与所述参考相对相位之和为0;The sum of relative phases with the reference is 0;

与所述参考相对相位之和为π;The sum of relative phases with the reference is π;

与所述参考相对相位之差为-π;The difference from the relative phase of the reference is -π;

根据第一映射关系确定所述参考相对相位对应的参考调节因子;determining a reference adjustment factor corresponding to the reference relative phase according to the first mapping relationship;

根据所述近似相对相位满足的相位关系调整所述参考调节因子实部与虚部的符号,得到所述相位调节因子。The signs of the real part and the imaginary part of the reference adjustment factor are adjusted according to the phase relationship satisfied by the approximate relative phase to obtain the phase adjustment factor.

可选的,所述根据所述近似相对相位确定相位调节因子,包括:根据第二映射关系确定所述近似相对相位对应的近似相对数值,其中,所述近似相对数值的取值范围为[-P,P];Optionally, the determining the phase adjustment factor according to the approximate relative phase includes: determining an approximate relative value corresponding to the approximate relative phase according to a second mapping relationship, wherein the value range of the approximate relative value is [-P, P];

确定所述近似相对数值在参考数值范围中对应的参考相对数值,其中,所述参考数值范围与所述参考象限对应的相位范围具有所述第二映射关系,所述参考相对数值与所述参考相对相位具有所述第二映射关系,所述近似相对数值满足以下数值关系之一:Determine the reference relative value corresponding to the approximate relative value in the reference value range, wherein the reference value range and the phase range corresponding to the reference quadrant have the second mapping relationship, the reference relative value and the reference relative phase have the second mapping relationship, and the approximate relative value satisfies one of the following numerical relationships:

与所述参考相对数值相等;is equal to said reference relative value;

与所述参考相对数值之和为0;The sum of the values relative to the reference is 0;

与所述参考相对数值之和为P;The sum of the relative values with the reference is P;

与所述参考相对数值之差为-P;The difference from said reference relative value is -P;

根据第三映射关系确定所述参考相对数值对应的参考调节因子;determining a reference adjustment factor corresponding to the reference relative value according to the third mapping relationship;

根据所述近似相对数值满足的数值关系调整所述参考调节因子实部与虚部的符号,得到所述相位调节因子。The sign of the real part and the imaginary part of the reference adjustment factor is adjusted according to the numerical relationship satisfied by the approximate relative value to obtain the phase adjustment factor.

第二方面,本发明实施例还提供了一种信号的相位对齐装置,包括:In the second aspect, the embodiment of the present invention also provides a signal phase alignment device, including:

获取模块,用于获取发射信号与所述发射信号对应反馈信号的共轭的乘积;An acquisition module, configured to acquire the product of the conjugate of the transmit signal and the feedback signal corresponding to the transmit signal;

确定模块,用于将所述乘积的虚部确定为所述发射信号与所述反馈信号的近似相对相位;a determining module, configured to determine an imaginary part of the product as an approximate relative phase of the transmitted signal and the feedback signal;

对齐模块,用于根据所述近似相对相位确定相位调节因子,所述相位调节因子用于使得所述发射信号与所述反馈信号相位对齐。An alignment module, configured to determine a phase adjustment factor according to the approximate relative phase, and the phase adjustment factor is used to align the phase of the transmit signal with the feedback signal.

第三方面,本发明实施例还提供了一种电子设备,包括:收发机、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;其特征在于,所述处理器,用于读取存储器中的程序实现如第一方面中任一项所述的信号的相位对齐方法中的步骤。In the third aspect, the embodiment of the present invention also provides an electronic device, including: a transceiver, a memory, a processor, and a program stored on the memory and operable on the processor; it is characterized in that the processor is used to read the program in the memory to implement the steps in the phase alignment method for signals according to any one of the first aspect.

第四方面,本发明实施例还提供了一种可读存储介质,用于存储程序,其特征在于,所述程序被处理器执行时实现如第一方面中任一项所述的信号的相位对齐方法中的步骤。In a fourth aspect, an embodiment of the present invention further provides a readable storage medium for storing a program, wherein when the program is executed by a processor, the steps in the signal phase alignment method described in any one of the first aspect are implemented.

本发明提供一种信号的相位对齐方法、装置及相关设备,包括:获取发射信号与所述发射信号对应反馈信号的共轭的乘积;将所述乘积的虚部确定为所述发射信号与所述反馈信号的近似相对相位;根据所述近似相对相位确定相位调节因子,所述相位调节因子用于使得所述发射信号与所述反馈信号相位对齐。本发明实施例提供的一种信号的相位对齐方法,通过发射信号和反馈信号的实部与虚部进行运算,避免了对发射信号和反馈信号进行角度计算的过程,提高了发射机和接收机的对齐效率。The present invention provides a signal phase alignment method, device and related equipment, comprising: obtaining a product of a transmit signal and a conjugate of a feedback signal corresponding to the transmit signal; determining an imaginary part of the product as an approximate relative phase of the transmit signal and the feedback signal; determining a phase adjustment factor according to the approximate relative phase, and the phase adjustment factor is used to align the phase of the transmit signal with the feedback signal. The embodiment of the present invention provides a signal phase alignment method, which avoids the process of calculating the angle of the transmitted signal and the feedback signal by performing calculations on the real part and the imaginary part of the transmitted signal and the feedback signal, and improves the alignment efficiency of the transmitter and the receiver.

附图说明Description of drawings

图1为本发明实施例中提供的一种信号的相位对齐方法的流程示意图;FIG. 1 is a schematic flowchart of a signal phase alignment method provided in an embodiment of the present invention;

图2为本发明实施例中发射与接收系统的结构示意图;FIG. 2 is a schematic structural diagram of a transmitting and receiving system in an embodiment of the present invention;

图3为本发明实施例中提供的一种信号的相位对齐装置的结构示意图;FIG. 3 is a schematic structural diagram of a signal phase alignment device provided in an embodiment of the present invention;

图4为本发明实施例中提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second" and so on are generally of one type, and the number of objects is not limited. For example, there can be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的一种功率对齐的方法进行详细地说明。A method for power alignment provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.

参阅图1,图1为发明实施例提供的一种信号的相位对齐方法,包括:Referring to Fig. 1, Fig. 1 is a signal phase alignment method provided by an embodiment of the invention, including:

步骤101、获取发射信号与所述发射信号对应反馈信号的共轭的乘积。Step 101. Obtain a product of a transmit signal and a conjugate of a feedback signal corresponding to the transmit signal.

步骤102、将所述乘积的虚部确定为所述发射信号与所述反馈信号的近似相对相位。Step 102. Determine the imaginary part of the product as an approximate relative phase between the transmit signal and the feedback signal.

步骤103、根据所述近似相对相位确定相位调节因子,所述相位调节因子用于使得所述发射信号与所述反馈信号相位对齐。Step 103. Determine a phase adjustment factor according to the approximate relative phase, where the phase adjustment factor is used to make the phase alignment of the transmit signal and the feedback signal.

在本实施例中,在发射机的DFE算法中,通常都需要对发射机发送的发射信号与接收机接收的反馈信号进行比较,由于发射与接收系统中,模拟电路的增益、相位和时延都无法获得,因此需要将反馈信号在幅度、相位和时延上与发射信号进行对齐。目前对于发射信号和反馈信号信号的相位对齐一般是在芯片中用数字硬件逻辑实现,此方法需要对发射信号和反馈信号的值进行通过逻辑进行角度计算处理,在发射信号和反馈信号为复数的情况下,会需要使用到CORDIC算法,消耗资源比较大,因此在本实施例中,通过对复数的实部和虚部进行运算,从而直接获取计算结果,通过计算结果来使得反馈信号与发射信号进行对齐,避免了大量的运算消耗,大幅降低了相位对齐硬件实现的逻辑资源。In this embodiment, in the DFE algorithm of the transmitter, it is usually necessary to compare the transmission signal sent by the transmitter with the feedback signal received by the receiver. Since the gain, phase and time delay of the analog circuit cannot be obtained in the transmission and reception systems, it is necessary to align the feedback signal with the transmission signal in terms of amplitude, phase and time delay. At present, the phase alignment of the transmit signal and the feedback signal signal is generally implemented in the chip with digital hardware logic. This method requires the value of the transmit signal and the feedback signal to be calculated and processed through logic. In the case of complex numbers of the transmit signal and the feedback signal, the CORDIC algorithm will be used, which consumes a lot of resources. Therefore, in this embodiment, the calculation result is directly obtained by calculating the real part and the imaginary part of the complex number, and the feedback signal is aligned with the transmit signal through the calculation result, avoiding a lot of calculation consumption and greatly reducing the logic implemented by phase alignment hardware. resources.

参阅图2,图2为本发明实施例中发射与反馈系统的结构示意图,在图2中,LO1用于指示前述第一本地振荡器(LOCAL OSCILLATOR,LO),DCI1用于指示发射机中同相分量(In-phase)对应的DC偏置,DCQ1用于指示发射机中正交分量(quadrature)对应的DC偏置,k1用于指示发射机中存在的不完全正交损益,g1用于指示发射机中存在的增益不平衡损益,DCI1、DCQ1、k1以及g1统称为发射机的I/Q失配和DC失配。同理,图2中,LO2用于指示前述第二本地振荡器,DCI2用于指示接收机中同相分量(In-phase)对应的DC偏置,DCQ2用于指示接收机中正交分量(quadrature)对应的DC偏置,k2用于指示接收机中存在的不完全正交损益,g2用于指示接收机中存在的增益不平衡损益,DCI2、DCQ2、k2以及g2统称为接收机的I/Q失配和DC失配。Referring to FIG. 2, FIG. 2 is a schematic structural diagram of the transmission and feedback system in the embodiment of the present invention. In FIG. 2, LO1 is used to indicate the aforementioned first local oscillator (LOCAL OSCILLATOR, LO), DCI1 is used to indicate the DC offset corresponding to the in-phase component (In-phase) in the transmitter, DCQ1 is used to indicate the DC offset corresponding to the quadrature component (quadrature) in the transmitter, k1 is used to indicate the incomplete quadrature gain and loss existing in the transmitter, and g1 is used to indicate the gain imbalance existing in the transmitter Gains and losses, DCI1, DCQ1, k1, and g1 are collectively referred to as the transmitter's I/Q mismatch and DC mismatch. Similarly, in FIG. 2 , LO2 is used to indicate the aforementioned second local oscillator, DCI2 is used to indicate the DC offset corresponding to the in-phase component (In-phase) in the receiver, DCQ2 is used to indicate the DC offset corresponding to the quadrature component (quadrature) in the receiver, k2 is used to indicate the incomplete quadrature loss in the receiver, and g2 is used to indicate the gain imbalance loss in the receiver. DCI2, DCQ2, k2, and g2 are collectively referred to as the I/Q mismatch and DC mismatch of the receiver.

具体地,发射机发送发射信号,接收机接收根据发射信号生成的反馈信号,其中,发射信号和反馈信号可以体现为复数信号,其中复数包括实部和虚部,具体地,发射信号X上的某个点可以表示为x=a+jb,反馈信号Y上的某个点可以表示为y=c+jd,其中a为第一实部,b为第一虚部,c为第二实部,d为第二虚部。Specifically, the transmitter sends a transmission signal, and the receiver receives a feedback signal generated according to the transmission signal, wherein the transmission signal and the feedback signal can be embodied as a complex signal, wherein the complex number includes a real part and an imaginary part, specifically, a certain point on the transmission signal X can be expressed as x=a+jb, and a certain point on the feedback signal Y can be expressed as y=c+jd, where a is the first real part, b is the first imaginary part, c is the second real part, and d is the second imaginary part.

可选的,获取发射信号与所述发射信号对应反馈信号的共轭的乘积之前,还包括:Optionally, before obtaining the product of the conjugate of the transmitted signal and the corresponding feedback signal of the transmitted signal, it may further include:

对所述发射信号和所述反馈信号进行幅度对齐。Amplitude alignment is performed on the transmit signal and the feedback signal.

在本实施例中,在获取发射信号与所述发射信号对应反馈信号的共轭的乘积之前还可以在幅度上对发射信号和反馈信号进行对齐。In this embodiment, the transmit signal and the feedback signal may also be aligned in amplitude before obtaining the product of the transmit signal and the conjugate of the transmit signal corresponding to the feedback signal.

基于此,在本实施例中,x还可以表示为x=r·exp(jw),y=r·exp(jw+Δ),其中,r为x和y的模,发射信号和反馈信号的共轭相乘可以表示为x·y*=r2·exp(-Δj)=r2·{cos(Δ)+j·sin(-Δ)}。Based on this, in this embodiment, x can also be expressed as x=r·exp(jw), y=r·exp(jw+Δ), where r is the modulus of x and y, and the conjugate multiplication of the transmitted signal and the feedback signal can be expressed as x·y*=r 2 ·exp(-Δj)=r 2 ·{cos(Δ)+j·sin(-Δ)}.

进一步地,应当理解,当发射信号与反馈信号相位对齐时,有相对相位Δ趋近于0时,此时近似有Δ=sin(Δ),从而,可以将共轭乘积的虚部确定为发射信号与所述反馈信号的近似相对相位。例如,对于N个采样点,可以确定:Further, it should be understood that when the phases of the transmit signal and the feedback signal are aligned, when the relative phase Δ approaches 0, then approximately Δ=sin(Δ), thus, the imaginary part of the conjugate product can be determined as the approximate relative phase of the transmit signal and the feedback signal. For example, for N sampling points, it can be determined that:

由此,较之现有技术中,先通过求取x对应的相位,通过求取y对应的相位,再通过求取两者之差来确定相对相位的实现方式,本实施例能够简化相对相位的获取方式,进而大幅降低了相位对齐硬件实现的逻辑资源,性能上的损失不大,即使存在损失,也可以通过更多的平均弥补回来。换言之,本实施例通过发射信号和反馈信号的共轭相乘运算来获取近似相对相位,避免了对发射信号和反馈信号进行角度计算的过程,提高了发射机和接收机的对齐效率。Thus, compared with the prior art, the first pass Find the phase corresponding to x, by Calculate the phase corresponding to y, and then determine the implementation method of the relative phase by calculating the difference between the two. This embodiment can simplify the acquisition method of the relative phase, thereby greatly reducing the logic resources of the phase alignment hardware implementation, and the loss in performance is small. Even if there is a loss, it can be compensated by more averages. In other words, in this embodiment, the approximate relative phase is obtained by conjugate multiplication of the transmit signal and the feedback signal, avoiding the angle calculation process of the transmit signal and the feedback signal, and improving the alignment efficiency of the transmitter and the receiver.

在本实施例中,可以基于上述近似的方式来逐次确定相位调节因子直到实现相位对齐,也可以先基于现有技术来逐次确定相位调节因子直到相对相位小于预设阈值时,再采用上述近似的方式来逐次确定相位调节因子直到实现相位对齐。In this embodiment, the phase adjustment factor can be determined successively based on the above approximation until the phase alignment is achieved, or the phase adjustment factor can be determined successively based on the prior art until the relative phase is less than the preset threshold, and then the phase adjustment factor can be successively determined by the above approximation until the phase alignment is achieved.

此外,应当理解,还可以通过判断共轭乘积的虚部来判断Δ的符号,也即,发射信号与反馈信号之间的相位大小关系,例如,当Δ为正时(例如,共轭乘积的虚部落入第四象限),反馈信号的相位大于发射信号的相位,当Δ为负时(例如,共轭乘积的虚部落入第一象限),反馈信号的相位小于发射信号的相位,从而可以基于该判断来调整相位的旋转以实现发射信号和反馈信号的相位对齐。In addition, it should be understood that the sign of Δ can also be judged by judging the imaginary part of the conjugate product, that is, the phase relationship between the transmit signal and the feedback signal. For example, when Δ is positive (for example, the imaginary of the conjugate product falls into the fourth quadrant), the phase of the feedback signal is greater than the phase of the transmit signal;

进一步地,在本实施例中,还可以仅存储参考象限(例如,第一象限)所对应的cos值与sin值,通过结合不同象限之间的数学关系来确定近似相对相位对应的cos值与sin值,进而来得到相位调节因子,以降低对存储资源的需求。Further, in this embodiment, it is also possible to store only the cos value and sin value corresponding to the reference quadrant (for example, the first quadrant), and determine the cos value and sin value corresponding to the approximate relative phase by combining the mathematical relationship between different quadrants, and then obtain the phase adjustment factor, so as to reduce the demand for storage resources.

可选的,所述根据所述近似相对相位确定相位调节因子,包括:Optionally, the determining the phase adjustment factor according to the approximate relative phase includes:

确定所述近似相对相位在参考象限中对应的参考相对相位,其中,所述近似相对相位的取值范围为[-π,π],所述近似相对相位满足以下相位关系之一:Determine the reference relative phase corresponding to the approximate relative phase in the reference quadrant, wherein the value range of the approximate relative phase is [-π, π], and the approximate relative phase satisfies one of the following phase relationships:

与所述参考相对相位相等;is equal to said reference relative phase;

与所述参考相对相位之和为0;The sum of relative phases with the reference is 0;

与所述参考相对相位之和为π;The sum of relative phases with the reference is π;

与所述参考相对相位之差为-π;The difference from the relative phase of the reference is -π;

根据第一映射关系确定所述参考相对相位对应的参考调节因子;determining a reference adjustment factor corresponding to the reference relative phase according to the first mapping relationship;

根据所述近似相对相位满足的相位关系调整所述参考调节因子实部与虚部的符号,得到所述相位调节因子。The signs of the real part and the imaginary part of the reference adjustment factor are adjusted according to the phase relationship satisfied by the approximate relative phase to obtain the phase adjustment factor.

具体地,当参考象限为第一象限时,有参考相对相位范围为[0,π/2],若近似相对相位取值为π/4,有参考相位π/4,根据预设的第一映射关系来确定参考相位π/4对应的参考调节因子cosβ+isinβ,由于近似相对相位与参考相位相等且均位于第一象限,从而有相位调节因子cosβ+isinβ;又例如,若近似相对相位取值为3π/4,有参考相位π/4,根据预设的第一映射关系来确定参考相位π/4对应的参考调节因子cosβ+isinβ,由于近似相对相位位于第二象限而参考相位位于第一象限(二者之和为π),从而有相位调节因子-cosβ+isinβ;又例如,若近似相对相位取值为-π/4,有参考相位π/4,根据预设的第一映射关系来确定参考相位π/4对应的参考调节因子cosβ+isinβ,由于近似相对相位位于第四象限而参考相位位于第一象限(二者之差为0),从而有相位调节因子cosβ-isinβ;又例如,若近似相对相位取值为-3π/4,有参考相位π/4,根据预设的第一映射关系来确定参考相位π/4对应的参考调节因子cosβ+isinβ,由于近似相对相位位于第三象限而参考相位位于第一象限(二者之差为-π),从而有相位调节因子-cosβ-isinβ。其中,第一映射关系可以实现为预设的查找表,从而可以基于确定的参考相位来查找得到对应的参考调节因子,具体地,查找表还可以分别实现为sin值查找表和cos查找表,从而可以基于确定的参考相位来查找得到对应的参考调节因子的实部与虚部。此外,应当理解,近似相对相位的的取值范围为[-π,π]仅是一种示例,基于数学关系还可以有其他变形,例如,还可以实现为[0,2π]等。Specifically, when the reference quadrant is the first quadrant, the range of the reference relative phase is [0, π/2]. If the value of the approximate relative phase is π/4, there is a reference phase π/4, and the reference adjustment factor cosβ+isinβ corresponding to the reference phase π/4 is determined according to the preset first mapping relationship. Since the approximate relative phase is equal to the reference phase and both are located in the first quadrant, there is a phase adjustment factor cosβ+isinβ; The first mapping relationship is used to determine the reference adjustment factor cosβ+isinβ corresponding to the reference phase π/4. Since the approximate relative phase is located in the second quadrant and the reference phase is located in the first quadrant (the sum of the two is π), there is a phase adjustment factor -cosβ+isinβ; for another example, if the approximate relative phase value is -π/4, there is a reference phase π/4. The reference adjustment factor cosβ+isinβ corresponding to the reference phase π/4 is determined according to the preset first mapping relationship. Since the approximate relative phase is located in the fourth quadrant and the reference phase is located in the first quadrant ( The difference between the two is 0), so there is a phase adjustment factor cosβ-isinβ; for another example, if the approximate relative phase is -3π/4, there is a reference phase π/4, and the reference adjustment factor cosβ+isinβ corresponding to the reference phase π/4 is determined according to the preset first mapping relationship. Wherein, the first mapping relationship can be implemented as a preset lookup table, so that the corresponding reference adjustment factor can be found based on the determined reference phase. Specifically, the lookup table can also be implemented as a sin value lookup table and a cos lookup table, so that the real part and the imaginary part of the corresponding reference adjustment factor can be found based on the determined reference phase. In addition, it should be understood that the value range of the approximate relative phase is [-π, π] is only an example, and there may be other deformations based on mathematical relationships, for example, it may also be realized as [0, 2π], etc.

进一步地,考虑到上述基于近似相对相位确定参考相位等步骤涉及到π的运算,为了进一步降低运算硬件的复杂度以及对存储资源的需求,还可以对近似相对相位进行线性或者非线性的单调映射,来实现角度到数值的映射,以避免π的运算。Further, considering that the above-mentioned steps of determining the reference phase based on the approximate relative phase involve the operation of π, in order to further reduce the complexity of the computing hardware and the demand for storage resources, linear or non-linear monotonic mapping can also be performed on the approximate relative phase to realize the mapping from angle to value, so as to avoid the operation of π.

可选的,所述根据所述近似相对相位确定相位调节因子,包括:根据第二映射关系确定所述近似相对相位对应的近似相对数值,其中,所述近似相对数值的取值范围为[-P,P];Optionally, the determining the phase adjustment factor according to the approximate relative phase includes: determining an approximate relative value corresponding to the approximate relative phase according to a second mapping relationship, wherein the value range of the approximate relative value is [-P, P];

确定所述近似相对数值在参考数值范围中对应的参考相对数值,其中,所述参考数值范围与所述参考象限对应的相位范围具有所述第二映射关系,所述参考相对数值与所述参考相对相位具有所述第二映射关系,所述近似相对数值满足以下数值关系之一:Determine the reference relative value corresponding to the approximate relative value in the reference value range, wherein the reference value range and the phase range corresponding to the reference quadrant have the second mapping relationship, the reference relative value and the reference relative phase have the second mapping relationship, and the approximate relative value satisfies one of the following numerical relationships:

与所述参考相对数值相等;is equal to said reference relative value;

与所述参考相对数值之和为0;The sum of the values relative to the reference is 0;

与所述参考相对数值之和为P;The sum of the relative values with the reference is P;

与所述参考相对数值之差为-P;The difference from said reference relative value is -P;

根据第三映射关系确定所述参考相对数值对应的参考调节因子;determining a reference adjustment factor corresponding to the reference relative value according to the third mapping relationship;

根据所述近似相对数值满足的数值关系调整所述参考调节因子实部与虚部的符号,得到所述相位调节因子。The sign of the real part and the imaginary part of the reference adjustment factor is adjusted according to the numerical relationship satisfied by the approximate relative value to obtain the phase adjustment factor.

例如,第二映射关系可以实现为放大2/π倍,从而上述示例中近似相对相位的的取值范围为[-π,π]可以变换为参考数值范围[-2,2],此时,P=2,参考象限为第一象限时,有参考数值范围[0,1],若近似相对相位取值为π/4,有近似相对数值1/2,参考数值1/2,根据预设的第三映射关系来确定参考数值1/2对应的参考调节因子cosβ+isinβ,由于近似相对数值与参考数值相等,从而有相位调节因子cosβ+isinβ;又例如,若近似相对相位取值为3π/4,有近似相对数值3/2,参考数值1/2,根据预设的第三映射关系来确定参考数值1/2对应的参考调节因子cosβ+isinβ,由于近似相对数值与参考数值之和为2,从而有相位调节因子-cosβ+isinβ;又例如,若近似相对相位取值为-π/4,有近似相对数值-1/2,参考数值1/2,根据预设的第三映射关系来确定参考数值1/2对应的参考调节因子cosβ+isinβ,由于近似相对数值与参考相位之和为0,从而有相位调节因子cosβ-isinβ;又例如,若近似相对相位取值为-3π/4,有近似相对数值-3/2,参考数值1/2,根据预设的第三映射关系来确定参考数值1/2对应的参考调节因子cosβ+isinβ,由于近似相对数值与参考数值之差为-2,从而有相位调节因子-cosβ-isinβ。其中,第三映射关系可以实现为预设的查找表,从而可以基于确定的参考数值来查找得到对应的参考调节因子,具体地,查找表还可以分别实现为sin值查找表和cos查找表,从而可以基于确定的参考相位来查找得到对应的参考调节因子的实部与虚部。应当理解,第三映射关系对应的查找表可以基于第二映射关系和第一映射关系对应的查找表确定得到,具体地,两个查找表的索引之间存在第二映射关系或者基于第二映射关系确定得到。For example, the second mapping relationship can be realized as amplified by 2/π times, so that the value range of the approximate relative phase in the above example is [-π, π] and can be transformed into a reference value range [-2, 2]. At this time, P=2, when the reference quadrant is the first quadrant, there is a reference value range [0, 1]. The approximate relative value is equal to the reference value, so there is a phase adjustment factor cosβ+isinβ; another example, if the approximate relative value is 3π/4, there is an approximate relative value 3/2, and a reference value 1/2, and the reference adjustment factor cosβ+isinβ corresponding to the reference value 1/2 is determined according to the preset third mapping relationship. , reference value 1/2, the reference adjustment factor cosβ+isinβ corresponding to the reference value 1/2 is determined according to the preset third mapping relationship, since the sum of the approximate relative value and the reference phase is 0, there is a phase adjustment factor cosβ-isinβ; another example, if the approximate relative phase value is -3π/4, there is an approximate relative value -3/2, and the reference value 1/2 is determined according to the preset third mapping relationship. is -2, so there is a phase adjustment factor -cosβ-isinβ. Wherein, the third mapping relationship can be implemented as a preset lookup table, so that the corresponding reference adjustment factor can be found based on the determined reference value. Specifically, the lookup table can also be implemented as a sin value lookup table and a cos lookup table, so that the real part and the imaginary part of the corresponding reference adjustment factor can be obtained based on the determined reference phase. It should be understood that the lookup table corresponding to the third mapping relationship may be determined based on the second mapping relationship and the lookup table corresponding to the first mapping relationship, specifically, the second mapping relationship exists between the indexes of the two lookup tables or determined based on the second mapping relationship.

本发明提供一种信号的相位对齐方法,包括:获取发射信号与所述发射信号对应反馈信号的共轭的乘积;将所述乘积的虚部确定为所述发射信号与所述反馈信号的近似相对相位;根据所述近似相对相位确定相位调节因子,所述相位调节因子用于使得所述发射信号与所述反馈信号相位对齐。本发明实施例提供的一种信号的相位对齐方法,通过发射信号和反馈信号的实部与虚部进行运算,避免了对发射信号和反馈信号进行角度计算的过程,提高了发射机和接收机的对齐效率。The present invention provides a signal phase alignment method, comprising: obtaining a product of a conjugate of a transmit signal and a feedback signal corresponding to the transmit signal; determining an imaginary part of the product as an approximate relative phase of the transmit signal and the feedback signal; determining a phase adjustment factor according to the approximate relative phase, and the phase adjustment factor is used to make the phase alignment of the transmit signal and the feedback signal. The embodiment of the present invention provides a signal phase alignment method, which avoids the process of calculating the angle of the transmitted signal and the feedback signal by performing calculations on the real part and the imaginary part of the transmitted signal and the feedback signal, and improves the alignment efficiency of the transmitter and the receiver.

参阅图3,图3为本发明实施例提供的一种信号的相位对齐装置的结构图。如图3所示,一种信号的相位对齐的装置,包括:Referring to FIG. 3 , FIG. 3 is a structural diagram of a signal phase alignment device provided by an embodiment of the present invention. As shown in Figure 3, a device for phase alignment of signals includes:

获取模块310,用于获取发射信号与所述发射信号对应反馈信号的共轭的乘积;An acquisition module 310, configured to acquire the product of the conjugate of the transmit signal and the feedback signal corresponding to the transmit signal;

确定模块320,用于将所述乘积的虚部确定为所述发射信号与所述反馈信号的近似相对相位;A determining module 320, configured to determine an imaginary part of the product as an approximate relative phase between the transmit signal and the feedback signal;

对齐模块330,用于根据所述近似相对相位确定相位调节因子,所述相位调节因子用于使得所述发射信号与所述反馈信号相位对齐。The alignment module 330 is configured to determine a phase adjustment factor according to the approximate relative phase, and the phase adjustment factor is used to make phase alignment of the transmit signal and the feedback signal.

可选的,还包括:Optionally, also include:

幅度对齐模块,用于对所述发射信号和所述反馈信号进行幅度对齐。An amplitude alignment module, configured to perform amplitude alignment on the transmit signal and the feedback signal.

可选的,所述对齐模块330还包括:Optionally, the alignment module 330 also includes:

第一确定子模块,用于确定所述近似相对相位在参考象限中对应的参考相对相位,其中,所述近似相对相位的取值范围为[-π,π],所述近似相对相位满足以下相位关系之一:The first determination submodule is used to determine the reference relative phase corresponding to the approximate relative phase in the reference quadrant, wherein the value range of the approximate relative phase is [-π, π], and the approximate relative phase satisfies one of the following phase relationships:

与所述参考相对相位相等;is equal to said reference relative phase;

与所述参考相对相位之和为0;The sum of relative phases with the reference is 0;

与所述参考相对相位之和为π;The sum of relative phases with the reference is π;

与所述参考相对相位之差为-π;The difference from the relative phase of the reference is -π;

第二确定子模块,用于根据第一映射关系确定所述参考相对相位对应的参考调节因子;A second determining submodule, configured to determine a reference adjustment factor corresponding to the reference relative phase according to the first mapping relationship;

调整子模块,用于根据所述近似相对相位满足的相位关系调整所述参考调节因子实部与虚部的符号,得到所述相位调节因子。The adjustment sub-module is configured to adjust the signs of the real part and the imaginary part of the reference adjustment factor according to the phase relationship satisfied by the approximate relative phase, to obtain the phase adjustment factor.

可选的,所述第一确定子模块具体用于根据第二映射关系确定所述近似相对相位对应的近似相对数值,其中,所述近似相对数值的取值范围为[-P,P];Optionally, the first determining submodule is specifically configured to determine an approximate relative value corresponding to the approximate relative phase according to the second mapping relationship, where the value range of the approximate relative value is [-P, P];

确定所述近似相对数值在参考数值范围中对应的参考相对数值,其中,所述参考数值范围与所述参考象限对应的相位范围具有所述第二映射关系,所述参考相对数值与所述参考相对相位具有所述第二映射关系,所述近似相对数值满足以下数值关系之一:Determine the reference relative value corresponding to the approximate relative value in the reference value range, wherein the reference value range and the phase range corresponding to the reference quadrant have the second mapping relationship, the reference relative value and the reference relative phase have the second mapping relationship, and the approximate relative value satisfies one of the following numerical relationships:

与所述参考相对数值相等;is equal to said reference relative value;

与所述参考相对数值之和为0;The sum of the values relative to the reference is 0;

与所述参考相对数值之和为P;The sum of the relative values with the reference is P;

与所述参考相对数值之差为-P;The difference from said reference relative value is -P;

所述第二确定子模块具体用于根据第三映射关系确定所述参考相对数值对应的参考调节因子;The second determination submodule is specifically configured to determine the reference adjustment factor corresponding to the reference relative value according to the third mapping relationship;

所述调整子模块具体用于根据所述近似相对数值满足的数值关系调整所述参考调节因子实部与虚部的符号,得到所述相位调节因子。The adjustment sub-module is specifically configured to adjust the signs of the real part and the imaginary part of the reference adjustment factor according to the numerical relationship satisfied by the approximate relative value, so as to obtain the phase adjustment factor.

本发明提供一种信号的相位对齐装置,包括:获取模块,用于获取发射信号与所述发射信号对应反馈信号的共轭的乘积;确定模块,用于将所述乘积的虚部确定为所述发射信号与所述反馈信号的近似相对相位;对齐模块,用于根据所述近似相对相位确定相位调节因子,所述相位调节因子用于使得所述发射信号与所述反馈信号相位对齐。本发明实施例提供的一种信号的相位对齐方法,通过发射信号和反馈信号的实部与虚部进行运算,避免了对发射信号和反馈信号进行角度计算的过程,提高了发射机和接收机的对齐效率。The present invention provides a signal phase alignment device, comprising: an acquisition module, configured to acquire a product of a conjugate of a transmit signal and a feedback signal corresponding to the transmit signal; a determination module, configured to determine an imaginary part of the product as an approximate relative phase of the transmit signal and the feedback signal; an alignment module, configured to determine a phase adjustment factor according to the approximate relative phase, and the phase adjustment factor is used to align the phase of the transmit signal with the feedback signal. The embodiment of the present invention provides a signal phase alignment method, which avoids the process of calculating the angle of the transmitted signal and the feedback signal by performing calculations on the real part and the imaginary part of the transmitted signal and the feedback signal, and improves the alignment efficiency of the transmitter and the receiver.

本发明实施例还提供一种通信设备。请参见图4,通信设备可以包括处理器401、存储器402及存储在存储器402上并可在处理器401上运行的程序4021。The embodiment of the present invention also provides a communication device. Referring to FIG. 4 , the communication device may include a processor 401 , a memory 402 and a program 4021 stored in the memory 402 and executable on the processor 401 .

程序4021被处理器401执行时可实现图1对应的方法实施例中的任意步骤:When the program 4021 is executed by the processor 401, any step in the method embodiment corresponding to FIG. 1 can be realized:

获取发射信号与所述发射信号对应反馈信号的共轭的乘积;obtaining the product of the conjugate of the transmit signal and the feedback signal corresponding to the transmit signal;

将所述乘积的虚部确定为所述发射信号与所述反馈信号的近似相对相位;determining an imaginary part of the product as an approximate relative phase of the transmit signal and the feedback signal;

根据所述近似相对相位确定相位调节因子,所述相位调节因子用于使得所述发射信号与所述反馈信号相位对齐。A phase adjustment factor is determined based on the approximate relative phase, the phase adjustment factor being used to phase align the transmit signal with the feedback signal.

可选的,所述获取发射信号与所述发射信号对应反馈信号的共轭的乘积之前,还包括:Optionally, before obtaining the product of the conjugate of the transmitted signal and the corresponding feedback signal of the transmitted signal, the method further includes:

对所述发射信号和所述反馈信号进行幅度对齐。Amplitude alignment is performed on the transmit signal and the feedback signal.

可选的,所述根据所述近似相对相位确定相位调节因子,包括:Optionally, the determining the phase adjustment factor according to the approximate relative phase includes:

确定所述近似相对相位在参考象限中对应的参考相对相位,其中,所述近似相对相位的取值范围为[-π,π],所述近似相对相位满足以下相位关系之一:Determine the reference relative phase corresponding to the approximate relative phase in the reference quadrant, wherein the value range of the approximate relative phase is [-π, π], and the approximate relative phase satisfies one of the following phase relationships:

与所述参考相对相位相等;is equal to said reference relative phase;

与所述参考相对相位之和为0;The sum of relative phases with the reference is 0;

与所述参考相对相位之和为π;The sum of relative phases with the reference is π;

与所述参考相对相位之差为-π;The difference from the relative phase of the reference is -π;

根据第一映射关系确定所述参考相对相位对应的参考调节因子;determining a reference adjustment factor corresponding to the reference relative phase according to the first mapping relationship;

根据所述近似相对相位满足的相位关系调整所述参考调节因子实部与虚部的符号,得到所述相位调节因子。The signs of the real part and the imaginary part of the reference adjustment factor are adjusted according to the phase relationship satisfied by the approximate relative phase to obtain the phase adjustment factor.

可选的,所述根据所述近似相对相位确定相位调节因子,包括:根据第二映射关系确定所述近似相对相位对应的近似相对数值,其中,所述近似相对数值的取值范围为[-P,P];Optionally, the determining the phase adjustment factor according to the approximate relative phase includes: determining an approximate relative value corresponding to the approximate relative phase according to a second mapping relationship, wherein the value range of the approximate relative value is [-P, P];

确定所述近似相对数值在参考数值范围中对应的参考相对数值,其中,所述参考数值范围与所述参考象限对应的相位范围具有所述第二映射关系,所述参考相对数值与所述参考相对相位具有所述第二映射关系,所述近似相对数值满足以下数值关系之一:Determine the reference relative value corresponding to the approximate relative value in the reference value range, wherein the reference value range and the phase range corresponding to the reference quadrant have the second mapping relationship, the reference relative value and the reference relative phase have the second mapping relationship, and the approximate relative value satisfies one of the following numerical relationships:

与所述参考相对数值相等;is equal to said reference relative value;

与所述参考相对数值之和为0;The sum of the values relative to the reference is 0;

与所述参考相对数值之和为P;The sum of the relative values with the reference is P;

与所述参考相对数值之差为-P;The difference from said reference relative value is -P;

根据第三映射关系确定所述参考相对数值对应的参考调节因子;determining a reference adjustment factor corresponding to the reference relative value according to the third mapping relationship;

根据所述近似相对数值满足的数值关系调整所述参考调节因子实部与虚部的符号,得到所述相位调节因子。The sign of the real part and the imaginary part of the reference adjustment factor is adjusted according to the numerical relationship satisfied by the approximate relative value to obtain the phase adjustment factor.

本发明实施例提供的一种信号的相位对齐方法,通过发射信号和反馈信号的实部与虚部进行运算,避免了对发射信号和反馈信号进行角度计算的过程,提高了发射机和接收机的对齐效率。本领域普通技术人员可以理解实现上述实施例方法的全部或者部分步骤是可以通过程序指令相关的硬件来完成,所述的程序可以存储于一可读取介质中。The embodiment of the present invention provides a signal phase alignment method, which avoids the process of calculating the angle of the transmitted signal and the feedback signal by performing calculations on the real part and the imaginary part of the transmitted signal and the feedback signal, and improves the alignment efficiency of the transmitter and the receiver. Those skilled in the art can understand that all or part of the steps for implementing the methods of the above embodiments can be completed by program instructions related hardware, and the program can be stored in a readable medium.

本发明实施例还提供一种可读存储介质,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时可实现上述图1对应的方法实施例中的步骤:An embodiment of the present invention also provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method embodiment corresponding to FIG. 1 can be implemented:

获取发射信号与所述发射信号对应反馈信号的共轭的乘积;obtaining the product of the conjugate of the transmit signal and the feedback signal corresponding to the transmit signal;

将所述乘积的虚部确定为所述发射信号与所述反馈信号的近似相对相位;determining an imaginary part of the product as an approximate relative phase of the transmit signal and the feedback signal;

根据所述近似相对相位确定相位调节因子,所述相位调节因子用于使得所述发射信号与所述反馈信号相位对齐。A phase adjustment factor is determined based on the approximate relative phase, the phase adjustment factor being used to phase align the transmit signal with the feedback signal.

可选的,所述获取发射信号与所述发射信号对应反馈信号的共轭的乘积之前,还包括:Optionally, before obtaining the product of the conjugate of the transmitted signal and the corresponding feedback signal of the transmitted signal, the method further includes:

对所述发射信号和所述反馈信号进行幅度对齐。Amplitude alignment is performed on the transmit signal and the feedback signal.

可选的,所述根据所述近似相对相位确定相位调节因子,包括:Optionally, the determining the phase adjustment factor according to the approximate relative phase includes:

确定所述近似相对相位在参考象限中对应的参考相对相位,其中,所述近似相对相位的取值范围为[-π,π],所述近似相对相位满足以下相位关系之一:Determine the reference relative phase corresponding to the approximate relative phase in the reference quadrant, wherein the value range of the approximate relative phase is [-π, π], and the approximate relative phase satisfies one of the following phase relationships:

与所述参考相对相位相等;is equal to said reference relative phase;

与所述参考相对相位之和为0;The sum of relative phases with the reference is 0;

与所述参考相对相位之和为π;The sum of relative phases with the reference is π;

与所述参考相对相位之差为-π;The difference from the relative phase of the reference is -π;

根据第一映射关系确定所述参考相对相位对应的参考调节因子;determining a reference adjustment factor corresponding to the reference relative phase according to the first mapping relationship;

根据所述近似相对相位满足的相位关系调整所述参考调节因子实部与虚部的符号,得到所述相位调节因子。The signs of the real part and the imaginary part of the reference adjustment factor are adjusted according to the phase relationship satisfied by the approximate relative phase to obtain the phase adjustment factor.

可选的,所述根据所述近似相对相位确定相位调节因子,包括:根据第二映射关系确定所述近似相对相位对应的近似相对数值,其中,所述近似相对数值的取值范围为[-P,P];Optionally, the determining the phase adjustment factor according to the approximate relative phase includes: determining an approximate relative value corresponding to the approximate relative phase according to a second mapping relationship, wherein the value range of the approximate relative value is [-P, P];

确定所述近似相对数值在参考数值范围中对应的参考相对数值,其中,所述参考数值范围与所述参考象限对应的相位范围具有所述第二映射关系,所述参考相对数值与所述参考相对相位具有所述第二映射关系,所述近似相对数值满足以下数值关系之一:Determine the reference relative value corresponding to the approximate relative value in the reference value range, wherein the reference value range and the phase range corresponding to the reference quadrant have the second mapping relationship, the reference relative value and the reference relative phase have the second mapping relationship, and the approximate relative value satisfies one of the following numerical relationships:

与所述参考相对数值相等;is equal to said reference relative value;

与所述参考相对数值之和为0;The sum of the values relative to the reference is 0;

与所述参考相对数值之和为P;The sum of the relative values with the reference is P;

与所述参考相对数值之差为-P;The difference from said reference relative value is -P;

根据第三映射关系确定所述参考相对数值对应的参考调节因子;determining a reference adjustment factor corresponding to the reference relative value according to the third mapping relationship;

根据所述近似相对数值满足的数值关系调整所述参考调节因子实部与虚部的符号,得到所述相位调节因子。The sign of the real part and the imaginary part of the reference adjustment factor is adjusted according to the numerical relationship satisfied by the approximate relative value to obtain the phase adjustment factor.

本发明实施例提供的一种信号的相位对齐方法,通过发射信号和反馈信号的实部与虚部进行运算,避免了对发射信号和反馈信号进行角度计算的过程,提高了发射机和接收机的对齐效率。The embodiment of the present invention provides a signal phase alignment method, which avoids the process of calculating the angle of the transmitted signal and the feedback signal by performing calculations on the real part and the imaginary part of the transmitted signal and the feedback signal, and improves the alignment efficiency of the transmitter and the receiver.

本申请实施例的计算机可读存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer-readable storage medium in the embodiments of the present application may use any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer diskette, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium other than a computer readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code contained on a storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wires, optical cables, RF, etc., or any suitable combination of the above.

可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或终端上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present application may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. Where a remote computer is involved, the remote computer can be connected to the user computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or, alternatively, can be connected to an external computer (e.g. via the Internet using an Internet Service Provider).

以上所述是本发明实施例的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is a preferred implementation of the embodiment of the present invention. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications should also be regarded as the protection scope of the present invention.

Claims (8)

1. A method of phase alignment of a signal, the method comprising:
obtaining the product of the conjugate of a transmitting signal and a feedback signal corresponding to the transmitting signal;
determining an imaginary part of the product as an approximate relative phase of the transmit signal and the feedback signal;
determining a phase adjustment factor based on the approximate relative phase, the phase adjustment factor for phase aligning the transmit signal with the feedback signal, the determining a phase adjustment factor based on the approximate relative phase comprising:
determining a reference relative phase corresponding to the approximate relative phase in a reference quadrant, wherein the value range of the approximate relative phase is [ -pi, pi ], and the approximate relative phase satisfies one of the following phase relations:
equal to the reference relative phase;
the sum of the relative phases to the reference is 0;
the sum of the relative phases to the reference is pi;
the difference from the reference relative phase is-pi;
determining a reference adjustment factor corresponding to the reference relative phase according to a first mapping relation;
and adjusting the signs of the real part and the imaginary part of the reference regulating factor according to the phase relation satisfied by the approximate relative phase to obtain the phase regulating factor.
2. The method of claim 1, wherein prior to obtaining the product of the transmit signal and the conjugate of the transmit signal corresponding feedback signal, further comprising:
and performing amplitude alignment on the transmitting signal and the feedback signal.
3. The method of claim 1, wherein said determining a phase adjustment factor from said approximate relative phase comprises:
determining an approximate relative value corresponding to the approximate relative phase according to a second mapping relation, wherein the value range of the approximate relative value is [ -P, P ];
determining a reference relative value corresponding to the approximate relative value in a reference value range, wherein a phase range corresponding to the reference quadrant of the reference value range has the second mapping relation, the reference relative value and the reference relative phase have the second mapping relation, and the approximate relative value satisfies one of the following value relations:
equal to the reference relative value;
the sum of the relative values to the reference is 0;
the sum of the relative values to the reference is P;
the difference from the reference relative value is-P;
determining a reference adjustment factor corresponding to the reference relative value according to a third mapping relation;
and adjusting the signs of the real part and the imaginary part of the reference adjusting factor according to the numerical relation satisfied by the approximate relative numerical value to obtain the phase adjusting factor.
4. A phase alignment apparatus for signals, comprising:
the acquisition module is used for acquiring the product of the conjugate of the transmitting signal and the feedback signal corresponding to the transmitting signal;
a determining module for determining an imaginary part of the product as an approximate relative phase of the transmit signal and the feedback signal;
an alignment module for determining a phase adjustment factor based on the approximate relative phase, the phase adjustment factor for phase aligning the transmit signal with the feedback signal, the alignment module further comprising:
a first determining submodule, configured to determine a reference relative phase corresponding to the approximate relative phase in a reference quadrant, where the value range of the approximate relative phase is [ -pi, pi ], and the approximate relative phase satisfies one of the following phase relationships:
equal to the reference relative phase;
the sum of the relative phases to the reference is 0;
the sum of the relative phases to the reference is pi;
the difference from the reference relative phase is-pi;
the second determining submodule is used for determining a reference regulating factor corresponding to the reference relative phase according to the first mapping relation;
and the adjustment submodule is used for adjusting the signs of the real part and the imaginary part of the reference adjustment factor according to the phase relation satisfied by the approximate relative phase to obtain the phase adjustment factor.
5. The apparatus as recited in claim 4, further comprising:
and the amplitude alignment module is used for carrying out amplitude alignment on the transmitting signal and the feedback signal.
6. The apparatus of claim 4, wherein the device comprises a plurality of sensors,
the first determining submodule is specifically configured to determine an approximate relative value corresponding to the approximate relative phase according to a second mapping relationship, where a value range of the approximate relative value is [ -P, P ];
the first determining submodule is specifically further configured to determine a reference relative value corresponding to the approximate relative value in a reference value range, where a phase range corresponding to the reference value range and the reference quadrant has the second mapping relationship, and the reference relative value and the reference relative phase have the second mapping relationship, and the approximate relative value satisfies one of the following numerical relationships:
equal to the reference relative value;
the sum of the relative values to the reference is 0;
the sum of the relative values to the reference is P;
the difference from the reference relative value is-P;
the second determining submodule is specifically configured to determine a reference adjustment factor corresponding to the reference relative value according to a third mapping relationship;
the adjusting submodule is specifically configured to adjust symbols of the real part and the imaginary part of the reference adjustment factor according to the numerical relation satisfied by the approximate relative numerical value, so as to obtain the phase adjustment factor.
7. An electronic device, comprising: a transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; a processor for reading a program in a memory to implement the steps of the phase alignment method of a signal as claimed in any one of claims 1 to 3.
8. A readable storage medium storing a program, wherein the program when executed by a processor performs the steps in the phase alignment method of a signal as claimed in any one of claims 1 to 3.
CN202211734184.5A 2022-12-30 2022-12-30 A signal phase alignment method, device and related equipment Active CN116015590B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211734184.5A CN116015590B (en) 2022-12-30 2022-12-30 A signal phase alignment method, device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211734184.5A CN116015590B (en) 2022-12-30 2022-12-30 A signal phase alignment method, device and related equipment

Publications (2)

Publication Number Publication Date
CN116015590A CN116015590A (en) 2023-04-25
CN116015590B true CN116015590B (en) 2023-07-21

Family

ID=86031405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211734184.5A Active CN116015590B (en) 2022-12-30 2022-12-30 A signal phase alignment method, device and related equipment

Country Status (1)

Country Link
CN (1) CN116015590B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987729B (en) * 2022-06-24 2023-09-29 上海星思半导体有限责任公司 Phase alignment method, phase alignment device and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4723247A (en) * 1987-01-30 1988-02-02 Rockwell International Corporation Phase conjugating plasma mirror free electron laser
CN102710393A (en) * 2012-05-25 2012-10-03 中国科学技术大学 Interference alignment precoding method based on Stiefel manifold
WO2014023727A1 (en) * 2012-08-06 2014-02-13 Nokia Siemens Networks Oy Method and apparatus providing inter-transmission point phase relationship feedback for joint transmission comp
CN105471784A (en) * 2016-01-13 2016-04-06 中国人民解放军国防科学技术大学 Digital predistortion method of jointly compensating for IQ imbalance and PA non-linearity
CN106850495A (en) * 2017-01-11 2017-06-13 深圳市极致汇仪科技有限公司 IQ based on initial phase compensation is uneven to be estimated and compensation method and device
CN112073351A (en) * 2020-11-16 2020-12-11 湖南国科锐承电子科技有限公司 Novel carrier frequency offset estimation method for MPSK system
WO2022134995A1 (en) * 2020-12-21 2022-06-30 中兴通讯股份有限公司 Time delay adjustment method and apparatus, and storage medium and electronic apparatus

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7724840B2 (en) * 2006-12-19 2010-05-25 Crestcom, Inc. RF transmitter with predistortion and method therefor
US20120033566A1 (en) * 2008-08-28 2012-02-09 Wi-Lan, Inc. Hybrid feedback for closed loop multiple-input multiple- output
US8072380B2 (en) * 2009-04-10 2011-12-06 Raytheon Company Wireless power transmission system and method
WO2011085082A2 (en) * 2010-01-08 2011-07-14 Interdigital Patent Holdings, Inc. Augmented wireless feedback
CN103900682B (en) * 2012-12-26 2016-02-03 中国科学院声学研究所 A kind of time-frequency combination formula signal fluctuation alignment detection method and system
CN104023418A (en) * 2014-06-27 2014-09-03 绵阳师范学院 Rapid phase position alignment method for decentralized wireless sensor network cooperative communication
CN105187348B (en) * 2015-05-31 2018-04-13 中国电子科技集团公司第十研究所 Arbitrary velocity CPFSK signal timing synchronous method
US9564913B1 (en) * 2016-03-09 2017-02-07 Analog Devices, Inc. Synchronization of outputs from multiple digital-to-analog converters
CN109565482B (en) * 2017-02-28 2021-01-29 华为技术有限公司 Transmitter and digital predistortion calibration method
CN111800090A (en) * 2019-11-07 2020-10-20 中科威发半导体(苏州)有限公司 Amplitude mismatch calibration circuit
CN112838995B (en) * 2020-12-31 2023-02-03 北京新岸线移动多媒体技术有限公司 Broadband digital predistortion method and digital predistorter
CN115987729B (en) * 2022-06-24 2023-09-29 上海星思半导体有限责任公司 Phase alignment method, phase alignment device and computer-readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4723247A (en) * 1987-01-30 1988-02-02 Rockwell International Corporation Phase conjugating plasma mirror free electron laser
CN102710393A (en) * 2012-05-25 2012-10-03 中国科学技术大学 Interference alignment precoding method based on Stiefel manifold
WO2014023727A1 (en) * 2012-08-06 2014-02-13 Nokia Siemens Networks Oy Method and apparatus providing inter-transmission point phase relationship feedback for joint transmission comp
CN105471784A (en) * 2016-01-13 2016-04-06 中国人民解放军国防科学技术大学 Digital predistortion method of jointly compensating for IQ imbalance and PA non-linearity
CN106850495A (en) * 2017-01-11 2017-06-13 深圳市极致汇仪科技有限公司 IQ based on initial phase compensation is uneven to be estimated and compensation method and device
CN112073351A (en) * 2020-11-16 2020-12-11 湖南国科锐承电子科技有限公司 Novel carrier frequency offset estimation method for MPSK system
WO2022134995A1 (en) * 2020-12-21 2022-06-30 中兴通讯股份有限公司 Time delay adjustment method and apparatus, and storage medium and electronic apparatus

Also Published As

Publication number Publication date
CN116015590A (en) 2023-04-25

Similar Documents

Publication Publication Date Title
JP5562030B2 (en) I/Q imbalance compensation
CA2652695C (en) Fast in-phase and quadrature imbalance calibration
US9537520B2 (en) Method and apparatus for calibrating distortion of signals
CN116015590B (en) A signal phase alignment method, device and related equipment
US8605828B2 (en) Blind mechanism for demodulating offset QPSK signals in the presence of carrier phase error
US9385822B2 (en) Wideband calibration method and wideband calibration apparatus for calibrating mismatch between first signal path and second signal path of transmitter/receiver
JP2005311710A (en) Quadrature modulation system
US5748680A (en) Coarse frequency burst detector for a wireline communications system
US9819370B2 (en) Distortion compensation device and distortion compensation method
US8681896B1 (en) Transmitter I/Q and carrier leak calibration
US6570914B1 (en) Amplitude calculation circuit
US5748682A (en) Oscillator frequency offset error estimator for communications systems
CN110602012A (en) Low-complexity 16APSK demapping method and circuit implementation
CN119155152B (en) Demodulation method, device, electronic device and storage medium
CN111934791A (en) Mismatch calibration circuits, methods, systems, and radio frequency systems
CN114726702A (en) Method and device for estimating and compensating channel frequency offset
US5504453A (en) Method and device for estimating phase error
US11870452B2 (en) IQ to phase conversion method and apparatus
JP6602748B2 (en) Correction of quadrature phase imbalance and gain imbalance using dual CORDIC architecture during receiver low frequency conversion
CN116633746A (en) A frequency offset compensation method, device, equipment and storage medium
CN107204790B (en) Apparatus and method for providing background real-time second-order input intercept point calibration
CN110495148A (en) Interpolating method for the polar coordinates signal in radio frequency (RF) transmitter
Fan et al. Joint compensation of IQ imbalance and phase noise based on extended Kalman filter
Chernoyarov et al. Coherent demodulation of the two-level amplitude phase-shift keyed signals: Noise immunity issue
US7817755B2 (en) System, device and method for generating a logarithmic function according to a plurality of communication signals

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 201203 Shanghai Pudong New Area BiBo Road 690, Building 5, 4th Floor

Patentee after: Shanghai Xingsi Semiconductor Co., Ltd.

Country or region after: China

Address before: 201203 Shanghai Pudong New Area BiBo Road 690, Building 5, 4th Floor

Patentee before: Shanghai Xingsi Semiconductor Co.,Ltd.

Country or region before: China