Gait algorithm and PI control
Send broadcast
5
4
3
2
1
0
Time (s)
Reception time from the slaves (ms)
302520151050
10
8
6
4
2
0
Figure 3: Reception times of data coming from slaves.
a propagation delay of 1 ms has been recorded on the
Ethernet network (Figure 2). The network propaga-
tion delay between master and slaves mainly comes
from the switch.
The varying load on the slave CPU is visible on
the receiving times. But in any case, the reception
is well ordered, and the time remaining for the gait
algorithm and control computations is sufficient (8.5
- 10ms).
4 CONCLUSIONS
A distributed control architecture has been developed
for a hexapod robot. The slave element controls a
leg at position level: the PIC-based board allows easy
C programming of the control tasks, and is provided
with an open-source TCP/IP stack compatible with
the C18 Microchip compiler. The master is a PC run-
ning real-time Linux kernel on which an application
has been developed in C-ANSI for leg motion gen-
eration and data synchronization. The resulting con-
trol architecture is very flexible and has several ad-
vantages:
• The slaves have a generic program: they only
drive three motors and collect real-world data.
This avoids several re-programmings during the
development as it had been the case with a po-
sition controller directly implemented on them.
They just have a specific identification number,
which determines their IP address and data they
have to read from the master global packet.
• Any kind of controller and/or gait algorithm could
be implemented on the master, provided that the
computation is fast enough to stay inside the con-
trol time slice. For example, see (Bombled and
Verlinden, 2010) for a ground detection algorithm
from motors currents sensing.
• Communication hardware is made from widely
spread and inexpensive on the shelf materials,
namely: a network switch, an Ethernet adapter,
and microcontroller boards.
ACKNOWLEDGEMENTS
Many thanks to Prof. Y. Baudoin from the Royal Mili-
tary Academy of Belgium for the lending of AMRU5.
Authors are also grateful to the technical staff of the
TMDV Department: R. Berton and K. Nis.
REFERENCES
Berns, K., Ilg, W., Deck, M., Albiez, J., and Dillman, R.
(1999). Mechanical construction and computer ar-
chitecture of the four-legged walking machine bisam.
IEEE/ASME Transactions on Mechatronics, 4(1):32–
38.
Bombled, Q. and Verlinden, O. (2009). Dynamic model,
gait generation and control of the amru5 hexapod
robot. In Mobile Robotics : Solution and Challenges,
pages 513–521, Istanbul, Turkey. CLAWAR 12th In-
ternational Conference.
Bombled, Q. and Verlinden, O. (2010). Current sensing in a
six-legged robot. In IUTAM Symposium on Dynamics
Modeling and Interaction Control in Virtual and Real
Environments, Budapest, Hungary.
Gerkey, B., Vaughan, R., Stoy, K., Howard, A., Sukhatme,
G., and Mataric, M. (2001). Most valuable player:
A robot device server for distributed control. In Pro-
ceedings of the IEEE/RSJ International Conference on
Intelligent Robots and Systems (IROS), pages 1226–
1231, Wailea, Hawaii.
Gonzalez de Santos, P., Garcia, E., Estremera, J., and Ar-
mada, M. (2005). DYLEMA : Using walking robots
for landmine detection and location. International
Journal of Systems Science, 36(9).
Metta, G., Fitzpatrick, L., Natale, P., and Natale, L. (2006).
Yarp: yet another robot platform. International Jour-
nal on Advanced Robotics Systems, 3(1):43–48.
Quigley, M., Gerkey, B., Conley, K., Faust, J., Foote, T.,
Leibs, J., Berger, E., Wheeler, R., and Ng, A. Y.
(2009). Ros: an open-source robot operating system.
In Proc. Open-Source Software workshop of the In-
ternational Conference on Robotics and Automation
(ICRA), Kobe, Japan.
ICINCO 2011 - 8th International Conference on Informatics in Control, Automation and Robotics
280