| 2. | In the hardware design , the paper completes modules ’ design like outside memory , patulous a / d , patulous d / a , rs232 communication , ecan communication , led control , keyboard control , distant control , emulation , reset , logic voltage switch , dsp supply power regulate and ac - dc power circuit , as well as room layout design like anterior panel , back panel etc . and dsp transfers data with peripheral equipments except outside memory using serial ports . besides , the whole circuit is configured in interrupt response . thus , it can meet system demand as well as take full advantage of tms320f2812 ’ s hardware resource . in the software design , the paper finishs programs like the interface programms intercommunicates with people , the distant control program , ad and da modules ’ control program , in addition , the paper select the velocity and acceleration state - feedback algorithm and is written in the program . the software design uses dsp integrate exploiting environment named ccs2 . 2 of ti inc . as software instrument , and programs with the combination of c language and assembly language . moreover , in order to maintenance or modify the software expediently and shorten software ’ s exploitation time , the design adopt software modularization technique . finally , some air cylinder experiments are carried out to proved that the pneumatic controller is very practical 在硬件设计中,本文完成了片外存储器扩展、 a / d扩展、 d / a扩展、 rs232通信接口、 ecan通信总线接口、液晶显示控制、键盘控制、远程控制、仿真、复位、逻辑电平转换、 dsp工作电源校正电路和ac - dc电源等模块设计以及控制器前面板、后面板等的空间布局设计。其中dsp与除外部存储器的外围设备之间的数据传送全部采用串口通信,同时系统电路配置成中断响应方式,这样既满足了系统要求,又充分利用了tms320f2812的硬件资源。在软件设计中,本文完成了人机界面功能模块、远程控制模块、 ad扩展模块、 da扩展模块、速度和加速度状态反馈的控制算法的程序设计。 |