# Research of Smart Car’s Speed Control Based on the Internal Model Control

Authors: Han Yu; Hamid Reza Karimi; Xuemei Zhu
Journal: Abstract and Applied Analysis
 (2014)

---

## Abstract

Based on analyzing principle about the smart car’s speed control system, the system mathematical model is built. Considering the control optimization, a novel control scheme is proposed based on internal model control, and the internal model controller of speed control system is established. Regarding this subject, the internal control theory is introduced to verify the control performance; the traditional PID control method is employed in the experiment. The experiment indicates that the proposed method based on internal model control is easier to determine parameter and has a well robust and good control result of smart car’s speed.


---

## Body

## 1. Introduction

Cars have been the most important transportation for the progress of science and technology. While we have to face the more serious traffic problems meanwhile enjoying the convenience of the cars, the intelligent transportation system (ITS), which was put forward in recent years, has made people believe that the problems would be solved. However, due to the restriction of experimental environment and cost, research about ITS is very hard to open up in real life. Scaling down the model of ITS in proportional could get a high accuracy simulation and analysis of the real one [1–3]. Therefore, a kind of model called smart car system [4–6] has gotten more and more attention in the study of ITS. The study core is the control scheme of smart cars; as the control process of smart cars could reflect basis characters and all keys of ITS, it could effectively support the research and technology on related fields. Therefore the study about smart cars has obtained a great practical significance and scientific value.The research about smart car includes the technology, methods of navigation, positioning, motion planning, and speed control. The technology and methods of the speed control are important to the achievement of smart car. There are some algorithms of control, such as an approach based on fault-tolerant control [7] and data-driven support [8–11], using fuzzy-PID mode algorithm [12] and adaptive sliding mode algorithm [13, 14]. Among all of the algorithms, PID controller [15, 16] has been widely used in ordinary vehicle cruise control because its structure is simple and the effect is significant. However, the parameter adjustment of PID controller is complex, and its control effect is not ideal for the time delay systems. For this, we put forward a novel control scheme of speed control based on internal model control (IMC); we find out that internal model control has more and more applications in the control of multivariable time delay process for its simple structure, convenient parameter setting, good robustness, and some compensation effect of the time delay process [17, 18]. This paper sets up a mathematical model of speed control of smart cars system, which consists of navigation detection module, drive control module, speed detection module, system debugging module, power module, and other components based on the core of Freescale’s 32-bit microprocessor MK60N512VMD100, researched on the speed control of smart cars system and proposed a control strategy based on IMC, made a study of control effect compared with the PID controller. The result shows that, the strategy of IMC for speed control could attain, even better than, the result of PID control, greatly reduce the difficulty of adjusting the parameter of controller, and has strong value in application.


## 2. Introduction of Speed Control System

Smart car control system is a closed loop control system, which consisted of speed detection module, DC motor driver module, and power supply module. The error between set speed and measurement speed is the input of speed controller, by which the DC motor driver attains the corresponding driving signal; thus the smart car can be driven by a certain speed.It is hard to build an accurate mathematical model through the analysis of the car’s physical characteristics with the reason that not only the motor type, tire size, and the weight of the car are uncertain but also the power voltage, the wind resistance, and the road friction keep changing. With the analysis of the large amount of experimental data and the reference of the related paper [19, 20], it is found that one-order inertial lag model can be used, which is defined as follows:
(1)G(s)=K1+Tse-τs.It is well known that the measured data of the encoder of the smart car has a linear relationship to the real speed of the smart car through some practical testing; therefore the real speed of the smart car can be easily gained and expressed by the encoder. The smart car model with four wheels is shown in Figure1, which is driven by a single DC motor, and its length and width are 35 cm and 18 cm, respectively.Figure 1
Model of smart car.The relationship between the data of encoder and the time is shown in Figure2 when the battery voltage is 7.5 V.Figure 2
Relationship between the car’s speed and time.A specific mathematical model can be achieved by the processing and the analysis to the measured data, and the parameters of model are as follows:K=1, T=200, and τ=0.5. In this paper, several comparative experiments will be done based on the above mathematical model of the speed control system of the smart car, which is as follows:
(2)G(s)=11+200se-0.5s.


## 3. Basic Principle of the Inner Model Control

In order to have a good control result and easy operation to the speed control system, we proposed a control scheme based on IMC after the analysis of the mathematic model.The IMC is a kind of control strategy whose controller is designed on the basis of the process mathematical model. The IMC strategy was firstly proposed by Garcia and Morari in 1982, which caught the researchers and the engineers’ attention simultaneously for its merits of simplicity, good tracking performance, robustness, and ability of eliminating the unmeasured disturbance. It does not need accurate object model and can probably acquire the better robustness after introducing the filter. In addition, the inner model controller not only is able to adjust parameters easily but also has a dual stability and ideal controller features of zero steady-state error.The inner control model structure is shown in Figure3, where GIMC represents the transfer function of the controller, GP represents the process, G~P represents the process model, and Gd represents the transfer function of the disturbance. In order to gain the two transfer functions between the input and the output (one is the input r and the output y and the other is the input d and the output y) in Figure 3, the structure in Figure 3 can be converted into the equivalent IMC structure which is shown in Figure 4; thus it is convenient to obtain the transfer function of the inner feedback controller, which is defined as follows:
(3)GC(s)=GIMC(s)1-GIMC(s)G~P(s).
The transfer functions of the input and the output are defined as
(4)y(s)r(s)=GIMC(s)GP(s)1+GIMC(s)[GP(s)-G~P(s)],y(s)d(s)=[1-GIMC(s)G~P(s)]Gd(s)1+GIMC(s)[GP(s)-G~P(s)].
The feedback signal of the system is defined as
(5)d~(s)=[GP(s)-G~P(s)]u(s)+Gd(s)d(s).Figure 3
The IMC structure diagram.Figure 4
The equivalent IMC structure.The input of the model is equal to the process output if the above model is accurate (that is to say that expressionGP(s)=G~P(s) is established) and has no external disturbances, so the value of the feedback signal is zero. But, overcoming the disturbance is one of the most important tasks in every process control and it is difficult to avoid the uncertainty of the model; therefore the feedback signal d~(s) reflects the influence of the system on the uncertainty of the process model and the disturbance.


## 4. Design and Application of the Inner Model Controller

Due to the control scheme we proposed IMC which has simple operation and good tracking performance; we began to design an inner model controller for the speed control system to validate it.For one-order inertial lag model, the design of the inner model controller is divided into two parts including the design of ideal controller and the introduction of the filter.The IMC structure in Figures3 and 4 can be transferred into the structure in Figure 5. The process model G~P is decomposed into the product of two parts, which is as follows:
(6)G~P(s)=G~P+(s)·G~P-(s),
where  G~P-(s) is a transfer function of the full-pass filter containing all the lag and RHP zero and it is also with characteristics of a minimum phase.Figure 5
Relationship between the IMC structure and the feedback control structure.The defined IMC controller is as follows:(7)GIMC(s)=G~p--1(s)f(s),f(s)=1(1+as)n,
where  f(s) is a low pass filter and the parameter a is the only one parameter needed to be designed, and the following inequality should be met up to satisfy the requirement of the robustness which is defined as
(8)GIMC(∞)GIMC(0)≤20.It is known that the speed control model in the smart car is one-order inertial lag model from the expression (2); the proper results are as follows by computing n=1, a≥10, and G~p--1(s)=1+200s. The concrete transfer function of the inner model controller is as follows:
(9)GIMC(s)=1+200s1+as(a≥10).


## 5. Simulation and Analysis of the Results

This paper mainly discusses the design of the speed controller of the smart car. However, due to the difficulty of building the speed control model of the smart car and the influence of the battery voltage, the environment friction coefficient, and so on, the author constructs an approximate one-order inertia pure lag mathematical model aiming at the speed control system with four wheels and one single DC motor, and the parameter of the motor model is gained by a large number of experiments. The mathematical model of the motor is displayed in expression (2).As is said above, the mathematical model of the inner model controller is displayed in expression (9). Expression (2) combined with expression (9) can get the inner model controller of this smart car’s speed control system; the transfer function of the inner model controller is as follows:
(10)GIMC(s)=1+200s1+10s.As is discussed above, it is easy to find that the IMC controller has only one parameter about the filter coefficients in the case of the known system. The only one parameter makes it easier to reach the expected result. When looking for the best parameter value, the strategy based on IMC could not be affected by other parameters more directly and conveniently.The different results are shown in Figure6 by keeping the same step input and changing the parameter a.Figure 6
Different output results of the IMC controller.Figure6 shows that the control system has a good and stable control effect when a=10, a=15, or a=20, so it is inferred that the value of the parameter a can be chosen from a certain range under the premise of the good control performance. One conclusion from the above analysis is that the inner model controller has good robustness, while the most smart car’s speed control system accepts the PID controller. The good robustness of the IMC brings a large range of parameter adjustments and makes it easier to obtain a good control effect.In this paper, aiming at the smart car’s speed control system with characteristics of first-order inertia, the author has simulated the effect of the IMC controller and the PID controller. According to the actual debugging, one group of good parameters of the PID controller is as follows:Kp=25, Ti=5, and Td=0.25, so the transfer function of the PID controller is employed as follows:
(11)GC(s)=25(1+0.21s+0.25s).The simulation result is in Figure7 using the IMC controller and the PID controller to control the smart car’s speed, respectively, when the input is the step signal given.Figure 7
Comparison to the effect of the IMC and the PID controller with step input.According to the analysis of Figure7, the PID controller has some overshoot and its settling time is longer while the IMC controller has less settling time with no steady-state error; hence the IMC controller has more excellent stability and rapidity than the PID controller. Therefore, the strategy based on IMC can be faster and more accurate to achieve the desired control requirements.The simulation result is in Figure8 using the IMC controller and the PID controller to control the smart car’s speed, respectively, with disturbance input.Figure 8
Effects of the IMC and the PID controller with disturbance input.According to the analysis of Figure8, the IMC controller is less affected by the disturbance than the PID controller in the same disturbance input; therefore the IMC controller has better capacity of resisting disturbance than the PID controller. The noise immunity of IMC makes it get a better control in disturbance environments instead of deviating from the expected requirements.


## 6. Conclusion

In this paper, we propose a strategy of smart car’s speed control system which is based on the IMC and do the research and analysis of its simulation. We can conclude that the system based on IMC has a more superior stability, rapidity, and capacity of resisting disturbance than the one based on the traditional PID control from the simulation results of the two strategies. Meanwhile, the simulation of IMC controller in different parameters within a certain range proves that the IMC has a good ability to adapt. In conclusion, the speed control based on IMC could attain the result of PID control. Moreover, the strategy of IMC could greatly reduce the difficulty of adjusting the parameter of controller. In application, the scheme based on the IMC makes it easier to reach the same control effect compared with other strategies and has strong operability and less demand on the environment. Therefore, our scheme which was proposed based on the IMC can be good for the smart car’s speed control system. With the rapid development of ITS, how to create a precise speed control model in order to achieve a more precise speed control is the next step to in-depth study of the subject.



---

*Source: 274293-2014-06-04.xml*