Practical experiences with Python and Linux RT at the SUPSI Laboratory
Roberto Bucher · IFAC-PapersOnLine · 2019
This paper presents a Computer Aided Control System Design (CACSD) environment completely based on the programming language Python. Students can perform all the control design tasks (modeling, identification, controller design, simulation) in this environment, and at the end, they can automatically generate RT code for targets like a PC or a Raspberry PI with a Linux RT OS. A Python package for control purposes have been developed at the Caltech by Richard Murray, with the aim of integrating the most used functions and methods available in other commercial and non commercial software. Using this package it is possible to design different kinds of controllers for laboratory plants (PID, state-feedback, LQR, including full and reduced order observers). An additional package developed at SUPSI allows representing the full system in a graphical block diagram, similar to xCos or Simulink, and automatically generating code for RT targets. This application offers the most used blocks required for the design of a control system. New blocks can be easily integrated into this SW. This environment has been validated at the SUPSI laboratory on different electromechanical plants: the classical Inverted Pendulum, the Disks and Spring system, the Ball on Plate and the Ball on Wheel plants.
Cited by 5 works. doi:10.1016/j.ifacol.2019.08.137
Authors
References
- Dynamics : theory and applications
- Nonlinear control via approximate input-output linearization: the ball and beam example
- Dynamics: Theory and applications
- Rapid controller prototyping with Matlab/Simulink and Linux
- Globally convergent algorithms for robust pole assignment by state feedback
- Rapid Controller Prototyping with Matlab/Simulink and Linux
- Free open source software in control engineering education: A case study in the analysis and control design of a rotary inverted pendulum
- Balance Control of Ball and Wheel Systems via Feedback Linearization
- Synthesis of dynamic controllers for a class of nonlinear systems: An application to a ball-on-wheel system
- Implementation of an industrial controller for a ball-on-wheel system