Laboratories take a central role in engineering education. The market offers ready-to-use solutions for control engineering and mechatronics courses. One can buy a complete system composed of a plant, of I/O boards and software components. Such solutions are based on proprietary components and lack the necessary flexibility in setting up new experiments and do not provide platforms for working on disciplinary details when desired from a didactic point of view. Moreover, the future engineer is not confronted with methods and tools that will be used later in industry. Systems based on commercial components are also not flexible enough (because they are thought for dedicated tasks and for being used as is without "internal" modifications) and are often very expensive. The mechatronic laboratory at SUPSI proposes a completely new approach, which offers high flexibility, exploits industrial components and is based on industrial tools methods at low costs. In order to increase the value of the laboratory to students and to reduce the cost of its creation and operation, a modular approach has been implemented, which relies on sensors and actuators communicating through the CAN bus as a standard communication protocol. A normal PC is used as the control unit while the real-time determinism is guaranteed by the Linux RTAI operating system. A library of interfaces for many CAN capable devices has been implemented both for Matlab/Simulink and for ScicosLab. Rapid control prototyping techniques can be used to generate code for existing applications or to build new applications based on available devices. Additional devices can also be easily added thanks to the modular software.
[1]
Roberto Bucher.
Targeting the Scicos Code Generator - The Linux RTAI Example
,
2005
.
[2]
Roberto Bucher,et al.
Rapid Controller Prototyping at the SUPSI Laboratory
,
2006
.
[3]
Lorenzo Dozio,et al.
Some Experiencies in Fast Hard Real-Time Control in User Space with RTAI-LXRT
,
2000
.
[4]
Roberto Bucher,et al.
Rapid controller prototyping with Matlab/Simulink and Linux
,
2006
.
[5]
Lorenzo Dozio,et al.
CACSD with Linux RTAI and RTAI-Lab
,
2003
.
[6]
Paolo Mantegazza,et al.
Rapid Control Prototyping with Scilab/Scicos and Linux RTAI
,
2004
.
[7]
P. Mantegazza,et al.
RTAI: Real Time Application Interface
,
2000
.
[8]
R. Bucher,et al.
Scilab/Scicos and Linux RTAI - a unified approach
,
2005,
Proceedings of 2005 IEEE Conference on Control Applications, 2005. CCA 2005..