Abstract
The hybrid recurrent fuzzy neural network (HRFNN) control for permanent magnet synchronous motor (PMSM) drive system using rotor flux estimator is developed to control electric scooter in this paper. First, the dynamic models of a PMSM drive system were derived in according to electric scooter. Owing to the load of electric scooter exited many uncertainties, for example, nonlinear friction force of the transmission belt, and so forth. The electric scooter with nonlinear uncertainties made the PI controller to disable speed tracking control. Moreover, in order to reduce interference of encoder and cost down, an HRFNN control system using rotor flux estimator was developed to control PMSM drive system in order to drive electric scooter. The rotor flux estimator consists of the estimation algorithm of rotor flux position and speed based on the back electromagnetic force (EMF) in order to supply with HRFNN controller. The HRFNN controller consists of the supervisor control, RFNN, and compensated control with adaptive law is applied to PMSM drive system. The parameters of RFNN are trained according to different speeds in electric scooter. The electric scooter is operated to provide disturbance torque. To show the effectiveness of the proposed controller, comparative studies with PI controller are demonstrated by experimental results.
1. Introduction
In recent years, for the purpose of reducing air pollution and enhancing environmental protection, quite a few countries require their automotive industries to develop electric vehicles in place of gasoline-powered automobiles gradually. Here we put our attention on the development and research of electric scooters since scooters are much more widespread than automobiles for individual transportation in Asia. The AC servo drives, including PMSMs (both trapezoidal and sinusoidal types), switched reluctance motors, and induction motors, have been widely used in robotics, computer-numerically-controlled (CNC) machine tools, elevators, and many other applications in the area of mechatronics [1, 2] for decades.
To achieve fast four-quadrant operation and smooth starting and acceleration, the field-oriented control [1β3], or vector control, is used in the design of AC servo drives. Compared with induction servo motors, a PM synchronous motor has such advantages as higher efficiency owing to the absence of rotor losses and lower no-load current below the rated speed; moreover, its decouple control performance is much less sensitive to the parameter variations of the motor [1, 2].
Recently much research has been done on the applications of fuzzy neural network (FNN) systems, which have the advantages of both fuzzy systems and neural networks, in the control fields to deal with nonlinearities and uncertainties of the control systems [4β15]. Moreover, the FNNs are universal approximators [6, 7], which can approximate any dynamics to a prespecified accuracy by the learning process [6]. The fuzzy neural approximator presented in Leu et al. [8] tuned on line to approximate the unknown nonlinear dynamic systems for adaptive control. The supervisory FNN controller proposed in Lin et al. [9] comprised a supervisory controller, which is designed to stabilize the system states around a defined bound region, and an FNN sliding-mode controller, which combines the advantages of the sliding-mode control with robust characteristics and the FNN with online learning ability. Kung [10] proposed an adaptive fuzzy controller to cope with the friction and external load effect of a permanent magnet linear synchronous motor (SM) drive. Kim and Lee [11] presented a fuzzy disturbance observer to achieve good trajectory tracking for permanent magnet linear SM drives in the presence of external disturbance and internal parameter uncertainties. The key method of the proposed intelligent control is that system uncertainty is approximated by a fuzzy system and the fuzzy system is used to counteract the effect of the lumped disturbance in the design of control systems. Though the favorable control performance was achieved, some constrained conditions and prior system information were required in the intelligent control system. Fuzzy neural network (FNN) is multilayered connectionist network, which brings the learning abilities of neural networks to realize the elements and functions of fuzzy systems. The FNN possesses the merits of low-level learning and computation power of neural networks, and the high-level human-like thinking and reasoning of fuzzy theory. In [12, 13], an adaptive FNN control scheme is proposed for the position tracking control of permanent magnet linear SM drives. The robust control performance is achieved when uncertainties occur including a nonlinear friction force. The FNN is a feedforward network structure, which performs well on algebraic mapping of input-output training data. However, the FNN is being used to model dynamic structures. It is not more suitable to describe the system with dynamic behavior. On the other hand, a recurrent FNN (RFNN) has superior dynamic capability than the FNN [14, 15]. Since the RFNN has an internal feedback loop to capture system dynamics, the dynamic response of a system can be captured without using external feedback through delays. The RFNN is a dynamic mapping and usually obtains good control performance in the presence of system uncertainties. Lin et al. [16] proposed an RFNN controller for the trajectory tracking of a permanent magnet linear SM drives with structure and parameter learning phases concurrently. Wang and Lee [17] designed a self-adaptive RFNN control scheme for controlling an autonomous underwater vehicle. The RFNN was trained to model the inverse dynamics of the vehicle and then utilized as a feedforward controller to compute the nominal torque of the vehicle along a desired trajectory. Lin et al. [18] addressed the application of a recurrent functional link-based FNN control to the periodic reference trajectory tracking issue for permanent magnet linear SM servo drives. Although these RFNN techniques can incorporate fuzzy rules with dynamic elements for better approximation of nonlinear dynamics, how to build a suitable-sized network structure and develop online training algorithms for the RFNN is the major challenging problem. Moreover, the tuning of controllers should also be considered for achieving more robust control. Su and Liaw [19] combined a mixed feedforward/feedback controller and a disturbance observer for the adaptive position tracking control of permanent magnet linear SM drives. In [20], a robust feedforward/feedback control scheme was proposed to address the sensitivity of control performance of permanent magnet linear SM drives to external disturbances. Though the favorable tracking performance was guaranteed, the proposed control approach needs to know the system dynamics. One approach in dealing with major changes and uncertainty in nonlinear dynamical processes is through neural modeling and control. Nho and Meckl [21] incorporated a neural-network identifier and a simple PD controller to control an articulated robot. The neural-network identifier was trained to represent the inverse dynamics of the robot and then was used in the computed torque control architecture. Lee and Teng [22] proposed a novel RFNN control structure for identifying and controlling nonlinear dynamic systems. In the control scheme, an unknown system was identified by the RFNN identifier to provide the sensitivity information about the system to a RFNN controller, while the RFNN controller generated a control signal to minimize the error between actual system output and desired output. Although these approach are very effective, one of the important problems is how to design a powerful network with a simple structure and less time in training. Therefore, this paper presents hybrid recurrent fuzzy neural network (HRFNN); control PMSM drive system using rotor flux estimator is developed to control electric scooter in this paper. The method is not dependent upon the predetermined characteristics of the motor and can adapt to any change in the motor characteristics. Owing to PI controller cannot process with nonlinear uncertainties such as electric scooter. Therefore, a HRFNN control system using rotor flux estimator was developed to control PMSM drive system in order to drive electric scooter. The rotor flux estimator consists of the estimation algorithm of rotor flux position and speed based on the back electromagnetic force (EMF) in order to supply with HRFNN controller. The HRFNN controller consists of the supervisor control, RFNN, and compensated control with adaptive law is applied to PMSM drive system. The parameters of RFNN are trained according to different speeds in electric scooter. The electric scooter is operated to provide disturbance torque. Finally, to show the effectiveness of the proposed controller, comparative studies with PI controller are demonstrated by experimental results.
2. Configuration of PMSM Drive System
For convenient analysis, the electric-magnet torque equation of PMSM drive electric scooter can be described as [1β3] The equation of the motor dynamics is In (1) and (2), and are and axis stator current and are - and -axis stator inductance, is the rotor speed, is the number of poles, stands for the load torque (external load disturbance, e.g., electric scooter), represents the viscous frictional coefficient, and is the moment of inertia. The basic principle in controlling a PM synchronous motor drive is based on field orientation. In (1) and (2), if , the -axis flux linkage is fixed, since and are constant for a PM synchronous motor; the electromagnetic torque is then proportional to , which is determined by closed-loop control. The rotor flux is produced in the -axis only, while the current vector is generated in the -axis for the field-oriented control. Since the generated motor torque is linearly proportional to the -axis current as the -axis rotor flux is constant in (2), the maximum torque per ampere can be achieved.
With the implementation of field-oriented control, the PM synchronous servo motor drive can be simplified as
The block diagram of a PMSM motor drive system for electric scooter is shown in Figure 1. The system is constituted by the following parts: a PMSM (loaded wheel of electric scooter), interlocked and delay time circuits, a field-oriented mechanism including the coordinate translation and generation, and look-up table generation in order to reduce calculated burden, a hysteresis-band comparison current-controlled PWM, a voltage source inverter (VSI), a speed control loop, and a position control loop were implemented by TMS320C32 DSP control board and interface card. The field-oriented mechanism drive system was implemented by TMS320C32 DSP control system. A host PC downloads the program running on the DSP. For the speed control system, the electric scooter is operated to provide constant disturbance torque.
3. The Hybrid RFNN Control Design Using Rotor Flux Estimator
The configuration of the proposed HRFNN control system using rotor flux estimator is depicted in Figure 1. The HRFNN control system using rotor flux estimator is developed to control PMSM drive system in order to drive electric scooter. The rotor flux estimator consists of the estimation algorithm of rotor flux position and speed based on the back electromagnetic force (EMF). The machine model of a PM synchronous motor can be rewritten in the stationary reference frame as follows [1β3]: where and are - and -axis stator voltage, and are and axis stator current, is stator inductance, stands back electromagnetic force constant, represents stator resistance, is rotor flux speed, and is rotor flux position. Then back electromagnetic force voltages can be defined as Then switching surface of sliding mode can be defined as follows to ensure estimate error between estimate current and measure current reaching on sliding surface: The dynamic mode of current observers with sliding mode can be represented as follows to reduce error between estimate current and measure current: where and represent observational values at , and , respectively, represents switching gain, is sign function. Substituting (7) into (4), then the dynamic equations can be acquired as follows: where and switching gain can be designed as where is very small value to ensure switching gain action in estimation.
Theorem 1. If switching gain satisfies (10), then (9) will be guaranteed globally asymptotic stability.
Proof. The Lyapunov function of positive definite can be selected as follows: where is unit positive-definite matrix. Then we differentiate (11) as follows: where If the differentiation of the Lyapunov function is negative definite, the system can be guaranteed globally asymptotic stability. By switching gain in (9), and in (13) should be less than zero, then satisfy switching condition of sliding mode.
According to Theorem 1, the switching gain of switching surface in equal control of sliding mode is small enough, so that switching condition can be satisfied. When switching condition can be satisfied, the system in (8) will achieve asymptotic stability. Therefore, It represent that system dynamic fall onto switching surface. We use (8) and (14), and relationship can be acquired as We substitute (15) into (5), then rotor flux position of motor can be replaced into , and it is can be estimated as and rotor angular speed of motor can be estimated as where iss estimation of rotor flux position and is estimation of rotor angular speed .
In order to avoid chattering phenomenon of sliding mode, the sign function can be replaced by the following equation as where where and are positive constants.
Owing to the load of electric scooter exited many uncertainties. The conditional PID controller cannot process with nonlinear uncertainties such as electric scooter. Therefore, an HRFNN control system using rotor flux estimator was developed to control PMSM drive system in order to drive electric scooter in this section. The configuration of the proposed HRFNN control system, which combines a supervisory control system, RFNN controller, and compensated control system, is depicted in Figure 2. The control law is designed to take the following form [6]: where is a supervisory control, is a RFNN control, and is a compensated control. The supervisory control is designed so that the states of the controlled system are stabilized around a predetermined bound region. Due to the excessive and chattering control effort induced by the supervisory control law, the RFNN control and compensated control are introduced to reduce and smooth the control effort when the system states are inside the predefined bound region. The RFNN control is the main tracking controller used to mimic an idea control law, and the compensated control is designed to compensate the difference between the idea control law and the RFNN control. The supervisory control law fires only when the RFNN approximation properties cannot be guaranteed.
A four-layer RFNN comprises the input (the layer), membership (the layer), rule (the layer), and output layer (the layer) and is adopted to implement the RFNN controller in this study. The signal propagation and the basic function in each layer of the RFNN are introduced as follows.
Layer 1 (Input Layer). For every node in this layer, the net input and the net output are represented as where is the command error between the desired command, , and the estimation of rotor angular speed, is the command error change, in which represents a time delay; denotes the number of iterations; is the output of the RFNN.
Layer 2 (Membership Layer). In this layer, each node performs a membership function. The Gaussian function is adopted as the membership function. For the th node, where and are, respectively, the mean and the standard deviation of the Gaussian function in the th term of the th input linguistic variable to the node of Layer 2, and is the total number of the linguistic variables with respect to the input nodes.
Layer 3 (Rule Layer). Each node in this layer is denoted by which multiplies the input signals and outputs the result of product. For the th rule node where represents the th input to the node of Layer 3;, the weights between the membership layer and the rule layer, are assumed to be unity; is the number of rules with complete rule connection if each input node has the same linguistic variables.
Layer 4 (Output Layer). The single node in this layer is labeled with , which computes the overall output as the summation of all input signals: where the connecting weight is the output action strength of the th output associated with the th rule; represents the th input to the node of Layer 4, . Moreover, can be rewritten as follows: where the error signal is the input of the RFNN; is the adjustable parameter vector of the RFNN; , in which is determined by the selected membership function and .
To develop the compensated control , a minimum approximation error is defined as follows: where is an optimal weight vector which achieves the minimum approximation error, and the absolute value of is assumed to be less than a small positive constant, (i.e., ). The error equation can be rewritten as follows: Then, the Lyapunov function is defined as Take the derivative of the Lyapunov function and use (27), then To satisfy , the adaptation laws and the compensated controller are designed as follows: where is denoted as adaptation gains. Substitute (30) into (29), then The supervisory controller is designed as follows: where Substitute (31) and (33) into (32), thus Since , is negative semidefinite (i.e., ), which implies and are bounded. Let function , and integrate function with respect to time: Because is bounded and is nonincreasing and bounded, then Differentiate with respect to time, then Since all the variables in the right side of (28) are bounded, it implies is also bounded. Then is uniformly continuous [23]. By using Barbalatβs lemma [23, 24], it can be shown that . Therefore, as . As a result, the hybrid control system is asymptotically stable. Moreover, the tracking error of the system, , will converge to zero according to .
In order to train the RFNN effectively, an online parameter training methodology can be derived using adaptation laws of the above Lyapunov stability theorem. Then adaptation laws of the parameters in the RFNN can be computed by the gradient descent method and the backpropagation algorithm as follows: The above Jacobian term of controlled system can be rewritten as . The error term can be calculated as The error term of membership function can be calculated as The mean and standard deviation of the Gauss function can be updated using the gradient descent method as The recurrent weight can be updated as
4. Experimental Results
A block diagram of the DSP-based computer control system for a PMSM servo drive is depicted in Figure 1. The current-controlled PWM VSI is implemented by the IGBT power modules with a switching frequency of 15βkHz. The control algorithm was implemented by a TMS320C32 DSP-based control system. A TMS320C32 DSP-based control board includes multichannels of D/A, eight channels programmable PWM and encoder interface circuits. The PMSM used in this drive system is a three-phase two-pole 48βV 750βW 16.5βA 3600βrpm type. The parameters of the PMSM are given as follows: Nβmβs/rad, , throught open circuit test, short test, rotor block test, loading test.
The control gains of the proposed HRFNN control system using rotor flux estimation are given for the following: All the gains in the HRFNN control system using rotor flux estimation are chosen to achieve the best transient control performance in experimentation considering the requirement of stability. To show the effectiveness of the RFNN control with small rule set, the RFNN has two, six, nine, and one neuron at the input, membership, rule, and output layers, respectively. It can be regarded that the associated fuzzy sets with the Gaussian function for each input signal are divided into N (negative), Z (zero), and P (positive). Usually, some heuristics can be used to roughly initialize the parameters of the RFNN for practical applications. The effect due to the inaccurate selection of the initialized parameters can be retrieved by the online parameter training methodology. Therefore, for simplicity, the means of the Gaussian functions are set at β1, 0, 1 for the N, Z, P neurons, and the standard deviations of the Gaussian functions are set at 1. Moreover, the connecting weights between the output layer and rule layer, and the recurrent weights are initialized with random number.
To show the advantages of the HRFNN control PMSM drive system using rotor flux estimator for electric scooter is experimented for comparison. Two conditions provided in the experimentation here, one being the 1200βrpm case with mounted electric scooter and another being the 2400βrpm case with mounted electric scooter, are depicted in Figures 3 and 4, respectively. The measure and estimate rotor speed responses, measure and estimate rotor position, command and measure current in phase (a), and command and measure current in phase of the PI control system with mounted electric scooter at 1200βrpm are depicted in Figures 3(a), 3(b), 3(c), and 3(d), respectively. The measure and estimate rotor speed responses, measure and estimate rotor position, command and measure current in phase (a), command and measure current in phase of the PI control system with mounted electric scooter at 2400βrpm are depicted in Figures 4(a), 4(b), 4(c), and 4(d), respectively. Due to PI control system cannot process nonlinear uncertainties. The degenerate tracking responses shown in Figure 4(a) are resulted owing to the conditions of parameter variation and external disturbance.
(a)
(b)
(c)
(d)
(a)
(b)
(c)
(d)
The experimental results of the HRFNN control system with mounted electric scooter at 1200βrpm case and 2400βrpm case are shown in Figures 5 and 6. The measure and estimate rotor speed responses, measure and estimate rotor position, command and measure current in phase (a), command and measure current in phase of the HRFNN control system with mounted electric scooter at 1200βrpm are shown in Figures 5(a), 5(b), 5(c), and 5(d), respectively. The measure and estimate rotor speed responses, measure and estimate rotor position, command and measure current in phase (a), command and measure current in phase of the HRFNN control system with mounted electric scooter at 2400βrpm are shown in Figures 6(a), 6(b), 6(c), and 6(d), respectively. However, owing to the online adaptive mechanism of RFNN and the compensated controller, accurate tracking control performance of the PMSM can be obtained. The control performance of the proposed HRFNN control system is superior than PI control system with mounted electric scooter. Additionally, the small chattering phenomena, existed in phase (a) and in phase (b) as shown in Figures 6(c) and 6(d), are owing to the online adjusting of the RFNN to cope with the high-frequency unmodelled dynamic of the controlled plant. From the experimental results, the control performance of the proposed the HRFNN controller using rotor flux estimator is suitable for PMSM drive in electric scooter. The measured rotor speed responses due to step disturbance torque are given finally. The measured rotor speed responses and measure current in phase (a) due to a Nβm load torque disturbance with load and shed load using the PI control system at 2400βrpm are shown in Figure 7(a), and the measured speed responses at the same disturbance condition using HRFNN control system are shown in Figure 7(b). From the experimental results, the degenerated responses due to the variation of rotor inertia and load torque disturbance are much improved using the HRFNN control system. From experimental results, transient response of the HRFNN control system is better than PI control system at load regulation.
(a)
(b)
(c)
(d)
(a)
(b)
(c)
(d)
(a)
(b)
5. Conclusions
A permanent magnet synchronous motor (PMSM) drive system using hybrid recurrent fuzzy neural network (HRFNN) control system with rotor flux estimator has been successfully developed to drive electric scooter with robust control characteristics in this study. First, the dynamic models of a PMSM drive system were derived according to electric scooter. Owing to the load of electric scooter exited many uncertainties. The conditional PI controller cannot process with nonlinear uncertainties such as electric scooter. Next, an HRFNN control system with supervisory control was designed based on the uncertainty bounds of the controlled system to stabilize the system states around a predefined bound region. To reduce the excessive and chattering control efforts resulted by the supervisory control, RFNN and compensated control system were introduced to reduce and smooth the control effort when the system states were inside the predefined bound region. Moreover, an online parameter training methodology, which was derived using the Lyapunov stability theorem and the gradient descent method, was proposed to increase the online learning capability of the RFNN. In order to reduce interference of encoder and cost down, a HRFNN control system using rotor flux estimator was developed to control PMSM drive system in order to drive electric scooter. The rotor flux estimator consists of the estimation algorithm of rotor flux position and speed based on the back electromagnetic force (EMF) in order to supply with HRFNN controller. The parameters of RFNN are trained according to different speeds in electric scooter. The electric scooter is operated to provide disturbance torque. From the experimental results, the control performance of the proposed HRFNN controller using rotor flux estimator is more suitable than PI controller for PMSM drive in electric scooter.
Acknowledgment
The author would like to acknowledge the financial support of the National Science Council in Taiwan, through its Grant NSC 99-2221-E-239-040-MY3.