good way for lifting the pendulum up only if
enough acceleration is provided which is dependent
on sudden change of speed. Acceleration rate can be
changed by adjusting sampling time of Error and
Change in Error. Longer sampling time results with
higher alteration rate. Nevertheless, longer sampling
time has negative effects on system control. If one
selects sampling time close or bigger than falling
time, system will not stabilize the pendulum.
Besides, higher sampling time causes oscillation in
the system between the positive and the negative
sides of the vertical because of the magnitude of the
PWM output. To solve this dilemma, appropriate
sampling time must be selected. During inverted
pendulum development process, several artificial
sampling times (30 ms, 60 ms, 125 ms, 250 ms and
500 ms) were created using delay function. Test
results indicated that oscillation decreases for
smaller sampling times. That’s why, for inverted
pendulum system the fastest internal oscillator
option was employed without any delay function to
provide the shortest calculation interval possible.
4 CONCLUSIONS
In this paper, we focus on developing an inverted
pendulum with the aim of minimizing the size and
the cost of the system structure while increasing the
reliability and performance. By using a
microcontroller, hardware requirements are greatly
reduced as well as total cost. A new approach to
inverted pendulum design is proposed so that
unlimited circular movement is assured. Fuzzy
inference system with five triangular membership
functions and 25 rules provide an appropriate way
of control as far as low memory capacity of the
microcontroller is concerned. Empirical results
show that pendulum is balanced vertically either in
steady-state or in dead-band.
Inverted pendulum control system can be
improved in a number of ways. Lifting the
pendulum up from extreme edges can be achieved
by replacing the current pendulum with a lighter
and/or shorter one. A mass can be added at the top
of the pendulum in order to provide steady
movement and to facilitate the stabilization but such
a modification changes the place of center of
gravity to a great extent. Type of the motor and size
of the wheels affect the acceleration. Motor can be
changed with a powerful one or/and size of the
wheels can be bigger to provide more speed and
acceleration correspondingly.
It is known that oscillation can be reduced by
decreasing sampling time. Lower sampling time can
be achieved by using higher processor speeds. In
the project, sampling time was determined by the 8
MHz internal oscillator. So, a crystal oscillator may
be added to system as external clock source. Such a
modification increases the processor speed from 8
MHz up to 40 MHz.
REFERENCES
Gupta, M. M., Sinha N. K. 1995. Intelligent Control
Systems. New Jersey. IEEE Press.
Joldis, A. 2006. Supported inverted pendulum, another
kind of inverted pendulum. IEEE International
Conference on Automation, Quality and Testing,
Robotics. Vol. 1. pp. 143-148.
Lundberg, K. H., Roberge, J. K. 2003. Classical dual-
inverted-pendulum control. Proceedings. 42nd IEEE
Conference on Decision and Control. Vol. 5. pp.
4399 - 4404.
Mirza, A., Hussain, S. 1998. Robust controller for
nonlinear and unstable systems: inverted pendulum.
Journal of AMSE. Vol. 55. No. 3,4.
Ray, G., Das, S. K., Tyagi, B., 2005. Stabilization of
Inverted Pendulum via Fuzzy Control, IE(I) Journal–
EL.
Tsai, F. K., Lin, J.S. 2003. Backstepping Control Design
of 360-Degree Inverted Pendulum Systems.
Automatic Control Conference. pp. 138 – 143.
Wang, Z., Chen, Y., Fang, N., 2004. Minimum-time
swing-up of a rotary inverted pendulum by iterative
impulsive control. Proceedings of the 2004 American
Control Conference. Vol. 2. pp. 1335 – 1340.
Yurkovich, S., Widjaja, M., 1996. Fuzzy controller
synthesis for an inverted pendulum system. Control
Engineering Practice. Vol. 4. Issue 4. pp. 455-469.
Microchip PIC18F4620 Data Sheet. [online].
Available from:
http://ww1.microchip.com/downloads/en/DeviceDoc/396
26e.pdf
ICINCO 2009 - 6th International Conference on Informatics in Control, Automation and Robotics
354