
CHAPTER 1
MODULAR SERVO
Reference Manual
Introduction
33-008-2M5
1-1
1 Introduction
The software of the Modular Servo Workshop model consists of:
•
The Real-Time Kernel (RTK),
•
Communication functions,
•
Modular Servo Toolbox,
•
External Interface,
•
Windows NT kernel-mode device driver (for Windows NT only).
The Real-Time Kernel supervises a set of real-time tasks creating a feedback control
structure. The RTK provides a mechanism of real-time measurements and control of the
MS150 unit in the Windows 95 and Windows NT environments. It has the form of dynamic
linked library (DLL). It is written in the closed form. No modifications are necessary. RTK
contains all functions required for control and data collection in real-time. The RTK
detects which operating system is running and changes its behaviour according to the
operating system environment. Especially in the Windows NT environment the RTK
kernel-mode device driver is started and enables access to the I/O address space.
Control algorithms are embedded in the Real-Time Kernel. Selection of control algorithms
and tuning of their parameters is done by means of the communication interface from
the MATLAB environment. The communication interface is also used for configuration of
the Real-Time Kernel parameters (sampling period, excitation source etc.). Specialised
communication functions are responsible for communication between RTK and MATLAB
environment The functions are described in this manual.
Modular Servo Toolbox
consist of a collection of M-functions (among them are S-
functions as well), Simulink models and C-code DLL-files that extend the MATLAB
environment in order to solve MS150 modelling/design/control problems. A cyclic memory
buffer is created in order to enable process data flow between the real-time kernel and
toolbox functions (the MATLAB environment).
The Modular Servo Workshop Toolbox, using MATLAB matrix functions and Simulink
utilities, provides the user with functions specialised to real-time control of the modular DC
Servo system.
It is the general assumption that the toolbox is an open system (in contrast to the RTK).
This approach by its nature makes the basic functions of the toolbox available to the user.
However, demonstration M-files for typical MS150 control problems are available in the
toolbox and can be invoked from the main control window.
Summary of Contents for MS150
Page 1: ...MS150 Modular Servo Workshop Reference Manual 33 008 2M5 ...
Page 3: ...Notes ...
Page 7: ...MODULAR SERVO Reference Manual Contents TOC 2 33 008 2M5 Notes ...
Page 10: ...CHAPTER 1 MODULAR SERVO Reference Manual Introduction 33 008 2M5 1 3 ...
Page 24: ...CHAPTER 2 MODULAR SERVO Reference Manual Description of the Toolbox Functions 33 008 2M5 2 13 ...
Page 77: ...CHAPTER 4 MODULAR SERVO Reference Manual Quick Reference Table 4 4 33 008 2M5 Notes ...