Abstract:BPSK, QPSK, OQPSK, 8PSK and 16QAM is widely used in digital communication system. In view of multipurpose digital demodulation of non-cooperative receiver, carrier recovery technology based on Costas loop is studied. BPSK, QPSK, OQPSK, 8PSK and 16QAM can be carrier recovered just by changing the parameter of loop filter and phase discriminator. Algorithm is fully verified by simulation and the logic circuit is implemented in FPGA chip.