Abstract

This paper presents the application of intelligent reflecting surfaces (IRSs) in a cell-free massive MIMO network to enhance secure transmission in the system. Multiantenna access points (APs) need to transmit information to users safely and reliably via IRSs without fully knowing the channel state information (CSI) of a multiantenna eavesdropper (Eve) or the accurate beamforming information of a jammer. Specifically, through joint optimization of the AP active beamforming (ABF) and IRS passive beamforming (PBF), the information leaked to the Eve is limited by a set threshold, and restrictions on the IRS reflection phase are considered to maximize the weighted sum rate of the system’s downlink transmission. To solve this multivariate-coupled nonconvex problem, we propose a joint precoding framework under imperfect CSI, using the generalized S-procedure, fractional programming (FP), and multidimensional complex quadratic transformation (MCQT) to transform the original complex nonconvex problem into an easily solvable convex optimization problem, and an alternating algorithm to obtain the optimal solution for precoding and IRS phase shifting. Simulation results show that the proposed scheme can significantly increase the weighted sum rate of the system compared to conventional antijamming methods while revealing that the scheme is effective in enhancing secure system transmission.

1. Introduction

Massive multiple-input multiple-output (MIMO) communication has been an extremely active research area in the field of wireless communication in recent years. As a key technology for fifth-generation (5G) networking, massive MIMO is allocated more antennas than conditional MIMO. It can tap deeply into the available wireless resources in the spatial dimension and use this spatial diversity to serve user terminals via the same time-frequency resources. Then, massive MIMO achieves the advantages of high spectrum/power efficiency and strong anti-interference capabilities [13]. Cell-free massive MIMO reverses the situation by deployed many access points (APs) with several antennas. By multi-AP collaboration and an improved signal-to-noise ratio (SNR) with the coherent transmission, cell-free massive MIMO improves user quality fairness [4, 5].

Intelligent reflecting surfaces (IRSs) are also known as reconfigurable intelligent surfaces (RISs) [6] or software-controlled metasurfaces [7]. It has emerged as an important approach for 5 G/6 G wireless communication systems to achieve intelligence in wireless channel/propagation environments. In general, an IRS consists of an intelligent controller and a passive reflector array, usually in a linear or planar configuration. The intelligent controller is connected to a BS or AP and controls the adjustment of the reflector array in real time. A large number of subwavelength-structured low-cost elements form a passive reflector array, which can independently induce controlled changes in the amplitude and/or phase of the incident signal with very low energy consumption [8]. Under the control of the intelligent controller, the reflected signals are coherently superimposed in the desired direction to achieve beamforming [9]. Unlike in traditional MIMO relaying, an IRS is not equipped with signal sensing elements and does not have signal reception or processing capabilities. An IRS consumes very little energy and introduces no additional thermal noise during the passive reflection of the signal, which gives it significant energy and cost advantages over conventional repeaters [10].

The combination of cell-free massive MIMO and IRS technology to build reconfigurable wireless communication environments is emerging as a popular topic of research. Single-user communication in cell-free massive MIMO assisted by a single aerial IRS (AIRS) was studied in [11]; the authors of [12] considered a multiuser scenario and maximized the sum rate of all users; to obtain cooperative gains from multi-AP coherent transmission, the authors of [13] considered multiple-IRS-assisted single-user communication; and the use of multiple IRSs in multi-AP communication with multiple cell users was considered in [14] to assist in obtaining the maximum sum rate. In addition, scholars have investigated minimizing the transmission power in IRS-assisted massive MIMO communication scenarios [15], maximizing the energy efficiency [6], and maximizing the minimum SNR based on IRSs considering the fairness of user communication quality [16]. The authors of [17] studied the joint design of BS and IRS precoding frameworks in IRS-assisted cell-free massive MIMO to improve network capacity with low cost and low energy consumption of the IRSs.

1.1. Previous Works

Secure transmission has always been an integral part of wireless communication networks. The authors of [18] were the first to investigate the effect of a combined BS data precoding and artificial noise (AN) precoding strategy on the achievable secrecy rate of system communication in a collaborative/noncollaborative multicell massive MIMO scenario. The authors of [19] considered the performance of massive MIMO in resisting eavesdropping under impaired hardware and incomplete channel state information (CSI). However, research on the security of the physical layer in cell-free massive MIMO is still in its infancy. The authors of [20] investigated the security of multiantenna transmitters communicating with single-antenna receivers, jointly optimizing the beamforming of the transmitters and IRS phase shifting to maximize the secrecy of the system in a scenario with malicious eavesdropping by eavesdropper (Eve). Secure transmission in IRS-assisted MIMO was studied in [21]. Specifically, the authors introduced IRS into massive MIMO and designed AN to degrade the reception performance of an Eav, jointly designing the BS active precoding, AN interference, and IRS passive beamforming to improve the system secrecy despite transmission power constraints.

Furthermore, the authors of [22] considered secure communication in an IRS-assisted massive MIMO system. They assumed that the BS has access to incomplete CSI from third-party nodes and does not know the transmit beam formation of the jammer, and attempted to limit the information leakage to potential Eavs as much as possible. The aim is to maximize the system achievable rate by jointly designing the active precoding of the BS and the reflected phase shift of the IRS. The authors of [23] studied a secure transmission method in the presence of an active Eav in a cell-free massive MIMO system. They proposed a spatial-domain beamforming method based on channels with nonoverlapping arrival angles of the Eve and legitimate users to obtain the downlink transmission secrecy rate in a multipath channel model. The secrecy rate of cell-free MIMO in active attack scenarios based on the spatially correlated Rayleigh channel model was studied in [24]. The authors of [25] studied the secrecy rate of downlink transmission in an energy recovery scenario. The authors compared the secrecy of centralized massive MIMO and cell-free massive MIMO systems and proposed a power optimization scheme based on semidefinite relaxation planning based on derivations of the energy recovery and ergodic secrecy rate of an active Eve. The authors of [26] considered the secrecy rate problem for cell-free massive MIMO systems in the presence of pilot spoofing attacks, proposed a mechanism for detecting pilot spoofing attacks based on the minimum description length, and evaluated the secrecy performance of the system using the traversal secrecy rate. The authors of [27] proposed the use of an IRS to enhance the secrecy of a cell-free massive MIMO system in an experimental pilot spoofing attack scenario. By optimizing the transmit power coefficient of the AP and the IRS phase shift to design a secure and robust downlink transmission scheme. They minimized the information stolen by the Eve and ensured the quality of service for legitimate users. Moreover, [28] proposed the IRS can be utilized to suppress the information leakage towards malicious terminals. The authors jointly designed downlink beamformers and IRS phase shifts to improve the secrecy gain.

1.2. Contributions

The existing literature has considered only the presence of single-antenna jammer and single-antenna Eve in conventional massive MIMO. But there is still room for further research on secure transmission in cell-free massive MIMO scenarios, in which APs are deployed more extensively. Therefore, this paper considers the presence of a multiantenna jammer and a multiantenna Eve in a cell-free massive MIMO network. We construct a joint optimization framework to improve the weighted sum rate of the system, with the following main contributions.(i)The current literature considers only the antijamming and eavesdropping performance of traditional MIMO systems. In this paper, we consider the use of IRSs to antijamming and eavesdropping. First, a novel secure transmission framework for an IRS assisted cell-free MIMO system with a multiantenna jammer and an Eve is proposed.(ii)We jointly optimize the ABF and PBF to improve the sum rate. The central processing unit (CPU) is not fully aware of the CSI of the Eve or the beamforming information of the jammer. Specifically, considering the CSI error, a joint precoding framework is designed to limit the information leaked to the Eve while considering an IRS phase constraint and maximizing the weighted sum rate.(iii)The coupling of multiple variables and multiple constraints makes the solution of nonconvex problems more difficult. To overcome this challenge, we first use the generalized S-procedure to convert the constraints into a manageable mathematical form. Then, we design a framework for joint optimization under imperfect CSI and transform the original problem into a solvable nonconvex optimization. During this process, auxiliary variables are introduced and using mathematical transformations such as fractional programming (FP) and multidimensional complex quadratic transformation (MCQT). Finally, we obtain the optimal solution using an alternating algorithm.(iv)Our proposed scheme is compared with conventional antijamming and eavesdropping methods through simulation experiments, and the experimental results demonstrate the effectiveness of our proposed secure transmission scheme for an IRS-assisted cell-free massive MIMO system.

1.3. Organization and Notation

Organization: The main structure of this paper is as follows. The system model for IRS-assisted cell-free massive MIMO multiuser secure transmission is presented in Section 2. In Section 3, we describe the problem and propose an objective function for optimization. In Section 4, we present a joint precoding framework for maximizing the sum rate of the system in an imperfect CSI scenario. The results of simulation experiments are presented in Section 5 to verify the performance of the proposed IRS-assisted cell-free massive MIMO system in resisting jamming and eavesdropping. Finally, conclusion is drawn in Section 6.

Notation: Throughout this paper, bold capital and lowercase letters denote matrices and vectors, respectively. , , , and denote the conjugate, inverse, transpose, and conjugate transpose operations, respectively. represents the set of all complex-valued matrices. denotes the set of all Hermitian matrices. denotes the set of real numbers. indicates that is a positive semidefinite matrix. and represent the determinant and Frobenius norm, respectively, of matrix . is the expectation operator, and represents the diagonal operation. denotes the identity matrix, and is an elementary vector with a 1 in the l-th position. denotes a column vector of length with all elements equal to 1. denotes the Kronecker product.

2. System Model

2.1. Channel Model

As shown in Figure 1, we consider secure transmission in an IRS-assisted cell-free massive MIMO system, where multiantenna APs communicate with multiantenna users with the assistance of an IRS. When a multiantenna jammer and a multiantenna Eve are present on the downlink, the jammer attempts to interfere by transmitting jamming signals through the direct link with a user and the jammer–IRS–user cascade channel, and the Eve attempts to steal legally transmitted information through the AP–IRS–Eve cascade channel and the direct channel. Specifically, each AP is equipped with antennas, each user and the Eve have antennas, and the independent jammer is also equipped with antennas, while the IRS is composed of reflective primitives. The CPU is connected to the APs and the IRS via a perfect forward link. The CPU maximizes the sum rate of the system by adjusting the active precoding vector of the APs and the reflected phase shift of the IRS in real time to resist malicious interference from the jammer and reduce the information leaked to the Eve.

As shown in Figure 2, there are two types of communication links between an AP and a user: the first is a direct AP/jammer–user link, and the second is an AP–IRS–user cascade link. Similarly, there are direct links and cascade links between the jammer and a user. Due to the severe signal loss incurred in multihop reflections [29], the effect of only one reflection in a cascade link is considered in this paper. For the cell-free massive MIMO scenario, the previous literature has usually assumed that the CPU perfectly knows the CSI of a channel; however, it is usually difficult for the CPU to obtain perfect CSI for each channel due to the high density of AP deployment and the fact that the IRS is almost passive and cannot perform any signal processing. Therefore, we consider the system performance of an IRS-assisted cell-free massive MIMO system in resisting jamming and eavesdropping in the case in which the CPU cannot obtain perfect CSI of the jammer or Eve.

The equivalent channel between the m-th AP and the k-th legitimate user/Eve can be represented aswhere denotes the direct channel link between the m-th AP and the i-th legitimate user/Eve, denotes the cascade channel between the m-th AP and the i-th legitimate user/Eve, denotes the channel from the IRS to the i-th legitimate user/Eve, denotes the channel between the m-th AP and the IRS, and represents the phase shift matrix of the IRS. Specifically, , where is the IRS reflection coefficient. In practice, efforts have been made to study the effects of both the reflection amplitude and reflection phase of the IRS on the system [30]. In this paper, only the effect of the IRS reflection phase is considered, and for illustrative purposes, we set the reflection coefficient to 1. is the phase of the n-th reflective element of the IRS and can be written as

Between the jammer and a user, we consider a direct link and a primary reflected jammer–IRS–user cascade link, for which the equivalent channel can be expressed aswhere denotes the direct channel between the jammer and the k-th user/Eve, represents the cascade channel between the jammer and the k-th user/Eve, and represents the channel from the jammer to the IRS.

For secure transmission in IRS-assisted massive MIMO scenarios, previous studies have typically assumed that an AP can accurately acquire an Eve’s CSI. Legitimate users perform channel estimation by sending guide signals to the APs, so the APs can periodically obtain the CSI of legitimate users. However, Eve does not reflect signals to the APs and usually hide their presence from the APs, so it is not feasible to obtain accurate CSI through cooperation between an Eve and an AP. Similarly, the CSI between a jammer and a user is also difficult to obtain. It has been proposed in the literature [31] that channel estimation can be performed using signals leaked from an Eve to an AP, but the error in the CSI collected via this approach is both too large and outdated. To study the system performance, such as the AP–IRS–Eve and jammer–IRS–user performance, in the case of imperfect CSI, a deterministic model is used in this paper to describe the uncertainty of the CSI [3235], and the CSI between an AP and the Eve is modelled as follows:where denotes the estimated channel between the m-th AP and the Eve, denotes the estimated channel for the direct link between the jammer and the i-th user, and and denote the corresponding estimation errors for each channel. and denote the uncertainty radii of the individual estimation errors, which represent the level of uncertainty and are usually set relatively small for more accurate quantization and channel estimation algorithms. Equations (4) and (5) employ a flexible and general CSI uncertainty model [36], which is able to represent the bounded CSI uncertainty when attempting to obtain accurate CSI in IRS-assisted cell-free massive MIMO systems due to the influence of individual error factors.

2.2. Transmitters and Jammer

To obtain the cooperative benefits of coherent transmission from multi-AP collaboration, all APs in the IRS-assisted cell-free massive MIMO system proposed in this paper are synchronized to serve all users in the area through coherent joint transmission [37]. In the downlink direction, the signal transmitted by the m-th AP can be expressed aswhere denotes the data signal transmitted to the k-th user, and we assume that the normalized power of this signal is , while represents the precoding vector of the m-th AP for the k-th user. Similarly, the jammer expects to send a scrambled jamming signal to the user, which can be expressed aswhere represents the jamming signal sent by the jammer to the k-th user, with , and denotes the precoding vector of the jammer for the k-th user. According to [22], the precoding vector of the jammer corresponds to zero-forcing (ZF) precoding. For multiantenna jammers, ZF precoding can effectively eliminate self-interference with little processing complexity, which is a conventional empirical assumption.

2.3. Legitimate Users and Eve

From the above, the received signal of the k-th user can be expressed as

The APs serve all users simultaneously, so the information received by each user is a superposition of the information sent by all APs and the jamming information emitted by the jammer. In the above equation, the first term on the right-hand side is the signal that user expects to receive, and the next three terms are the information sent by the AP to other users, the information sent by the jammer and the noise., , denotes Gaussian white noise with mean 0 and variance for the i-th legitimate user/Eve.

3. Problem Formulation

Based on the above system model, in this section, we consider the weighted sum rate of the IRS-assisted cell-free massive MIMO antijamming and eavesdropping system under imperfect CSI, satisfying constraints on the AP transmit power, the IRS reflection phase, and the Eve’s maximum information rate.

We define and . By substituting equation (3) into (8), equation (8) can be rewritten as

The signal-to-interference-plus-noise ratio (SINR) of the received signal for the k-th user can be expressed as

Therefore, the weighted sum rate for all users can be written aswhere denotes the weighting factor for the k-th user. We define . Similarly, the signal received by the Eve can be written as

The achievable rate of the Eve can be written as

We consider robust transmission under a bounded CSI uncertainty model. Let us define ; then, the optimization problem for maximizing the weighted sum rate can be expressed aswhere constraint C1 ensures secure transmission in the physical layer of the system and represents the upper limit on the rate at which an Eve can receive and the maximum level of information leakage that the system can tolerate from an Eve. Constraint C2 is the maximum transmit power limit per AP, and C3 represents the unit modulus constraint for the reflective elements of the IRS.

Remark 1. Equation (15) is a generalization of the optimization problem in the IRS-assisted cell-free massive MIMO antijamming and eavesdropping scenario. Under the three constraints, the objective function is not jointly convex in and , and there is multiple coupling among the variables. The nonclosed-form solution of constraint C1 and the highly nonconvex nature of constraint C3 make the optimization of the objective function a tricky problem. In the next section, we propose a joint precoding scheme under imperfect CSI to obtain an optimal solution.

4. Joint Precoding Design with Imperfect CSI

In this section, we derive in detail the procedure for solving problem P1. Specifically, in Section IV-A, the objective function is transformed into a manageable form by introducing variables. In Sections IV-B and IV-C, the nonconvex constraints C1 and C3 are treated mathematically with fixed IRS phase-shift matrices and AP active precoding, respectively, so that the problem becomes a solvable convex optimization problem, and an alternating optimization algorithm is proposed to solve for the optimal values.

4.1. Processing of the Objective Function

As in reference [38], we introduce auxiliary variables , , in order to rewrite equation (12) as

By substituting equation (11) into (16), P2 can be further rewritten as P3

Given and , the optimal can be found from :

By substituting equation (20) into (16), it becomes possible to express the optimization problem only in terms of . Given , P3 can be further rewritten as

The nonclosed-form solution for constraint C1 presents a major difficulty in solving P4. To solve this problem, we transform C1 into a manageable equivalent form as described in the following proposition and lemma.

Proposition 1. Constraint C1 has the following equivalent representation (The derivation is described in Appendix):

Proof. Please refer to Appendix.
The initial transformation of constraint C1 is given by Proposition 1, but the solution process still has a high degree of complexity. There are several effective ways to address the inequality constraint C1; in this paper, constraint C1 will be further treated using the approach of the generalized S-procedure, as described in Lemma 1 [39].

Lemma 1. Consider the following quadratic matrix inequality (generalized S-procedure):where , , and . The quadratic matrix inequality exists when and only when .

Consider equation (5) and the definitionwhere and . By substituting equation (25) into (22), constraint C1 can be transformed intowhere . With Lemma 1, constraint C1 can be written aswhere . After transformation, is a simpler form of a linear matrix inequality, which is more suitable for algorithm design. The optimization problem P4 can therefore be further rewritten as

At this point, we have completed the C1 transformation, and we will now design the active and passive precoding processes separately.

4.2. Active Precoding: Fix and Solve for

By fixing , the problem of solving for can be written as

For the high-dimensional nonconvex objective function in problem P5, we use MCQT [38] to address the nonconvexity of the high-dimensional fraction; see Proposition 2.

Proposition 2. With the introduction of auxiliary variables , , with FP and MCQT, P5 can be further rewritten aswhere can be specifically expressed as

From equation (32), the optimal solution for is obtained through the alternating optimization of and as follows. First, we fix and solve for . We let . Then, can be obtained from the following equation:

Then, we fix and solve for . For illustration, we define

By substituting equation (35) into (32), in P6 can be written as

The third term in equation (37) is not related to . Thus, problem P6 can be written in a more concise form aswhere and . In equation (37), both and are semipositive definite; thus, they conform to the standard form of quadratically constrained quadratic programming and can be solved using a standard convex optimization toolbox.

4.3. Passive Precoding: Fix and Solve for

The problem of fixing and solving for the maximum weighted sum rate by optimizing the passive precoding scheme can be described as follows:

For illustration, we simplify in equation (38). First, we define

By substituting equations (38) and (3) into equation (18), in problem P8 can be rewritten as

is still a high-dimensional fractional problem, and as before, we solve it using the method of MCQT in Proposition 2, with the procedure shown in Proposition 3.

Proposition 3. We reintroduce the variables , and P8 can be rewritten aswhere can be expressed as

From equation (41), the process of solving for can be divided into two steps: first fixing and solving for the locally optimal , then fixing and solving for the locally optimal . This alternating optimization process continues until convergence is reached.

First, we fix and solve for . Given , we can obtain from .

Then, we fix and solve for . Upon substituting into equation (41), the solution for in P9 has considerable complexity. We simplify the expression by first definingwhere .

For further simplification, we also definewhere . By substituting equation (45) into (44), equation (44) can be abbreviated as can be written as

We substitute equation (47) into P9, where can be abbreviated to .

From (48), it follows that the optimization of under a fixed is independent of the third term of (48). Therefore, P9 can be written in a more concise form as follows.

As the solution for the objective function in reference [40], in P10 is a semipositive definite matrix, and the objective function is convex. Furthermore, it follows from the derivation of Proposition 1 and Equation (4) that the constraints and are both convex, and the optimal solution for can be obtained directly using the alternating direction method of multipliers (ADMM) [41] or the CVX toolbox. Finally, the proposed joint precoding algorithm is summarized in Algorithm 1.

Input: All channels , , , and ; Given , .
Output: Optimized active precoding beamforming parameters ;
   Optimized passive precoding beamforming parameters and .
(1)Initialize and ;
(2)while no convergence of do;
(3) Convert according to formulation (27);
(4) Update according to (20);
(5) Update according to (33);
(6) Update by solving (37);
(7) Update according to (43);
(8) Update by solving (52);
(9)end while
(10)return , and .

5. Simulation Results

5.1. Simulation Setup

For the simulation setup in this paper, we refer to the deployment scenario of a cell-free massive MIMO network in [42] to construct the simulation scenario. Considering the mobility of the APs and IRS, our proposed algorithm supports stochasticity of the APs and IRS. In this paper, we use the 3D scene schematic shown in Figure 3 only as an example. In this cell-free massive MIMO network, 5 APs simultaneously serve 4 users in a given area, and there may be objects such as buildings and vegetation between the APs and the users. In this cell-free network, there are a malicious jammer and an Eve that attempt to jam and eavesdrop on legitimate users. To resist interference and eavesdropping, we deploy an IRS on a high building surface. Due to the high location of the IRS, an AP–IRS–user cascade link can be easily established to compensate for the high path loss on the direct link due to object occlusion and to resist malicious signal interference from the jammer. We set up 4 antennas per AP and for the jammer, 2 antennas per user and for the Eve, and 100 reflective elements for the IRS. In Figure 3, “L” represents the distance between the center of the circle where the user is located and the origin. “R” represents the radius of the circle where the users are distributed. Other specific simulation parameters are given in Table 1.

For the channel model, we refer to the setting in reference [9]. We define and as the distances from an AP and the jammer, respectively, to the IRS. and denote the distances from an AP and the jammer, respectively, to a user. denotes the distance from an AP to the Eve. and denote the distances from the IRS to a user and the Eve. For large-scale fading, we adopt a distance-dependent path loss model:where dB denotes the path loss at a reference distance of m, denotes the link distance, and represents the path loss exponent [41]. For small-scale fading, we consider the Rice fading channel model, using as an example the channel between an AP and user :where represents the Rician factor and and denote line-of-sight (LoS) and nonline-of-sight (NLoS) channels, respectively. Each of the other channels can be generated in a manner similar to equation (54).

Figure 4 shows the weighted sum rate versus the maximum AP transmit power. Here, the CSI uncertainty is , , and . For a given transmit power, the performance of the proposed algorithm against jamming and eavesdropping is close to the ideal case of no jamming. For comparison, we consider random phase shifts of the IRS and a conventional ZF precoding antijamming algorithm without an IRS. The simulation results show that our proposed algorithm can significantly improve the weighted sum rate of the system and that the use of the IRS somewhat improves the resistance to jamming and eavesdropping and increases the secrecy rate of the system.

Figure 5 shows the weighted sum rate versus the number of IRS elements. We set , , and dBm. We find that both in the ideal case and with our proposed algorithm, the weighted sum rate increases as the number of reflective elements of the IRS increases. The proposed algorithm has a smaller gap relative to the ideal situation without jamming, and increasing the number of IRS elements can effectively improve the performance of the system against jamming and eavesdropping.

Figure 6 shows the weighted sum rate versus the channel estimation error . We set dBm, , and . From Figure 6, it can be found that in the ideal case without jamming or eavesdropping, the system’s sum rate does not vary with the channel estimation error under the assumption that perfect CSI between the APs and legitimate users can be obtained. In contrast, our proposed IRS-enhanced scheme for antijamming and eavesdropping and the conventional ZF precoding antijamming scheme are both affected by the channel estimation error, and the weighted sum rate of the system decreases as the channel estimation error increases; however, our proposed algorithm can still improve the system performance more than the conventional methods in the case of CSI estimation error.

Figure 7 shows the weighted sum rate versus the channel estimation error . We set dBm, , and . Similar to Figure 6, as the channel estimation error increases, the weighted sum rate decreases for all four algorithms in this figure, and the weighted sum rate of the system is lower overall than in Figure 6, which indicates that the channel estimation error of the jammer has a greater impact on the system performance. The reason is that the channel estimation error of the Eve is reflected in the constraint and does not directly affect the sum rate, whereas the jammer directly affects the user SINR; consequently, when increases, the system sum rate will be lower.

Figure 8 shows the weighted sum rate versus the distance travelled by the users (moving from the origin) for the four algorithms. The four curves in this figure exhibit peaks at and , which coincide with the simulation scenario established in Figure 3. There are two APs at and . The direct link gain of these two APs plays a major role determining in the sum rate when users move to these two locations. When users move to the location of the jammer, , the interference from the proximity of the jammer causes a significant reduction in the SINR and a sharp drop in the weighted sum rate of the system. When the users move to the IRS location, , the sum rate increases again due to the enhancement of the IRS reflective link. In addition, we observe that the performance of our proposed algorithm is close to the ideal case without jamming, again validating its effectiveness.

We also investigated the convergence performance of the proposed algorithm. Figure 9 shows the weighted sum rate versus the number of iterations for the four algorithms. We set dBm, , , and . As shown in Figure 9, with an increasing number of iterations, the weighted sum rate reaches a stable value for each of the four algorithms. Our proposed algorithm converges after approximately 10 iterations, and the value is close to that in the ideal case with no jamming, proving the effectiveness of the algorithm. Figure 9 also shows the convergence of the conventional ZF precoding antijamming algorithm and random phase shifts of the IRS; although both algorithms can converge relatively quickly, the stable weighted sum rate obtained is significantly lower than that achieved with our proposed algorithm. Thus, our proposed algorithm yields a clearly superior outcome within an acceptable number of iterations.

6. Conclusion

In this paper, we introduce an IRS into a cell-free massive MIMO network to build an IRS-assisted cell-free massive MIMO antijamming and eavesdropping framework, taking advantage of the strong antijamming capabilities of cell-free massive MIMO and the low power consumption and flexible deployment of IRSs. Considering imperfect CSI of the Eve and jammer, we investigate the design of an active–passive beamforming scheme for secure IRS-assisted cell-free massive MIMO transmission. We first transform the information leakage constraint into a processable linear matrix inequality by employing the generalized S-procedure and then construct a joint optimization framework under imperfect CSI; transform the multivariate coupled nonconvex problem into a convex optimization problem using FP, MCQT, and other methods; and finally solve for the optimal AP precoding and IRS phase-shift matrices. Simulation results show that our proposed scheme can yield a higher system sum rate than the conventional massive MIMO antijamming methods, thereby verifying the great potential of the proposed scheme for enhancing secure transmission in wireless communications.

Appendix

Proof of Proposition 1. According to Sylvester’s determinant identity, , C1 in equation (22) is equivalent toThis concludes the proof of Proposition 1.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported in part by the National Natural Science Foundation of China under Grant nos. 62071485, 61901519, and 62001513 and in part by the Basic Research Project of Jiangsu Province under Grant BK 20192002 and the Natural Science Foundation of Jiangsu Province under Grant BK 20201334 and BK 20200579.