<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">POS</journal-id><journal-title-group><journal-title>Positioning</journal-title></journal-title-group><issn pub-type="epub">2150-850X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/pos.2013.42016</article-id><article-id pub-id-type="publisher-id">POS-31511</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Self-Constructing Neural Network Modeling and Control of an AGV
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>afar</surname><given-names>Keighobadi</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Khadijeh</surname><given-names>Alioghli Fazeli</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Mohammad</surname><given-names>Sadeghi Shahidi</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Faculty of Mechanical Engineering, University of Tabriz, Tabriz, Iran</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>keighobadi@tabrizu.ac.ir(AK)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>21</day><month>05</month><year>2013</year></pub-date><volume>04</volume><issue>02</issue><fpage>160</fpage><lpage>168</lpage><history><date date-type="received"><day>February</day>	<month>23rd,</month>	<year>2013</year></date><date date-type="rev-recd"><day>March</day>	<month>26th,</month>	<year>2013</year>	</date><date date-type="accepted"><day>April</day>	<month>11th,</month>	<year>2013</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   Tracking precision of pre-planned trajectories is essential for an auto-guided vehicle (AGV). The purpose of this paper is to design a self-constructing wavelet neural network (SCWNN) method for dynamical modeling and control of a 2-DOF AGV. In control systems of AGVs, kinematical models have been preferred in recent research documents. However, in this paper, to enhance the trajectory tracking performance through including the AGV’s inertial effects in the control system, a learned dynamical model is replaced to the kinematical kind. As the base of a control system, the mathematical models are not preferred due to modeling uncertainties and exogenous inputs. Therefore, adaptive dynamic and control models of AGV are proposed using a four-layer SCWNN system comprising of the input, wavelet, product, and output layers. By use of the SCWNN, a robust controller against uncertainties is developed, which yields the perfect convergence of AGV to reference trajectories. Owing to the adaptive structure, the number of nodes in the layers is adjusted in online and thus the computational burden of the neural network methods is decreased. Using software simulations, the tracking performance of the proposed control system is assessed.
     
 
</p></abstract><kwd-group><kwd>Wavelet; Neural Networks; Self-Constructing Dynamical Modeling; Trajectory Tracking</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Nowadays, wide range applications of AGVs in industry, transportation, inspection and other fields have increased the importance of the trajectory tracking control of nonholonomic AGVs [1-4]. As the base of path-following controllers, kinematic models of nonholonomic systems have been preferred by most researchers in recent literatures [<xref ref-type="bibr" rid="scirp.31511-ref5">5</xref>]. However, dynamical models though increasing the complexity of control systems are essential due to comprising the vehicle inertial effects as long as its Coriolis, centripetal and linear accelerations in the inputs torques. Furthermore, merely using the dynamical models the input torques to the AGV’s driving wheels could be considered as direct control commands.</p><p>In this paper, following kinematic modeling of the generalized AGV whose center of mass is placed out of the center of rotation between two independent driving wheels, the dynamical models of AGV are developed in both Cartesian and polar coordinate systems. Owing to the nonholonomic constraints on AGV’s kinematics, the so-called global dynamical model of AGV includes a coupled constraint equation with two dynamical equations corresponding to 2 DOF of the system. However, the represented dynamical models of AGV by local posture variables don’t include the non-integrable constraints. These kind of dynamical models are more appropriate to design sliding surfaces associate with robust switching controllers [<xref ref-type="bibr" rid="scirp.31511-ref4">4</xref>]. However, as model based controllers require the complete knowledge of the AGV parameters including the inertial matrix, the global dynamical models are superior in the estimation of unknown parameters (see [6,7]).</p><p>Furthermore, due to the physical meaning of initial off tracks with respect to global coordinate frames, the control systems based on global dynamical models should be selected when the vehicle is out of the desired path.</p><p>Inaccuracies in physical models of AGVs usually degrade the performance of trajectory tracking controllers, therefore, different strategies of solution have been proposed in recent two decades. A nonlinear adaptive controller has been designed based on a dynamical model updated by the online estimation of the plant inertial parameters [<xref ref-type="bibr" rid="scirp.31511-ref1">1</xref>]. Furthermore, robust sliding mode control techniques could be used to accomplish perfect path tracking when there are considerable uncertainties in the mathematical model of systems like an AGV [4,8]. Besides the complicated structure of sliding mode controllers integrated with the plant dynamics, this method is suffered by the chattering phenomenon [<xref ref-type="bibr" rid="scirp.31511-ref9">9</xref>].</p><p>Considering the lack of the physical models, the artificial neural networks (ANN) method as a universal function approximation generates a well posed mathematical model with adaptive learning capability. Using a multilayer feed-forward ANN, a combined controller of feedback velocity control and torque control techniques could be developed. However, due to the complicated structures of both the controller and the neural networklearning algorithm, the control system is computationally expensive. Jun has proposed a combined neural network with PID control to take advantage of the simplicity of PID controllers and the powerful capability of learning, adaptability and tackling nonlinearity of neural networks [5,10]. As an important imperfection over most of the developed controllers in the documented research works, the control system merely uses the kinematic equations and therefore, the control commands are limited to the steering angle and forward velocity of the Vehicle. Through developing dynamic based controller, the inertial effects are considered in the imposed torques on the driving wheels as direct control commands to the AGV. In this paper, a four layers back propagation ANN control system for trajectory tracking control of nonholonomic AGVs is designed. A new learning scheme is derived to train the weights of each layer of the neural network by minimizing a criterion prescribed in a quadratic form of the error between desired and followed trajectories by the AGV. A simple torque combined system consisting of a computed torque controller and a neural network controller with parallel structure is presented for trajectory tracking control of nonholonomic AGVs. In the classic NN system, the main drawbacks are undesirable local minima and slow convergence of back-propagation learning. Moreover, the implementation of multiple feed-forward neural networks suffers from the lack of efficient constructive approaches, both for determining parameters of neurons and for choosing network structures. To overcoming the disadvantages of global approximation ANN, the global activation function is substituted with localized wavelet neural networks in the controller [<xref ref-type="bibr" rid="scirp.31511-ref4">4</xref>]. Due to the local properties of wavelets, arbitrary functions can be approximated by the truncated discrete wavelet transform [<xref ref-type="bibr" rid="scirp.31511-ref7">7</xref>].</p><p>A self-constructing four-layer wavelet network including input, wavelet, product, and output layers is used to modeling and trajectory tracking control of the vehicle. Using orthogonal wavelet functions as node functions of the network, both the structure and the parameters of the controller are learned in online. In the structure learning process, the degree measure method is used to find the proper wavelet bases and to minimize the number of wavelet bases generated from input space. In parameter learning scheme, the supervisory gradient descent algorithm is used to adjust the shape of wavelet functions and the connection weights of the network. The computed torque SCWN controller based on feedback error learning strategy results in perfect tracking control performance. The rest of the paper is organized as follows.</p><p>In Section 2, kinematic and dynamic modeling of AGV is derived. Section 3 is devoted to wavelet neural network modeling of the AGV. Trajectory tracking controllers are represented in Section 4. Software simulation and concluding remarks are presented in Sections 5 and 6, respectively.</p></sec><sec id="s2"><title>2. AGV Kinematics</title><p>According to the schematic of AGV in <xref ref-type="fig" rid="fig1">Figure 1</xref>, it comprises a plate body carried by two independent driving wheels. The other two caster wheels prevent the vehicle from tipping over as it moves on a plane. Owning to very small inertial moments of the casters, their dynamical effects on the AGV’s motion could be ignored. Per as <xref ref-type="fig" rid="fig1">Figure 1</xref>, a is the distance between the center of mass of the vehicle (shown by C) and the connection center of driving wheels. Furthermore, 2l and R denote the length of driving axel and the radius of driving wheels, respectively. The fixed axes of local coordinates, x-y on the vehicle body are centered on point C.</p><p>In the dynamical modeling of AGV, the generalized coordinates vector is considered as:</p><disp-formula id="scirp.31511-formula102557"><label>(1)</label><graphic position="anchor" xlink:href="4-8501061\07475e2f-2b79-4325-b959-2f1916dde734.jpg"  xlink:type="simple"/></disp-formula><p>where, <img src="4-8501061\ab3e44ca-f094-49af-90a5-84b3afaee185.jpg" />and <img src="4-8501061\d1a83b00-857a-48d6-9283-e7c5b0aba0f9.jpg" /> show the position of the AGV’s center of mass in the global coordinate system with axes X-Y; the heading angle between y and Y axes, <img src="4-8501061\a4dea9de-6886-4928-947b-83358cefc614.jpg" />represents the orientation of the AGV in plane motions; and <img src="4-8501061\e0d38a97-65e3-44a0-87e0-ae01f22945ce.jpg" /> are the rotation angles of the right and left driv-</p><p>ing wheels, respectively. To explain the AGV’s position in global polar coordinates, the components <img src="4-8501061\fc18e2e8-6a6a-4626-93a0-802d87e97b86.jpg" /> could also be used.</p><p>The assumption of pure rolling and not slipping motion of driving wheels leads to a non-integrable constraint in the kinematical model of the nonholonomic vehicles. Therefore, the AGV’s posture could be determined completely using at least three generalized coordinates though its dynamical model comprises only two differential equations.</p><p>Considering the AGV kinematics, the following holonomic constraints are valid for movements on non-sliding and smooth surfaces.</p><disp-formula id="scirp.31511-formula102558"><label>(2)</label><graphic position="anchor" xlink:href="4-8501061\6b574fbe-c201-4d47-8aaf-efeac0b643c5.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102559"><label>(3)</label><graphic position="anchor" xlink:href="4-8501061\b61fa92b-f55d-40d8-b4a3-f5321c590803.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102560"><label>(4)</label><graphic position="anchor" xlink:href="4-8501061\daf3cd2d-2455-411e-bc0a-14d4122a615b.jpg"  xlink:type="simple"/></disp-formula><p>Transforming the local velocity components of AGV to the global components results in the nonholonomic constraints as:</p><disp-formula id="scirp.31511-formula102561"><label>(5)</label><graphic position="anchor" xlink:href="4-8501061\2e048f9c-bfb8-4447-b65b-c84d5c767321.jpg"  xlink:type="simple"/></disp-formula><p>These constraints could be rewritten using (1) through (4) to obtain direct transformation matrix between the global velocity components and the local translationalrotational velocity components as:</p><disp-formula id="scirp.31511-formula102562"><label>(6)</label><graphic position="anchor" xlink:href="4-8501061\99977658-0083-4d83-9b24-6fb910ebada3.jpg"  xlink:type="simple"/></disp-formula><p>where, the local velocity components <img src="4-8501061\b28b5760-6005-43b7-a131-5ceb00102f7c.jpg" /> and <img src="4-8501061\72652797-6cb3-45fc-add2-bce6fe6f019c.jpg" /> stand for the linear forward velocity of AGV and its angular velocity around the vertical axis, respectively.</p><p>Using the posture variables of polar coordinate system,</p><p><img src="4-8501061\49659f0d-bc6f-492a-ae21-9f7387c96275.jpg" />and <img src="4-8501061\1cd1e568-ff9d-40b8-a16a-eb5924cdfb50.jpg" /> in (6), the kinematical model of AGV in polar coordinates is obtained as follows.</p><disp-formula id="scirp.31511-formula102563"><label>(7)</label><graphic position="anchor" xlink:href="4-8501061\cc112de6-15e4-4192-b519-49393e59a6bd.jpg"  xlink:type="simple"/></disp-formula><p>The considered distance between the centers of rotation and mass of the AGV, <img src="4-8501061\b27c8211-d8d7-4eca-903c-55bfdd1613af.jpg" />leads to an enlarged application range of the proposed methods to different kind of industrial, service and entertainment vehicles.</p><p>Owing to excluding the inertial effects, the designed controllers based on the kinematical models (2) through (7) may not be very satisfied in real world at least for mechanical engineers. Furthermore, the dynamical models of AGV should be used as the base of control systems to obtain the input torques to AGV as direct control commands.</p></sec><sec id="s3"><title>3. Dynamic Modelling of AGV</title><p>In the dynamical models, the applied torques to the driving wheels would be obtained as terms of the vehicle accelerations, velocities, and posture variables as well as the inertial parameters. In this paper, the well-known Lagrange’s method is used to determine the dynamical equations of motion as:</p><disp-formula id="scirp.31511-formula102564"><label>(8)</label><graphic position="anchor" xlink:href="4-8501061\bf317f34-9e07-41a4-a6a6-9b502f89b4eb.jpg"  xlink:type="simple"/></disp-formula><p>where, <img src="4-8501061\da736971-aa8a-4814-84cb-e871fbdc8c1d.jpg" />is a Lagrange multiplier; <img src="4-8501061\0fc2e771-76a6-4d77-9565-1694520d39bc.jpg" />is given by the nonholonomic constraints; and T is the control torque vector with components, T<sub>R</sub> and T<sub>L</sub> which are generated by separate actuator motors of the right and left driving wheels, respectively. Now the following Lagrangian could be considered for the AGV dynamic modeling [<xref ref-type="bibr" rid="scirp.31511-ref1">1</xref>].</p><disp-formula id="scirp.31511-formula102565"><label>(9)</label><graphic position="anchor" xlink:href="4-8501061\817c31f2-1956-44ff-a6ba-3521bf677f2c.jpg"  xlink:type="simple"/></disp-formula><p>where, m is the total mass of the vehicle; <img src="4-8501061\7d12f87c-c43b-4df1-aa9f-d68ec1b8e512.jpg" />is the AGV’s moment of inertia around the normal axis of X-Y plane crossing through the point C; and <img src="4-8501061\a168a227-330f-4c6b-8ef2-a00d9ecb822c.jpg" /> denotes the inertia moment of driving wheels. Applying (9) in (8) and using the kinematical constraints (2) through (5) gives:</p><disp-formula id="scirp.31511-formula102566"><label>(10)</label><graphic position="anchor" xlink:href="4-8501061\ae09dc94-de06-4b48-99e6-21b11a030844.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102567"><label>(11)</label><graphic position="anchor" xlink:href="4-8501061\284bc10c-6753-4778-a34a-0c5f3537c691.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102568"><label>(12)</label><graphic position="anchor" xlink:href="4-8501061\8d36f621-60ca-441e-bbf6-b08d206035a6.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102569"><label>(13)</label><graphic position="anchor" xlink:href="4-8501061\75130d3b-5849-4780-b669-06b0c1fdfbb3.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102570"><label>(14)</label><graphic position="anchor" xlink:href="4-8501061\fe6c0939-7e8f-4b62-b540-b6792199255d.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102571"><label>(15)</label><graphic position="anchor" xlink:href="4-8501061\69fae8d4-a76e-4b9e-84e7-fc728bca9177.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102572"><label>(16)</label><graphic position="anchor" xlink:href="4-8501061\9712fb4d-123f-44b3-a0a4-348dd98d96dd.jpg"  xlink:type="simple"/></disp-formula><p>As represented by Hu and Huo [<xref ref-type="bibr" rid="scirp.31511-ref11">11</xref>], many nonholonomic mechanical systems could be described by Equation (10) in which in general form, <img src="4-8501061\078e8a26-54e8-47c1-8723-450dbdd5db88.jpg" />and <img src="4-8501061\b58873a1-00e6-4ef3-89ba-bbdfd8419bfb.jpg" /> are the generalized configuration and the control input vectors, respectively; <img src="4-8501061\da2fa756-cffa-497b-83d4-ab3f1d0f3720.jpg" />is the constraint force vector; <img src="4-8501061\409cfae4-040b-4eae-bdf7-7b277c4f0cbd.jpg" />is a positive definite matrix; <img src="4-8501061\c8d5dc1a-5617-454e-9fcf-bf41a8c3285f.jpg" />is the term which includes centripetal and Coriolis forces; <img src="4-8501061\10ea990e-7636-4dd9-aa47-2671787dc953.jpg" />is a <img src="4-8501061\70bb480e-995b-498c-acf6-53543dd34fe8.jpg" /> full rank transformation input matrix; <img src="4-8501061\08657652-4fe8-4cd4-abbc-d7d89959e65f.jpg" />is a <img src="4-8501061\5676e30f-bf4f-43e6-9f7e-219e1c16a0f0.jpg" /> full rank matrix associated with the constraints.</p><p>In order to achieve an applicable model for control purposes, the constraint force vector, <img src="4-8501061\a93b0090-c056-41b0-810f-2e4bf18708bd.jpg" />should be eliminated from (10). Depending on using which set of kinematical equations, four different dynamical models are presented in this paper. Using constraints (2) through (5), the following so called local dynamic model is obtained.</p><disp-formula id="scirp.31511-formula102573"><label>(17)</label><graphic position="anchor" xlink:href="4-8501061\c0280c27-cc3e-4f78-bb0e-cd34994dfde9.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102574"><label>(18)</label><graphic position="anchor" xlink:href="4-8501061\c121fc83-794c-4575-9a72-ca573ec501cc.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102575"><label>(19)</label><graphic position="anchor" xlink:href="4-8501061\97639f51-4c5c-439a-84d1-6d7a0be2e537.jpg"  xlink:type="simple"/></disp-formula><p>Using (2) and (3) in (17) to replacing <img src="4-8501061\b25446c1-6fec-4a72-b587-c2197f16aa44.jpg" /> by <img src="4-8501061\256ced95-2020-459f-a72b-509830b66a92.jpg" /> results in another so-called local dynamical model of AGV as:</p><disp-formula id="scirp.31511-formula102576"><label>(20)</label><graphic position="anchor" xlink:href="4-8501061\2612b2e9-6f30-4633-941b-4db7aa8141bc.jpg"  xlink:type="simple"/></disp-formula><p>Using local dynamical models as the base of path following control systems results in uncompensated initial position off tracks though the tracked orientation trajectory by the AGV becomes accurate [<xref ref-type="bibr" rid="scirp.31511-ref4">4</xref>]. To overcome this difficulty, two dynamical models of AGV are developed using global posture variables. Therefore, using constraints (5) to replacing the local velocity and acceleration components in (20) by corresponding global kinds results as:</p><disp-formula id="scirp.31511-formula102577"><label>(21)</label><graphic position="anchor" xlink:href="4-8501061\bc166907-4218-4656-bca5-3ae4881c92e9.jpg"  xlink:type="simple"/></disp-formula><p>The elements of inertial matrix and nonlinear vector, <img src="4-8501061\d714ded2-8074-4ff8-a998-8b71947abf91.jpg" />associated with the global dynamical model (21) are obtained as:</p><disp-formula id="scirp.31511-formula102578"><label>(22)</label><graphic position="anchor" xlink:href="4-8501061\b37edf8a-d731-416c-8d9a-20f35c2cbe20.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102579"><label>(23)</label><graphic position="anchor" xlink:href="4-8501061\5f4078b2-0ee0-4432-af32-756289102662.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102580"><label>(24)</label><graphic position="anchor" xlink:href="4-8501061\d4d74177-9623-4f7b-8ab2-c38b933bf9a3.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102581"><label>(25)</label><graphic position="anchor" xlink:href="4-8501061\f1118002-9606-4cd0-8d83-fe508492516a.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102582"><label>(26)</label><graphic position="anchor" xlink:href="4-8501061\6ead1434-2e62-47c8-b2be-c61bcb120a12.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102583"><label>(27)</label><graphic position="anchor" xlink:href="4-8501061\6980cc3d-a453-48cc-a809-1bc58bffe6ef.jpg"  xlink:type="simple"/></disp-formula><p>where:</p><disp-formula id="scirp.31511-formula102584"><label>(28)</label><graphic position="anchor" xlink:href="4-8501061\a1ff0ebf-e54c-4c50-bb4a-c1094d26c38d.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102585"><label>(29)</label><graphic position="anchor" xlink:href="4-8501061\f573a189-ee64-48f8-8b8e-fdf48668bc78.jpg"  xlink:type="simple"/></disp-formula><p>By use of kinematical model (6), <img src="4-8501061\cb80fc04-c14f-42e3-a92a-6dfa5da82b9f.jpg" />and <img src="4-8501061\97aac12e-2c75-45f2-8bfc-0d497e8fc71b.jpg" /> could be written in terms of <img src="4-8501061\967b7770-ac00-45f9-a3f1-19dda79f8e1c.jpg" /> and<img src="4-8501061\5d6c4e8b-baca-4dde-a82a-8c9a84c9573f.jpg" />. Hence, (21) is changed to the second dynamical model in global coordinate system as:</p><disp-formula id="scirp.31511-formula102586"><label>(30)</label><graphic position="anchor" xlink:href="4-8501061\e18ff5a9-a1ab-4736-8f35-cca30802a28b.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102587"><label>(31)</label><graphic position="anchor" xlink:href="4-8501061\9b1a1d31-3f81-4697-99f1-baccc733c1d4.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102588"><label>(32)</label><graphic position="anchor" xlink:href="4-8501061\40a20af3-a37e-4d92-9e31-1a8e07872e3a.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102589"><label>(33)</label><graphic position="anchor" xlink:href="4-8501061\5132c1b1-1bdd-4fa6-8ced-971c088ff574.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102590"><label>(34)</label><graphic position="anchor" xlink:href="4-8501061\b72a10e6-68b1-4050-8e96-3169d715a3c9.jpg"  xlink:type="simple"/></disp-formula><p>Unlike the model (21), the represented model (30) is simple and its inertial matrix doesn’t include the posture variables of AGV. Therefore, this new dynamical model (30) is not affected by probable measurement noises of orientation variable,<img src="4-8501061\fdc45376-9488-40e5-a092-148a9be57521.jpg" />.</p></sec><sec id="s4"><title>4. Wavelet Neural Network (WNN)</title><p>As the base of a control system, the mathematical models are not preferred due to modeling uncertainties and exogenous inputs affecting real systems. In this section dynamical modeling of the AGV is considered as a self-constructing wavelet neural network (SCWNN) system. As shown in block diagram of <xref ref-type="fig" rid="fig2">Figure 2</xref>, the SCWNN receives a vector of desired reference position, velocity and orientation trajectories, <img src="4-8501061\9c5adbc2-95aa-4699-aef8-1c74714d7335.jpg" />that should be tracked by the AGV. Through the learned SCWNN, the input torque vector, T which should be imposed on the driving wheels of the AGV is generated. Therefore, the AGV will track the desired position and orientation posture variables by applying the intelligently produced torque vector, T. The structure of the designed wavelet neural network (WNN) model is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>The proposed SCWNN has a four-layer structure comprising of the input layer, wavelet layer, product layer, and output layer. The input data to the first layer of the network is a n-dimensional vector of posture variables as, <img src="4-8501061\885f18b8-23f2-4e62-bc20-7ff2ed9de2d2.jpg" />which is normalized into the interval<img src="4-8501061\e0de41c9-7b7a-43f7-9714-d552cc23d11d.jpg" />. The activation functions of wavelet nodes in the second layer are derived from the mother wavelet, <img src="4-8501061\a09fa481-bf6b-4047-a91e-01bab367554e.jpg" />with a dilation, d and a translation t as:<img src="4-8501061\f04325e5-7e4b-460c-993a-a11012d281c9.jpg" />. The mother wavelet is selected in such a way that it constitutes an orthonormal basis in<img src="4-8501061\2e9d0f38-1c6c-46f5-b020-d0cbcd0c9dc6.jpg" />. The derivation of a differentiable Mexican-hat function is considered as a mother wavelet herein [<xref ref-type="bibr" rid="scirp.31511-ref8">8</xref>],</p><disp-formula id="scirp.31511-formula102591"><label>(35)</label><graphic position="anchor" xlink:href="4-8501061\b46edeba-2653-4738-85d0-d54fe76e3f3d.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="4-8501061\ba6b5d7b-6df4-4c16-a25f-5f5fec20d100.jpg" /> stands for 2-norm of vector. Consequently, the activation function of the j-th wavelet node connected with the i-th input data is represented as:</p><p>where, n is the number of input-dimensions and m is the number of the wavelets. The wavelet functions (35) with various dilations and translations are presented in <xref ref-type="fig" rid="fig4">Figure 4</xref>. Then, each wavelet in the product layer is labeled P, i.e., the product of the jth multidimensional wavelet with n input dimensions<img src="4-8501061\e20c987a-5d4e-4f06-b71f-45adab42f057.jpg" />, can be defined as</p><disp-formula id="scirp.31511-formula102592"><label>(37)</label><graphic position="anchor" xlink:href="4-8501061\9175faa2-4799-4180-ad6a-feb469bdba95.jpg"  xlink:type="simple"/></disp-formula><p>According to the theory of multi-resolution analysis (MRA), see [<xref ref-type="bibr" rid="scirp.31511-ref8">8</xref>], any <img src="4-8501061\98acc6a1-e77d-4b42-9341-52c0631542d2.jpg" /> can be regarded as a linear combination of wavelets at different resolution levels. For this reason, the function <img src="4-8501061\5de12392-9ef0-4bc9-8307-eac5c86f2144.jpg" /> is expressed as</p><disp-formula id="scirp.31511-formula102593"><label>(38)</label><graphic position="anchor" xlink:href="4-8501061\3ca8e210-3e8d-4f1e-9858-dd42577703d5.jpg"  xlink:type="simple"/></disp-formula><p>If <img src="4-8501061\83ac218b-a789-4828-b668-ff6a2dc8f82c.jpg" /> is used as a nonlinear transformation function of hidden nodes and weight vectors and <img src="4-8501061\09cf3532-4744-42ad-a900-f5fdb220a65c.jpg" /> defines the connection weights, then Equation (38) can be considered the functional expression of the SCWN modeling function Y.</p><sec id="s4_1"><title>4.1. Self-Constructing Learning Algorithm</title><p>In this section, the degree measure method and the well-known back propagation (BP) algorithm are used concurrently for constructing and adjusting the SCWN algorithm. The degree measure method is used to determine the number of wavelet bases in the wavelet layer and the product layer. Furthermore, the BP algorithm is used to adjust the parameters of the wavelet bases and connection weights. At the initial time, the SCWN system does not comprise any wavelet bases. Therefore, the first task is to decide when a new wavelet base should be generated. The partition-based clustering techniques are used to perform cluster analysis in a data set. For each incoming pattern<img src="4-8501061\f7df0bbb-9824-4e77-815c-5088b3679510.jpg" />, the firing strength of a wavelet base can be regarded as the degree of the incoming pattern belonging to the corresponding wavelet base. An input datum<img src="4-8501061\043e79ef-2f58-4fc8-8dac-847da98c8377.jpg" />, with a higher firing strength means that its spatial location is nearer to the center of the wavelet</p><disp-formula id="scirp.31511-formula102594"><label>(36)</label><graphic position="anchor" xlink:href="4-8501061\2a15204d-2d8c-46c6-909e-9c6638e5b54d.jpg"  xlink:type="simple"/></disp-formula><p>base<img src="4-8501061\d640c778-b969-42e5-9d6d-e300a016d473.jpg" />, than those with smaller firing strength. Based on this concept, the firing strength obtained from Equation (37) in the product layer can be used as the degree measure.</p><disp-formula id="scirp.31511-formula102595"><label>(39)</label><graphic position="anchor" xlink:href="4-8501061\7f6d392c-b11d-4dca-99f9-e3c8b585db90.jpg"  xlink:type="simple"/></disp-formula><p>where, <img src="4-8501061\eacd6aa1-5ee2-4a43-b032-605abe3c6070.jpg" />is the number of existing wavelet bases and<img src="4-8501061\0fe18ce9-f054-42a4-bbeb-80f0bb9fa7fa.jpg" />, is the absolute value of<img src="4-8501061\dc7e9903-31ff-40f8-a92b-808afe8b6b69.jpg" />. According to the degree measure, the criterion of a new wavelet base generated for new incoming data is described in the block diagram of <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>In <xref ref-type="fig" rid="fig5">Figure 5</xref> <img src="4-8501061\cfe7ab1d-bb09-45b0-9d8e-d5bb8c52761b.jpg" /> is a prespecified threshold that should decay during the learning process, limiting the size of the SCWN model and <img src="4-8501061\f1059fb2-82f1-4ac2-8a0f-f127f520c04a.jpg" /> are new wavelet’s parameters according as regarded Initially, there are no wavelet bases in the SCWN controller. The first task is to decide when a new wavelet base is generated. We adopt partition-based clustering techniques to perform cluster analysis in a data set. For each incoming pattern<img src="4-8501061\717a4194-a9b2-4472-ae88-4fbdae989097.jpg" />, the firing strength of a wavelet base can be regarded as the degree of the incoming pattern belonging to the corresponding wavelet base. An input datum <img src="4-8501061\d2f132b0-6658-4282-8e23-e33a16dfbe56.jpg" /> with a higher firing strength means that its spatial location is nearer to the center of the wavelet base <img src="4-8501061\a31c5eb1-2af9-4fa3-a2ab-a605a1ac5885.jpg" /> than those with smaller firing strength. <img src="4-8501061\90e1799e-44a0-4f55-9e77-b87bf5c390b7.jpg" />is defined as, <img src="4-8501061\c9a22bed-257a-4c0c-a5be-1a3554bbdde8.jpg" />where, n is the number of input variables.</p><p>After the network structure has been adjusted according to the current training pattern, the network then enters the second learning step to adjust the parameters of the wavelet base and the connection weight (<img src="4-8501061\27d75969-9238-4453-9bc9-ec23bb619ca1.jpg" />and<img src="4-8501061\27127ebf-e15c-48d6-8b77-477fe0900df3.jpg" />) with the same training pattern. The parameterlearning algorithm is based on a set of input/output pairs<img src="4-8501061\22f8ff3f-6468-412d-9b03-d59fade9cd8e.jpg" />. If the error function is</p><disp-formula id="scirp.31511-formula102596"><label>(40)</label><graphic position="anchor" xlink:href="4-8501061\f835f591-9084-4ccc-b8f4-769dc10139b1.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="4-8501061\8cbee8c4-c533-463c-9043-fd5968b7f33b.jpg" /> is the model output and <img src="4-8501061\5eaa7d94-5ba5-4c0b-9229-4d8afde28ac4.jpg" />is the desired output, then the cost function E can be defined as</p><disp-formula id="scirp.31511-formula102597"><label>(41)</label><graphic position="anchor" xlink:href="4-8501061\b1e5b503-450e-4bd3-9f51-367b1171a1eb.jpg"  xlink:type="simple"/></disp-formula><p>and can be minimized by all adjustable parameters using an iterative computational scheme. Assuming that W is the adjustable parameter in the wavelet layer and the output layer, the general learning rule used is</p><disp-formula id="scirp.31511-formula102598"><label>(42)</label><graphic position="anchor" xlink:href="4-8501061\b52fe457-1a28-4947-b956-231b397f7b63.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="4-8501061\a5f40494-8847-4999-8d10-090f7ced23e2.jpg" /> and <img src="4-8501061\bb5353ef-13d4-4786-8906-0728007e90c0.jpg" /> represent the learning rate and the iteration number, respectively. The gradient of the cost function <img src="4-8501061\11d675bd-0508-4750-9545-e05ce439a781.jpg" />in Equation (41) with respect to the vector of arbitrarily adjustable parameter <img src="4-8501061\ad9ed99d-c956-4402-bd22-33f3166449ea.jpg" /> is defined as</p><disp-formula id="scirp.31511-formula102599"><label>(43)</label><graphic position="anchor" xlink:href="4-8501061\801895da-babd-494a-b917-47b3135a5de5.jpg"  xlink:type="simple"/></disp-formula><p>With the above equation defined, we can infer that the free parameters adjusted in the SCWN are as follows. The connection weight of the output layer is updated by</p><disp-formula id="scirp.31511-formula102600"><label>(44)</label><graphic position="anchor" xlink:href="4-8501061\72afadd9-b355-4bc3-9505-8bd327b32795.jpg"  xlink:type="simple"/></disp-formula><p>Similarly, the updated laws of <img src="4-8501061\049d5f08-a4e6-4529-81a3-b64e761b721d.jpg" /> and <img src="4-8501061\a55d39c2-3217-49b6-a1e9-3d210e1c9c55.jpg" /> are shown as follows:</p><disp-formula id="scirp.31511-formula102601"><label>(45)</label><graphic position="anchor" xlink:href="4-8501061\62fc2ef5-b553-4d49-ac76-4b630d05ad02.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102602"><label>(46)</label><graphic position="anchor" xlink:href="4-8501061\2d2efaf0-ed41-4968-9333-c9c116ef5f2e.jpg"  xlink:type="simple"/></disp-formula><p>where</p></sec><sec id="s4_2"><title>4.2. Wavelet Neural Network Control of AGV</title><p>Neural networks have known as an attractive method to model the complex non-linear systems due to its inherent ability to approximate arbitrary continuous functions. During the 1980’s and the early 1990’s, conclusive proofs were given by numerous authors that feed-forward neural networks with one hidden layer are capable of approximating any continuous function on a compact set in a very precise and satisfactory sense [<xref ref-type="bibr" rid="scirp.31511-ref12">12</xref>]. Recently, wavelet decomposition method has been used as a new powerful tool for function approximation in a manner that readily reveals properties of the arbitrary L<sub>2</sub> function (energy-finite and continuous or discontinuous) [<xref ref-type="bibr" rid="scirp.31511-ref13">13</xref>]. Combination of wavelets and neural networks methods results in wavelet neural network models with efficient constructive approach. Besides precise approximation of arbitrary L<sub>2</sub> functions, the wavelet neural networks could result in a convex cost index for which simple iterative solutions such as gradient descent rules are justifiable and are not in danger of being trapped in local minima when choosing the orthogonal wavelets as the activation functions in the nodes [<xref ref-type="bibr" rid="scirp.31511-ref8">8</xref>]. In this paper, the WNN technique is used as the inverse dynamic model of the AGV to generate sufficient robustness against modeling uncertainties and exogenous disturbances. Considering the proposed dynamical model (17), the input variables to the WNN system are supposed as follow.</p><disp-formula id="scirp.31511-formula102603"><label>(49)</label><graphic position="anchor" xlink:href="4-8501061\b9ebfb26-a926-4c26-896e-c78eca13cbb1.jpg"  xlink:type="simple"/></disp-formula><p>Owing to the fact that the nonholonomic AGV is a 2 DOF dynamic system, two separate WNN systems are used to approximate the input torque of every driving wheels of the AGV. In this way, two control actions for trajectory tracking control of the AGV, <img src="4-8501061\8631f3dd-1c7b-4208-9757-7686e074183b.jpg" />and <img src="4-8501061\9d52bd2f-446f-4ef2-ac73-25dac79cdfd6.jpg" /> are computed by the right and left WNN as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p></sec></sec><sec id="s5"><title>5. Simulation Results</title><p>Using simulations, the effects of the proposed wavelet neural network controller on the convergence of AGV to reference trajectories are evaluated. Therefore, the following example trajectories are used to produce the reference position and orientation angle of the AGV.</p><disp-formula id="scirp.31511-formula102604"><label>(50)</label><graphic position="anchor" xlink:href="4-8501061\855b0177-39a2-463f-8d13-3bc1951d8923.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102605"><label>(51)</label><graphic position="anchor" xlink:href="4-8501061\b7162f41-afde-45a6-a3ba-f2d7fdce88dd.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102606"><label>(52)</label><graphic position="anchor" xlink:href="4-8501061\6654473c-1ab5-44cf-97e9-549ba415d7ca.jpg"  xlink:type="simple"/></disp-formula><p>The simulation of the WNN controller results in a perfect trajectory tracking performance of the AGV. The comparison of tracked X, Y and also the complete circular path of the AGV with the reference values are shown in Figures 7-9, respectively. From these figures, the tracking convergence of AGV along both X and Y trajectories is very fast.</p></sec><sec id="s6"><title>6. Conclusion</title><p>An intelligent wavelet neural networks modelling and control method of an AGV has been proposed. Owing to the self-constructing nature of the proposed WNNT, the number of nodes in the layers of the WNNT system is adjusted automatically. Therefore, the proposed method</p><disp-formula id="scirp.31511-formula102607"><label>(47)</label><graphic position="anchor" xlink:href="4-8501061\515c2850-0f3e-4df5-ad50-da5562e4b461.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.31511-formula102608"><label>(48)</label><graphic position="anchor" xlink:href="4-8501061\d43de0f6-583e-483d-9982-d8c14370bedc.jpg"  xlink:type="simple"/></disp-formula><p>does not require the fixed number of nodes and thereby the computation cost is reduced. Unlike kinematic models, the SCWNN dynamic model of the AGV results in considering the inertial, Coriolis and centripetal accelera-</p><p>tions in the trajectory tracking control of the vehicle. According to simulation results, the WNNT control system yields a perfect trajectory tracking of the AGV.</p></sec><sec id="s7"><title>REFERENCES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.31511-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">J. Keighobadi, M. B. Menhaj and M. Kabganian, “Feedback Linearization and Fuzzy Controllers for Trajectory Tracking of Wheeled Mobile Robots,” Kybernetes, Vol. 39, No. 1, 2010, pp. 83-106. 
doi:10.1108/03684921011021291</mixed-citation></ref><ref id="scirp.31511-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">J. Keighobadi, “Fuzzy Calibration of a Magnetic Compass for Vehicular Applications,” Mechanical Systems and Signal Processing, Vol. 25, No. 6, 2011, pp. 1973-1987. 
doi:10.1016/j.ymssp.2010.11.005</mixed-citation></ref><ref id="scirp.31511-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">J. Keighobadi, M. J. Yazdanpanah and M. Kabganian, “An Enhanced Fuzzy H∞ Estimator Applied to Low-Cost Attitude-Heading Reference System,” Kybernetes, Vol. 40, No. 1, 2011, pp. 300-326. 
doi:10.1108/03684921111118068</mixed-citation></ref><ref id="scirp.31511-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">J. Keighobadi and M. B. Menhaj, “From Nonlinear to Fuzzy Approaches in Trajectory Tracking Control of Wheeled Mobile Robots,” Asian Journal of Control, Vol. 14, No. 4, 2012, pp. 960-973. doi:10.1002/asjc.480</mixed-citation></ref><ref id="scirp.31511-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Y. Jun, “Adaptive Control of Nonlinear PID-Based Analog Neural Networks for a Nonholonomic Mobile Robot,” Neuro-Computing, Vol. 71, No. 7-9, 2008, pp. 1561-1565. 
doi:10.1016/j.neucom.2007.04.014</mixed-citation></ref><ref id="scirp.31511-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Q. Zhang, “Using Wavelet Networks in Nonparametric Estimation,” IEEE Transactions on Neural Networks, Vol. 8, No. 2, 1998, pp. 227-236. doi:10.1109/72.557660</mixed-citation></ref><ref id="scirp.31511-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">J. Q. Guo, B. Y. Hai and D. X. Ai, “An Online Self-Constructing Wavelet Fuzzy Neural Network for Machine Condition Monitoring,” Proceeding of the 4th International Conference on Machine Learning and Cybernetics, Guangzhou, 18-21 August 2005, pp. 18-21.</mixed-citation></ref><ref id="scirp.31511-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">C. J. Lin, “Nonlinear Systems Control Using Self-Constructing Wavelet Networks,” Applied Soft Computing, Vol. 9, No. 1, 2009, pp. 71-79.  
doi:10.1016/j.asoc.2008.03.014</mixed-citation></ref><ref id="scirp.31511-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">J. Keighobadi and Y. Mohamadi, “Fuzzy Robust Trajectory Tracking Control of WMRs,” In: S. I. Ao, O. Castillo, and X. Huang, Eds., Intelligent Control and Innovative Computing, Springer, Singapore, 2012, pp. 77-90.  
doi:10.1007/978-1-4614-1695-1_7</mixed-citation></ref><ref id="scirp.31511-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">L. Gaviphat, “Adaptive Self-Tuning Neuro Wavelet Network Controllers,” Ph.D. Thesis, Electrical Engineering Department, Blackburg, 1997.</mixed-citation></ref><ref id="scirp.31511-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">M. Y. Hu and W. Huo, “Robust and Adaptive Control of Nonholonomic Mechanical Systems with Application to Mobile Robots,” In: T. P. Leung and H. S. Qin, Eds., Advanced Topics in Nonlinear Control Systems, 2001, pp. 161-192.</mixed-citation></ref><ref id="scirp.31511-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">M. R. Sanner and J. J. E. Slotine, “Structureally Dynamic Wavelet Networks for Adaptive Control of Robotic Systems,” International Journal of Control, Vol. 70, No. 3, 1998, pp. 405-421. doi:10.1080/002071798222307</mixed-citation></ref><ref id="scirp.31511-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">F. J. Lin, R. J. Wai and M. P. Chen, “Wavelet Neural Network Control for Linear Ultrasonic Motor Drive via Adaptive Sliding-Mode Technique,” IEEE Transactions on Ultrasonics, Ferroelectrics and Frequency Control, Vol. 50, No. 6, 2003, pp. 686-698.  
doi:10.1109/TUFFC.2003.1209556</mixed-citation></ref></ref-list></back></article>