Modeling, Simulation and Control of A Pipe Inspection Mobile Robot With An Active Adaptation System
Modeling, Simulation and Control of A Pipe Inspection Mobile Robot With An Active Adaptation System
2. MECHANICAL STRUCTURE OF THE ROBOT tasks (Wang et al. 2010). Selection of a proper modeling
method is dependent on the analyzed structure, since some
The design of the robot adaptable driving mechanism is based efficient methods for open kinematic chains may lose
on two pedipulators that control the pose of track drive convergence near singular positions (Dulęba & Opałka 2013).
modules. Virtual mechanical model of the robot is shown in
Fig. 1. Each pedipulator is a subsystem, attached to the body Mathematical modeling of the pipe inspection robot was
(2) that consists of two actuated rings (3, 4), front and rear arm divided into three main sections: kinematic motion model for
(5, 6) and a track drive module (1). The rings, with an axis of even surfaces and parallelly oriented tracks, described in
rotation in the center of the robot body are driven by (Ciszewski et al. 2013), dynamic model of the robot motion in
servomotors, from which torque is transferred by sprockets of water that was shown in (Ciszewski et al. 2014) and kinematic
internal meshing gear transmissions. Front and rear arms are modeling of pedipulator motion necessary for adaptation of the
mounted to the rings by revolute joints. Other sides of the arms robot chassis to changeable work environment. The last
are attached to the track drive module by rotary joints. The rear modeling task, presented in this paper, involves a novel,
arm is equipped with an additional servomotor that sets unconventional modeling approach focused on control of
orientation of the track module with respect to the arm. robot servomotors to attain desired poses of two track drive
modules. Inverse kinematics solution is implemented
iteratively in an original algorithm for calculation of
pedipulators transformation trajectories.
The pedipulator mechanism can be treated as planar, due to the
fact that the rotational joints axes are parallel. One pedipulator
consists of six rotary joints of which three are actuated (see
Fig. 2). The mechanism was divided into two planar
manipulators with two and three degrees of freedom that
represent front and rear parts of the pedipulator to facilitate
modeling tasks.
3. MATHEMATICAL MODELING OF THE ROBOT Forward kinematic equations for the pedipulators were
formulated for 2-DOF (front) and 3-DOF (rear) manipulators
Mathematical modeling of redundant robots and closed extracted from the structure with usage of Denavit-Hartenberg
kinematic chains usually requires special techniques to notation. Additionally, it was assumed that the manipulators
provide, efficient and valid solution for inverse kinematics have to move their end-effectors concurrently to fulfil
task. Models for redundant robots with open kinematic chain constraints of the closed kinematic chain. It is realized by
can be formulated with usage of Jacobian transpose, least- equating x and y positions of both D-H transformation matrices
squares methods, but to avoid singular poses and improve (Ciszewski et al. 2016).
robustness, custom algorithms are adapted for specific control
133
IFAC SYROCO 2018
Budapest, Hungary, August 27-30, 2018 Michał Ciszewski et al. / IFAC PapersOnLine 51-22 (2018) 132–137
134
Inverse kinematics task is the most important calculation Joint forces Q that induce motion of the end-effector can be
procedure for control of the pedipulators. Analytical methods mapped to joint forces and torques for each calculation step k
cannot be simply used for the tasks due to complex mechanical with usage of (3) by application of manipulator Jacobian
structure, existence of redundancies and kinematic constraints transpose 𝐽𝐽(𝑞𝑞〈𝑘𝑘〉)𝑇𝑇 . The mapping is never singular as it can be
that arise in these closed kinematic chains. Numerical in the case of velocity kinematics using Jacobian approach,
differential kinematics with usage of manipulator Jacobian is therefore it can be efficiently used for numerical solution of
an effective approach for calculation of inverse kinematic. complex inverse kinematics problems (Corke 2011).
Depending on analysed structure, different techniques can be
utilized, including Jacobian transpose, pseudoinverse or 𝑄𝑄〈𝑘𝑘〉 = 𝐽𝐽(𝑞𝑞〈𝑘𝑘〉)𝑇𝑇 ∙ 𝐺𝐺𝐸𝐸 〈𝑘𝑘〉 (3)
damped least squares method (Buss 2009). For the closed
kinematic chain of the pedipulator structure, additional By assumption that the virtual robot does not have joint
conditions had to be applied and a dedicated algorithm for motors, but only viscous dampers that impose proportionality
numerical calculations was developed. of applied forces to joint velocity, it is possible to express
Calculation of manipulator Jacobian matrices was done on the generalized joint velocity by (4) and for a discrete time-update
basis of D-H transformation matrices, with use of a method of joint coordinates by (5), where B is a joint damping
shown in (Wu & Young 1990). Next, a numerical algorithm coefficient and αC is a gain selected according to desired
was used that on the basis of Virtual Work principle, iteratively calculation convergence speed.
minimizes error between initial and goal poses of the end-
effector. This method, whilst valid for dynamic modeling is 𝑞𝑞̇ 〈𝑘𝑘〉 = 𝑄𝑄〈𝑘𝑘〉/𝐵𝐵, (4)
useful in general inverse kinematics (Corke 2011). In Fig. 3, a 𝑞𝑞〈𝑘𝑘 + 1〉 = 𝛼𝛼𝐶𝐶 ∙ 𝑞𝑞̇ 〈𝑘𝑘〉 + 𝑞𝑞〈𝑘𝑘〉, (5)
scheme of the 3-DOF (rear) manipulator, extracted from the
pedipulator structure is presented. The calculations are performed iteratively until the magnitudes
of generalized external forces 𝐺𝐺𝐸𝐸 that actuate the manipulator
to desired pose are sufficiently small. With usage of this
method, numerical determination of inverse kinematics can be
executed. The analyzed robot has less than 6-DOF, therefore
a mask vector M has to be applied that specifies controllable
degrees of freedom. In this case it is used to select
𝑝𝑝𝐸𝐸𝐸𝐸 , 𝑝𝑝𝐸𝐸𝐸𝐸 , 𝜙𝜙𝐸𝐸𝐸𝐸 coordinates on a planar.
134
IFAC SYROCO 2018
Budapest, Hungary, August 27-30, 2018 Michał Ciszewski et al. / IFAC PapersOnLine 51-22 (2018) 132–137 135
manipulator between initial and final poses. Next, inverse points are visualized in range from initial to final pose. The
kinematics problem was solved with usage of Jacobian visualization was prepared in MATLAB software.
transpose for the rear manipulator to match its position with
end-effector of the front manipulator. In case of this pipe
inspection robot, calculation of the pedipulator analytical
inverse kinematics problem gives 8 solutions for the entire
structure. Therefore, additional conditions were used for the
planar manipulators with limitation of joint rotation angles.
The final step was to eliminate oscillations of the manipulator,
caused by transition through singular positions. Finally, joint
trajectories of both 2-DOF and 3-DOF planar manipulators
were merged and only actuated joints were selected to perform
reconfiguration of the pedipulators. The calculations were
performed in MATLAB software with addition of the Robotics
Toolbox (Corke 2011). As a result, smooth trajectories for
transformation of both robot pedipulators were obtained. Due
to the fact that each pedipulator mechanism is a closed
kinematics chain of specific structure, it is sufficient to use
three motors to set particular pose of one track drive module.
Calculation workflow is depicted in Fig. 4. The scheme
constists of major steps in the calculations procedure. In some
cases, to achieve valid results, it is necessary to perform
several iterations, with use of custom, structure specific rules.
(a)
Fig. 4. Calculation steps in pedipulators transformation
calculation algorithm.
On the basis of the previously presented mathematical models,
implemented in the original algorithm, joint trajectories for
different transformations were obtained. Transformation time
was assumed to be 5 seconds for all cases to ensure easier
comparison of the results. The results for transformation from
neutral pose to horizontal pipes with diameter Ø210 mm are
shown in Fig. 5. It can be noted that results of the
transformations are smooth due to utilization of 5 th order
polynomial interpolation and application of custom rules for (b)
trajectory generation task. The presented approach is effective
for solving inverse kinematics task for the closed kinematic Fig. 6. Graphical validation of pedipulators transformation
chain of the robot. trajectories from the neutral pose to a Ø210 mm horizontal
pipe: (a) initial pose; (b) final pose.
Graphical validation of the trajectories on a pedipulator model
is shown in Fig. 6. All characteristic points of the mechanical It can be observed that mathematical modeling of the robot can
structure were marked with cylinders, representing rotary be used for control of the pedipulators to adapt to different
joints. Traces of trajectories of all joints and track contact sizes and shapes of pipelines.
135
IFAC SYROCO 2018
Budapest, Hungary, August 27-30, 2018 Michał Ciszewski et al. / IFAC PapersOnLine 51-22 (2018) 132–137
136
5. CO-SIMULATION IN MATLAB AND V-REP To check whether the prototype would be capable of driving
SOFTWARE on rough surfaces, a special simulation environment was
prepared. The motion on a randomly generated rough terrain,
Co-simulations of the robot control in V-REP and MATLAB as depicted in Fig. 7b gave stable simulation results.
environments were prepared to analyze and verify
mathematical models of the robot, especially trajectory Operation of the robot model in the V-REP environment was
calculation for adaptation of pedipulators to different work compared to the theoretical results of pedipulators trajectory
environments. V-REP is a multi purpose robotic simulation planning, obtained in MATLAB. In Fig. 8, comparison of
software that allows integration of control algorithms or pedipulator transformation results for the structure are plotted
connection with external applications to run the models (Spica for the complex 2-phase adaptation between neutral pose and
et al. 2014). Robot model creation process was thoroughly a pose for motion on horizontal surfaces via an intermediate,
described in (Ciszewski et al. 2016). Co-simulation of the empirically determined pose. The absolute position error
robot model required creation of a MATLAB/Simulik between those two models do not exceed 1.5 degrees. It should
schematic diagram that allowed integration of the previously be noted that the theoretical results obtained in MATLAB do
described trajectory planning algorithm with hardware support not take into consideration dynamic effects as forces in joints
of a physical joystick used for control of the robot model, as that are actuated or free in the V-REP simulation, as in real
well as synchronous communication with the V-REP prototype. Moreover, in the V-REP model, the Bullet
simulator. Initial and final poses for transformation of the simulation engine, used for the simulations, adds some
pedipulators were chosen by the operator, based on knowledge elasticity and damping to revolute joints. Therefore, the results
about pipe gemetry. In real operating conditions, these can be viewed as valid, since very precise positioning is not
decisions can be made based on camera video signal. crucial for proper operation of the prototype.
The simulations involved tests in horizontal pipes with
different diameters and obstructions such as bends and
reducers. In Fig. 7a, the robot after negotiation of a bend is
shown. Reconfiguration of the pedipulators is controlled with
usage of the control algorithm developed in MATLAB,
whereas, track drives velocities are adjusted in real time by the
operator by the hardware joystick, handled by
MATLAB/Simulink synchronous simulation.
136
IFAC SYROCO 2018
Budapest, Hungary, August 27-30, 2018 Michał Ciszewski et al. / IFAC PapersOnLine 51-22 (2018) 132–137 137
REFERENCES
ABE Group, 2017. Kamery do inspekcji rurociągów i
kanalizacji. Available at: http://abe-group.eu/kamery-
inspekcyjne/ [Accessed September 26, 2017].
Buratowski, T., Uhl, T. & Żylski, W., 2003. The comparison
of parallel and serial-parallel structures of mobile robot
pointer 2DX state emulator. IFAC Proceedings
Volumes, 36(17), pp.295–300.
Buss, S.R.S., 2009. Introduction to inverse kinematics with
Fig. 9. Prototype of the robot – adaptation test of the jacobian transpose, pseudoinverse and damped least
pedipulators with usage of the algorithm squares methods. University of California, San Diego,
Typeset manuscript, 132(4), pp.1–19.
Ciszewski, M. et al., 2013. Mobile inspection robot. In
Applied Mechanics and Materials. pp. 385–392.
Ciszewski, M. et al., 2016. Modeling and simulation of a
tracked mobile inspection robot in MATLAB and V-
REP software. In K. Tchoń & C. Zieliński, eds. Postępy
robotyki. Warszawa: Prace Naukowe Politechniki
Warszawskiej. Elektronika, pp. 135–144.
Ciszewski, M. et al., 2014. Virtual Prototyping, Design and
Analysis of an in-Pipe Inspection Mobile Robot.
Journal of Theoretical and Applied Mechanics, 52(2),
pp.417–429.
Corke, P., 2011. Robotics, Vision and Control: Fundamental
Fig. 10. Prototype of the robot – adaptation test of the Algorithms in MATLAB, Springer Science & Business
pedipulators with usage of the algorithm Media.
Dulęba, I. & Opałka, M., 2013. A comparison of Jacobian-
7. CONCLUSIONS based methods of inverse kinematics for serial robot
Application of mathematical tools and computer simulations manipulators. International Journal of Applied
proved to be effective and provided initial testing platform of Mathematics and Computer Science, 23(2), pp.373–
control system designed for the robot’s pedipulators. The 382.
modeling approach with use of differential kinematics and Inuktun, 2017. Inuktun | The Multi-Mission Modular
iterative solution of inverse kinematics problem can be Robotics Company. Available at:
successfully used for control of closed kinematic chains, but it http://inuktun.com/en/products/ [Accessed September
is necessary to enhance the model with custom structure- 26, 2017].
dependent rules. Results of the experiments with the prototype NEOVISION s.r.o., Jetty, Cleaning and inspectional robot for
lead to a conclusion that it is advantageous to utilize an active air-induction ducting. Available at:
chassis with adaptation capabilities to apply one robot for http://www.neovision.cz/sols/jetty.html [Accessed
different types of environments with restricted access. March 31, 2016].
Mathematical modeling and simulations of mechatronic Spica, R. et al., 2014. Interfacing Matlab / Simulink with V-
systems have been developed in the Department of Robotics REP for an Easy Development of Sensor-Based
and Mechatronics, AGH for many years, however in initial Control Algorithms for Robotic Platforms. In 2014
phase they relied only on numerical calculations performed in IEEE Int. Conf. on Robotics and Automation Workshop
MATLAB/Simulink (Buratowski et al. 2003). Application of on MATLAB/Simulink for Robotics Education.
modern simulation software such as V-REP gives much better Brisbane.
possibilities to integrate mathematical modeling, implemented Wang, J., Li, Y. & Zhao, X., 2010. Inverse kinematics and
in MATLAB and visualize their applicability on a virtual control of a 7-DOF redundant manipulator based on the
model to create effective co-simulations, enhanced by closed-loop Algorithm. International Journal of
multibody simulation, integrated motor controllers, emulation Advanced Robotic Systems, 7(4), pp.1–9.
of sensors and environmental interaction. Wu, C.H. & Young, K.Y., 1990. An efficient solution of a
differential inverse kinematics problem for wrist-
The future works would include elaboration of an active partitioned robots. IEEE Transactions on Robotics and
adaptation system with regulation of extension forces, based Automation, 6(1), pp.117–123.
on measurements from current drain sensors for the Zhang, Y. & Yan, G., 2007. In-pipe inspection robot with
servomotors and the tracks. This system would provide active pipe-diameter adaptability and automatic tractive
improved safety during motion in vertical pipelines with force adjusting. Mechanism and Machine Theory,
sediments, obstructions and other disturbances of pipe 42(12), pp.1618–1631.
geometry by automatic adjustment of clamp force.
137