## 1. Introduction

Model predictive control, MPC, has many interesting features for its application to mobile robot control. It is a more effective advanced control technique, as compared to the standard PID control, and has made a significant impact on industrial process control (Maciejowski, 2002). MPC usually contains the following three ideas:

The model of the process is used to predict the future outputs along a horizon time.

An index of performance is optimized by a control sequence computation.

It is used a receding horizon idea, so at each instant of time the horizon is moved towards the future. It involves the application of the first control signal of the sequence computed at each step.

The majority of the research developed using MPC techniques and their application to WMR (wheeled mobile robots) is based on the fact that the reference trajectory is known beforehand (Klancar & Skrjanc, 2007). The use of mobile robot kinematics to predict future system outputs has been proposed in most of the different research developed (Kühne et al., 2005; Gupta et al., 2005). The use of kinematics have to include velocity and acceleration constraints to prevent WMR of unfeasible trajectory-tracking objectives. MPC applicability to vehicle guidance has been mainly addressed at path-tracking using different on-field fixed trajectories and using kinematics models. However, when dynamic environments or obstacle avoidance policies are considered, the navigation path planning must be constrained to the robot neighborhood where reactive behaviors are expected (Fox et al., 1997; Ögren & Leonard, 2005). Due to the unknown environment uncertainties, short prediction horizons have been proposed (Pacheco et al., 2008). In this context, the use of dynamic input-output models is proposed as a way to include the dynamic constraints within the system model for controller design. In order to do this, a set of dynamic models obtained from experimental robot system identification are used for predicting the horizon of available coordinates. Knowledge of different models can provide information about the dynamics of the robot, and consequently about the reactive parameters, as well as the safe stop distances. This work extends the use of on-line MPC as a suitable local path-tracking methodology by using a set of linear time-varying descriptions of the system dynamics when short prediction horizons are used. In the approach presented, the trajectory is dynamically updated by giving a straight line to be tracked. In this way, the control law considers the local point to be achieved and the WMR coordinates. The cost function is formulated with parameters that involve the capacity of turning and going straight. In the case considered, the Euclidean distance between the robot and the desired trajectory can be used as a potential function. Such functions are CLF (control Lyapunov function), and consequently asymptotic stability with respect to the desired trajectory can be achieved. On-line MPC is tested by using the available WMR. A set of trajectories is used for analyzing the path-tracking performance. In this context, the different parameter weights of the cost function are studied. The experiments are developed by considering five different kinds of trajectories. Therefore, straight, wide left turning, less left turning, wide right turning, and less right turning are tested. Experiments are conducted by using factorial design with two levels of quantitative factors (Box et al., 2005). Studies are used as a way of inferring the weight of the different parameters used in the cost function. Factor tuning is achieved by considering aspects, such as the time taken, or trajectory deviation, within different local trajectories. Factor tuning depicts that flexible cost function as an event of the path to be followed, can improve control performance when compared with fixed cost functions. It is proposed to use local artificial potential attraction field coordinates as a way to attract WMR towards a local desired goal. Experiments are conducted by using a monocular perception system and local MPC path-tracking. On-line MPC is reported as a suitable navigation strategy for dynamics environments.

This chapter is organized as follows: Section 1 gives a brief presentation about the aim of the present work. In the Section 2, the WMR dynamic models are presented. This section also describes the MPC formulation, algorithms and simulated results for achieving local path-tracking. Section 3 presents the MPC implemented strategies and the experimental results developed in order to adjust the cost function parameters. The use of visual data is presented as a horizon where trajectories can be planned by using MPC strategies. In this context local MPC is tested as a suitable navigation strategy. Finally, in Section 4 some conclusions are made.

## 2. The control system identification and the MPC formulation

This section introduces the necessary previous background used for obtaining the control laws that are tested in this work as a suitable methodology for performing local navigation. The WMR PRIM, available in our lab, has been used in order to test and orient the research (Pacheco et al., 2009). Fig. 1 shows the robot PRIM and sensorial and system blocs used in

the research work. The mobile robot consists of a differential driven one, with two independent wheels of 16cm diameters actuated by two DC motors. A third spherical omni-directional wheel is used to guarantee the system stability. Next subsection deals with the problem of modeling the dynamics of the WMR system. Furthermore, dynamic MPC techniques for local trajectory tracking and some simulated results are introduced in the remaining subsections. A detailed explanation of the methods introduced in this section can be found in (Pacheco et al., 2008).

### 2.1. Experimental model and system identification

The model is obtained through the approach of a set of lineal transfer functions that include the nonlinearities of the whole system. The parametric identification process is based on black box models (Norton, 1986; Ljung, 1989). The nonholonomic system dealt with in this work is considered initially to be a MIMO (multiple input multiple output) system, as shown in Fig. 2, due to the dynamic influence between two DC motors. This MIMO system is composed of a set of SISO (single input single output) subsystems with coupled connection.

The parameter estimation is done by using a PRBS (Pseudo Random Binary Signal) such as excitation input signal. It guarantees the correct excitation of all dynamic sensible modes of the system along the whole spectral range and thus results in an accurate precision of parameter estimation. The experiments to be realized consist in exciting the two DC motors in different (low, medium and high) ranges of speed. The ARX (auto-regressive with external input) structure has been used to identify the parameters of the system. The problem consists in finding a model that minimizes the error between the real and estimated data. By expressing the ARX equation as a lineal regression, the estimated output can be written as:

with

where *Y*
_{
R
} and *Y*
_{
L
} represent the speeds of right and left wheels, and *U*
_{
R
} and *U*
_{
L
} the corresponding speed commands, respectively. In order to know the dynamics of robot system, the matrix of transfer function should be identified. In this way, speed responses to PBRS input signals are analyzed. The filtered data, which represent the average value of five different experiments with the same input signal, are used for identification. The system is identified by using the identification toolbox “ident” of Matlab for the second order models. Table 1 shows the continuous transfer functions obtained for the three different lineal speed models.

The coupling effects should be studied as a way of obtaining a reduced-order dynamic model. It can be seen from Table 1 that the dynamics of two DC motors are different and the steady gains of coupling terms are relatively small (less than 20% of the gains of main diagonal terms). Thus, it is reasonable to neglect the coupling dynamics so as to obtain a simplified model. In order to verify the above facts from real results, a set of experiments have been done by sending a zero speed command to one motor and different non-zero speed commands to the other motor. The experimental result confirms that the coupled dynamics can be neglected. The existence of different gains in steady state is also verified experimentally. Finally, the order reduction of the system model is carried out through the analysis of pole positions by using the root locus method. It reveals the existence of a dominant pole and consequently the model order can be reduced from second order to first order. Table 2 shows the first order transfer functions obtained. Afterwards, the system models are validated through the experimental data by using the PBRS input signal.

### 2.2. Dynamic MPC techniques for local trajectory tracking

The minimization of path tracking error is considered to be a challenging subject in mobile robotics. In this subsection the LMPC (local model predictive control) techniques based on the dynamics models obtained in the previous subsection are presented. The use of dynamic models avoids the use of velocity and acceleration constraints used in other MPC research based on kinematic models. Moreover, contractive constraints are proposed as a way of guaranteeing convergence towards the desired coordinates. In addition, real-time implementations are easily implemented due to the fact that short prediction horizons are used. By using LMPC, the idea of a receding horizon can deal with local on-robot sensor information. The LMPC and contractive constraint formulations as well as the algorithms and simulations implemented are introduced in the next subsections.

#### 2.2.1. The LMPC formulation

The main objective of highly precise motion tracking consists in minimizing the error between the robot and the desired path. Global path-planning becomes unfeasible since the sensorial system of some robots is just local. In this way, LMPC is proposed in order to use the available local perception data in the navigation strategies. Concretely, LMPC is based on minimizing a cost function related to the objectives for generating the optimal WMR inputs. Define the cost function as follows:

(3) |

The first term of (3) refers to the attainment of the local desired coordinates, *X*
_{
ld
}
*=*(*x*
_{
d
}
*,y*
_{
d
}), where (*x*
_{
d
}
*, y*
_{
d
}) denote the desired Cartesian coordinates. *X*(*k+n/k*) represents the terminal value of the predicted output after the horizon of prediction *n.* The second one can be considered as an orientation term and is related to the distance between the predicted robot positions and the trajectory segment given by a straight line between the initial robot Cartesian coordinates *X*
_{
l0
}
*=*(*x*
_{
l0
}
*, y*
_{
l0
}) from where the last perception was done and the desired local position, *X*
_{
ld
}, to be achieved within the perceived field of view. This line orientation is denoted by *θ*
_{
ld
} and denotes the desired orientation towards the local objective. *X*(*k+i/k*) and *θ*(*k+i/k*) (*i=1,…n-1*) represents the predicted Cartesian and orientation values within the prediction horizon. The third term is the predicted orientation error. The last one is related to the power signals assigned to each DC motor and are denoted as *U.* The parameters *P, Q, R* and *S* are weighting parameters that express the importance of each term. The control horizon is designed by the parameter *m*. The system constraints are also considered:

where *X*(*k*) and *θ*(*k*) denote the current WMR coordinates and orientation, *X*(*k+n/k*) and *θ*(*k+n/k*) denote the final predicted coordinates and orientation, respectively. The limitation of the input signal is taken into account in the first constraint, where *G*
_{
0
} and *G*
_{
1
} respectively denote the dead zone and saturation of the DC motors. The second and third terms are contractive constraints (Wang, 2007), which result in the convergence of coordinates or orientation to the objective, and should be accomplished at each control step.

#### 2.2.2. The algorithms and simulated results

By using the basic ideas introduced in the previous subsection, the LMPC algorithms have the following steps:

Read the current position

Minimize the cost function and to obtain a series of optimal input signals

Choose the first obtained input signal as the command signal.

Go back to the step 1 in the next sampling period.

The minimization of the cost function is a nonlinear problem in which the following equation should be verified:

The use of interior point methods can solve the above problem (Nesterov et al., 1994; Boyd & Vandenberghe, 2004). Gradient descent method and complete input search can be used for obtaining the optimal input. In order to reduce the set of possibilities, when optimal solution is searched for, some constraints over the DC motor inputs are taken into account:

The signal increment is kept fixed within the prediction horizon.

The input signals remain constant during the remaining interval of time.

The above considerations will result in the reduction of the computation time and the smooth behavior of the robot during the prediction horizon (Maciejowski, 2002). Thus, the set of available input is reduced to one value, as it is shown in Fig. 3.

Both search methods perform accurate path-tracking. Optimal input search has better time performance and subinterval gradient descent method does not usually give the optimal solution. Due to these facts obtained from simulations, complete input search is selected for the on-robot experiences presented in the next section.

The evaluation of the LMPC performance is made by using different parametric values in the proposed cost function (3). In this way, when only the desired coordinates are considered, (*P=1, Q=0, R=0, S=0*), the trajectory-tracking is done with the inputs that can minimize the cost function by shifting the robot position to the left. The reason can be found in Table 2, where the right motor has more gain than the left one for high speeds. This problem can be solved, (*P=1, Q=1, R=0, S=0*) or (*P=1*, *Q=0, R=1, S=0*) by considering either the straight-line trajectory from the point where the last perception was done to the final desired point belonging to the local field of perception or the predicted orientations. Simulated results by testing both strategies provide similar satisfactory results. Thus, the straight line path or orientation should be considered in the LMPC cost function. Fig. 4 shows a simulated result of LMPC for WMR by using the orientation error, the trajectory distance and the final desired point for the cost function optimization (*P=1, Q=1, R=1, S=0*). Obtained results show the need of *R* parameter when meaningful orientation errors are produced.

The prediction horizon magnitude is also analyzed. The possible coordinates available for prediction when the horizon is larger (*n=10, m=5*)*,* depict a less dense possibility of coordinates when compared with shorter horizons of prediction. Short prediction horizon strategy is more time effective and performs path-tracking with better accuracy. For these reasons, a short horizon strategy (*n=5, m=3*) is proposed for implementing experimental results.

The sampling time for each LMPC step was set to 100ms. Simulation time performance of complete input search and gradient descent methods is computed. For short prediction horizon (*n=5, m=3*), the simulation processing time is less than 3ms for the complete input search strategy and less than 1ms for the gradient descent method when algorithms are running in a standard 2.7 GHz PC. Real on-robot algorithm time performance is also compared for different prediction horizons by using the embedded 700 Mhz PC and additional hardware system. Table 3 shows the LMPC processing time for different horizons of prediction when complete optimal values search or the gradient descent method are used. Surprisingly, when the horizon is increased the computing time is decreased. It is due to the fact that the control horizon is also incremented, and consequently less range of signal increments are possible because the signal increment is kept fixed within the control horizon. Thus, the maximum input value possibilities decrease with larger horizons. Hence for n=5 there are 1764 possibilities (42x42), and for n=10 there are 625 (25x25).

## 3. Tuning the control law parameters by using path-tracking experimental results

In this section, path-tracking problem and the cost function parameter weights are analyzed, within a constrained field of perception provided by the on-robot sensor system. The main objective is to obtain further control law analysis by experimenting different kind of trajectories. The importance of the cost function parameter weights is analyzed by developing the factorial design of experiments for a representative set of local trajectories. Statistical results are compared and control law performance is analyzed as a function of the path to be followed. Experimental LMPC results are conducted by considering a constrained horizon of perception provided by a monocular camera where artificial potential fields are used in order to obtain the desired coordinates within the field of view of the robot.

### 3.1. The local field of perception

In order to test the LMPC by using constrained local perception, the field of view obtained by a monocular camera has been used. Ground available scene coordinates appear as an image, in which the camera setup and pose knowledge are used, and projective perspective is assumed to make each pixel coordinate correspond to a 3D scene coordinate (Horn, 1998). Fig. 5 shows a local map provided by the camera, which corresponds to a field of view with a horizontal angle of 48º, a vertical angle of 37º, *H* set to 109cm and a tilt angle of 32º.

It is pointed out that the available floor coordinates are reduced due to the WP (wide-path) of the robot (Schilling, 1990). It should also be noted that for each column position corresponding to scene coordinates *Y*
_{
j
}
*,* there are *R* row coordinates *X*
_{
i
}. Once perception is introduced, the problem is formulated as finding the optimal cell that brings the WMR close to the desired coordinates (*X*
_{
d
}
*, Y*
_{
d
}) by searching for the closest local desired coordinates (*X*
_{
ld
}
*, Y*
_{
ld
}) within the available local coordinates (*X*
_{
i
}
*, Y*
_{
j
})*.* In this sense, perception is considered to be a local receding horizon on which the trajectory is planned. The local desired cell is obtained by minimizing a cost function *J* that should act as a potential field corridor. Thus, the cost function is minimized by attracting the robot to the desired objective through the free available local cell coordinates. It is noted that from local perception analysis and attraction potential fields a local on field path can be obtained. The subsequent subsections infer control law parameter analysis by considering a set of path possibilities obtained within the perception field mentioned in this section.

### 3.2. The path-tracking experimental approach by using LMPC methods

The path tracking performance is improved by the adequate choice of a cost function that is derived from (3) and consists of a quadratic expression containing some of the following four parameters to be minimized:

The squared Euclidean

*approaching point distance*(APD) between the local desired coordinates, provided by the on-robot perception system, and the actual robot position. It corresponds with the parameter “*P”*of the LMPC cost function given by (3).The squared

*trajectory deviation distance*(TDD) between the actual robot coordinate and a straight line that goes from the robot coordinates, when the local frame perception was acquired, and the local desired coordinates belonging to the referred frame of perception. It corresponds with the parameter “*Q”*of the cost function shown by (3).The third parameter consists of the squared

*orientation deviation*(OD); it is expressed by the difference between the robot desired and real orientations. It corresponds with the parameter “*R”*of the LMPC cost function depicted by (3).The last parameter refers to changes allowed to the input signal. It corresponds with the parameter “

*S”*of the LMPC cost function given by (3).

One consideration that should be taken into account is the different distance magnitudes. In general, the approaching distance could be more than one meter. However, the magnitude of the deviation distance is normally in the order of cm, which becomes effective only when the robot is approaching the final desired point. Hence, when reducing the deviation distance further to less than 1cm is attempted, an increase, in the weight value for the deviation distance in the cost function, is proposed.

The subsequent subsections use statistical knowledge for inferring APD (P) and TDD (Q) or APD (P) and OD (R) factor performances as a function of the kind of paths to be tracked. Other cost function parameters are assumed to be equal to zero.

### 3.3. Experimental tuning of APD and TDD factors

This subsection presents the results achieved by using factorial design in order to study the LMPC cost function tuning when APD and TDD factors are used. Path-tracking performance is analyzed by the mean of the different factor weights. The experiments are developed by considering five different kinds of trajectories within the reduced field of view as shown in Fig. 5. Therefore, straight, wide left turning, less left turning, wide right turning and less right turning trajectories are tested. Experiments are conducted by using factorial design with two levels of quantitative factors (Box et al, 2005). Referred to the cost function, let us assume that high value (H) is equal to *“1”* and low value (L) is equal to “0.5”. For each combination of factors three different runs are experimented. The averaged value of the three runs allows statistical analysis for each factor combination. From these standard deviations, the importance of the factor effects can be determined by using a rough rule that considers the effects when the value differences are similar or greater than 2 or 3 times their standard deviations. In this context, the main effects and lateral effects, related to APD and TDD, are analyzed. Fig. 6 shows the four factor combinations (APD, TDD) obtained by both factors with two level values.

The combinations used for detecting lateral and main effect combinations are highlighted by blue arrows. Thus, the main effect of APD factor, *ME*
_{
APD
}, can be computed by the following expression:

Path-tracking statistical performances to be analyzed in this research are represented by *Y*. The subscripts depict the different factor combinations. The main effect for TDD factor, *ME*
_{
TDD
}, is computed by:

The lateral effects are computed by using the following expression:

The detailed measured statistics with parameters such as time (T), trajectory error (TE), and averaged speeds (AS) are presented in (Pacheco & Luo, 2011). The results were tested for straight trajectories, wide and less left turnings, and wide and less right turnings. The main and lateral effects are represented in Table 4.

The performance is analyzed for the different trajectories:

The factorial analysis for straight line trajectories, (σ

_{T}= 0.16s, σ_{TE}= 0.13cm, σ_{AS}= 2.15cm/s), depicts a main time APD effect of -0.45s, and an important lateral effect of -0.6s and -0.32cm. Speed lateral effect of only 1.9cm/s is not considered as meaningful. Considering lateral effects that improve time and accuracy, high values (APD, TDD) are proposed for both factors.The analysis for wide left turning trajectories, (σ

_{T}= 0.26s, σ_{TE}= 0.09cm, σ_{AS}= 0.54cm/s) show negative APD main effect of 0.53s, and 0.15cm. However, the TDD factor tends to decrease the time and trajectory deviation. The 0.3cm/s speed TDD main factor is irrelevant. In this case, low value for APD factor and high value for the TDD factor is proposed.The factor analysis for less left turning, (σ

_{T}= 0.29s, σ_{TE}= 0.36cm, σ_{AS}= 0.84cm/s), depicts a considerable lateral effect of -0.46s and -0.31cm. Speed -0.2cm/s lateral effect is not important. In this sense high values are proposed for APD and TDD factors.The analysis for wide right turning, (σ

_{T}= 0.18s, σ_{TE}= 0.15cm, σ_{AS}= 1.04cm/s) does not provide relevant clues, but small time improvement seems to appear when TDD factor is set to a low value. Low values are proposed for APD and TDD factors.Finally, the factorial analysis for less right turning trajectories, (σ

_{T}= 0.12s, σ_{TE}= 0.18cm, σ_{AS}= 1.94cm/s), depicts APD and lateral effects that increase the trajectory time with 0.32s and 0.44s. Main or lateral effects related to the speed have not been detected. Low values are proposed for APD and TDD factors.

### 3.4. Experimental performance by using fixed or flexible APD & TDD factors

Once factorial analysis is carried out, this subsection compares path-tracking performance by using different control strategies. The experiments developed consist in analyzing the performance when a fixed factor cost function or a flexible factor cost function is used. The trajectories to be analyzed are formed by straight lines, less right or left turnings, and wide right or left turnings. The fixed factor cost function maintains the high values for APD and TDD factors, while the flexible factor cost function is tested as function of the path to be tracked.

Different experiments are done; see (Pacheco & Luo, 2011). As instance one experiment consists in tracking a trajectory that is composed of four points ((0, 0), (-25, 40), (-25, 120), (0, 160)) given as (x, y) coordinates in cm. It consists of wide left turning, straight line and wide right turning trajectories. The results obtained by using fixed and flexible factor cost function are depicted in Table 5. Three runs are obtained for each control strategy and consequently path-tracking performance analysis can be done.

Results show that flexible factor strategy improves an 8% the total time performance of the fixed factor strategy. The turning trajectories are done near 50% of the path performed. Remaining path consists of a straight line trajectory that is performed with same cost

function values for fixed and flexible control laws. It is during the turning actions, where the two control laws have differences, when time improvement is nearly 16%. Fig. 7 shows an example of some results achieved. Path-tracking coordinates, angular position, and speed for the fixed and flexible cost function strategies are shown.

It can be seen that flexible cost function, when wide left turning is performed approximately during the first three seconds, produces less maximum speed values when compared with fixed one. However, a major number of local maximum and minimum are obtained. It results in less trajectory deviation when straight line trajectory is commanded. In general flexible cost function produces less trajectory error with less orientation changes and improves time performance.

Developed experiences with our WMR platform show that flexible LMPC cost function related with the path to be tracked can improve the control system performance.

### 3.5. Experimental tuning using APD and OD factors

In a similar way APD and OD factors can be used. This subsection compares path-tracking performance by using different control strategies. The experiments developed consist in analyzing the performance when a fixed factor cost function or a flexible factor cost function is used. The trajectories to be analyzed are formed by straight lines, less right or left turnings, and wide right or left turnings. The fixed factor cost function maintains the high values for APD and OD factors, while the flexible factor cost function is tested as function of the path to be tracked. The experiments developed show the measured performance statistics, time, trajectory accuracy, and averaged speeds, for straight trajectories, wide and less left turnings, and wide and less right turnings. The standard deviation obtained as well as the main and lateral effects are represented in Table 6. The time, trajectory error and averaged speed standard deviations are respectively denoted by σ_{T}, σ_{TE}, and σ_{AS}. Table 6 represents the experimental statistic results obtained for the set of proposed trajectories. The standard deviations computed for each kind of trajectory by testing the different factor weights under different runs are also depicted.

The main and lateral effects were calculated by using (6), (7), (8), and the mean values obtained for the different factor combinations. Therefore, in Table 6 are highlighted the significant results achieved using experimental factorial analysis. The inferred results obtained can be tested using different trajectories.

The experiments developed consist in analyzing the time performance when a fixed factor cost function or a flexible factor cost function is used. The trajectories to be analyzed are formed by straight lines, less right or left turnings, and wide right or left turnings. The fixed factor cost function maintains the high values for APD and OD factors, while the flexible factor cost function is tested as function of the trajectory to be tracked. The experiments presented consist in tracking a trajectory that is composed of three points ((0, 0), (-25, 40), (-25, 120)) given as (x, y) coordinates in cm. The results obtained by using fixed and flexible factor cost function are depicted in Table 7.

Two runs are obtained for each strategy and consequently time performance analysis can be done. The averaged standard deviation between the two cost function systems is of 0.22s, and the difference of means are 0.5s. Thus, flexible factor strategy improves a 6.85% the time performance of the fixed factor strategy. However, left turning is done only a 33% of the trajectory. Thus, time improvement during the left turning is of near 20%. Fig. 8 shows an example of some results achieved. Path-tracking coordinates, angular position, and speed for the fixed and flexible cost function strategies are shown. Trajectory error and averaged speed statistical results are not significant, due to the fact that the differences of means between fixed and flexible laws are less than two times the standard deviations.

## 4. Conclusion

This research can be used on dynamic environments in the neighborhood of the robot. On-line LMPC is a suitable solution for low level path-tracking. LMPC is more time expensive when compared with traditional PID controllers. However, instead of PID speed control approaches, LMPC is based on a horizon of available coordinates within short prediction horizons that act as a reactive horizon. Therefore, path planning and convergence to coordinates can be more easily implemented by using LMPC methods. In this way, contractive constraints are used for guaranteeing the convergence towards the desired coordinates. The use of different dynamic models avoids the need of kinematical constraints that are inherent to other MPC techniques applied to WMR. In this context the control law is based on the consideration of two factors that consist of going straight or turning. Therefore, orientation deviation or trajectory deviation distance can be used as turning factors. The methodology used for performing the experiments is shown. From on-robot depicted experiences, the use of flexible cost functions with relationships to the path to be tracked can be considered as an important result. Thus, control system performance can be improved by considering different factor weights as a function of path to be followed.

The necessary horizon of perception is constrained to just few seconds of trajectory planning. The short horizons allow real time implementations and accuracy trajectory tracking. The experimental LMPC processing time was 45ms, (m=3, n=5), running in the WMR embedded PC of 700MHz. The algorithms simplicity is another relevant result obtained. The factorial design, with two levels of quantitative factors, is presented as an easy way to infer experimental statistical data that allow testing feature performances as functionof the different factor combinations. Further studies on LMPC should be done in order to analyze its relative performance with respect to other control laws or to test the cost function performance when other factors are used. The influence of the motor dead zones is also an interesting aspect that should make further efforts to deal with it.