Research on terahertz radar system and signal processing method