Modeling and Simulation of Control Actuation System with Fuzzy-PID Logic Controlled Brushless Motor Drives for Missiles Glider Applications

A control actuation system has been used extensively in automotive, aerospace, and defense applications. The major challenges in modeling control actuation system are rise time, maximum peak to peak overshoot, and response to nonlinear system with percentage error. This paper addresses the challenges in modeling and real time implementation of control actuation system for missiles glider applications. As an alternative fuzzy-PID controller is proposed in BLDC motor drive followed by linkage mechanism to actuate fins in missiles and gliders. The proposed system will realize better rise time and less overshoot while operating in extreme nonlinear dynamic system conditions. A mathematical model of BLDC motor is derived in state space form. The complete control actuation system is modeled in MATLAB/Simulink environment and verified by performing simulation studies. A real time prototype of the control actuation is developed with dSPACE-1104 hardware controller and a detailed analysis is carried out to confirm the viability of the proposed system.


Introduction
Brushless DC motor drive is used extensively in process industries, robotics, aerospace, and home appliance.In defense gliders and missiles are used to assail rivals.A motion controller is realized to control fins of missiles and gliders to reach their target for which a BLDC motor drive is used to control fins.BLDC motor has features of protracted performing viability, high dynamic response, and efficiency.BLDC motor response is the challenge task to control position fins in desired direction with reference to the steering command.BLDC motor offers efficient speed torque characteristics and closed loop control techniques which is a cause to use motor in motion control applications [1].Nasri et al. presented the mathematical model construction of a brushless DC motor via MATLAB/Simulink [2] to view real time performance of motor in nonlinear conditions.A power electronics switching inverter is used to drive BLDC motor for control actuation system.The PWM-generation logic is to switch inverter to drive BLDC motor depending on error generator from controller.To acquire feedback signals a quadrature encoder model is used to acquire rotor position information of BLDC motor to controller [3,4].Modeling of controller is primary task of actuation system to maintain optimum response various command inputs.The conventional PID controller is used in many industries even though delivery of position response is poor for nonlinear type of system [5,6].The conventional PID control had been implemented in BLDC motor drive.But these controllers suffer from drawbacks: lack of performance in nonlinear system and more rise time with oscillatory response [7][8][9].
Recently, as alternative to PID controller, a fuzzy based control technique is considered for BLDC motor drive to optimize gain values in systematic approach [10][11][12].The proposed fuzzy technique includes self-tuning response to optimize gain values of controller for different command inputs.
Fuzzy logic inference system has human intelligence in nature and is associated with rule based system successfully applied in control applications [13].The following are virtues of fuzzy control: (i) improved stability, (ii) less sensitivity to load dynamics, (iii) simple control configuration, and (iv) low cost and more time.
Ko explained application of fuzzy logic PI controller in controlling shaft position of a motor [12].Todić et al. [8] implemented PID control techniques in BLDC motor for electromechanical actuation applications.The servo-based actuators are designed to control fins surfaces through planetary gear system and linkage mechanism such as wings and fins for aerodynamic control and its steering.The FCAS controls four actuators and associated control drive system with integrated electronics into a ring that matches the mold outer line of the missile.The main objective of this paper is to model fin control actuation system using fuzzy-PID controller in missiles glider applications.The complete system is modeled with MATLAB/Simulink environment.The proposed system is validated through a real time test bench dSPACE controller cp1104.

Modeling of BLDC Motor Drive
The proposed system BLDC motor drive for control actuation system with fuzzy-PID control is modeled using MAT-LAB/Simulink and overview of blocks is shown in Figure 1.(1) and derived as state space model equations and simulated in MATLAB toolbox [14]:

BLDC Motor Modeling. BLDC motor terminal voltage equation can be represented in
Motor parameters torque and Electromagnetic Force (EMF) of BLDC motor in trapezoidal nature are calculated in (2) in which   and  V are friction torque in static and dynamic conditions and   is load torque of the motor [15][16][17]: The Final Output power is developed by motor where  is Angular Velocity of the motor in radians per second and  is total power output.
The motor parameter such as stator resistance, inductance, and back EMF constant parameter implicates control response of motor.The motor parameters are responsible for maximum overshoot, unsteady state with more transient response which reduces time response of control actuation system.To overcome the above drawbacks motor gain parameters need to be tuned using a conventional PID controller which is not self-tuned and compactable for time varying system.For better dynamic response a fuzzy-PID controller is proposed to optimize gain parameters as a self-tuned system which is diverse with input command signal.The BLDC motor parameters are modeled with reference to Faulhaber Motor K 3564 series parameters from their data sheet and presented as in the Appendix [18].The required parameters of BLDC motor are taken as configurable parameters and modeled using state space representation of MATLAB model as shown in Figure 2.

Modeling of Inverter Circuit. BLDC Motor Driver is
IGBT based inverter circuitry and operates with switching PWM signal as input and generates three-phase voltage to drive BLDC motor.The three hall sensors are placed at 120 electrical degrees in rotor and acquire the rotor position information as a feedback to the controller.Three hall sensors with eight combinations generate hall signals with 120electrical-degree sensor phasing for six input combinations.Table 1 represents Hall Signals representation of our proposed motor model with corresponding EMF signals [19].
The Scientific World Journal The inverter for BLDC motor drive is modeled using power electronics IGBT mathematical switches in MATLAB as shown in Figure 3.The PWM switching current control technique is implemented as shown in Figure 3 comparing input with relational operator to generate six PWM signals to drive inverter of BLDC motor.

Modeling of Encoder.
In modeling the control actuation system a quadrature encoder is implemented to acquire rotor position information from BLDC motor as a feedback to the controller.The shaft encoder model subsystem as shown in Figure 4 is attached to BLDC motor shaft.This encoder block will give the informative output of quadrature encoder pulses   and   , which has velocity, direction, pulse frequency, and phase shifting position of rotor.The shaft encoder pulses are taken for computing the speed, position, and direction of motor.The entire computation is a triggered subsystem which is used to compute information of square wave coming from encoder using MATLAB Simscape model [20].

Modeling of Conventional PID Controller
The conventional Proportional-Integral-Derivative (PID) controllers are used in immense control actuation applications.The PID controller has the ability to eliminate steadystate error through integral action as the output changes corresponding to controller derivative action with respect to input command signal.The PID tuning method, namely, the Ziegler-Nichols method, confirms gain parameters needs to obtain the step response of the system [21].
The continuous control signal () of the PID controller [22][23][24] is given by where   is the proportional gain,   is the integral time constant,   is the derivative time constant, and () is the error signal.The proportional, integral, and derivative terms enumerate to obtain desired output of the PID controller.() as the output of PID-controller, equation to be the final form of the PID algorithm is where   is proportional gain, a tuning parameter.  is integral gain, a tuning parameter.  is gain, a tuning parameter.
According to (5) control signals calculated for conventional PID gain parameters   ,   , and   .
The Scientific World Journal
The output from fuzzy-PID controller is derived from (3) and its output parameters are negative very large (NVL), negative large (NL), negative medium (NM), and negative small (NS) and zero, positive small (PS), positive medium (PM), positive large (PL), and positive very large (PVL).The same singleton membership functions of Figure 5 are used similar to the fuzzy sets and corresponding rule is formed in Table 2.
The final controller output is obtained from For better control performance and simplicity structure a triangular shaped function is implemented as membership function with limits (−1, +1): a seven level is used for all input and output variables.
The fuzzy-PID controller is modeled in MATLAB/Simulink environment with gains   ,   , and   which is shown in Figure 6 and its corresponding rule viewer in Figure 7 to analyze stability of the system.

Gearhead Modeling
The fins of missiles will be actuated from BLDC motor shaft drive through a planetary gearhead with gear ratio of 14 : 1.A planetary gear type has three wheels named Sun, Carrier, and Ring, in which the Ring and Carrier run anticlockwise with Sun gear [27].The planetary gear and its ratio are calculated using equations below: where   is Angular Velocity of Sun gear.  is Angular Velocity of Carrier gear.  is Angular Velocity of Ring gear or Internal gear. is gear ratio.The simulation of drive train model is modeled using Simscape in which motor shaft is coupled with gearhead.This tool extends the fast capability in MATLAB/Simulink environment, in the future.The gearhead is modeled using SIM-DRIVELINE a tool of MATLAB with reduction ratio for Ring and Sun that is 14 : 1 as shown in Figure 8.

Results of Simulation
The complete actuation system is modeled in MATLAB to verify simulation studies of the proposed system.The MAT-LAB Simscape tools are used to model gear of motor and corresponding physical parameters.The results are confirmed by Faulhaber BLDC Motor K 3564 series specifications with 38(1/s) planetary gearheads that are referred to from supplementary materials I and II (in Supplementary Material available online at http://dx.doi.org/10.1155/2015/723298).An Incremental Decoder is modeled using Simscape Library Block to detect hall position sensor.The rotor position signals to generate gate signals as per Table 1 Hall Signals representation to corresponding gate signals switches of IGBT driver circuit.The trapezoidal back EMF is modeled as a function of rotor position from encoder using back EMF constant ().
6.1.PID Controller.The control actuation system using BLDC motor is modeled using PID controller.The system responses are obtained from various command signals.The PID controller based actuation system is tested for 2100 commands signals as shown in Figure 9.The PID controller for 2100 command signals has delay rise time (72.5 ms) which is critical for an actuation system.For different operating conditions of PID based control actuation system is unable to deliver better performance in nonlinear conditions for changing load conditions and different commanded signals.
To compensate the demand of nonlinear controllers a fuzzy-PID is proposed.
The Scientific World Journal 6.2.Fuzzy-PID Controller.The control actuation system using BLDC motor is modeled using fuzzy-PID controller.Simulated BLDC motor parameters like speed, back EMF generated, and current of control actuation system are shown in Figure 10 for fuzzy-PID controller.Fuzzy PID controller reaches system load torque of 180 mN-m with operational time of 48 milliseconds.Fin control actuation angle analysis is carried out for the performance of conventional PID controller and fuzzy-PID controller.Figure 10 shows that fuzzy-PID controller has better performance than the conventional one for BLDC motor drive response.The drive fin control actuation system response for fuzzy-PID controller and PID controller is shown in Figure 11.

Hardware Results and Verification
The Hardware results are verified for a proposed fuzzy-PID controller with DSPACE 1104 controller and a real time controller.The complete simulation model is simulated in MATLAB environment.Through control desk software MATLAB and dSPACE environment is interfaced to validate proposed systems stability for various load disturbances.The control actuation system using BLDC motor with encoder and gearhead is modeled, an interface with dSPACE controller test bench as shown in Figure 12.
Figures 13(a) and 13(b) show the PWMs generated by the dSPACE controller which is given as input to drive the IGBT switches with the switching frequency of 10 KHz.Separate encoder has been modeled for 100 ppr.From the QEP signals   and   , speed and position of motor shaft are calculated using pulse count decoder block.System builds with inner loop as current control and outer loop as speed/position control as shown in Figure 15.Current  dc is controlled through fixed PWM of 10 KHz and it is limited from 6 A peak   to −6 A peak.Necessary hall signal decoding logic is built in with the proposed system.Feedback controller for both current and speed/position was developed with conventional PID as well as fuzzy-PID controller.A motion controller is designed using fuzzy-PID control as input is set as step input for 2100 counts.

Speed Control Performance.
The result shows the speed control of motor with inner loop current control for both conventional PID and fuzzy-PID (see Figure 14).The closed loop speed with 10000 rpm of set speeds both conventional PID starting response and fuzzy-PID starting response as shown in Figure 14.Fuzzy-PID controller performance has better rise time with minimum peak to peak overshoot for the desired speed.
For step change of speed analysis is as shown in Figure 15 the speed step rose from 5000 rpm into 10000 rpm at 0.05 sec then step down from 10000 rpm into 5000 rpm at 0.1 sec.Analysis suggests that fuzzy performance is better than conventional controller in considering the settling errors.From the step change analysis fuzzy-PID improves the performance of the actuation system compared with conventional PID.

Position Control Performance.
The position control step analysis is carried out for control actuation system.Figure 16 shows the position control equivalence pulse counts of BLDC motor with inner loop current control for both conventional PID and fuzzy-PID.Unit step change of fins movement for 1 degree required is 2100 pulse counts from motor shaft, with step analysis as reference for desired 2100 pulse counts.The step responses of conventional PID and fuzzy-PID are shown in Figure 16.From the experimental results it is observed that conventional PID requires 75 ms to settle with 1.15% of error.Fuzzy-PID requires 52.5 ms to reach the set target with 0.01% of error.
Further analyses of step change position control are shown in Figure 17, step change from pulse counts of 2100 into 0 pulse counts.The BLDC motor operates in reverse to reach the initial pulse count (0), and from the experimental  results fin moves forward and reverse (to reach 0 pulse counts) and required the same time to reach unit set-pulse counts 50 for both conventional and fuzzy-PID controllers.Figure 18 shows the step increment analysis of unit step change of fin from 1-degree to 2-degree equivalent pulse counts of 2100 to 4200 pulse counts.From the various step analyses fuzzy performance is better than conventional controller with detailed step performance parameter of rise time, peak overshoot, and percentage error as presented in Table 3.

Conclusion
A fuzzy-PID based control actuation system has been proposed with planetary gearhead modeling.A self-tuning with optimum gain parameter of fuzzy controller has been employed to control BLDC motor drive.The position of fins is controlled by controlling BLDC motor input voltage using gains values.An electronic commutation of BLDC motor is used from the error between input and reference commanded values.Moreover, a quadrature type encoder is used to sense accurate rotor position information and as a feedback controller.An improved dynamic response

Figure 2 :
Figure 2: Mathematical model of BLDC motor in state space equation.

Figure 10 :Figure 11 :
Figure 10: Position response of fuzzy-PID controller based control actuation system for 2100 counts.

Figure 12 :
Figure 12: Hardware setup of control actuation system.
is resistance per phase, equal to all phases. - is inductance per phase equal to all phases.  and   are mutual inductance.For BLDC motor net effect value will be Zero.  ,   , and   are stator current/phase.  ,   , and   are the phase voltage of the winding.

Table 1 :
Hall and back EMF signals.

Table 3 :
Results of PID controller based control actuation system.