You are here: Home / RTLWS 1999-2017 / RTLWS Submitted Papers / 
2022-12-04 - 22:28

Dates and Events:

OSADL Articles:

2022-01-13 12:00

Phase #3 of OSADL project on OPC UA PubSub over TSN successfully completed

Another important milestone on the way to interoperable Open Source real-time Ethernet has been reached

2021-02-09 12:00

Open Source OPC UA PubSub over TSN project phase #3 launched

Letter of Intent with call for participation is now available

2016-11-12 12:00

Raspberry Pi and real-time Linux

Let's have a look at the OSADL QA Farm data

Real Time Linux Workshops

1999 - 2000 - 2001 - 2002 - 2003 - 2004 - 2005 - 2006 - 2007 - 2008 - 2009 - 2010 - 2011 - 2012 - 2013 - 2014 - 2015

Eleventh Real-Time Linux Workshop on September 28 to 30, in Dresden, Germany

Announcement - Hotels - Agenda - Paper Abstracts - Presentations - Registration - Abstract Submission - Xenomai User Meeting - Sponsors


On the RTAI-Lab implementation of an observer-based controller for a DC motor

Ruben Salas-Cabrera, Instituto Tecnologico de Cd. Madero
Nacu Salas-Cabrera, Instituto Tecnologico de Cd. Madero

This work deals with the experimental implementation of a state space controller for a  DC motor that has separate winding excitation. The output to be controlled is the rotor position. Linux and RTAI-Lab are the open source tools that we use in this implementation. The control law is derived by using a model that consists in a set of ordinary differential equations. Additionally, in order to avoid several issues regarding the measurement of the state variables, we implement an experimental discrete-time state observer to estimate the transient values of the rotor speed, armature current and even the load torque. The armature voltage is defined as a function of estimated states excepting the  rotor position, which is the only state variable that is measured. The real time program calculates the discrete-time state feedback including an integrator, a full order discrete-time state observer and a rotor position sensing algorithm. In our case, a set of five difference equations (fifth-order discrete time dynamical system) is computed every 0.2 milliseconds (5 kHz). Important components of the experimental set-up are: a personal computer, a National Instruments PCI-6024E data acquisition card, comedi driver library for Linux, RTAI-Lab, a custom-made power electronics converter, an incremental encoder and signal conditioning circuits for measuring the rotor position. Custom-made digital, analog and power electronics designs are fundamental components of the hardware used in this closed loop implementation.