机构地区: 华南理工大学自动化科学与工程学院
出 处: 《组合机床与自动化加工技术》 2009年第12期69-72,77,共5页
摘 要: 为了克服锂电池卷绕机控制器I/O点占用资源多、扩展性不强等特点,采用CPLD处理I/O数据,并通过串行协议与主控制器FPGA交换I/O信息的方法实现I/O扩展。研究如何将循环冗余校验(CRC)用于保证串行I/O数据传输的可靠性,并用Verilog实现了CRC校验算法,给出了仿真结果。实际应用结果表明,该方法即实现了对大量I/O的处理,具有I/O扩展时的高度灵活性,又保证了数据传输时的高可靠性,取得了理想的应用效果。 Existing lithium battery winding machine controllers have lots of Input/Output ports,which tare up many hardware resources and make the number of Input/Output ports hard to be extened.To overcome these disadvantages, an I/O extension method is introduced using a CPLD to access the I/O, and exchange I/O information with main controller FPGA by serial protocol. How to ensure the reliability of serial I/O data transmission using cyclical redundancy check(CRC) is discussed.The algorithm is described by verilog with simulation results.The practical application results show that this method can realize the processing of a large number of I/O data,not only with high flexibility of I/O extension,but also with high reliability of data transmission.Ideal effect is achieved in practice.
领 域: [自动化与计算机技术] [自动化与计算机技术]