Coded excitation technology(CET) can effectively enhance the penetration and resolution of ultrasonic testing.To analyze the influence of rock properties on pulse compression performance(PCP) of coded excitation signals(CES),a numerical simulation,and an ultrasonic experiment on different rock samples are performed;and the detection ability of several CESs are also investigated and compared.The results of experiments showed that the loss of the signal-to-noise ratio(SNR) of Barker coded signal with tapered linear frequency modulated carrier(BTLFM) is always less than Barker coded signal with sine carrier(BS),while the resolution loss of BTLFM is lower than tapered linear frequency modulated signal(TLFM).In sum,the results not only verifiy the effectiveness of CET,but also provide a basis for the parameter settings of coded signals used in rock ultrasonic testing.