Trajectory tracking for omni-directional mobile robots based on restrictions of the motor's velocities
Texto
(2) as quickly as possible are presented by (KalmárNagy et al., 2002). Some constraints on the vehicle’s design are proposed in an effort to simplify its motion equation by (He et al., 2004). In this work we analyse the limitations of motor’s velocities and its influence in real-time trajectory design. Due to robot characteristic (omni-directional), reference velocities may cause saturation in motor’s velocities, mainly when trajectories have linear velocities (V ,V n) and angular velocity (W ) different from zero (see Fig. 4). The algorithm, called IRV (ideal reference velocities), is used to verify the reference velocities of the robot and redefine them, if necessary, in order to prevent possible saturation on robot’s motors and to obtain the best motor’s performance. This is done keeping the right direction of the velocity’s vectors(V ,V n and W ). On the other hand, in motor’s saturation cases, errors can happen in the robot trajectory, because the robot cannot follow the reference velocities. The robot’s control and communication structure can be seen in Fig. 2. The computer (PC) controls all the actions of the robot. The communication with the microcontroller is done through the serial port (RS232). It controls the motors using signals of PWM (Pulse Width Modulator) and a drive of power. The software of control in PC works in a frequency of 25Hz, from the camera. So, in each 40(ms) the trajectory and the reference velocities of the mobile robot are recalculated, based at the current mobile robot position, and the new desired position.. mobile robot. In section 3, the proposed IRV(ideal reference velocities) algorithm is presented. The simulation results are presented in Section 4. Finally, the conclusion is drawn in section 5.. 2. KINEMATIC MODEL The reference velocities of the mobile robot are the linear velocities (V (t),V n(t)) and angular velocity (W (t)). They are converted in the linear wheel velocities v1(t), v2(t), v3(t) and v4(t): v1(t) = V n(t) + f W (t). (1). v2(t) = −V (t) + gW (t). (2). v3(t) = −V n(t) + f W (t). (3). v4(t) = V (t) + gW (t). (4). where (see Fig. 4): • f : the wheels • g: the wheels. distance between the point C and of the motors M1 e M3; distance between the point C and of the motors M2 e M4.. Fig. 4. Definitions of posture and velocities. Using the Fig. 4, it is possible to write the motion equations of the mobile robot, 1 V (t) = (−v2(t) + v4(t)) 2 1 V n(t) = (v1(t) − v3(t)) 2 1 (v1(t) + v3(t)) W (t) = 2f 1 W (t) = (v2(t) + v4(t)) 2g. Fig. 2. Robot’s control and communication structure. The schematic in Fig. 3, shows the trajectory control loop of the mobile robot.. (5) (6) (7) (8). where:. Fig. 3. Schematic - trajectory control loop. This paper is structured in the following way. In section 2, we present the kinematic model of the. • V (t) and V n(t): linear velocities of the point C; • W (t): angular velocity of the mobile robot; • v1(t),v2(t),v3(t) e v4(t): linear velocity of the wheels of the mobile robot;.
(3) 3. IRV ALGORITHM The IRV algorithm calculates the robot velocities V (t),V n(t) and W (t), taking into account the limitations of motor’s velocities and the kinematic model of the robot. So, its equation can be described with three control variables (V (t),V n(t) and W (t)), related with linear wheel velocities of the mobile robot(v1(t),v2(t),v3(t) and v4(t)). Therefore, for one determined velocity W , from the equation 7: v3 = 2f W − v1. V n − f W − v1 = 0. (20). V + gW + v2 = 0. (21). V n + f W + v3 = 0. (22). V − gW − v4 = 0. (23). The Fig. 5 shows eight planes with the follow limits of velocities for the wheels robot: v1 = v3 = 1(m/s) and v2 = v4 = 1.5(m/s). The Fig. 5 was generated with W positives and negatives, until the instant that velocity V n reached zero (V n = 0).. (9). v1 ∈ [−v1max , v1max ]. 5 4. Using 9 in 6,. 3 2 1. W. 1 V n = (v1 − 2f W + v1), 2 V n = v1 − f W.. 0 −1. (10). −2 −3. where, for v1 = v1max and v1 = −v1max , we obtain for this value of W (t) = 0 the maximum positive and negative linear velocity V n(t).. −4 −5 1 0.5 0 −0.5. VN. With the same procedure for others motors: V = −v2 + gW. (11). v2 ∈ [−v2max , v2max ]. V n = −v3 + f W. (12). v3 ∈ [−v3max , v3max ]. V = v4 − gW. (13). v4 ∈ [−v4max , v4max ] The equations (10...13) can be analysed how equation of a plane,(see (Anton and Rorres, 2000)), ax + by + cz + d = 0. (14). Changing the coordinates system x,y and z for V ,V n and W respectively, aV + bV n + cW + vi = 0. (15). where vi is linear velocities of robot wheels, for i = 1, 2, 3, 4. Rearranging the equations, we obtain eight equations of the a plane, considering W positive and negative,. −1. −1.5. −1. −0.5. 0. 0.5. 1. 1.5. V. Fig. 5. Solid that represents the possible robot velocities(V, V n, W ). Analysing Fig. 5, the reference velocities (Vref , V nref , Wref ), should be inside the solid. To redefine the reference velocities, that are outside the solid (in Fig. 5), we can find the intersection point(P ref ) of the line l and the planes of the equations(16...23). Referring to Fig.6, let the line l from the origin to the point Pref = (Vref , V nref , Wref ). Then, intersection point(P ref ) give us the maximum robot velocities, respecting the limits of robot’s motors, as the follow formulation, • G = aV + bV n + cW + vn = 0 : equation of plane; • Pref = (Vref , V nref , Wref ) : point of reference velocities; • P ref = αPref : point of redefined reference velocities; • α : factor of scale. so, αPref = (αVref , αV nref , αWref ). (24). αPref ∈ G substituting αPref in the equation of plane, to obtain α,. V n + f W − v1 = 0. (16). V − gW + v2 = 0. (17). V n − f W + v3 = 0. (18). aαVref + bαV nref + cαWref + vi = 0,. V + gW − v4 = 0. (19). α(aVref + bV nref + cWref ) + vi = 0,.
(4) α=. −vi (25) aVref + bV nref + cWref. (V , V n and W ), so the robot trajectory will be done slowly, but not have errors.. For example, the equation of plane 16, the values are, • • • •. vi = −v1, a = 0, b = 1, c = f.. Now, we present an example with the point Pref = (1, −1.2, 2), representing the robot velocities, with following parameters,. 4. SIMULATION RESULTS We used to test the IRV algorithm the trajectory shown in Fig. 8. The initial position of mobile robot was xi = 0(m), yi = 0(m) and θi = 0(rad). The final position was xf = −2(m), yf = 0(m) and θf = π(rad). Trajectory 1 1. • v1 = v3 = 1(m/s), • v2 = v4 = 1.5(m/s), • f = g = 0.2(m).. 0.8. 0.6. 0.4. 0.2. Y(m). The point Pref = (1, −1.2, 2) is outside of solid (see Fig.6 and Fig.7), after redefine the robot velocities, with the formulation above, we obtain the point P ref = (0.625, −0.75, 1.25) (point of the intersection with the plane) and the α = 0.625.. 0. −0.2. Goal point. Initial point. −0.4. −0.6. −0.8. −1 −2.5. Pref. 5. −2. −1.5. −1. −0.5. 0. 0.5. X (m). 4 3. Fig. 8. Axis coordinates XY - trajectory for test.. Pref. 2. W. 1. Three simulation cases had been tested:. 0 −1 −2 −3 −4 2. −5 1. 1. 0.5. 0. 0 −0.5. −1. −1 −1.5. −2. V. VN. (1) with an ideal model of the mobile robot; (2) with the model of the mobile robot, without the IRV algorithm; (3) with the model of the mobile robot, with the IRV algorithm. With the following parameters,. Fig. 6. Axis V ,V n,W and points Pref and P ref . The Fig. 7 shows the axis (V n,W ), where we can see the point of intersection P ref with the plane.. • velocity limits in motors 1 and 3: v1 = v3 = 1(m/s), • velocity limits in motors 2 and 4: v2 = v4 = 1.5(m/s), • f = g = 0.2(m).. 5. The Fig. 9 shows the robot velocities executed by ideal model(case 1), this model does not have velocity restrictions, following high reference velocities(Vref , V nref , Wref ). In Fig. 12 we show that the trajectory was tracked correctly.. 4. Pref 3. Pref 2. W. 1. 0. −1. −2. −3. −4. −5 1. 0.5. 0. VN. −0.5. −1. −1.5. V. Fig. 7. Axis V n,W and points Pref and P ref . The reference velocities (Pref ) were redefined keeping the right direction of the velocity’s vectors. The Fig. 10 shows the robot velocities executed by model of the mobile robot (case 2), that take into account the limitations of motor’s velocities, but without use the IRV algorithm. It results that the motor’s velocities has reached saturation point, generating errors in robot’s velocities and consequently, executing the trajectory in a wrong form, as in Fig. 12. The Fig. 11 shows the robot velocities executed by model of the mobile robot, that take into account the limitations of motor’s velocities, but with the IRV algorithm(case 3). The velocities.
(5) of the mobile robot respects the motors limits, following the trajectory correctly, as in Fig. 12.. Trajectory 1 0.2 Ideal with algorithm without algorithm. 0.15. Trajectory 1 with Ideal model 8 0.1. V Vn W. 0.05. Y(m). 6. 4. Goal point. Initial point. 0. V,Vn,W. −0.05. 2 −0.1. 0 −0.15. −2 −0.2 −2.5. −2. −1.5. −1. −0.5. 0. 0.5. X(m) −4. −6. Fig. 12. Robot’s trajectory in the three cases. 0. 0.5. 1. 1.5. 2. Time(seg). Fig. 9. Ideal mobile robot model. Trajectory 1 without algorithm 8. V Vn W. 6. V,Vn,W. 4. 2. 0. −2. −4. −6. 0. 0.5. 1. 1.5. 2. Time(seg). REFERENCES. Fig. 10. Mobile robot model, without the IRV algorithm. Trajectory 1 with algorithm 8. V Vn W. 6. V,Vn,W. 4. 2. 0. −2. −4. −6. 0. 0.5. 1. trajectories to be followed at maximum velocity without significant errors. This algorithm is helpful for several applications where the exact trajectory’s following is priority. In robot soccer case, where the trajectories change all the time because the ball is always in movement, accurate trajectories and positioning are needed. The procedure presented in this paper is implemented in 5dpo Robotic Soccer team from the Department of Electrical and Computer Engineering at the University of Porto. The same procedure can be used for omni-directional robots, with different configuration (three wheels) and in all applications where critical trajectories must be perfectly executed.. 1.5. 2. Time(seg). Fig. 11. Mobile robot model, with the IRV algorithm.. 5. CONCLUSION This paper formulates an algorithm to define the robot’s reference velocities in order to enable the. Anton, H. and C. Rorres (2000). Elementary Linear Algebra - Applications version. John Wiley Sons Inc. Costa, P., A.P.Moreira, A.Sousa, P. Marques, P. Costa and A. Matos (1999). 5dpo team description robocup. Robot World Cup Soccer Games and Conference. He, Zhenfeng, Lanfen Lin and Xueying Ma (2004). Design, modeling and trajectory generation of a kind of four wheeled omni-directional vehicle. IEEE International Conference on Systems, Man and Cybernetics pp. 6125–6130. Kalmár-Nagy, Tamás, Pritam Ganguly and Raffaello D.Andrea (2002). Real-time trajectory generation for omnidirectional vehicles. Proceedings of the American Control Conference pp. 286–291. Pin, Fracois G. and Stephen M. Killough (1994). A new family of omnidirectional and holonomic wheeled platforms formobile robots. IEEE Transactions on Robotics and Automation 10, 480–489. Yi, Byung-Ju and Whee Kuk Kim (2002). The kinematics for redundantly actuated omnidirectional mobile robots. Journal of Robotic Systems 19, 255–267..
(6)
Documentos relacionados
The innovation breath variable presented in table 2 is formed by the sum of product and process inno- vations reported by the firms in the CIS survey.. In the survey firms reply if
Pós-graduanda em Direito Cível e Processo Civil pelo Instituto de Desenvolvi- mento Cultural (IDC). RESUMO: O presente estudo busca demonstrar como a tributação, com
Two (10.5%) of the 19 patients with abnormal risk velocities; 14 (28.0%) of the 50 with conditional risk velocities; two (50.0%) of the four with abnormally low velocities and
3 – Means of peak systolic and diastolic velocities (in cm/s) of the medial and apical basal segments showing that the velocities measured decreased from the base to the
The probability of attending school four our group of interest in this region increased by 6.5 percentage points after the expansion of the Bolsa Família program in 2007 and
Sobre a participação social, Avritzer (2008) apresenta o conceito de instituições participativas, entendendo como formas diferenciadas de incorporação de cidadãos
A comparative study is performed using different existing correlations in the literature for the determination of the minimum velocity of transport as a function of the particle
This log must identify the roles of any sub-investigator and the person(s) who will be delegated other study- related tasks; such as CRF/EDC entry. Any changes to