New integrated design method for control system base on Matlab/RTW

LI Gen,TANG Zhen-yu,GENG Hai-xiang,JIN Fo-rong
2010-01-01
Abstract:Against the existing design method for control system with long development time and high cost,this paper introduced a new design method on the basis of Matlab/RTW and its steps.The method made full use of strong simulation and easy edition of Matlab,combined the algorithm design with the software design,and automatically generated the main C code of the control system by RTW tool.It reduced the development cycle greatly and saved the development cost too.Then,in the Matlab/Simulink simulation environment,the stepper model,the handlebar controlled the way and speed of the step motor,has been established.The automatically generated C code and the interrelated hardware have been integrated by the interface code written by the developer.The experimental result proved that the code has very good stability and run speed.The example confirmed that the new method took shorter development cycle,low development cost.
What problem does this paper attempt to address?