Inverted Pendulum With Force Control
Inverted Pendulum With Force Control
Fig. 2. Left side is the plot of simulink model and right side is he
physical model response. Left bottom are the estimated parameters
values.
Kd ė + K p e = 0
So this becomes the outer loop which gives
the desired current and then the inner PI loop
calculated the PWM that is given to our plant. The
Fig. 5. Control loop of position control
current control loop will be later used for force
control.
The simulink model was made with the param- V. conclusions
eters value as estimated and the gains were tuned. So from the above comparison we can see that
The values of the gains are as follows in Table(1). the response of simulation and physical system
are quite similar. There is some overshoot in the
Mass of assembly m 0.4925 kg
Moment of Inertia J 0.029615E − 4kgm2
physical system. This is due the fact that parame-
Inductance L 0.52E − 5 µH ters estimated can never be perfectly equal to real
Resistance R 20 Ω system parameters and also there was a quite a
Motor friction constant b 0.019E − 3 large amount of lag when running the real system
Torque constant K 2.5
Proportional current gain K pi 2 using simulink. But still the position control was
Integral current gain Kii 0.0001 quite accurate the system was quickly approaching
Derivative current gain Kdi 3 to stability and the steady-state error was very
Proportional gain Kp 31.5
Derivative gain Kd 0.01
small.
TABLE I References
Gains and Parameters used in physical and simulation
[1] https://ctms.engin.umich.edu/CTMS/Content/MotorPosition/
System/Modeling/figures/motor.png
[2] https://ctms.engin.umich.edu/CTMS/index.php?example=
Using the legacy arduino hardware support for MotorPositionsection=SystemModeling
Simulink the model was run on physical setup with [3] I. S. Jacobs and C. P. Bean, “Fine particles, thin films and
exchange anisotropy,” in Magnetism, vol. III, G. T. Rado and
same gains and input. The response of θ vs t was H. Suhl, Eds. New York: Academic, 1963, pp. 271–350.
compared with simulation. [4] K. Elissa, “Title of paper if known,” unpublished.
[5] R. Nicole, “Title of paper with only first word capitalized,”
J. Name Stand. Abbrev., in press.
[6] Y. Yorozu, M. Hirano, K. Oka, and Y. Tagawa, “Electron
spectroscopy studies on magneto-optical media and plastic
substrate interface,” IEEE Transl. J. Magn. Japan, vol. 2, pp.
740–741, August 1987 [Digests 9th Annual Conf. Magnetics
Japan, p. 301, 1982].
[7] M. Young, The Technical Writer’s Handbook. Mill Valley,
CA: University Science, 1989.