Abstract:
In order to concurrently and flexibly test the control unit with different numbers of channels in complex multi-channel motor control system, a parallel simulation real-time test method supporting variable numbers of channels in multi-channel control system was proposed. Object-oriented test methodology for variable numbers of channels was put forward. The acquisition and processing program for variable numbers of channels control system was presented, and the efficient data storage method in high-speed asynchronous FIFO converted by dual-port SRAM and data transmission means by combining DMA with burst transmission were adopted to achieve efficient data storage and high-speed asynchronous data transmission between the system and computer. The FPGA-based parallel acquisition, real-time processing and PCI bus transfer strategy were used to improve traditional PCI interrupt application data transmission mode and the PCI interrupt transmission control mechanism, which overcome the system instability caused by the variable-number of channels of the measured object, the different computer configuration or the application program mutual interference, also achieved the stable and reliable data transmission between the system and the computer. A parallel test experiments on random variation of 4-channel to 64-channel control unit was conducted, the results showed that, the number of channels was flexible, multi-channel control unit parallel test state was stable, reliable, and met the expected requirements.