Phase encoding method and apparatus, and communication device

By introducing higher-order terms to construct the code, the problem of redundant coding produced by phase coding in multi-antenna scenarios is solved, an efficient coding scheme is achieved, the number of bits is reduced, and the speed and quality of weight optimization are improved.

WO2024174959A1PCT designated stage expired Publication Date: 2024-08-29HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/077546
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-20
Filing Date
2024-02-19
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

In a multi-antenna scenario, phase coding in the existing technology will produce a large amount of redundant coding, which seriously affects the speed and quality of weight optimization. Especially when the scale of antennas changes from hundreds to thousands, existing methods Difficulty meeting communication needs.

Method used

By introducing higher-order terms to construct the encoding, generate first-order terms and higher-order terms, construct a bit matrix to calculate the encoding coefficient, realize one-to-one encoding from N bits to 2N phases, avoid redundant encoding, and reduce the bits required for encoding number.

Benefits of technology

It implements a coding scheme with a minimum number of bits without redundancy and constraints, improves the speed and quality of the optimization algorithm, reduces the number of bits required for coding, and is suitable for a variety of scenarios, including communication and non-communication scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024077546_29082024_PF_FP_ABST
    Figure CN2024077546_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application are applicable to the technical field of communications, and provide a phase encoding method and apparatus, and a communication device. The method comprises: according to a plurality of phases to be encoded, determining the number of a plurality of bits required for encoding the plurality of phases; generating first-order terms and high-order terms of the plurality of bits; constructing a bit matrix on the basis of the plurality of phases, the first-order terms, and the high-order terms, the bit matrix being formed by combining a plurality of values of the plurality of bits; calculating a plurality of encoding coefficients according to the bit matrix and the plurality of phases; and encoding the plurality of phases by using the plurality of encoding coefficients. By using the method, redundant codes generated in an encoding process can be reduced, thereby improving the solving speed and quality of an optimization algorithm. The present method can be applied to any encoding process in which encoding objects are discrete values.
Need to check novelty before this filing date? Find Prior Art

Description

Phase encoding method, device and communication equipment

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on February 20, 2023, with application number 202310184040.5 and title “Phase Coding Method, Device and Communication Equipment,” the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of communication technology, and in particular to a phase encoding method, apparatus, and communication device. Background Art

[0003] The rapid development of wireless communication technology has led to an increasing shortage of spectrum resources. As a key technology for the current fifth-generation mobile communication technology (5G) and next-generation mobile communications, massive multiple-input multiple-output (MIMO) systems can significantly improve spectrum utilization by utilizing space division technology.

[0004] Massive MIMO antenna arrays employ an array-like arrangement of multiple antenna elements and implement beamforming through weight optimization. In a multi-antenna scenario, the spatial electric field is formed by the phase-coherent superposition of the radiation fields from each antenna. Due to the interference and diffraction characteristics of waves, the superposition of signals with different amplitudes and phases transmitted by different antennas results in enhanced energy in some directions and weakened energy in others. In multi-antenna communication, the characteristic that electromagnetic waves radiate into a narrow beam oriented in a specific direction allows for intervention in the beamforming process. Specifically, the transmitted signal from each antenna is weighted as needed, with the amplitude or phase of each antenna being modified to ensure that the resulting beam has the width and orientation required for actual communication. This process is known as beamforming.

[0005] The key to beamforming is optimizing weights using optimization algorithms. When applying some optimization algorithms, phase encoding is required, and the encoding method directly affects the quality of the algorithm's solution. As antenna scale increases from hundreds to thousands, applying various phase encoding methods in existing technologies will generate a large amount of redundant encoding, seriously affecting the speed and quality of weight optimization.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a phase encoding method, apparatus, and communication device to solve the problem in the prior art that a large amount of redundant encoding will be generated when performing phase encoding, which seriously affects the speed and quality of weight optimization.

[0008] To achieve the above objectives, this application adopts the following technical solutions:

[0009] A first aspect of an embodiment of the present application provides a phase encoding method, including:

[0010] Determining, based on a plurality of phases to be encoded, a number of a plurality of bits required to encode the plurality of phases;

[0011] generating first-order terms and higher-order terms of the plurality of bits;

[0012] Constructing a bit matrix based on the multiple phases, the first-order terms, and the higher-order terms, wherein the bit matrix is ​​composed of multiple value combinations of the multiple bits;

[0013] Calculating a plurality of coding coefficients according to the bit matrix and the plurality of phases;

[0014] The plurality of phases are encoded using the plurality of encoding coefficients.

[0015] Compared with the prior art, the beneficial effects of the phase encoding method provided by the embodiment of the present application include: by introducing high-order terms to construct the encoding, the coefficient matrix of the linear equations to be solved can be a full-rank square matrix, achieving N bits to 2 N One-to-one encoding of each phase. This method eliminates the need for a large amount of redundant coding during the encoding process, facilitating subsequent optimization of the optimization algorithm. Furthermore, the phase encoding method provided in the embodiments of the present application can minimize the number of bits required for encoding. Compared to the prior art method of using QAM encoding for pure phase encoding, the number of bits can be reduced by at least half.

[0016] It should be understood that the phase encoding method provided in the embodiments of this application can be applied to a variety of scenarios. These scenarios can include communication scenarios and non-communication scenarios. For example, in a communication scenario, this method can be applied to encode the phase of a discrete signal; in non-communication scenarios, if the object to be encoded is a discrete value, this method can also be used for encoding.

[0017] In an example of the first aspect, when the number of the plurality of phases is 2 N When encoding the 2 N The number of bits required for each phase is N.

[0018] In a possible implementation of the first aspect, generating the first-order terms and higher-order terms of the multiple bits may include: generating first-order terms for the respective bits; and sequentially multiplying the respective bits themselves to obtain higher-order terms ranging from second-order multiplication terms to N-order multiplication terms. The first-order terms may be the respective bits themselves, N is the number of the multiple bits, and higher-order terms of any order may include multiplication terms of the multiple bits, with the respective bits in the same multiplication term being different from each other.

[0019] It should be understood that when generating the first-order terms and the high-order terms of the plurality of bits, all the first-order terms and the high-order terms of the plurality of bits may be generated.

[0020] In a possible implementation of the first aspect, the multiplying the bits themselves one by one to obtain higher-order terms ranging from second-order multiplication terms to N-order multiplication terms includes: determining the order of the high-order terms to be generated; determining the number of terms of the high-order terms of the order; and multiplying the bits themselves one by one according to the number of terms to obtain the high-order terms of the order.

[0021] For example, when generating multiple-bit high-order terms, the order of the current high-order term to be generated can be first determined, for example, third order, fourth order, or fifth order. Then, for the corresponding order, the number of high-order terms corresponding to the order is determined. Then, by multiplying each bit by itself one by one, all high-order terms of the order are obtained. This ensures that all high-order terms are generated without omission.

[0022] In an example of the first aspect, when the number of the plurality of bits is N and the order is X, the number of high-order terms of the order is item.

[0023] In a possible implementation of the first aspect, constructing a bit matrix based on the multiple phases, the first-order terms, and the higher-order terms includes: constructing a system of linear equations based on the multiple phases, the first-order terms, and the higher-order terms; and determining the bit matrix according to the system of linear equations;

[0024] In which, the number of equations contained in the linear equation group is equal to the number of the multiple phases, the expressions of the phases located on one side of the equal signs of the multiple equations are different from each other, the expressions of the first-order terms and the higher-order terms located on the other side of the equal signs of the multiple equations are the same, and the first-order terms and the higher-order terms in each equation have coefficients respectively, and the coefficients constitute the coding coefficients.

[0025] In another possible implementation of the first aspect, if the rotation angles of the multiple phases to be encoded are equally spaced, half of the phases can be obtained by rotating the other half by 180°. That is, the other half can be obtained by multiplying half of the phases by -1. Therefore, when the rotation angles of the multiple phases are equally spaced, a simplified calculation method can be used to generate the higher-order terms, extracting only the higher-order terms of the odd-numbered terms. The system of linear equations is then constructed based on the multiple phases, the first-order terms, and the higher-order terms of the extracted odd-numbered terms.

[0026] In another possible implementation of the first aspect, when determining the bit matrix based on the set of linear equations, the value of any one bit can be determined first; then, based on the value of the any one bit, the values ​​of the other bits can be generated to obtain multiple value combinations of the multiple bits, and the multiple value combinations constitute the bit matrix.

[0027] In an example of the first aspect, the value of the arbitrary bit and the values ​​of the other bits may be 1 or -1.

[0028] For example, you can first determine that the value of any one bit is 1, and then determine the values ​​of the other bits. The values ​​of the other bits should meet the above requirements, that is, the values ​​of the other bits should also be 1 or -1; or, you can first determine that the value of any one bit is -1, and then determine the values ​​of the other bits to be 1 or -1.

[0029] In a possible implementation of the first aspect, the calculating of multiple coding coefficients based on the bit matrix and the multiple phases includes: determining a phase vector composed of the multiple phases; calculating the product of the transpose of the phase vector and the inverse matrix of the bit matrix to obtain the transpose of the coefficient vector composed of the multiple coding coefficients; and determining the multiple coding coefficients based on the transpose of the coefficient vector.

[0030] In a possible implementation of the first aspect, the linear equations can be expressed in the form of matrix calculation, that is: S N C T =P T

[0031] Among them, S N is a bit matrix, vector Vector C is a coefficient vector composed of multiple coding coefficients, and vector P is a phase vector composed of multiple phases to be encoded. T and P T are the transpose of the coefficient vector C and the phase vector P respectively.

[0032] Through matrix calculation, the expression of the coding coefficient can be calculated as: C T =S N -1 P T

[0033] Among them, S N -1 is the bit matrix S N The inverse matrix of .

[0034] A second aspect of an embodiment of the present application provides a phase encoding device, which may include the following modules: a determination module, a generation module, a construction module, a calculation module, and an encoding module, wherein:

[0035] a determination module, configured to determine, based on a plurality of phases to be encoded, a number of a plurality of bits required to encode the plurality of phases;

[0036] A generating module, configured to generate first-order terms and higher-order terms of the plurality of bits;

[0037] A construction module, configured to construct a bit matrix based on the multiple phases, the first-order terms, and the higher-order terms, wherein the bit matrix is ​​composed of multiple value combinations of the multiple bits;

[0038] a calculation module, configured to calculate a plurality of coding coefficients according to the bit matrix and the plurality of phases;

[0039] The encoding module encodes the multiple phases using the multiple encoding coefficients.

[0040] In an example of the second aspect, when the number of the plurality of phases is 2 N When encoding the 2 N The number of bits required for each phase is N.

[0041] In a possible implementation of the second aspect, the generation module may be specifically configured to:

[0042] generating a first-order term for each bit, wherein the first-order term may be the bit itself;

[0043] Multiply the bits themselves one by one to obtain higher-order terms ranging from second-order multiplication terms to N-order multiplication terms; wherein N is the number of the multiple bits, and high-order terms of any order can include multiplication terms of the multiple bits, and the bits in the same multiplication term are different from each other.

[0044] When generating high-order terms, the generation module can also be used to: determine the order of the high-order terms to be generated; determine the number of terms of the high-order terms of the order; and multiply the bits themselves one by one according to the number of terms to obtain the high-order terms of the order.

[0045] In an example of the second aspect, when the number of the plurality of bits is N and the order is X, the number of high-order terms of the order is item.

[0046] In a possible implementation manner of the second aspect, the construction module may be specifically configured to: construct a system of linear equations based on the multiple phases and the first-order terms and the higher-order terms; and determine the bit matrix according to the system of linear equations;

[0047] In which, the number of equations contained in the linear equation group is equal to the number of the multiple phases, the expressions of the phases located on one side of the equal signs of the multiple equations are different from each other, the expressions of the first-order terms and the higher-order terms located on the other side of the equal signs of the multiple equations are the same, and the first-order terms and the higher-order terms in each equation have coefficients respectively, and the coefficients constitute the coding coefficients.

[0048] In another possible implementation of the second aspect, the construction module can also be used to: extract the higher-order terms of the odd-numbered terms if the rotation angles of the multiple phases are equally spaced; and construct the system of linear equations based on the multiple phases and the higher-order terms of the first-order terms and odd-numbered terms.

[0049] In another possible implementation of the second aspect, the construction module can also be used to: determine the value of any one bit; generate values ​​of other bits based on the value of the any one bit, to obtain multiple value combinations of the multiple bits, and the multiple value combinations constitute the bit matrix.

[0050] In an example of the second aspect, the value of the arbitrary bit and the other bits is 1 or -1.

[0051] In a possible implementation of the second aspect, the calculation module can be specifically used to: determine the phase vector composed of the multiple phases; calculate the product of the transpose of the phase vector and the inverse matrix of the bit matrix to obtain the transpose of the coefficient vector composed of the multiple coding coefficients; and determine the multiple coding coefficients based on the transpose of the coefficient vector.

[0052] Among them, the linear equations can be expressed in the form of matrix calculation, that is: S N C T =P T

[0053] Among them, S N is a bit matrix, vector Vector C is a coefficient vector composed of multiple coding coefficients, and vector P is a phase vector composed of multiple phases to be encoded. T and PT are the transpose of the coefficient vector C and the phase vector P respectively.

[0054] Through matrix calculation, the expression of the coding coefficient can be calculated as: C T =S N -1 P T

[0055] Among them, S N -1 is the bit matrix S N The inverse matrix of .

[0056] A third aspect of an embodiment of the present application provides a communication device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the phase encoding method as described in any one of the first aspects above is implemented.

[0057] It should be understood that the communication device may include any one of a base station, a smart reflective surface, or a router.

[0058] A fourth aspect of the present application provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed on a computer device, the computer device executes the aforementioned related method steps to implement the phase encoding method described in any one of the first aspects. The computer device may include, but is not limited to, a communication device.

[0059] A fifth aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on a computer device, the computer device executes the above-mentioned related steps to implement the phase encoding method described in any one of the above-mentioned first aspects.

[0060] A sixth aspect of an embodiment of the present application provides a chip, comprising a memory and a processor, wherein the processor executes a computer program stored in the memory to implement the phase encoding method as described in any one of the first aspects above.

[0061] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] FIG1 is a schematic diagram of an amplitude-phase encoding in the prior art;

[0063] FIG2 is a schematic diagram of a beamforming process provided in an embodiment of the present application;

[0064] FIG3 is a schematic diagram of a phase encoding method provided in an embodiment of the present application;

[0065] FIG4 is a phase diagram of an antenna element provided in an embodiment of the present application;

[0066] FIG5 is a flow chart of a phase encoding method provided in an embodiment of the present application;

[0067] FIG6 is a schematic diagram of a system architecture of a base station provided in an embodiment of the present application;

[0068] FIG7 is a schematic diagram of a system architecture of a smart reflective surface provided in an embodiment of the present application;

[0069] FIG8 is a schematic diagram of a beamforming result provided in an embodiment of the present application;

[0070] FIG9 is a schematic diagram of a phase encoding device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0071] To facilitate a clear description of the technical solutions of the embodiments of the present application, terms such as "first" and "second" are used in the embodiments of the present application to distinguish between identical or similar items with substantially the same functions and effects. For example, terms such as "first phase" and "second phase" are merely used to distinguish between different phases and do not limit their number or execution order.

[0072] It should be noted that in the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.

[0073] The business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field will know that with the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0074] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0075] The steps involved in the phase encoding method provided in the embodiment of the present application are only examples. Not all steps must be performed, or not all contents in each step are mandatory. They can be increased or decreased as needed during use.

[0076] In the embodiments of the present application, the same step or steps or messages with the same function in different embodiments can be referenced to each other.

[0077] As the scale of antennas increases from hundreds to thousands, pure phase optimization in weight optimization can better save communication costs compared to simultaneous optimization of amplitude and phase, and has gradually become the focus of current research.

[0078] Among algorithms for weight optimization, the holographic algorithm is relatively fast. This algorithm is an analytical algorithm that solves continuous optimization problems. However, in real-world communication scenarios, the limitations of phase shifters in antenna devices result in discrete antenna phases. Converting the results of continuous optimization to discrete values ​​using the holographic algorithm introduces additional errors, significantly reducing the optimization effect. Another algorithm for weight optimization is the genetic algorithm. This algorithm iterates through selection, crossover, and mutation within a population of all weight combinations to solve single-directional beamforming problems. However, optimizing a single array of thousands of antennas using the genetic algorithm often takes days. Given the ever-increasing size of antenna arrays, the optimization speed of the genetic algorithm is insufficient to meet practical communication requirements. Furthermore, both the holographic and genetic algorithms can only perform single-directional beamforming and cannot support multi-directional beamforming suppression in the spatial domain. Currently, some research is beginning to employ quantum computing to solve these optimization problems. Consequently, classical algorithms inspired by quantum computing, known as quantum-inspired algorithms, have also begun to enter the research field, emerging as potential algorithms for rapidly solving arbitrary beamforming problems. However, whether applying quantum computing or quantum heuristic algorithms, the phase needs to be encoded first, and the encoding method used will directly affect the solution quality of the optimization algorithm.

[0079] Quadrature amplitude modulation (QAM) is a common base station weight coding method, and its coding process includes encoding the antenna amplitude and phase. As shown in Figure 1, it is a schematic diagram of amplitude coding in the prior art, where I represents the real part and Q represents the imaginary part. Any point in Figure 1 represents a discrete signal. According to the coding method shown in Figure 1, the real part I and the imaginary part Q need to be equidistantly encoded respectively, so the base station weight satisfies y=I+Qj. Taking 16-QAM with 16 weights as an example, this coding method uses two bits to encode the real part and the imaginary part respectively. According to the intervals ΔI and ΔQ in the directions of the real part I and the imaginary part Q, the overall coding can be expressed as follows (1):

[0080] Here, s1 and s2 represent two bits for encoding the real part, and s3 and s4 represent two bits for encoding the imaginary part.

[0081] Because amplitude-phase coding uses separate encoding for the real and imaginary parts, applying this encoding method to pure phase coding will generate a large amount of redundant code when the number of phases exceeds four, requiring additional bits for weight optimization. Furthermore, the redundant code generated by this encoding method introduces a large number of constraints during the optimization process, severely impacting both optimization speed and quality.

[0082] In order to solve the above problems, the present invention provides a phase coding method, which is a method of converting N bits to 2 N The phase mapping coding method constructs a non-redundant and unconstrained coding scheme with the minimum number of bits to facilitate the rapid optimization of subsequent algorithms and improve the algorithm's ability to solve beamforming problems.

[0083] As shown in Figure 2, it is a schematic diagram of a beamforming process provided by an embodiment of the present application. According to the process shown in Figure 2, a complete beamforming process generally includes four steps: encoding, modeling, optimization, and beamforming. Among them, the encoding step can complete N bits [s1,…,s N ] to the antenna element weight, that is, encoding the antenna element weight into N bit spins. The weight here refers to the phase of the antenna element, and the value of each bit s can be ±1. After the encoding is completed, the electromagnetic field energy in a specific direction in space can be calculated according to the actual application scenario, and the modeling of the beamforming task can be completed. The expression of the electromagnetic field energy in the target direction with respect to the bit H(s1,…,s N ). Modeling tasks may include beam enhancement or suppression in a specific direction, multi-beam multi-zero lines, and the like. Then, in the optimization step, the optimization algorithm may be applied to calculate the value of each bit so that the value of the aforementioned function H is maximized or minimized. Practical optimization algorithms may include quantum computing, quantum heuristic algorithms, and the like. Finally, the weight of each antenna element in the antenna array may be determined based on the optimized bit value, and the final beamforming may be completed by applying the weight in the actual application scenario. Application scenarios that require beamforming generally include base stations, reconfigurable intelligent surfaces (RIS), routers, and the like. The phase coding method provided in the embodiment of the present application can be applied to the coding step of the beamforming process shown in FIG2 .

[0084] The phase encoding method of the present application is introduced below with reference to specific embodiments.

[0085] 3 , which shows a schematic diagram of a phase encoding method provided in an embodiment of the present application, the method may specifically include the following steps:

[0086] S301. Generate all first-order terms and higher-order terms according to the number of bits required for encoding.

[0087] This method can be applied to communication devices, including base stations, RISs, routers, and the like. Specifically, these devices can use this method to encode phases. Prior to encoding, the number of bits required for encoding can be determined. This number of bits can be determined based on the number of phases to be encoded.

[0088] In one example, if the number of phases to be encoded is 2 N The number of bits required to encode the above phases is N. That is, using the phase encoding method provided in the embodiment of the present application, N bits can be used to encode 2 N The target phase to be encoded is encoded. N The target phase to be encoded can be represented by the vector mark.

[0089] After determining the number of bits required for encoding, first all first-order terms and higher-order terms of N bits may be generated.

[0090] The first-order terms of the N bits may be the N bits themselves.

[0091] For example, if the N bits are s1, s2, ..., s N , then all first-order terms are s1,s2,…,s N .

[0092] The N-bit high-order terms may include all high-order terms from the second-order product terms to the N-order product terms. The high-order terms of any order may include product terms of multiple bits, and the bits in the same product term should be different from each other.

[0093] For example, if the N bits are s1, s2, ..., s N , then its second-order terms can include s i s j (i≠j). For example, s1s2, s1s3, s1s4, ..., s1s N ,s2s3,s2s4,……,s2s N ,……,s N-1 s N , the total number of these second-order terms is indivual.

[0094] The third-order terms can include s i s j s k (i≠j≠k). For example, s1s2s3, s1s2s4, s1s2s5, ..., s1s2s N ,s2s3s4,s2s3s5,…,s2s3s N ,……,s N-2 s N-1 s N , the total number of these third-order terms is indivual.

[0095] Similarly, the Nth-order term can include s1s2…sN , the number of N-order terms is 1, that is indivual.

[0096] Therefore, when the number of bits is N and the order is X, the number of high-order terms of the order is item.

[0097] The total number of first-order and higher-order terms of N bits is 2 N item.

[0098] S302: Construct a bit matrix according to all first-order terms and high-order terms.

[0099] After all first-order terms and higher-order terms of N bits are generated, a bit matrix may be constructed. The bit matrix may be composed of various value combinations of multiple bits.

[0100] In one possible implementation, all first-order terms and higher-order terms can be combined to use 2 N The coefficients c are used to construct a linear equation system, and the bit matrix is ​​determined based on the linear equation system.

[0101] The linear equation system constructed in the embodiment of the present application may include multiple equations, and the number of the multiple equations is equal to the number of phases to be encoded. For example, if the number of phases to be encoded is 2 N Then the constructed linear equations contain 2 N equation.

[0102] For example, 2 N The linear equation system consisting of equations can be expressed as follows:

[0103] It can be seen from the above formula (2) that the expressions of the phase to be encoded on the equal side of the multiple equations are different from each other, that is, the right side of the equal sign of each equation in the linear equation system is an expression of a phase, that is, arrive The expressions of all first-order terms and higher-order terms of multiple bits on the other side of the equal signs of multiple equations are the same, which are These first-order and higher-order terms also have coefficients, namely All coefficients constitute the coding coefficients used for subsequent coding.

[0104] In the embodiment of the present application, the bit matrix S can be constructed by using N bits in common combinations. N , the values ​​of this matrix can be composed of multiple value combinations of multiple bits. Among them, the value combinations of N bits constitute the rows of the bit matrix [s1,s2,…,s1s2…s N]; Accordingly, each column of the bit matrix corresponds to the value of the N-bit high-order term or first-order term.

[0105] Since each column of the bit matrix is ​​linearly independent, the final bit matrix is ​​a full-rank square matrix.

[0106] S303: Perform matrix operations on the bit matrix to obtain coding coefficients.

[0107] Formula (2) in the previous step can be expressed in the form of matrix calculation, namely the following formula (3): S N C T =P T ……(3)

[0108] Among them, S N is a bit matrix, vector Vector C is a coefficient vector composed of multiple coding coefficients, and vector P is a phase vector composed of multiple phases to be encoded. T and P T are the transpose of the coefficient vector C and the phase vector P respectively.

[0109] By processing the above formula (3), the expression of the coding coefficient can be obtained as follows: C T =S N -1 P T ……(4)

[0110] Among them, S N -1 is the bit matrix S N The inverse matrix of .

[0111] S304: Perform phase encoding using encoding coefficients.

[0112] The calculated coding coefficients can be used to encode the phases to be encoded. Specifically, the calculated coding coefficients can be substituted into the linear equation group (2) to complete the encoding of each phase.

[0113] In the embodiment of the present application, by introducing high-order terms to construct the code, the coefficient matrix of the linear equations to be solved can be made into a full-rank square matrix, realizing N bits to 2 N One-to-one encoding of each phase. This method eliminates the need for a large amount of redundant coding during the encoding process, facilitating subsequent optimization algorithms. Furthermore, the phase encoding method provided in the embodiments of this application can minimize the number of bits required for encoding, reducing the number of bits by at least half compared to the prior art method of using QAM for pure phase encoding.

[0114] For ease of understanding, the phase encoding method provided in the embodiment of the present application is introduced below with reference to a specific example.

[0115] Figure 4 shows a phase diagram of an antenna element according to an embodiment of the present application. Figure 4 shows eight phases to be encoded, meaning that any of the points A0, ..., A7 in Figure 4 represents a phase to be encoded. As can be seen from Figure 4, the rotation angles of each phase are equally spaced.

[0116] If the rotation angles of the multiple phases to be encoded are equally spaced, half of the phases can be obtained by rotating the other half by 180°. In other words, the other half can be obtained by multiplying half of the phase by -1. For example, by rotating phase A0 in Figure 4 by 180°, phase A4 can be obtained. Therefore, when the rotation angles of multiple phases are equally spaced, a simplified calculation method can be used to generate high-order terms, extracting only the odd-numbered high-order terms.

[0117] The following describes the phase encoding method according to an embodiment of the present application by taking encoding of the eight phases in FIG. 4 as an example.

[0118] Since the number of phases to be encoded is 8, that is, 2 3 phases, so the number of bits required for encoding is 3, that is, this example introduces the encoding process of 3 bits and 8 phases. Combined with Figure 4, these 8 phases to be encoded can be expressed as The angle θ can be expressed as:

[0119] According to the encoding process described in the previous embodiment, it is first necessary to generate all first-order terms and higher-order terms of 3 bits. Since only the higher-order terms of the odd-numbered terms need to be extracted in this example, only all first-order terms and third-order terms need to be used in the actual encoding. The third-order terms can be expressed as s1s3s3.

[0120] Then, construct the bit matrix S N According to the encoding process described in the above embodiment, the constructed linear equation can be expressed as:

[0121] There are a total of 8 combinations of bit values. Since half of the phase in Figure 4 can be obtained by multiplying the other half by -1, and only all odd-numbered multiplication terms are taken in this process, the general 2 N Only half of the equations are linearly independent. In this case, we can fix the value of one bit to generate the bit matrix S N .

[0122] For example, assuming s1=1, the corresponding bit matrix can be obtained as follows:

[0123] Of course, s1 can also take other values, for example, s1 = -1, then the resulting bit matrix can be expressed as:

[0124] For the angle θ, take out the angle values ​​when i = 0, 1, 2, 3, that is, take out the following angle values:

[0125] In this way, the phase vector P can be generated as:

[0126] According to formula (4), the coefficient vector used for encoding can be calculated as:

[0127] By substituting the result of equation (11) into equation (6), the phase encoding process is completed.

[0128] In combination with the above embodiments, as shown in FIG5 , a flow chart of a phase encoding method provided in an embodiment of the present application is shown. The method may specifically include the following steps:

[0129] S501: Determine, according to multiple phases to be encoded, the number of multiple bits required to encode the multiple phases.

[0130] This method can be applied to a communication device, that is, the execution subject of the embodiment of the present application can be a communication device. For example, the communication device can include a base station, a RIS, a router, etc. The embodiment of the present application does not limit the specific type of the communication device.

[0131] The number of multiple phases to be encoded can be determined according to actual communication needs. Generally, the number of multiple phases to be encoded can be 2 to the power of N, that is, 2 N 2 N The target phase to be encoded can be represented by the vector mark.

[0132] In the embodiment of the present application, when the number of phases to be encoded is 2 N Hours, code 2 N The number of bits required for each phase is N. N bits can be represented as s1, s2, ..., s N .

[0133] S502: Generate first-order terms and high-order terms of the multiple bits.

[0134] In the embodiment of the present application, the first-order terms and higher-order terms of multiple bits can be generated separately. The first-order terms of each bit can be the bit itself. For example, if N bits are s1, s2, ..., sN , then all first-order terms are s1,s2,…,s N .

[0135] For higher-order terms, all higher-order terms from second-order multiplication terms to N-order multiplication terms can be obtained by multiplying each bit by itself one by one; among them, high-order terms of arbitrary order may include multiplication terms of multiple bits, and each bit in the same multiplication term is different from each other.

[0136] For example, for the N bits s1, s2, ..., s in the above example N , whose second-order terms can include s i s j (i≠j); the third-order terms include s i s j s k (i≠j≠k); N-order terms can include s1s2…s N .

[0137] In a specific implementation, the order of the high-order term to be generated can be determined first, and then the number of high-order terms of the order can be determined, so that each bit itself can be multiplied one by one according to the above number of terms to obtain all high-order terms of the corresponding order.

[0138] S503: Construct a bit matrix based on the multiple phases, the first-order terms, and the higher-order terms, where the bit matrix is ​​composed of multiple value combinations of the multiple bits.

[0139] The bit matrix in the embodiment of the present application may be the bit matrix S in each of the aforementioned embodiments. N A linear system of equations can be constructed based on all first-order terms and higher-order terms of multiple phases and multiple bits to be encoded, and then the bit matrix S can be determined based on the linear system of equations. N .

[0140] In an embodiment of the present application, the number of equations included in the linear equation system is equal to the number of multiple phases, the expressions of the phases to be encoded on one side of the equal signs of the multiple equations are different from each other, and the expressions of all first-order terms and higher-order terms of the multiple bits on the other side of the equal signs of the multiple equations are the same. The first-order terms and higher-order terms in each equation have coefficients respectively, and all the coefficients constitute the coding coefficients used for subsequent encoding.

[0141] In one possible implementation of the embodiment of the present application, if the rotation angles of the multiple phases to be encoded are equally spaced, half of the phases can be obtained by rotating the other half by 180°, that is, the other half can be obtained by multiplying half of the phases by -1. Therefore, if the rotation angles of the multiple phases to be encoded are equally spaced, when actually generating high-order terms, the high-order terms of the odd-numbered terms can be extracted, and then a system of linear equations can be constructed based on all the first-order terms and the high-order terms of the odd-numbered terms of the multiple phases to be encoded and the multiple bits, thereby simplifying the calculation process.

[0142] In an embodiment of the present application, when determining the bit matrix based on a set of linear equations, the value of any one bit can be determined first, and then the values ​​of other bits can be generated based on the value of any one bit, thereby obtaining multiple value combinations of multiple bits, and the multiple value combinations of multiple bits together constitute the bit matrix.

[0143] In a possible implementation of the embodiment of the present application, the value of any bit and other bits can be 1 or -1.

[0144] S504: Calculate multiple coding coefficients according to the bit matrix and the multiple phases.

[0145] In the embodiment of the present application, in order to calculate the coding coefficient, the phase vector composed of multiple phases to be encoded can be determined first. For example, the phase vector can be expressed as a vector Then calculate the transpose P of the phase vector P T With the bit matrix S N The inverse matrix S N -1 The product of S N -1 P T , we get the transpose of the coefficient vector composed of multiple coding coefficients. For example, if we use vector represents the coefficient vector, then there exists an expression C T =S N -1 P T . According to the transpose of the coefficient vector C T , multiple coding coefficients can be determined.

[0146] S505: Encode the multiple phases using the multiple coding coefficients.

[0147] The phase to be encoded can be encoded using the calculated encoding coefficient.

[0148] The phase encoding method provided in the embodiment of the present application can be applied to a variety of communication scenarios. For example, in each communication device that needs to perform beamforming, this method can be used for phase encoding. For example, in the beamforming process of a base station, an intelligent reflector or a router, this method can be used for encoding. Alternatively, in any communication scenario, if the signal is a discrete value, this method can also be used for encoding. Alternatively, in any other scenario including but not limited to a communication scenario, if a discrete value needs to be encoded, this method can also be used for encoding. For example, in any scenario, if the object to be encoded is a discrete value, this method can also be applied for encoding. That is, the phase encoding method provided in the embodiment of the present application can be applied not only to communication scenarios, but also to non-communication scenarios; not only can the phase be encoded, but also other discrete encoding objects can be encoded.

[0149] As shown in Figure 6, it is a schematic diagram of the system architecture of a base station provided by an embodiment of the present application. Based on the base station of the system architecture shown in Figure 6, the phase coding method provided by the embodiment of the present application can be applied for phase coding. Compared with the traditional base station, the base station shown in Figure 6 adds an encoder / decoder between the transmitter of the transmitted signal and the modulator of the modulated signal, and the encoding function of the encoder / decoder can be used to complete the phase coding. The encoder / decoder can also calculate the bits that have completed the phase coding and decode the calculated bit spin distribution into a phase through the decoding function, and then act on the transmitted signal. Accordingly, considering the needs of future dynamic beamforming optimization, a decoder can be introduced at the receiving end of the base station to obtain the initial value of the bit spin distribution, which is used for subsequent rapid tracking of the target user for beamforming.

[0150] Figure 7 shows a schematic diagram of the system architecture of a RIS provided in an embodiment of the present application. A RIS based on the system architecture shown in Figure 7 can also employ the phase encoding method provided in an embodiment of the present application for phase encoding. Specifically, based on the original codebook optimization of the RIS, the RIS shown in Figure 7 introduces an encoder, decoder, and corresponding optimization modules at the transceiver end, achieving fast and accurate beamforming by adding dynamic optimization of the transmit phase.

[0151] Applying the phase encoding method provided in the embodiment of the present application for encoding can achieve good results in subsequent beamforming tasks. As shown in Figure 8, a schematic diagram of a beamforming result provided in an embodiment of the present application is shown. Figure 8 shows the single-direction beamforming optimization result calculated by the quantum heuristic algorithm after applying this method to encode the phase. Among them, Figure 8 (a) shows the distribution of spatial electromagnetic field energy in the control direction angle, where θ and φ are three-dimensional spatial angles, θ is the angle between the radiation direction and the z-axis, and the target forming direction in Figure 8 (a) is θ = 90° and φ = 60°. Based on Figure 8 (a), Figure 8 (b) shows slices in the directions of φ = 60° and φ = 120°. As can be seen from Figure 8, applying this method for encoding can obtain better shaping effects in the target direction.

[0152] Furthermore, combining the phase encoding method provided in this application's embodiments with a quantum-inspired algorithm allows weight optimization for arrays of thousands to be completed in just seconds. Table 1 below shows the time required to optimize the number of elements and the number of bits per antenna element for four different array sizes.

[0153] Table 1:

[0154] Where m and n represent the number of oscillators in the vertical and horizontal directions respectively, sn represents the number of bits of a single antenna oscillator, and the unit of the optimization time t is second (s).

[0155] In the embodiment of the present application, the functional modules of the communication device can be divided according to the above method example. For example, each functional module can be divided corresponding to each function, or one or more functions can be integrated into one functional module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.

[0156] Corresponding to the above embodiments, referring to FIG9 , a structural block diagram of a phase encoding device provided in an embodiment of the present application is shown. The device can be applied to the communication devices in the above embodiments. The device may specifically include the following modules: a determination module 901, a generation module 902, a construction module 903, a calculation module 904, and an encoding module 905, wherein:

[0157] A determination module 901 is configured to determine, based on multiple phases to be encoded, a number of multiple bits required to encode the multiple phases;

[0158] A generating module 902, configured to generate first-order terms and higher-order terms of the plurality of bits;

[0159] A construction module 903 is configured to construct a bit matrix based on the multiple phases, the first-order terms, and the higher-order terms, where the bit matrix is ​​composed of multiple value combinations of the multiple bits;

[0160] A calculation module 904 is configured to calculate a plurality of coding coefficients based on the bit matrix and the plurality of phases;

[0161] The encoding module 905 encodes the multiple phases using the multiple encoding coefficients.

[0162] In a possible implementation of the embodiment of the present application, when the number of the multiple phases is 2 N When encoding the 2 N The number of bits required for each phase is N.

[0163] In a possible implementation of the embodiment of the present application, the generating module 902 may be specifically configured to:

[0164] generating a first-order term for each bit, wherein the first-order term may be the bit itself;

[0165] Multiply the bits themselves one by one to obtain higher-order terms ranging from second-order multiplication terms to N-order multiplication terms; wherein N is the number of the multiple bits, and high-order terms of any order can include multiplication terms of the multiple bits, and the bits in the same multiplication term are different from each other.

[0166] In an embodiment of the present application, the generation module 902 can also be used to: determine the order of the high-order terms to be generated; determine the number of terms of the high-order terms of the order; and multiply the bits themselves one by one according to the number of terms to obtain the high-order terms of the order.

[0167] In the embodiment of the present application, when the number of the plurality of bits is N and the order is X, the number of high-order terms of the order is item.

[0168] In a possible implementation manner of the embodiment of the present application, the construction module 903 may be specifically configured to: construct a system of linear equations based on the multiple phases and the first-order terms and the higher-order terms; and determine the bit matrix according to the system of linear equations;

[0169] In which, the number of equations contained in the linear equation group is equal to the number of the multiple phases, the expressions of the phases located on one side of the equal signs of the multiple equations are different from each other, the expressions of the first-order terms and the higher-order terms located on the other side of the equal signs of the multiple equations are the same, and the first-order terms and the higher-order terms in each equation have coefficients respectively, and the coefficients constitute the coding coefficients.

[0170] In an embodiment of the present application, the construction module 903 can also be used to: if the rotation angles of the multiple phases are equally spaced, extract the higher-order terms of the odd-numbered terms; and construct the system of linear equations based on the multiple phases and the higher-order terms of the first-order terms and odd-numbered terms.

[0171] In an embodiment of the present application, the construction module 903 can also be used to: determine the value of any one bit; generate the values ​​of other bits based on the value of the any one bit, and obtain multiple value combinations of the multiple bits, and the multiple value combinations constitute the bit matrix.

[0172] In a possible implementation of the embodiment of the present application, the value of the arbitrary bit and the other bits is 1 or -1.

[0173] In a possible implementation of an embodiment of the present application, the calculation module 904 can be specifically used to: determine the phase vector composed of the multiple phases; calculate the product of the transpose of the phase vector and the inverse matrix of the bit matrix to obtain the transpose of the coefficient vector composed of the multiple coding coefficients; and determine the multiple coding coefficients based on the transpose of the coefficient vector.

[0174] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0175] The present application also provides a chip including a processor, which may be a general-purpose processor or a dedicated processor, wherein the processor is configured to support a communication device in executing the above-mentioned related steps to implement the phase encoding method in each of the above-mentioned embodiments.

[0176] Optionally, the chip further includes a transceiver, which is configured to accept control of the processor and support the communication device in executing the above-mentioned related steps to implement the phase encoding method in each of the above-mentioned embodiments.

[0177] Optionally, the chip may further include a storage medium.

[0178] It should be noted that the chip can be implemented using the following circuits or devices: one or more field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits that can perform the various functions described throughout this application.

[0179] Finally, it should be noted that the above is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be covered by the protection scope of the present application.

Claims

1. A phase encoding method, characterized in that: include: Determining, based on the plurality of phases to be encoded, the number of a plurality of bits required to encode the plurality of phases; generating first-order terms and higher-order terms of the plurality of bits; Based on the multiple phases, the first-order terms and the higher-order terms, construct a bit matrix, wherein the bit matrix is ​​composed of multiple value combinations of the multiple bits; Calculating a plurality of coding coefficients according to the bit matrix and the plurality of phases; The plurality of phases are encoded using the plurality of encoding coefficients.

2. The method according to claim 1, characterized in that The step of determining the number of bits required to encode the multiple phases according to the multiple phases to be encoded includes: When the number of the multiple phases is 2 N When the encoding is N The number of bits required for each phase is N.

3. The method according to claim 1, characterized in that Generating the first-order terms and the high-order terms of the plurality of bits comprises: Generate a first-order term for each bit, wherein the first-order term is the bit itself; Multiply the bits themselves one by one to obtain high-order terms ranging from second-order multiplication terms to N-order multiplication terms; wherein N is the number of the multiple bits, and high-order terms of any order include multiplication terms of the multiple bits, and the bits in the same multiplication term are different from each other.

4. The method according to claim 3, characterized in that The multiplication of the bits themselves one by one to obtain high-order terms from second-order multiplication terms to N-order multiplication terms includes: Determine the order of the higher-order terms to be generated; determining the number of higher-order terms of the order; The bits themselves are multiplied one by one according to the number of terms to obtain high-order terms of the order.

5. The method according to claim 4, characterized in that The determining the number of high-order terms of the order comprises: When the number of the plurality of bits is N and the order is X, the number of high-order terms of the order is item.

6. The method according to any one of claims 1 to 5, characterized in that: The step of constructing a bit matrix based on the multiple phases, the first-order terms and the high-order terms comprises: constructing a system of linear equations based on the plurality of phases and the first-order terms and the higher-order terms; Determining the bit matrix according to the linear equation system; Among them, the number of equations included in the linear equation group is equal to the number of the multiple phases, the expressions of the phases located on one side of the equal sign of the multiple equations are different from each other, the expressions of the first-order terms and the higher-order terms located on the other side of the equal sign of the multiple equations are the same, and the first-order terms and the higher-order terms in each equation have coefficients respectively, and the coefficients constitute the coding coefficients.

7. The method according to claim 6, characterized in that The multiple phases, the first-order terms and the higher-order terms are used to construct a linear equation system, including: If the rotation angles of the plurality of phases are equally spaced, extracting the high-order terms of the odd-numbered terms; The system of linear equations is constructed based on the plurality of phases and the higher-order terms of the first-order terms and odd-numbered terms.

8. The method according to claim 6, characterized in that Determining the bit matrix according to the linear equation group includes: Determine the value of any bit; According to the value of any one bit, the values ​​of other bits are generated to obtain multiple value combinations of the multiple bits, and the multiple value combinations constitute the bit matrix.

9. The method according to claim 8, characterized in that The value of the arbitrary bit and each of the other bits is 1 or -1.

10. The method according to any one of claims 1 to 5 or 7 to 9, characterized in that: The step of calculating a plurality of coding coefficients according to the bit matrix and the plurality of phases comprises: Determine a phase vector formed by the multiple phases; Calculating the product of the transpose of the phase vector and the inverse matrix of the bit matrix to obtain the transpose of the coefficient vector composed of the plurality of coding coefficients; The plurality of coding coefficients are determined according to the transposition of the coefficient vector.

11. A communication device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the phase encoding method according to any one of claims 1 to 10 is implemented.

12. The communication device according to claim 11, characterized in that The communication device includes any one of a base station, an intelligent reflective surface or a router.

Citation Information

Patent Citations

  • Phase coding method and apparatus, and communication device

    CN118523812A

  • Method and device for phase modulation of a carrier wave and application to the detection of multi-level phase-encoded digital signals

    CN107534633A

  • Coherent MIMO radar transmitted waveform design method based on space-time phase encoding

    CN110988816A

  • Demodulation and decoding method for GFSK signal and demodulation and decoding device

    CN113098811A

  • Transmitter, receiver, LDPC encoder and LDPC decoder

    JP2019036940A