Rapid Development of Real-Time Control Systems in C++ Based on RTW

樊晓丹,孙应飞,李衍达
DOI: https://doi.org/10.3321/j.issn:1000-0054.2003.07.011
2003-01-01
Abstract:Simulink is the best simul at ion tool for the design of control systems, but it is not effective for system r ealization because it is not friendly used and is not easily customized. Visual C++ is more useful for system realization, but the designers have to code the wh ole system in C++ after they have studied it using Simulink blocks. This paper p resents a method to easily translate Simulink blocks to C++ code for the whole s ystem. The simulations also include real-time control, so few changes are neede d to transfer the program into a real-time control system in Visual C. The meth od seamlessly links Simulink and Visual C; therefore, the development period is shortened greatly because there is no need to manually code the Simulink blocks. The system is also helpful for software secondary development and system integr ation. The timing method and resource allocation are discussed in detail.
What problem does this paper attempt to address?