Abstract
Spectrum sensing and the communication security are of crucial importance in cognitive radio networks (CRNs). In this paper, intelligent reflecting surface (IRS) is exploited in CRNs to simultaneously enhance the spectrum sensing accuracy and the secure performance achieved by using physical layer security (PLS) techniques. The sum secrecy rate of the secondary users (SUs) is maximized by jointly optimizing the sensing time, the beamforming design and the IRS phase shifts. A safe approximation is adopted to transform the probability of detection into a tractable expression. A computationally efficient block coordinate descent (BCD)-based algorithm with the techniques of successive convex approximation (SCA) and semidefinite relaxation (SDR) is exploited to optimize the beamforming and the phase shifts alternately. Simulation results demonstrate that our proposed algorithm can significantly improve both the sensing performance and the secrecy rate compared with the benchmark schemes.