红外与激光工程
紅外與激光工程
홍외여격광공정
INFRARED AND LASER ENGINEERING
2013年
12期
3300-3308
,共9页
刘海秋%徐抒岩%王栋%曹小涛%吴伟平
劉海鞦%徐抒巖%王棟%曹小濤%吳偉平
류해추%서서암%왕동%조소도%오위평
通道数可变%多通道控制单元%仿真测试%面向对象%PCI中断%FPGA逻辑控制
通道數可變%多通道控製單元%倣真測試%麵嚮對象%PCI中斷%FPGA邏輯控製
통도수가변%다통도공제단원%방진측시%면향대상%PCI중단%FPGA라집공제
variable number of channels%multi-channel control unit%simulation test%object-oriented%PCI interrupt%FPGA logic control
为了对复杂多通道电机控制系统的不同通道数的控制单元进行并行灵活测试,提出了测试通道数灵活可变的多通道控制单元并行仿真实时测试方法。提出了面向对象的测试通道数灵活可变的思想;提出了支持被测对象通道数灵活可变的采集处理方案;采用双端口SRAM转换高速异步FIFO的高效数据存储方式和DMA与突发传输相结合的数据传输方法,实现系统高效数据存储和与计算机之间高速异步数据传输;采用基于FPGA并行采集、实时处理及PCI总线传输策略,改进了传统的PCI中断申请传输模式和PCI中断传输控制机制,克服了由被测对象通道数不同、计算机配置不同及应用程序相互干扰等问题带来的系统不稳定现象,实现系统与计算机之间稳定可靠的数据传输。对4~64通道数随机变化的控制单元进行并行测试试验,结果表明:通道数灵活可变、多通道控制单元并行测试状态稳定、可靠,满足预期要求。
為瞭對複雜多通道電機控製繫統的不同通道數的控製單元進行併行靈活測試,提齣瞭測試通道數靈活可變的多通道控製單元併行倣真實時測試方法。提齣瞭麵嚮對象的測試通道數靈活可變的思想;提齣瞭支持被測對象通道數靈活可變的採集處理方案;採用雙耑口SRAM轉換高速異步FIFO的高效數據存儲方式和DMA與突髮傳輸相結閤的數據傳輸方法,實現繫統高效數據存儲和與計算機之間高速異步數據傳輸;採用基于FPGA併行採集、實時處理及PCI總線傳輸策略,改進瞭傳統的PCI中斷申請傳輸模式和PCI中斷傳輸控製機製,剋服瞭由被測對象通道數不同、計算機配置不同及應用程序相互榦擾等問題帶來的繫統不穩定現象,實現繫統與計算機之間穩定可靠的數據傳輸。對4~64通道數隨機變化的控製單元進行併行測試試驗,結果錶明:通道數靈活可變、多通道控製單元併行測試狀態穩定、可靠,滿足預期要求。
위료대복잡다통도전궤공제계통적불동통도수적공제단원진행병행령활측시,제출료측시통도수령활가변적다통도공제단원병행방진실시측시방법。제출료면향대상적측시통도수령활가변적사상;제출료지지피측대상통도수령활가변적채집처리방안;채용쌍단구SRAM전환고속이보FIFO적고효수거존저방식화DMA여돌발전수상결합적수거전수방법,실현계통고효수거존저화여계산궤지간고속이보수거전수;채용기우FPGA병행채집、실시처리급PCI총선전수책략,개진료전통적PCI중단신청전수모식화PCI중단전수공제궤제,극복료유피측대상통도수불동、계산궤배치불동급응용정서상호간우등문제대래적계통불은정현상,실현계통여계산궤지간은정가고적수거전수。대4~64통도수수궤변화적공제단원진행병행측시시험,결과표명:통도수령활가변、다통도공제단원병행측시상태은정、가고,만족예기요구。
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.