]> rtime.felk.cvut.cz Git - ert_linux_web.git/blob - index.html
Fix typos etc.
[ert_linux_web.git] / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2    "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5   <title>[[!meta title="Linux Target for Simulink® Embedded Coder®"]]</title>
6   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7   <link><style type="text/css">
8     #main_content {max-width: 70em}
9   </style>
10 </head>
11 <body>
12
13 <div id="main_content">
14
15 <p>
16 Linux ERT target is based on <a href="http://www.mathworks.com/">MathWorks</a>' generic Unix target
17 for <a href="http://en.wikipedia.org/wiki/Simulink">Simulink</a> Embedded Coder®. It allows to compile
18 dynamic model/control system designed in Simulink to the C-code and combine it with target specific
19 support functions. The resulting executable/controller is then run model in real-time on the target system.
20 The recent version is optimized to use real-time capabilities of
21 <a href="http://rt.wiki.kernel.org/">real-time variant</a> of
22 <a href="http://en.wikipedia.org/wiki/Linux">Linux</a> kernel.
23 The control system sampling frequencies up to 20&nbsp;kHz with no losing sample per months
24 can be achieved by carefully selected x86 or embedded system (see <a href="http://www.osadl.org/">OSADL</a>
25 <a href="http://www.osadl.org/Quality-assurance-at-the-OSADL-QA-Farm.osadl-services-qa.0.html">Quality Assurance Farm</a>).
26 </p>
27
28 <div>
29 <b>Page Contents</b>
30
31 [[!toc]]
32 </div>
33
34 <h2 id="news">Recent News</h2>
35
36 <ul>
37 <li>
38 Linux ERT at Embedded World exhibition - 25 till 27 February 2014 - Visit
39 <a href="http://www.ask-embedded-world.de/index.php5?id=342793&amp;Action=showCompany">DCE CTU</a>
40 developers and researchers at the OSADL booth (hall 5 booth 276).
41 </li>
42 </ul>
43
44 <h2 id="prjbackground">Project Background</h2>
45
46 <p>
47 The Linux ERT has been initially designed at <a href="#dce">DCE of CTU</a> to develop and realize dynamic environment model
48 for hardware (airplane) in the loop testing of fly-by-wire system at <a href="http://www.aero.cz/en">AERO Vodochody a.s.</a>.
49 Simulink has been run on Windows host computer initially and code generated for GNU/Linux embedded target
50 system was compiled under <a href="http://en.wikipedia.org/wiki/Mingw">MinGW/MSYS</a> environment and then uploaded
51 to PowerPC based <a href="http://rtime.felk.cvut.cz/hw/index.php/Boa5200">BOA5200</a> computer.
52 The target computer was equipped by two CAN interfaces. <a href="http://en.wikipedia.org/wiki/Canopen">CANopen</a>
53 blockset based on <a href="http://canfestival.org/">CANfestival</a> is used to control distributed
54 servosystem used to simulate fly-by-wire system load. Simulink CANopen blockset integrates a
55 <a href="http://en.wikipedia.org/wiki/Socketcan">SocketCAN</a> driver configuration and CAN messages
56 processing support to the generated code and enables the user to develop distributed embedded
57 control applications with CANopen communication.</p>
58
59 <p><img width=600 src="LinTarget.JPG" alt="Original code generation workflow"></p>
60
61 <p><img width=600 src="CANopenExample.JPG" alt="Model including node controlled over CANopen"></p>
62
63 <p>Lukáš Hamáček, “<b>RTW target for Linux with CANopen support</b>”, Master Thesis, Prague 2009. (<a href="dp_2009_hamacek_lukas.pdf">Pdf</a>)</p>
64
65 <h2 id="linuxnative">Native Linux Real-Time and I/O Cards Support</h2>
66
67 <p>The Linux ERT target is updated and optimized to use Linux kernel timing mechanism with lower
68 maximal latencies now. Matlab/Simulink run on GNU/Linux desktop system as development system is supported now.
69 More information about update can be found on respective <a href="http://rtime.felk.cvut.cz/~sojka/blog/on-generating-linux-applications-from-simulink/">Michal Sojka's blog page</a>.
70 UIO driver and blockset has been implemented to support
71 <a href="http://www.humusoft.com/produkty/datacq/">Humusoft data acquisition cards</a> (MF624 for now).</p>
72
73 <p>UIO (User Space I/O) driver for the MF624 card is already included in Linux kernel mainline. More
74 documentation for this driver can be found in Rostislav Lisový master thesis and on <a href="http://rtime.felk.cvut.cz/hw/index.php/Humusoft_MF6xx"></a>DCE HW Wiki page</p>
75
76 <h2 id="download">Source Code and Download</h2>
77
78 <dl>
79   <dt>Lintarget at Source Forge</dt>
80     <dd><a href="http://sourceforge.net/projects/lintarget/">http://sourceforge.net/projects/lintarget/</a>
81        <br>project download area contains original Linux target code for CANopen based distributed system
82     </dd>
83   <dt>Updated Linux ERT core support</dt>
84     <dd><a href="http://rtime.felk.cvut.cz/gitweb/ert_linux.git">http://rtime.felk.cvut.cz/gitweb/ert_linux.git</a>
85        <br>version updated for real-time and native GNU/Linux host/target system setup
86     </dd>
87   <dt>Humusoft MF624 card support blockset</dt>
88     <dd><a href="http://rtime.felk.cvut.cz/gitweb/mf624-simulink.git">http://rtime.felk.cvut.cz/gitweb/mf624-simulink.git</a>
89        <br>initial version of blockset supporting analog and digital input/output, IRC, PWM and PWM measurement for MF624 cards.
90     </dd>
91 </dl>
92
93
94 <h2 id="contributors">Project Contributors</h2>
95
96 <dl>
97   <dt>Michal Sojka</dt>
98     <dd><a href="mailto:sojkam1@fel.cvut.cz">sojkam1@fel.cvut.cz</a> ,
99        homepage <a href="http://rtime.felk.cvut.cz/~sojka/">http://rtime.felk.cvut.cz/~sojka/</a>
100        <br>teacher, researcher and developer at DCE CTU.
101     </dd>
102   <dt>Pavel Píša</dt>
103     <dd><a href="mailto:pisa@cmp.felk.cvut.cz">pisa@cmp.felk.cvut.cz</a> ,
104        homepage <a href="http://cmp.felk.cvut.cz/~pisa/">http://cmp.felk.cvut.cz/~pisa/</a>
105        <br>teacher, researcher and developer at DCE CTU.
106     </dd>
107   <dt>Rostislav Lisový</dt>
108     <dd><a href="mailto:lisovros@fel.cvut.cz">lisovros@fel.cvut.cz</a>
109        <br>former CTU master study programe student, Linux related projects developer at DCE now.
110     </dd>
111   <dt>Libor Waszniowski</dt>
112     <dd><a href="mailto:xwasznio@fel.cvut.cz">xwasznio@fel.cvut.cz</a>
113        <br>the former DCE CTU researcher responsible for project founding and delivery to AERO Vodochody.
114     </dd>
115   <dt>Lukáš Hamáček</dt>
116     <dd><a href="mailto:xwasznio@fel.cvut.cz">xwasznio@fel.cvut.cz</a>
117        <br>former CTU master study programe student.
118     </dd>
119 </dl>
120
121
122 <p id="dce"><b>DCE</b> - <a href="http://dce.fel.cvut.cz/" target="_blank">Department of Control Engineering</a> -
123 <a href="http://www.cvut.cz/en" target="_blank">Czech Technical University in Prague</a>, <a href="http://www.fel.cvut.cz/en" target="_blank">Faculty of Electrical Engineering</a></p>
124
125 <h2>Acknowledgment</h2>
126
127 <p>This work was supported by Ministry of Industry and Trade of the Czech Republic under Project 
128 FT—TA3/044 during period of 2006 to 2009 years.</p>
129
130 </div>
131
132 </body>
133 </html>