2.1 Design Concept
2.1.1 Real Time Control
Conventional real time control systems in industries
are controlled every 10 ms. Thanks to the progress
of computer capability today, it is possible to realize
1 ms DDC (Direct Digital Control) by just a P/C.
Once the developed control program is turned on,
the program senses the status change of 1 KHz
oscillator input. this program is executed every 1 ms,
without running OS area at all, achieving the perfect
real-time function.
The sampling time should not be disturbed by
the control calculation time. Because of the 2 GHz
P/C clock, most kinds of optimum calculation are
acceptable for control. Authors did not adopt
commercial real time OS to avoid their complexity
and ambiguity.
2.1.2 Accuracy, Simplicity and Reliability
Actual arm angle can be detected by 14,400 pulses
per rev. through I/O board of the P/C. Control input
to the motor armature is in analogue through 10-bit
DAC. A backlash-less motor without a gear is
adopted. No redundant devices are included.
A simple system configuration directly
corresponds to its reliability and accuracy. These
devices are neatly packed on a single board.
2.1.3 Maintainability
In plant control applications in industries, the
traceable-ness is quite important. Once a software
bug stalled the plant and destroyed the machinery,
the plant cannot be restarted without fixing the bug.
In case of Windows PC, whose source codes are
not disclosed, this bug cannot be fixed. Therefore,
Authors adopted Linux OS of open source code.
2.1.4 Flexible Control Design Capability
Although, AC motors are commonly used instead of
DC motors today, Authors adopted a DC motor for
the arm control, because a DC motor can be easily
expressed by differential equations, which results in
better understanding for users or students.
The controller is designed in C-language and its
PID control reference software is initially installed
by a author. Users can only modify this software for
their own purpose. The input and output of this
controller are the pulse count of the pendulum angle
and the armature voltage of the DC motor,
respectively.
2.1.5 Computer Aided Engineering
This system includes a control CAD/CAE called by
Octave of free software instead of expensive Matlab.
Users can get the chart of controlled result by storing
the control variables in the software table every 1
ms. Octave also offers tools of control theory such
as eigen value, Ricatti solution and transfer function.
Users can compare the actual control results with the
modelled theoretical result by both charts.
2.1.6 Exclusion of Non-linearity in Devises
Authors believe that the mechanical non-linearity
such as backlash, friction and dead time are difficult
to be evaluated and also its fine repeatability is not
realized in actual plants. In the devices here, those
non-linearity are excluded as much as possible. The
gearless motor and the directly coupled encoder with
fine resolution are adopted.
In case of developing those non-linear control
methods, non-linearity should be realized in the P/C
through its software with repeatability. And then,
developed control scheme for pure non-linearity will
be applied to the actual field, and analyzed.
2.1.7 Cost and Open Documents
4 same systems are developed. Its cost is $3,000/set
excluding authors’ labour. This reasonable cost can
mainly be realized by adopting the free software of
Linux and Octave. Its specification is open by
authors to any other groups for education and non-
business use.
Figure 2: Control Block Diagram.
2.2 Hardware
This system consists of controlled process or plant
and a controller (Figure 2).
2.2.1 Process
a. Motor and Encoder
A small DC motor is adopted considering users’
safety. Rating specifications are on Table 1. Low
inertia-ed rotary encoder directly coupled with the
CSEDU 2010 - 2nd International Conference on Computer Supported Education
266