论文部分内容阅读
为了对复杂多通道电机控制系统的不同通道数的控制单元进行并行灵活测试,提出了测试通道数灵活可变的多通道控制单元并行仿真实时测试方法。提出了面向对象的测试通道数灵活可变的思想;提出了支持被测对象通道数灵活可变的采集处理方案;采用双端口SRAM转换高速异步FIFO的高效数据存储方式和DMA与突发传输相结合的数据传输方法,实现系统高效数据存储和与计算机之间高速异步数据传输;采用基于FPGA并行采集、实时处理及PCI总线传输策略,改进了传统的PCI中断申请传输模式和PCI中断传输控制机制,克服了由被测对象通道数不同、计算机配置不同及应用程序相互干扰等问题带来的系统不稳定现象,实现系统与计算机之间稳定可靠的数据传输。对4~64通道数随机变化的控制单元进行并行测试试验,结果表明:通道数灵活可变、多通道控制单元并行测试状态稳定、可靠,满足预期要求。
In order to carry out the parallel flexible test for the control unit with different number of channels in the complex multi-channel motor control system, a flexible real-time multi-channel control unit testing method with multi-channel control unit is proposed. Proposed the object-oriented test channel number of flexible and variable ideas; proposed to support the measured object channel number of flexible and variable acquisition and processing program; dual-port SRAM high-speed asynchronous FIFO conversion efficient data storage and DMA and burst transmission phase Combined with the data transmission method to achieve efficient data storage system and high-speed asynchronous data transfer between computers; using FPGA-based parallel acquisition, real-time processing and PCI bus transmission strategy to improve the traditional PCI interrupt transmission mode and PCI interrupt transmission control mechanism , Which overcomes the system instability caused by the difference in the number of channels of the tested object, the different configuration of the computer, and the mutual interference of applications, and realizes the stable and reliable data transmission between the system and the computer. The parallel test of 4 ~ 64 channel random control units was carried out. The results show that the number of channels is flexible and variable, and the multi-channel control unit is stable and reliable in the parallel test, which meets the expected requirements.