Security beam forming method for CR-SWIPT system based on STAR-RIS
By optimizing the power allocation and beamforming matrix in the CR-SWIPT system, the problem of insufficient confidentiality of secondary user information is solved and the security performance of the system is improved, especially under STAR-RIS assisted conditions.
Patent Information
- Application Number
- CN202410653592.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-30
AI Technical Summary
The existing CR-SWIPT system is insufficient in protecting user information, especially the information confidentiality rate of secondary users SU, especially under the conditions assisted by STAR-RIS.
By establishing a joint optimization problem of SU power allocation coefficient, CBS transmit beamforming vector and STAR-RIS phase shift matrix with the goal of maximizing the worst confidentiality rate of SU, variable substitution and continuous convex approximation algorithm are used to transform it into a convex problem, using Semidefinite relaxation algorithm, Lagrange multiplier method and alternating optimization solve the coupling variables and optimize the power distribution coefficient, beamforming vector and phase shift matrix.
The SU confidentiality rate of the STAR-RIS assisted CR-SWIPT system is improved, and the security performance of the system is further improved by introducing artificial noise.
Smart Images

Figure CN118573247A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of wireless communications and relates to a CR-SWIPT system security beamforming method based on STAR-RIS. Background Art
[0002] With the development of the sixth generation of mobile communication technology, the number of devices in the Internet of Things application scenarios has gradually increased, and spectrum efficiency has become an important factor affecting the performance of wireless communication systems. Cognitive Radio (CR) technology can enable secondary users (SU) to legally use the spectrum resources authorized by the primary user (PU) without affecting the service quality of the primary user (PU), thereby effectively alleviating the problem of spectrum resource shortage.
[0003] Due to the large number of IoT terminal devices and their wide distribution, the system faces the problem of power supply and information transmission difficulties. Simultaneous Wireless Information and Power Transfer (SWIPT) has become one of the key technologies to solve this problem due to its ability to collect energy and transmit information at the same time. If SWIPT is introduced into the CR network, it can solve the problem of simultaneous transmission of energy and information while improving spectrum efficiency. However, due to the dynamic openness of the CR network, its physical layer security has always been the focus of research.
[0004] Reconfigurable Intelligent Surface (RIS) can optimize wireless transmission channels by adjusting the phase shift of surface reflection units, thus becoming a candidate key technology for future 6G wireless networks. If RIS is introduced to assist wireless communication, the system security performance can be further enhanced. However, traditional RIS can only reflect incident signals within a limited angle range. To overcome this difficulty, a simultaneously transmitting and reflecting reconfigurable intelligent surface (Simultaneously Transmitting And Reflecting Reconfigurable Intelligent Surface, STAR-RIS) is proposed in the literature. At the same time, three practical STAR-RIS protocols are proposed, namely Energy Splitting (ES), Mode Switching (MS) and Time Switching (TS).
[0005] However, the current solution still has great deficiencies in terms of user information protection, especially in terms of the confidentiality of secondary user SU information. Summary of the invention
[0006] In view of this, the object of the present invention is to provide a secure beamforming method for a CR-SWIPT system based on STAR-RIS. Firstly, considering the maximum transmit power constraint of cognitive base station, the minimum collected energy constraint of secondary user, the maximum tolerable interference power constraint of primary user and the STAR-RIS phase shift constraint, a joint optimization problem of SU power allocation coefficient, cognitive base station (CBS) transmit beamforming vector and STAR-RIS phase shift matrix is established with the goal of maximizing the worst confidentiality rate of SU. It is transformed into a convex problem by variable substitution and continuous convex approximation algorithm, and the coupling variables are solved by semidefinite relaxation algorithm, Lagrange multiplier method and alternating optimization.
[0007] In order to achieve the above object, the present invention provides the following technical solutions:
[0008] A secure beamforming method for a CR-SWIPT system based on STAR-RIS, the method comprising the following steps:
[0009] S1. Establish a scenario transmission model of the CR-SWIPT system assisted by STAR-RIS;
[0010] S2. Based on the constraints, a joint optimization problem of SU power allocation coefficient, CBS transmit beamforming vector and STAR-RIS phase shift matrix is established with the goal of maximizing the SU worst confidentiality rate;
[0011] S3, decomposing the joint optimization problem into the sub-problem of optimizing the power allocation coefficient, and using SCA to transform the sub-problem into a convex optimization problem for solution;
[0012] S4. Combining the solution of the power allocation coefficient optimization subproblem, the joint optimization problem is transformed into a beamforming vector subproblem, the subproblem is transformed into a convex optimization problem through SCA, and the problem is solved through the SDR algorithm and Gaussian randomization.
[0013] S5. Combining the solutions of the power allocation coefficient optimization subproblem and the beamforming vector subproblem, the joint optimization problem is transformed into the phase shift matrix optimization subproblem, and SCA is used to transform the subproblem into a convex optimization problem for solution.
[0014] Further, in step S1, the established STAR-RIS-assisted CR-SWIPT system scenario transmission model includes several secondary users SU, primary user PU and eavesdropper (Eve) located in the transmission area and reflection area on both sides of STAR-RIS respectively; SU, PU and Eve all use single antennas, and the number of CBS antennas and the number of STAR-RIS reflection elements are N and M respectively; it is assumed that the direct communication link from CBS to PU, SU and Eve is blocked by obstacles, and the signals reflected twice or more by STAR-RIS are ignored;
[0015] STAR-RIS uses the ES protocol, so the phase shift matrix is expressed as:
[0016]
[0017] in denote the amplitude and phase shift of the mth element respectively, denote the reflection area and the transmission area respectively;
[0018] The channel gains from CBS to STAR-RIS, STAR-RIS to SU, STAR-RIS to PU, and STAR-RIS to Eve are
[0019] Assume that CBS obtains complete CSI in the system and all channels are quasi-static flat fading channels.
[0020] Further, in step S2, the secondary user security and rate maximization problem of jointly optimizing the CBS transmit beamforming vector and the STAR-RIS phase shift matrix is expressed as a joint optimization problem P0:
[0021] P0:
[0022]
[0023] st C1:||ω1|| 2 +||ω2|| 2 ≤P max
[0024]
[0025]
[0026] C4:0<ρ<1
[0027]
[0028]
[0029] Where ω1, ω2 represent the cognitive base station beamforming matrix, Θ p represents the phase shift matrix of STAR, R sec Indicates the safe rate used by secondary users, represents the secondary user energy harvesting power, represents the interference power of the primary user to the secondary user, ρ represents the power allocation ratio of the secondary user; where C1 is the maximum transmission power constraint that the noise and useful signal power emitted by the CBS must meet, P max represents the maximum transmit power of CBS; C2 is the minimum energy collection constraint of SU, E min represents the minimum energy collected by SU; C3 is the maximum tolerable interference power constraint of PU, Γ max represents the maximum interference power that the PU can tolerate; C4 is the SU power allocation coefficient constraint; C5 and C6 are STAR-RIS phase shift constraints.
[0030] Further, in step S2, the process of establishing the joint optimization problem P0 is as follows:
[0031] CBS sends AN and user data together. The CBS sending signal is expressed as:
[0032] x=ω1s+ω2a
[0033] in and represents the CBS transmit beamforming vector, ||ω1|| 2 +||ω2|| 2 ≤P max , P max is the maximum transmission power of CBS; Represents the data symbol sent to SU, Indicates AN
[0034] Then the signals received by SU, PU and Eve are expressed as:
[0035]
[0036]
[0037]
[0038] in and They represent the equivalent channel gains between CBS to SU, CBS to PU and CBS to Eve respectively, and denote the additive white Gaussian noise at SU, PU, and Eve respectively;
[0039] The PS architecture is adopted at the SU. When the SU receives the signal, it uses a power divider to distribute the signal to the information decoding ID and the energy harvesting EH according to different proportions. Assume that the PS coefficients for the ID and EH are and Then the signals used by SU for ID and EH are expressed as:
[0040]
[0041]
[0042] in is the noise generated during the PS process;
[0043] Then the signal-to-noise ratio (SNR) of SU and Eve are expressed as:
[0044]
[0045]
[0046] Then the transmission rate of SU and the eavesdropping rate of Eve are expressed as:
[0047]
[0048]
[0049] Then the worst confidentiality rate of SU is defined as:
[0050]
[0051] Where [x] + =max(x,0);
[0052] Let η represent the receiving efficiency of EH, then the energy collected by SU through PS is expressed as:
[0053]
[0054] The power of the interference signal applied to the PU meets the following threshold requirements:
[0055]
[0056] Based on the above content, the secondary user security and rate maximization problem P0 of jointly optimizing the CBS transmit beamforming vector and the STAR-RIS phase shift matrix is constructed.
[0057] Further, in step S3, decomposing the joint optimization problem P0 into the power allocation coefficient sub-problem P1 includes the following process:
[0058] Fixed ω1, ω2 and θp ,definition Then the SNR of SU and Eve are expressed as:
[0059]
[0060]
[0061] make and =rank(W1)=rank(W2)=1;
[0062] Re-order Then the joint optimization problem P0 is rewritten as the power allocation coefficient sub-problem P1:
[0063] P1:
[0064]
[0065] st C1:0<ρ<1
[0066]
[0067] The power allocation coefficient subproblem P1 is a semidefinite programming problem, so the objective function in the power allocation coefficient subproblem P1 is transformed to obtain problem P2:
[0068] P2:
[0069]
[0070] st C1:0<ρ<1
[0071]
[0072] The objective function in the transformed problem P2 is non-convex and cannot be solved directly.
[0073] Further, in step S3, solving the deformed power allocation coefficient sub-problem P2 includes the following process:
[0074] shilling Its first-order Taylor expansion at point ρ0 is:
[0075]
[0076] Substitute f(ρ) into the deformed problem P2 and ignore its high-order infinitesimal terms to obtain the deformed problem P3:
[0077] P3:
[0078]
[0079] st C1:0<ρ<1
[0080]
[0081] ρ (k) is the value of ρ at the kth iteration. (k) Given , problem P3 is a convex problem about ρ, which is solved using the convex optimization tool CVX;
[0082] Use KKT conditions to find the optimal solution ρ of P3 * , firstly, the Lagrangian function of problem P3 is expressed as:
[0083]
[0084] Where λ is the Lagrange multiplier, the KKT condition is expressed as:
[0085]
[0086] In order to obtain a closed-form solution for ρ, the following solutions are discussed:
[0087] 1) When λ=0 and When , ρ has no solution;
[0088] 2) When λ=0 and When , the optimal solution of ρ is:
[0089]
[0090] 3) When λ≠0 and When , the optimal solution of ρ is:
[0091]
[0092] Then the optimal solution of ρ in the problem P3 after the transformation of the power allocation coefficient subproblem P1 is ρ * =max{ρ1,ρ2}.
[0093] Further, in step S4, the joint optimization problem P0 is transformed into the beamforming vector sub-problem P4 in combination with the solution of the sub-problem of optimizing the power allocation coefficient, including the following process:
[0094] Fix the STAR-RIS phase shift matrix and use the ρ obtained in step S3 * Substitute it into the joint optimization problem P0, and then use SDR to relax the rank-one constraints of W1 and W2 to obtain the beamforming vector subproblem P4:
[0095] P4:
[0096]
[0097]
[0098]
[0099] C3:Tr(W1+W2)≤P max
[0100]
[0101] The objective function in the beamforming vector subproblem P4 is non-convex and cannot be solved directly.
[0102] Further, in step S4, the beamforming vector sub-problem P4 is solved as follows:
[0103] Introducing the slack variable t, we get the deformation problem P5:
[0104] P5:
[0105]
[0106] stC1:Tr(W1+W2)≤P max
[0107]
[0108]
[0109]
[0110]
[0111] Problem P5 is a convex difference type problem and is solved iteratively using SCA:
[0112] First, Rewritten as:
[0113]
[0114] where s p (W1,W2) and s p (W2) are:
[0115]
[0116]
[0117] In the i-th iteration, s is obtained by first-order Taylor expansion p (W2) at a local point The upper bound of :
[0118]
[0119] in:
[0120]
[0121] Will Rewritten as:
[0122]
[0123] where r p (W1,W2) and r p (W2) are:
[0124]
[0125]
[0126] In the i-th iteration, r is obtained by first-order Taylor expansion p (W1,W2) at a local point The upper bound of :
[0127]
[0128] in:
[0129]
[0130] At a given point In the case of , the optimal beamforming vector subproblem P5 is solved by SCA and expressed as P6:
[0131] P6:
[0132]
[0133]
[0134]
[0135] C3:Tr(W1+W2)≤P max
[0136]
[0137]
[0138] In summary, the optimization beamforming vector subproblem P4 has been transformed into a convex optimization problem P6, which is solved using the convex optimization tool CVX.
[0139] when When , Gaussian randomization is used to construct an approximate solution of rank one:
[0140] First, W * The eigenvalue decomposition of W * =UΣU H , where U = [e1,e2,…e M+1 ] is a unitary matrix, Σ=diag{λ1,λ2,...,λ M+1} is a diagonal matrix with eigenvalues arranged from large to small;
[0141] Then the approximate solution ω * Constructed as ω * =UΣ 1 / 2 κ, where is a Gaussian random variable with zero mean and unit variance, then Expressed as Where [X] (1:M) Represents the first M elements of vector X;
[0142] Will Substituting into p1(V p ) is verified in the formula of , if the conditions are met, it is a feasible solution.
[0143] Further, in step S5, the process of transforming the joint optimization problem P0 into the phase shift matrix optimization subproblem P7 by combining the solutions of the power allocation coefficient optimization subproblem P1 and the beamforming vector subproblem P4 includes:
[0144] By replacing variables, the optimization problem is transformed into a form that is easy to calculate. * , and Bring in the joint optimization problem P0 and define the following matrix:
[0145]
[0146]
[0147]
[0148]
[0149]
[0150] in Satisfy rank(V p )=1,
[0151] Then the joint optimization problem P0 is reformulated as the optimization phase shift matrix subproblem P7:
[0152] P7:
[0153]
[0154]
[0155]
[0156]
[0157]
[0158]
[0159] The subproblem P7 of optimizing the phase shift matrix cannot be solved directly.
[0160] Further, in step S5, the solution process of optimizing the phase shift matrix subproblem P7 is as follows:
[0161] Set the SU transmission rate Rewritten as:
[0162]
[0163] Where p1(V p ) and p2(V p ) are:
[0164]
[0165]
[0166] In the i-th iteration, p2(V p ) at a local point The upper bound of :
[0167]
[0168] in:
[0169]
[0170] Will Rewritten as follows:
[0171]
[0172] Where q1(V p ) and q2(V p ) are:
[0173]
[0174]
[0175] In the i-th iteration, q1(V p ) at a local point The upper bound of :
[0176]
[0177] in:
[0178]
[0179] Then in the i-th iteration, the given point The subproblem of optimizing the phase shift matrix is solved by SCA and expressed as P8:
[0180] P8:
[0181]
[0182]
[0183]
[0184]
[0185]
[0186]
[0187]
[0188] Where τ is the introduced slack variable;
[0189] rank(V p )=1 is equivalent to ||V p || * -||V p ||2=0, apply SCA algorithm to solve, and first-order Taylor expansion to get ||V p ||2 Lower bound:
[0190]
[0191] where μ max (·) is the eigenvector corresponding to the largest eigenvalue;
[0192] The rank-one constraint is replaced by a penalty function, and the penalty factor β>0, then the phase shift optimization subproblem P8 is expressed as P9:
[0193] P9:
[0194]
[0195]
[0196]
[0197]
[0198]
[0199]
[0200] In summary, the subproblem P7 of optimizing the phase shift matrix has become a convex optimization problem P9, which is then solved with the help of the convex optimization tool CVX.
[0201] The beneficial effects of the present invention are:
[0202] Compared with other schemes, the joint optimization algorithm proposed in the present invention can make the STAR-RIS assisted CR-SWIPT system have a higher SU confidentiality rate, and the introduction of artificial noise can further improve the security performance of the system.
[0203] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0204] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:
[0205] Figure 1 It is a flow chart of the secure beamforming method of the CR-SWIPT system based on STAR-RIS of the present invention;
[0206] Figure 2 Schematic diagram of a STAR-RIS-assisted CR-SWIPT system model according to an embodiment of the present invention;
[0207] Figure 3 A schematic diagram of a system model used in a simulation experiment according to an embodiment of the present invention;
[0208] Figure 4 is a convergence diagram of a security beamforming method according to an embodiment of the present invention;
[0209] Figure 5 This is a comparison diagram of maximum transmission power under an embodiment of the security beamforming method of the present invention;
[0210] Figure 6This is a comparison diagram of energy collection thresholds under an embodiment of the security beamforming method of the present invention;
[0211] Figure 7 This is a comparison diagram of interference power thresholds under an embodiment of the security beamforming method of the present invention. DETAILED DESCRIPTION
[0212] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.
[0213] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.
[0214] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "front", "rear", etc. indicate the orientation or position relationship, they are based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as limiting the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0215] See also Figure 1 to Figure 7 , which is a secure beamforming method for CR-SWIPT system based on STAR-RIS.
[0216] The present invention proposes a STAR-RIS-assisted CR-SWIPT system security beamforming method, such as Figure 1 As shown, the method comprises the following steps:
[0217] S1. Establish a scenario transmission model of the CR-SWIPT system assisted by STAR-RIS;
[0218] S2. Considering the maximum transmit power constraint of cognitive base station, the minimum collected energy constraint of secondary user, the maximum tolerable interference power constraint of primary user and the STAR-RIS phase shift constraint, a joint optimization problem of SU power allocation coefficient, CBS transmit beamforming vector and STAR-RIS phase shift matrix is established with the goal of maximizing the worst confidentiality rate of SU.
[0219] S3, decomposing the joint optimization problem into the sub-problem of optimizing the power allocation coefficient, and using SCA to transform the sub-problem into a convex optimization problem for solution;
[0220] S4. Combining the solution of the power allocation coefficient optimization subproblem, the joint optimization problem is transformed into a beamforming vector subproblem, the subproblem is transformed into a convex optimization problem through SCA, and the problem is solved through the SDR algorithm and Gaussian randomization.
[0221] S5. Combining the solutions of the power allocation coefficient optimization subproblem and the beamforming vector subproblem, the joint optimization problem is transformed into the phase shift matrix optimization subproblem, and SCA is used to transform the subproblem into a convex optimization problem for solution.
[0222] Example
[0223] In step S1, if Figure 2 As shown in the figure, the established STAR-RIS-assisted CR-SWIPT system scenario transmission model includes two SUs, two PUs and two Eves, which are located in the transmission area and reflection area on both sides of STAR-RIS respectively. SU, PU and Eve all use single antennas, and the number of CBS antennas and the number of STAR-RIS reflection elements are N and M respectively. It is assumed that the direct communication link from CBS to PU, SU and Eve is blocked by obstacles, and due to the large path loss, the signals reflected twice or more by STAR-RIS are ignored.
[0224] In this embodiment, the STAR-RIS of the STAR-RIS-assisted CR-SWIPT system scenario transmission model established adopts the ES protocol, so the phase shift matrix can be expressed as in denote the amplitude and phase shift of the mth element respectively, In order to facilitate explanation and analysis, this embodiment assumes that STAR-RIS works in an ideal state with no energy loss. However, the analysis method is also applicable to the case where there is energy loss, that is, The channel gains from CBS to STAR-RIS, STAR-RIS to SU, STAR-RIS to PU, and STAR-RIS to Eve are and In addition, it is assumed that the CBS can obtain complete CSI in the system and all channels are quasi-static flat fading channels.
[0225] In step S2, to prevent the transmitted user information from being decoded by Eve, CBS sends AN together with the user data. Therefore, the signal sent by CBS can be expressed as:
[0226] x=ω1s+ω2a(1)
[0227] in and represents the CBS transmit beamforming vector, assuming that the maximum CBS transmit power is P max , then ||ω1|| 2 +||ω2|| 2 ≤P max ; Represents the data symbol sent to SU, represents AN. Then the signals received by SU, PU and Eve can be expressed as:
[0228]
[0229]
[0230]
[0231] in and They represent the equivalent channel gains between CBS to SU, CBS to PU and CBS to Eve respectively, and Represent the additive white Gaussian noise at SU, PU, and Eve respectively.
[0232] The PS architecture is adopted at the SU. When the SU receives the signal, a power divider is used to distribute the signal to information decoding (ID) and energy harvesting (EH) in different proportions to achieve energy collection and information transmission at the same time.
[0233] Assume that the PS coefficients for ID and EH are and Then the signals used by SU for ID and EH can be expressed as:
[0234]
[0235]
[0236] in is the noise generated during the PS process.
[0237] Then the signal-noise ratio (SNR) of SU and Eve can be expressed as:
[0238]
[0239]
[0240] Then the transmission rate of SU and the eavesdropping rate of Eve can be expressed as:
[0241]
[0242]
[0243] Therefore, the worst confidentiality ratio of SU can be defined as:
[0244]
[0245] Where [x] + =max(x,0).
[0246] In addition, η represents the receiving efficiency of EH. For the convenience of comparative analysis, it is set to 0.7 in this embodiment. Then the energy collected by SU through PS can be expressed as:
[0247]
[0248] In the CR system, PU has higher spectrum usage rights than SU. To ensure the PU service quality, the interference signal power applied to PU should be lower than the threshold:
[0249]
[0250] The secondary user security and rate maximization problem of jointly optimizing the CBS transmit beamforming vector and the STAR-RIS phase shift matrix is formulated as a joint optimization problem P0:
[0251]
[0252] Where ω1, ω2 represent the cognitive base station beamforming matrix, Θ p represents the phase shift matrix of STAR, R sec Indicates the safe rate used by secondary users, represents the secondary user energy harvesting power, represents the interference power of the primary user to the secondary user, ρ represents the power allocation ratio of the secondary user; where C1 is the maximum transmission power constraint that the noise and useful signal power emitted by the CBS must meet, P maxrepresents the maximum transmit power of CBS; C2 is the minimum energy collection constraint of SU, E min represents the minimum energy collected by SU; C3 is the maximum tolerable interference power constraint of PU, Γ max represents the maximum interference power that the PU can tolerate; C4 is the SU power allocation coefficient constraint; C5 and C6 are STAR-RIS phase shift constraints.
[0253] In step S3, the present embodiment provides the following process for optimizing the power allocation coefficient: First, ω1, ω2 and θ are fixed. p , then define Then the SNR of SU and Eve can be expressed as:
[0254]
[0255]
[0256] For the convenience of calculation, let Must meet And rank(W1)=rank(W2)=1. Then let Then the joint optimization problem P0 can be written as the semidefinite programming problem P1:
[0257]
[0258] Transforming the objective function in the semidefinite programming problem P1 yields P2:
[0259] P2:
[0260]
[0261] st C1:0<ρ<1
[0262]
[0263] Since the objective function in the transformed problem P2 is non-convex, it cannot be solved directly. The upper bound is obtained by performing a first-order Taylor expansion on the second term of the objective function, and then the SCA iteration is used to solve it. The third and fourth terms do not contain the optimization variable ρ and can be omitted.
[0264] shilling Its first-order Taylor expansion at point ρ0 can be written as:
[0265]
[0266] Substituting f(ρ) into the transformed problem P2 and ignoring its higher-order infinitesimal terms, we can obtain P3:
[0267]
[0268] ρ (k) is the value of ρ at the kth iteration. (k) Given , problem P3 is a convex problem about ρ and can be solved using the convex optimization tool CVX.
[0269] To obtain its closed-form solution, the KKT condition can be used to find its optimal solution ρ * . First, the Lagrangian function of problem P3 can be expressed as:
[0270]
[0271] Where λ is the Lagrange multiplier. Then the KKT condition can be expressed as:
[0272]
[0273] In order to obtain a closed-form solution for ρ, we need to discuss the following solutions:
[0274] 1) When λ=0 and When , ρ has no solution.
[0275] 2) When λ=0 and When , the optimal solution of ρ can be obtained as:
[0276]
[0277] 3) When λ≠0 and When , the optimal solution of ρ can be obtained as:
[0278]
[0279] In summary, the optimal solution of ρ is ρ * =max{ρ1,ρ2}.
[0280] In step S4, the present embodiment provides a process for optimizing the beamforming vector as follows: fix the STAR-RIS phase shift matrix, and transform the ρ obtained in step S3 into * Substitute it into the original joint optimization problem P0, and then use SDR to relax the rank-one constraints of W1 and W2 to obtain the beamforming vector subproblem P4:
[0281]
[0282] Since the objective function in the beamforming vector subproblem P4 is non-convex and cannot be solved, the introduction of the slack variable t can obtain the deformation problem P5:
[0283]
[0284] Problem P5 is a convexity type problem and can be solved using SCA iteration.
[0285] First, Rewritten as:
[0286]
[0287] where s p (W1,W2) and s p (W2) are:
[0288]
[0289]
[0290] Therefore, in the i-th iteration, s is obtained by first-order Taylor expansion p (W2) at a local point The upper bound of :
[0291]
[0292] in
[0293]
[0294] Similarly, Rewritten as:
[0295]
[0296] where r p (W1,W2) and r p (W2) are:
[0297]
[0298]
[0299] In the i-th iteration, r is obtained by first-order Taylor expansion p (W1,W2) at a local point The upper bound of :
[0300]
[0301] in
[0302]
[0303] Therefore, at a given point In the case of , the subproblem of optimizing the beamforming vector can be solved by SCA and expressed as P6:
[0304]
[0305] In summary, the optimization beamforming vector subproblem P4 has been transformed into a convex optimization problem P6, which can be solved using the convex optimization tool CVX. Since the SDR algorithm is used to relax the rank-one constraint, the rank of the solution cannot be guaranteed to be one. When , Gaussian randomization is used to construct an approximate solution with rank one. First, W * The eigenvalue decomposition of W * =UΣU H , where U = [e1,e2,…e M+1 ] is a unitary matrix, Σ=diag{λ1,λ2,...,λ M+1} is a diagonal matrix with eigenvalues arranged from large to small. Then the approximate solution ω * Constructed as ω * =UΣ 1 / 2 κ, where is a Gaussian random variable with zero mean and unit variance. Then It can be expressed as Where [X] (1:M) Represents the first M elements of vector X. Substitute it into equation (40) to verify that if the conditions are met, it is a feasible solution.
[0306] In step S5, the present embodiment provides the following process for optimizing the phase shift matrix: by replacing variables, the optimization problem is transformed into a form that is easy to calculate, and the above-obtained ρ * , and Bring in the original problem and define the following matrix: in Satisfy rank(V p )=1,
[0307] Then the joint optimization problem P0 can be reformulated as the optimization phase shift matrix subproblem P7:
[0308]
[0309] In order to facilitate calculation, this embodiment uses the SU transmission rate Rewritten as:
[0310]
[0311] Where p1(V p ) and p2(V p ) are:
[0312]
[0313]
[0314] Therefore, in the i-th iteration, p2(V p ) at a local point The upper bound of :
[0315]
[0316] in
[0317]
[0318] Similarly, Rewritten as follows:
[0319]
[0320] Where q1(V p ) and q2(V p ) are:
[0321]
[0322]
[0323] In the i-th iteration, q1(V p ) at a local point The upper bound of :
[0324]
[0325] in
[0326]
[0327] Thus, in the i-th iteration, given point The subproblem of optimizing the phase shift matrix can be solved by SCA and expressed as P8:
[0328]
[0329] where τ is the introduced slack variable.
[0330] In addition, rank(V p )=1 is equivalent to ||V p || * -||V p ||2=0. Apply the SCA algorithm to solve, and the first-order Taylor expansion gives ||V p ||2 Lower bound:
[0331]
[0332] where μ max (·) is the eigenvector corresponding to the maximum eigenvalue. The rank-one constraint is replaced by a penalty function, and the penalty factor β>0. Then the phase shift optimization subproblem can be expressed as P9:
[0333]
[0334] In summary, the subproblem P7 of optimizing the phase shift matrix has become a convex optimization problem P9, which can be solved with the help of the convex optimization tool CVX.
[0335] Example 2
[0336] This embodiment describes the application conditions and effects of the present invention in detail in combination with simulation.
[0337] (1) Simulation conditions
[0338] The simulation settings are as follows Figure 3 In addition, the path loss model from CBS to STAR-RIS is modeled as a Rician fading channel:
[0339]
[0340] in, represents the line-of-sight component from CBS to STAR-RIS, represents the non-line-of-sight component, κ BR is the Rice factor. BR represents the path loss index, d represents the distance from CBS to STAR-RIS, and C0 represents the path loss when the reference distance is 1m. The same is true for the other channels.
[0341] Unless otherwise specified, the simulation parameters are shown in Table 1.
[0342] Table 1
[0343]
[0344] (2) Simulation results
[0345] In this embodiment, Figure 3 is the convergence diagram of the method of the present invention, Figure 4 This is the maximum transmission power comparison chart. Figure 5 This is a comparison chart of energy harvesting thresholds. Figure 6 This is a comparison chart of interference power thresholds.
[0346] Figure 4The convergence performance of the method of the present invention is demonstrated. As the number of iterations increases, the SU confidentiality rate can quickly reach convergence. When N or M increases, the convergence speed slows down slightly. In addition, when other parameters remain unchanged, as the number of CBS antennas N increases, the SU confidentiality rate increases accordingly. This is because increasing N can have a higher active beamforming gain, thereby improving confidentiality performance. Similarly, increasing the number of STAR-RIS elements M can better improve the channel quality, and the confidentiality performance of the system will also be improved.
[0347] Figure 5 Shows the SU confidentiality rate and CBS maximum transmission power P max From the figure, we can see that as P max The SU confidentiality rate of all schemes shows an upward trend. However, the method proposed in this invention shows superiority over other comparison algorithms in improving the SU confidentiality rate. When the SU energy collection threshold is reached, increase P max More power can be allocated to ensure the secure transmission of SU, thereby further improving the confidentiality rate of SU. The comparison results with the C-RIS solution highlight the significant improvement of STAR-RIS on the confidentiality performance of the system. This improvement is due to the fact that STAR-RIS can flexibly adjust the amplitude and phase of the reflection and transmission elements, which provides the system with more degrees of freedom to enhance the strength of the required signal compared to C-RIS. In addition, the introduction of AN not only effectively improves the signal-to-noise ratio on the user side, but also specifically reduces the signal-to-noise ratio on the eavesdropper side, thereby further improving the confidentiality rate of SU.
[0348] Figure 6 The SU confidentiality rate and SU energy harvesting threshold E are shown. min It can be seen that as E min As E increases, the SU confidentiality rate decreases. This is because when E min When the energy received by SU increases, more energy needs to be allocated to meet the requirements of energy collection, thereby reducing the energy used for information transmission, which ultimately leads to a decrease in the confidentiality rate of SU. It can be concluded that although the application of PS architecture at the user can achieve energy collection and information transmission at the same time, it is necessary to reasonably consider the energy collection threshold to ensure sufficient security of information transmission.
[0349] Figure 7 The relationship between SU confidentiality rate and PU maximum tolerable interference power is shown. As the PU interference constraint is relaxed, that is, when Γ max As Γ increases, the SU confidentiality rate of all schemes shows an upward trend. It can be clearly seen from the figure that the method proposed by the present invention can continue to outperform the comparison algorithm. max When it increases to a certain value, continue to increase Γ max It will not significantly improve the SU confidentiality rate. This is because at this time Γmax is large enough and is no longer the main constraint on the SU confidentiality rate. max This finding provides useful guidance for reasonably setting the maximum tolerable interference power of PU and the maximum transmit power of CBS in practical applications.
[0350] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.
Claims
1. A secure beamforming method for a CR-SWIPT system based on STAR-RIS, characterized in that: The method comprises the following steps: S1. Establish a scenario transmission model of the CR-SWIPT system assisted by STAR-RIS; S2. Based on the constraints, a joint optimization problem of SU power allocation coefficient, CBS transmit beamforming vector and STAR-RIS phase shift matrix is established with the goal of maximizing the SU worst confidentiality rate; S3, decomposing the joint optimization problem into the sub-problem of optimizing the power allocation coefficient, and using SCA to transform the sub-problem into a convex optimization problem for solution; S4. Combining the solution of the power allocation coefficient optimization subproblem, the joint optimization problem is transformed into a beamforming vector subproblem, the subproblem is transformed into a convex optimization problem through SCA, and the problem is solved through the SDR algorithm and Gaussian randomization. S5. Combining the solutions of the power allocation coefficient optimization subproblem and the beamforming vector subproblem, the joint optimization problem is transformed into the phase shift matrix optimization subproblem, and SCA is used to transform the subproblem into a convex optimization problem for solution.
2. The CR-SWIPT system security beamforming method based on STAR-RIS according to claim 1, characterized in that: In step S1, the established STAR-RIS-assisted CR-SWIPT system scenario transmission model includes several secondary users SU, primary user PU and eavesdropping user Eve, which are located in the transmission area and reflection area on both sides of STAR-RIS respectively; SU, PU and Eve all use single antennas, and the number of CBS antennas and the number of STAR-RIS reflection elements are N and M respectively; it is assumed that the direct communication link from CBS to PU, SU and Eve is blocked by obstacles, and the signals reflected twice or more by STAR-RIS are ignored; STAR-RIS uses the ES protocol, so the phase shift matrix is expressed as: in denote the amplitude and phase shift of the mth element respectively, denote the reflection area and the transmission area respectively; The channel gains from CBS to STAR-RIS, STAR-RIS to SU, STAR-RIS to PU, and STAR-RIS to Eve are and Assume that CBS obtains complete CSI in the system and all channels are quasi-static flat fading channels.
3. The CR-SWIPT system security beamforming method based on STAR-RIS according to claim 2, characterized in that: In step S2, the secondary user security and rate maximization problem of jointly optimizing the CBS transmit beamforming vector and the STAR-RIS phase shift matrix is expressed as a joint optimization problem P0: P0: s.t.C1:||ω1|| 2 +||ω2|| 2 ≤P max C4:0<ρ<1 Where ω1, ω2 represent the cognitive base station beamforming matrix, Θ p represents the phase shift matrix of STAR, R sec Indicates the safe rate used by secondary users, represents the secondary user energy harvesting power, represents the interference power of the primary user to the secondary user, ρ represents the power allocation ratio of the secondary user; where C1 is the maximum transmission power constraint that the noise and useful signal power emitted by the CBS must meet, P max represents the maximum transmit power of CBS; C2 is the minimum energy collection constraint of SU, E min represents the minimum energy collected by SU; C3 is the maximum tolerable interference power constraint of PU, Γ max represents the maximum interference power that the PU can tolerate; C4 is the SU power allocation coefficient constraint; C5 and C6 are STAR-RIS phase shift constraints.
4. The CR-SWIPT system security beamforming method based on STAR-RIS according to claim 3, characterized in that: In step S2, the process of establishing the joint optimization problem P0 is as follows: CBS sends AN and user data together. The CBS sending signal is expressed as: x=ω1s+ω2a in and represents the CBS transmit beamforming vector, ||ω1|| 2 +||ω2|| 2 ≤P max , P max is the maximum transmission power of CBS; Represents the data symbol sent to SU, Indicates AN Then the signals received by SU, PU and Eve are expressed as: in and They represent the equivalent channel gains between CBS to SU, CBS to PU and CBS to Eve respectively, and denote the additive white Gaussian noise at SU, PU, and Eve respectively; The PS architecture is adopted at the SU. When the SU receives the signal, it uses a power divider to distribute the signal to the information decoding ID and the energy harvesting EH according to different proportions. Assume that the PS coefficients for the ID and EH are and Then the signals used by SU for ID and EH are expressed as: in is the noise generated during the PS process; Then the signal-to-noise ratio (SNR) of SU and Eve are expressed as: Then the transmission rate of SU and the eavesdropping rate of Eve are expressed as: Then the worst confidentiality rate of SU is defined as: Where [x] + =max(x,0); Let η represent the receiving efficiency of EH, then the energy collected by SU through PS is expressed as: The power of the interference signal applied to the PU meets the following threshold requirements: Based on the above content, the secondary user security and rate maximization problem P0 of jointly optimizing the CBS transmit beamforming vector and the STAR-RIS phase shift matrix is constructed.
5. The CR-SWIPT system security beamforming method based on STAR-RIS according to claim 3, characterized in that: In step S3, decomposing the joint optimization problem P0 into the power allocation coefficient sub-problem P1 includes the following process: Fixed ω1, ω2 and θ p ,definition Then the SNR of SU and Eve are expressed as: make and =rank(W1)=rank(W2)=1; Re-order Then the joint optimization problem P0 is rewritten as the power allocation coefficient sub-problem P1: P1: stC1:0<ρ<1 The power allocation coefficient subproblem P1 is a semidefinite programming problem, so the objective function in the power allocation coefficient subproblem P1 is transformed to obtain problem P2: P2: stC1:0<ρ<1 The objective function in the transformed problem P2 is non-convex and cannot be solved directly.
6. The secure beamforming method for a CR-SWIPT system based on STAR-RIS according to claim 5, characterized in that: In step S3, the transformed power allocation coefficient subproblem P2 is solved The process includes: shilling Its first-order Taylor expansion at point ρ0 is: Substitute f(ρ) into the deformed problem P2 and ignore its high-order infinitesimal terms to obtain the deformed problem P3: P3: stC1:0<ρ<1 ρ (k) is the value of ρ at the kth iteration. (k) Given , problem P3 is a convex problem about ρ, which is solved using the convex optimization tool CVX; Use KKT conditions to find the optimal solution ρ of P3 * , firstly, the Lagrangian function of problem P3 is expressed as: Where λ is the Lagrange multiplier, the KKT condition is expressed as: In order to obtain a closed-form solution for ρ, the following solutions are discussed: 1) When λ=0 and When , ρ has no solution; 2) When λ=0 and When , the optimal solution of ρ is: 3) When λ≠0 and When , the optimal solution of ρ is: Then the optimal solution of ρ in the problem P3 after the transformation of the power allocation coefficient subproblem P1 is ρ * =max{ρ1,ρ2}.
7. The secure beamforming method for a CR-SWIPT system based on STAR-RIS according to claim 6, characterized in that: In step S4, the solution of the subproblem of optimizing the power allocation coefficient is combined to transform the joint optimization problem P0 into the beamforming vector subproblem P4, which includes the following process: Fix the STAR-RIS phase shift matrix and convert the ρ obtained in step S3 into * Substitute it into the joint optimization problem P0, and then use SDR to relax the rank-one constraints of W1 and W2 to obtain the beamforming vector subproblem P4: P4: C3:Tr(W1+W2)≤P max The objective function in the beamforming vector subproblem P4 is non-convex and cannot be solved directly.
8. The CR-SWIPT system security beamforming method based on STAR-RIS according to claim 7, characterized in that: In step S4, the beamforming vector subproblem P4 is solved as follows: Introducing the slack variable t, we get the deformation problem P5: P5: s.t.C1:Tr(W1+W2)≤P max Problem P5 is a convexity type problem and is solved iteratively using SCA: First, Rewritten as: where s p (W1,W2) and s p (W2) are: In the i-th iteration, s is obtained by first-order Taylor expansion p (W2) at a local point The upper bound of : in: Will Rewritten as: where r p (W1,W2) and r p (W2) are: In the i-th iteration, r is obtained by first-order Taylor expansion p (W1,W2) at a local point The upper bound of : in: At a given point In the case of , the optimal beamforming vector subproblem P5 is solved by SCA and expressed as P6: P6: C3:Tr(W1+W2)≤P max In summary, the optimization beamforming vector subproblem P4 has been transformed into a convex optimization problem P6, which is solved using the convex optimization tool CVX. when When , Gaussian randomization is used to construct an approximate solution of rank one: First, W * The eigenvalue decomposition of W * =UΣU H , where U = [e1,e2,…e M+1 ] is a unitary matrix, Σ=diag{λ1,λ2,...,λ M+1 } is a diagonal matrix with eigenvalues arranged from large to small; Then the approximate solution ω * Constructed as ω * =UΣ 1 / 2 κ, where is a Gaussian random variable with zero mean and unit variance, then Expressed as Where [X] (1:M) Represents the first M elements of vector X; Will Substituting into p1(V p ) is verified in the formula of , and if the conditions are met, it is a feasible solution.
9. The CR-SWIPT system security beamforming method based on STAR-RIS according to claim 8, characterized in that: In step S5, the process of transforming the joint optimization problem P0 into the phase shift matrix optimization subproblem P7 by combining the solutions of the power allocation coefficient optimization subproblem P1 and the beamforming vector subproblem P4 includes: By replacing variables, the optimization problem is transformed into a form that is easy to calculate. * , and Bring in the joint optimization problem P0 and define the following matrix: in Satisfy rank(V p )=1, Then the joint optimization problem P0 is reformulated as the optimization phase shift matrix subproblem P7: P7: The subproblem P7 of optimizing the phase shift matrix cannot be solved directly.
10. The secure beamforming method for a CR-SWIPT system based on STAR-RIS according to claim 9, characterized in that: In step S5, the solution process of optimizing the phase shift matrix subproblem P7 is as follows: Set the SU transmission rate Rewritten as: Where p1(V p ) and p2(V p ) are: In the i-th iteration, p2(V p ) at a local point The upper bound of : in: Will Rewritten as follows: Where q1(V p ) and q2(V p ) are: In the i-th iteration, q1(V p ) at a local point The upper bound of : in: Then in the i-th iteration, the given point The subproblem of optimizing the phase shift matrix is solved by SCA and expressed as P8: P8: Where τ is the introduced slack variable; rank(V p )=1 is equivalent to ||V p || * -||V p ||2=0, apply SCA algorithm to solve, and first-order Taylor expansion to get ||V p ||2 Lower bound: where μ max (·) is the eigenvector corresponding to the largest eigenvalue; The rank-one constraint is replaced by a penalty function, and the penalty factor β>0, then the phase shift optimization subproblem P8 is expressed as P9: P9: In summary, the subproblem P7 of optimizing the phase shift matrix has become a convex optimization problem P9, which is then solved with the help of the convex optimization tool CVX.
Citation Information
Cited By
STAR-RIS network security performance prediction method under active eavesdropping
CN119854842A
