论文部分内容阅读
给出了一种利用C语言实现循环冗余校验码(CRC)的方法并将其应用到卫星控制系统中.首先介绍了CRC校验码的原理,在此基础上推导了计算多字节数据序列CRC校验码的递推算法,然后给出了算法的C语言实现,最后将其应用到卫星控制系统中.试验数据表明给出的CRC算法实现能够灵敏的检测出数据传输过程中产生的错误.
A method of using Cyclical Redundancy Check Code (CRC) in C language is given and applied to the satellite control system.Firstly, the principle of CRC code is introduced, and on the basis of this, Data sequence CRC code recursive algorithm, and then gives the C language algorithm, and finally applied to the satellite control system.Experimental data show that the CRC algorithm is given to be able to detect sensitively generated data transmission process mistake.