Robotics Research Group - RRG
POLITECNICO DI TORINO
Dipartimento di Automatica e Informatica
Corso Duca degli Abruzzi, 24
10129 Torino

Local Site
 

HW/SW architectures for rapid prototyping of digital controllers

Co-funded by:
MIUR (Italian Ministry of Education University and Research)
ASI (Italian Space Agency)

Rapid prototyping

Prototyping can be defined as: “A type of development in which emphasis is placed on developing prototypes early in the development process to permit early feedback and analysis in support of the development process”.

The implementation of a prototype starts from an idea which is then developed in a project phase, where several alternative solutions are considered to achieve the desired functionalities and specifications. Design relies on technical competence and objectives; several tools can help the designer to practice that competence and to define the objectives in details.

Using a Personal Computer in the prototyping phase as a replacement of traditional technical tools is a common practice today. One of the most important features of the PC is its ability of virtualizing the objects and the procedures to build them. For example, the computer graphics allows visualizing whole inhabited environments in extreme details and verifying the design hypothesis; or, it is possible to try to combine some graphical objects representing mechanical parts, starting from the drawings of such parts, to test their functionalities.

A major interest in prototyping derives from the possibility of knowing the influence of design solutions before the final production phase. In manufacturing, where small technological objects are often produced in large quantities, prototyping allows building trial versions in order to verify a subset of functionalities, before the cost of possible design errors grows up due to the large number of manufactured parts. In such a situation the PC can be useful since it automates the large number of procedures involved in the construction of the prototype.

In more general terms, the prototyping process makes easier the application of specific methodologies from different technological fields embedded into a real or virtual instance of a product. These aspects are today one of the major issues in control design for advanced mechatronic equipments and robotics. In the field of industrial robotics there are several kinds of prototyping processes; a manipulator embodies different technologies and competences: mechanical, electronic and electrical issues merged with automatic control and computer science competencies for a satisfactory design of the whole machine.

The aim of prototyping is often the implementation of new control algorithms or architecture allowing better performances at lower costs in well defined operating conditions. The so-called rapid prototyping is a methodology which allows going in a short time and with limited costs from the general idea to the realizable solution. After the prototype design is tested on the real equipment, one must be able to repeat cyclically the same procedure with only a marginal additional effort.

The prototyping process consists of a set of phases, often technologically very different. This fact complicates in a remarkable way the transmission of information, especially when formalisms and techniques used before the PC advent are involved. Rapid prototyping must be based on a friendly and homogeneous development environment, which should allow the designer to concentrate on conceptual problems freeing him/her from the tedious practical aspects involved in the progression from the idea to the prototype.

The PC plays a major role hosting the interactive environment allowing to develop many of the rapid prototyping process phases, such as for example:

  • to model the controlled electromechanical parts,
  • to design the control laws and the machine supervision software,
  • to simulate the effects of the control algorithms,
  • to automate the transition from the design formalism to the implementation and adaptation to the machine execution,
  • to manage the interaction between designer and test machine.

The last point introduces a problem that is common to all the environments where automatic controlled evolution of physical phenomena is needed, i.e. real-time requirements.

Industrial robots are supplied with a controller cabinet containing hardware and software systems for control and supervision. Due to industrial secrecy, safety requirements or, sometimes, technological backwardness, these systems are closed to modification by the customers. On the other hand a controller presents many critical aspects due to the simultaneous presence of components with contrasting real-time requirements.

The user of a prototyping system should have at least the possibility to interface the original control environment, and in many cases partially or totally substitute it. Therefore it is necessary to pay attention to the real-time issues in order to avoid interferences with the native architecture, especially when it is necessary to replace important functionalities.

Test-bed plant

Different HW/SW architectures where developed during the last few years, in a test-bed plant consisting of two planar arms driven by brushless motors. Since the plant was manufactured by IMI, a US mechatronic firm, it is simply known as the "IMI robot".

A detailed description of this plant can be found here

Different solutions were implemented

2003-2004

Prototyping platform: RT-Lab 6.1 (Opal-RT Technologies, Inc)

Hardware Software
Custom field unit to interface plant and controller Windows XP and Matlab/Simulink/RTW on Host
Sensoray 626 PCI I/O board QNX real-time OS on Target
x86-based "Target" PC  
x86-based "Host" PC  

Click here for a brief summary of this architecture
Click for a video illustrating this architecture: small video (4MB) or large video (98 MB)

2003

Prototyping platform: Matlab Real-Time Workshop Toolbox and VxWorks real-time OS

Hardware Software
Custom field unit to interface plant and controller Windows 2000 and Matlab/Simulink/RTW on Host
Sensoray 626 PCI I/O board VxWorks real-time OS on Target
x86-based "Target" PC
x86-based "Host" PC

Click here for a brief summary of this architecture

2002

Prototyping platform: GENERIS (ERXA s.r.l)

Hardware Software
Custom field unit to interface plant and controller Windows 2000 and Tornado IDE on Host
Sensoray 626 PCI I/O board VxWorks real-time OS on Target
x86-based Target PC  
x86-based Host; PC  

Click here for a brief summary of this architecture

2000

Prototyping platform: OpenDSP (AMET s.r.l.)

Hardware Software
"Target" industrial rack
      DSP board
  PLD based I/O board
  Field unit to interface plant and I/O board
Windows 98 and Matlab/Simulink on Host
x86-based "Host" PC real-time custom C code on Target

Click here for a brief summary of this architecture

Papers

Architectures for Rapid Prototyping of Model-based Robot Controllers
B. Bona, M. Indri, N. Smaldone
in Advances in Control of Articulated and Mobile Robots, B. Siciliano, A. De Luca, C. Melchiorri, and G. Casalino (Eds.)
Springer 2003

Nonlinear Friction Estimation for Digital Control of Direct-drive Manipulators
B. Bona, M. Indri, N. Smaldone
ECC 2003, Cambridge, September 2003

Nonlinear Friction Phenomena in Direct-Drive Robotic Arms: an Experimental Set-up for Rapid Modelling and Control Prototyping
B. Bona, M. Indri, N. Smaldone
SYROCO 2003, Wroclaw, September 2003, 59-64

An Experimental Setup for Modelling, Simulation and Fast Prototyping of Mechanical Arms
B. Bona, M. Indri, N. Smaldone
CACSD02, Glasgow
2002

Open System Real Time Architecture and Software Design for Robot Control
B. Bona, M. Indri, N. Smaldone
2001 IEEE/ASME International Conference on Advanced Intelligent Mechatronics, Como, 349-354, 2001

Last modified
2005 04 16
Please Note: The material presented in this page is aimed to ensure timely dissemination of scholarly and technical information. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author's copyright. In most cases, these works may not be reposted without the explicit permission of the copyright holder
Send an email to Basilio Bona