针对目前低电压等级的继电保护以及测控装置对数据采集的高精度、低成本的要求,提出一种多路同步数据采集系统的设计方案。该方案采用MPC8313为主控制器,CS5451A为模数转换器,通过对CS5451A Master模式串口输出时序以及FIFO读写时序的研究,在CPU和CS5451A之间设计了一个串并转换模块实现采样数据的接收,数据接收后存入FIFO缓冲区,这样解决了利用处理器SPI接口直接接收数据CPU占用率高的矛盾。
- Abstract:
- In consideration of the requirement of data acquision precision and low cost in the design of relay protection relay unit and measuring-control unit recently,a synchronous multi-channel data acquision system was designed and implemented. The design took MPC8313 as control unit and took CS5451A as AD converter.Through the study of the output timing of Master-mode serial interface and the timing of asynchroronous FIFO,it designed a serial-parallel conversion module and asynchroronous FIFO by using FPGA produced by XILINX corporation.After reception,the sampling data was stored in FIFO.Thus,it solved the problem of the high occupancy rate of CPU when used the SPI interface of CPU direct receiption of sampling data.
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉