Full text
Chapter 6 Application of DSP in Power Conversion Systems — A Practical Approach for Multiphase Drives Hugo Guzman, Mario Bermúdez, Cristina Martín, Federico Barrero and Mario Durán Additional information is available at the end of the chapter http://dx.doi.org/10.5772/60450 Abstract Digital Signal Processing is not a recent research field, but has become a powerful technology to solve engineering problems in the last few decades due to the introduction by Texas Instruments in 1982 of the Digital Signal Processor. Fast digital signal processors have quickly become a cornerstone of high-performance electrical drives, where power electronic conversion systems have heavy online computation burdens and must be controlled using complex control algorithms. In this sense, multiphase drives represent a particularly interesting case of study, where the computational cost highly increases with each extra phase. This technology has been recognized in recent times as an attractive electrical drive due to its usefulness in traction, more-electric aircraft applications and wind power generation systems. However, the complexity of the required control algorithms and signal processing techniques notably increases in relation with conventional three-phase drives. This chapter makes a revision of the necessities of a high-performance multiphase drive from the digital signal processing perspective. One of the most powerful Texas Instruments’ digital signal processor (TMS320F28335) is used, and specific control algorithms, electronic circuits and acquisition processing methods are designed, implemented and analyzed to show its interest in the development of a high-performance multiphase drive. Keywords: Digital Signal Processing, Digital Signal Processors, Multiphase Electrical Drives, Field-Oriented Control, Predictive Current Control Techniques © 2015 The Author(s). Licensee InTech. This chapter is distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
1. Introduction Digital Signal Processing in Power Electronics is an important research area which mainly covers problems concerning the design and realization of algorithms using Digital Signal Processors (DSPs). A wide variety of solutions can be found at industry and in research fields involving DSP applications, mostly in accordance to conventional three-phase systems. This chapter will analyze the interest and utility of Digital Signal Processing in the specific field of multiphase electric drives. This area has significantly accelerated in the last decade due to their intrinsic features like higher fault tolerance, reduced torque ripple or better power splitting. With the number of conventional electrical drives continuously growing, the interest in multiphase ones is also rising, although they are not yet so common due to their complexity. The development of modern power electronic switches and the ability of modern DSPs to implement complex algorithms are allowing the control of multiphase drives in applications such as aerospace actuators, wind energy conversion systems, oil pumping or ultrahigh-speed elevators. Power conversion systems are composed of different electrical and electronic components that need to be managed following specific constraints depending on the final application. Moreover, such systems are designed to work under different conditions and states; thus, several control algorithms can be found in a single DSP, and the designed control unit (based on the DSP) must be able to change between these different states, considering measured components and actuating on the overall equipment to work as desired. For this purpose, Digital Signal Processing based on DSPs must be done considering not only the inner control algorithm implementation, but also the proper signal adaptation going in or out the DSP. The major benefit to readers of this chapter is the acquisition of specific knowledge concerning the processing of signals from current and/or speed sensors using a digital signal processor and the subsequent generation of the signals needed to control the power switches in a multiphase power converter, following the implemented controller commands. Hardware and software design for the specific application are included as illustrative examples for the considered systems. The chapter is organized as follows: First of all, the overall system features and constraints are presented, demonstrating the necessity for digital signal processing and the implementation of DSPs for such application. The specific characteristics needed for the multiphase drive application are also presented and the selected DSP (TMS320F28335) is described. Subsequently, the electrical and electronic hardware is explained and the acquisition/adaptation PCBs, developed in order to communicate the DSP with the overall system, are presented. The next section explains the software designed to control the power converters and electrical equipment, the current and speed sensors measurement and treatment, the implemented controller algorithm and the semiconductor switching signals. Finally, some results are depicted and conclusions are presented. Applications of Digital Signal Processing through Practical Approach 162
2. Power conversion systems using multiphase induction machines Although the deadline for a complete replacement of petroleum-based fuels is uncertain, it is clear that the human being is in a race against time to replace conventional energy sources. In the last decade, the technology evolution in areas such as renewable energies or electric propulsion has been intense to achieve this goal [1]. Government policies are promoting the use of renewable energy sources (wind, photovoltaic) and new transportation systems (hybrid and electrical vehicles) aiming to fulfill environmental, economical and social needs [2]. From the technological point of view, the present time is a moment of challenge and the success of a technological approach will depend on the degree in which the society demands are satisfied. As far as the electrical vehicles (EVs) are concerned, where digital signal processing and power electronic fields are finding an important niche of application, some of the desirable features of an automotive drive include: •High overall efficiency over wide speed and torque range. •Fast torque response for vehicle acceleration. •High reliability in different operation conditions. •Safety and fault tolerance. •Low maintenance and improved robustness. •Reasonable cost. These general characteristics are advantageous regardless of the wide range of EVs available in the market, which includes battery-powered electric vehicles (BEV) and plug-in electric vehicles (PHEV), hybrid electric vehicles (HEV) or fuel-cell electric vehicles (FCEV) [3]. Hybrid topologies combining internal combustion engine (ICE) and electrical motors (EM) can be classified into series, parallel and series-parallel types. Each vehicle topology has its own specific features and the general control of the vehicle can follow different approaches [4]. Nevertheless, the structure of the electric propulsion system is similar in all topologies and essentially consists of a battery, an electronic converter, an electric motor, and a speed and/or torque sensor [1]. Figure 1 presents a general schematic of an electric propulsion drive. Electronic Converter Control System ECU DSP Sensor Electric Motor Battery + + ++ + + + + Vdc Figure 1. Example of an electric vehicle propulsion system. Application of DSP in Power Conversion Systems — A Practical Approach for Multiphase Drives http://dx.doi.org/10.5772/60450 163
The propulsion system is completed with the mechanical part, including transmission and wheels. The energy conversion process is controlled by the electric drive, which is the core of the electric propulsion system. In motor mode, the energy comes from the batteries to the wheels in a controlled manner by means of drive control, while in regenerative braking the energy is reversed back to the batteries. Failure of one of the drive phases may result in a complete breakdown of the propulsion system unless a proper post-fault control is applied to improve the vehicle reliability. The electric propulsion has been traditionally obtained from conventional DC machines but nowadays three-phase AC machines are more appropriate solutions due to their lower cost and higher reliability [5]. Consequently, the standard option for the drive in the propulsion system is the use of three-phase induction or permanent magnet synchronous motors (PMSM), two-level voltage source inverters (VSI’s), field-oriented control (FOC) and pulse width modulation (PWM). However, many other options can be explored for optimal drive design: •Motor type: PMSM provide higher torque density, small size and weight, and good efficiency [6], but squirrel cage induction motors possess interesting features for electric propulsion of EVs including low cost, low maintenance and ruggedness [5]. •Number of phases: Three-phase motors are available off-the-shelf and can benefit from the economy of scales. However, multiphase motors can provide higher robustness due to its inherent fault-tolerant characteristic, lower noise and vibrations [7], higher torque density by current harmonic injection [8], lower per phase current rating [9] or ripple-free post-fault drive operation [10]. •Converter type: Although matrix [11] or multilevel [12] converters have been proposed for EV applications, the standard option is the use of a two-level VSI. This option becomes natural for EVs with multiphase motors due to the Amps per phase current reduction. DC buck/boost converters can also be included into the drive topology [1], but the motor and inverter control are not affected. •Control strategy: The electric drive control can be implemented using any of the extensive options available in literature, from the simple scalar control to artificial-intelligence-based controls [5]. Control schemes based on model reference adaptive control (MRAC) or sliding mode control (SMC) can be found in [13], and popular control strategies like the fieldoriented control (FOC) or the direct torque control (DTC) have been addressed in [12]. Nevertheless, the finite-control set model based predictive control (FCS-MPC) has been introduced in the last decade and it is a promising candidate to replace standard schemes (or to become a part of other existing methods like FOC) due to its simplicity and good performance [14-16]. The increment in the available computing power of modern microprocessors makes this strategy now plausible for controlling conventional and multiphase drives, and a wide variety of predictive current controllers have been recently presented [17-21]. The final decision on a particular topology is always a trade-off between different desirable features. The topology explored in this work uses a five-phase induction motor supplied from a two-level inverter and controlled with a predictive control strategy, to promote the reliability, efficiency and performance characteristics of the propulsion drive (Fig. 2). Applications of Digital Signal Processing through Practical Approach 164
Vdc/2 Vdc/2 ias ibs ids ics ies + - vbs vas + - + vcs - ves - + - vds + Sb Sb Sc Sc Sd Sd Se Se P N O Sa Sa w m Te n A B CD E vae Figure 2. Schematic diagram of a five-phase two-level induction motor drive. The key features of the proposed propulsion system and drive control include: •Improved efficiency with lower inverter losses and motor losses (predictive controller and multiphase motor drive). •High robustness and low maintenance (induction motor). •Fast torque response (predictive control). •Fault-tolerant operation (multiphase motor). 3. Hardware description: Power converter and electronic control unit An experimental test rig has been implemented to emulate the aforementioned multiphase propulsion drive. This test-bench is shown in Fig. 3. The system is composed of a symmetrical five-phase induction motor (IM) with distributed windings that has been constructed rewinding a conventional three-phase IM. The electrical drive is mechanically coupled to a DC motor, which can provide a programmable mechanical load torque to the system. Notice that each motor (DC motor and 5-phase IM) is controlled independently using two different power converters. An incremental encoder is also coupled to the shaft to measure the rotational speed. The five-phase motor is driven by two conventional three-phase two-level voltage source inverters (VSIs), with an independent external DC power supply as the DC-Link. A DSP-based Electronic Control Unit (ECU) is used in order to control the power converters switching sequence, depending on the demanded control action. Switching signals are sent from the ECU to the power converter drivers, being 0 V for OFF state and 15 V for ON state. For control purposes, four phase currents are measured with hall-effect sensors included on the power converters and the remaining fifth current is estimated considering that the IM is arranged with only one isolated neutral point. The hall-effect current sensors allow measurements in a range of ±25 A. Each semiconductor driver provides an error signal that triggers ON (0 V) under low- or high-voltage condition and overcurrent operation. The aforementioned signals are classified as input or output signals of the ECU. Switching signals are regarded as output signals while error signals and current/speed measurements are considered as input signals. Application of DSP in Power Conversion Systems — A Practical Approach for Multiphase Drives http://dx.doi.org/10.5772/60450 165
The ECU is connected to a host PC using a standard RS232 cable. Then, the user of the system can manage the entire system using a developed host PC software that governs the ECU. The software that runs in the DSP, configures its internal peripherals, the communication protocol, the data acquisition system, and the control algorithm is programmed using the DSP’s manufacturer proprietary software. The measured speed and current signals as well as the digital errors obtained from the power converter (i.e., errors generated in the semiconductors’ drivers) are received and processed in the DSP. If no error is detected, the processor executes the control algorithm and provides the switching signals to the power converters semiconductors (the implemented algorithm will be described in the next section). abd e c DC-Link eQEP ADC PWM CONTROL UNIT SIGNAL I/O a b RS232 FIVE-PHASE IM MOTOR DRIVE DC MOTOR DRIVE DC MOTOR FIVE-PHASE IM 4 RS232 5 DSP COMM Figure 3. Multiphase drive experimental test-bench. A summary of the described input and output (I/O) signals is provided in Table 1, where their electrical characteristics are also detailed. In order to properly select a DSP among those commercially available, it is necessary to identify the number and type of input/output signals that the system will handle. A more detailed scheme of the DSP, including the managed I/O signals, is presented in Fig. 4. As schematically Applications of Digital Signal Processing through Practical Approach 166
shown, error and measured signals (currents and speed) correspond to DSP’s inputs, while communication, semiconductor switching and auxiliary general purpose signals are considered as outputs. In what follows, a short summary of I/O signals of the ECU is presented. A/D Converter MICROCONTROLLER General Purpose Output Signals Speed Error_DRV Error Signal Switching Signal Reset Contactor1 Current Contactor2 Contactor3 RS232 Communications DSP Figure 4. Signal requirements for the ECU. The semiconductors’ drivers possess an error signal that is automatically triggered in case of an excessive temperature, overcurrent or overvoltage condition on the power converter. In case that an abnormal working condition is detected, the ECU should interrupt the power converter switching process, avoiding further damage in the electric and electronic system. Due to the analog nature of the measured signals (remember that currents and speed sensors are required), an Analog-to-Digital Converter (ADC) stage is necessary before providing measured values to the processor. Such stage is commonly found on commercially available DSPs, being only necessary to select its working conditions and enabling signals. Name Quantity Characteristics Type Phase Current 4 ±25 A Input DC-Link Voltage 1 300 V – Rotational Speed 1 ±1000 rpm Input Driver Error 5 0/15 V Input General Purpose Output 5- – Output Semiconductor switching signals 5 0/15 V Output Table 1. Electronic Control Unit I/O signals and their electrical characteristics. Application of DSP in Power Conversion Systems — A Practical Approach for Multiphase Drives http://dx.doi.org/10.5772/60450 167
The semiconductor switching signals are provided from the DSP to the drivers by means of the enhanced Pulse Width Modulator (ePWM) modules. Therefore, for the designed experimental test-rig, the DSP must include at least five ePWM modules in order to control the power converter connected to the five-phase electrical drive. Different auxiliary signals, found on the General Purpose Input Output (GPIO) module, are considered for reset, system configuration and initialization purposes. For instance, the reset signal is used to restart the system in the presence of a system error or if it is demanded by the test-rig operator. Regarding the system configuration, three general purpose (GPIO) signals are used to manage and control the power converter through electric contactors. Remaining GPIOs are used to turn ON/OFF warnings and error light indicators and to trigger external measurement equipment such as an oscilloscope. The chosen DSP must also manage the communication protocol RS232 in order to allow an external operator to control the system using an implemented Human Machine Interface (HMI) software that runs in a personal computer. Consequently, a Serial Communication (SCI) module must be integrated in the ECU. Taking into account the previous requirements, the TMS320F28335 Texas Instruments DSP has been selected among other devices. The characteristics of the TMS320F28335 are summarized in Table 2. Name Characteristics Power supply 5 V Output voltage range -0.3 to 4.6 V Input voltage range -0.3 to 4.6 V High-level input/output voltage 3.3 V Low-level input/output voltage 0 V Floating-point Unit Yes PWM outputs 6 32-Bit Capture inputs of auxiliary PWM outputs 6 12-Bit Analog-to-Digital Converter (ADC) 16 Serial Peripheral Interface (SPI) 1 Serial Communications Interface (SCI) 3 General purpose I/O pins 88 Table 2. Texas Instruments TMS320F28335 DSP characteristics. Notice that the DSP I/O signal voltage threshold is between 0/3.3 V, while the rest of the signals of the system work at higher voltage levels. Consequently, it is necessary to implement some voltage adaptation stages between the different system signals and the DSP. In what follows, Applications of Digital Signal Processing through Practical Approach 168
an explanation of the different adaptation stages for current, speed, error and switching signals is presented. a. Measured current adaptation stage As mentioned above, the measuring range of hall-effect sensors is ±25 A, being the maximum/ minimum possible current to be measured on a power converter phase. Moreover, the halleffect sensor has a transformation ratio of 1/1000, which means that the output current of the sensor is ±25 mA. The aim of the current adaptation circuit is to transform the current measurement into an equivalent voltage signal within the allowed DSP I/O threshold. The electrical circuit schematic of the adaptation stage is presented in Fig. 5, where the hall-effect sensor is represented by an ideal current source. In general, the designed circuit contains the following stages: •Transformation of the measured current into an equivalent voltage by means of the measurement resistance (RM). •Voltage divider and low-pass active filter, reducing measurement noise. •Signal voltage adaptation stage (0/3.3 V). •Safety diodes that prevent the output signal from exceeding the voltage limits. + R2 VCC R1 Vout Iin ±25mA 0/3.3V RM 3.3V D1 D2 Vref -VCC RF CF R3 + VCC -VCC R4 R5 Figure 5. Schematic of the measured current adaptation circuit. b. Measured speed adaptation stage The test-rig speed is measured by means of an incremental encoder from the manufacturer Hohner with reference 10-11657-2500. This device measures speeds between ±1000 rpm and gives two types of squared waves that are 90 electrical degrees out of phase, which are usually called channel A and channel B. The reading of one channel provides information about the speed of rotation, while the acquisition of the second channel allows obtaining the rotational direction. Another signal called channel I (or index) is also available, which gives the position of absolute zero on the encoder shaft. This signal is a squared impulse with the phase and width centered on channel A. The set of three signals (Fig. 6) has an equivalent output voltage of ±5 V and must be adapted to the DSP’s voltage threshold (0/3.3 V). Application of DSP in Power Conversion Systems — A Practical Approach for Multiphase Drives http://dx.doi.org/10.5772/60450 169
Different cost functions can be used to express different control criteria. In our case, an absolute current error is used to define the cost function. The reference stator currents, is* ¯ (k), and the stator phase currents of the machine, is ¯ (k), are measured and processed by the DSP every sampling period. The machine state-space model is then used to predict the current evolution, i ^ s ¯ (k+ 1), depending on the different possible switching states Sij(k+ 1) and considering the VSI DC-Link voltage and measured phase currents is ¯ (k). Subsequently, the cost function J is evaluated considering predicted and reference stator phase currents, and the switching vector that provides the lowest value of the cost function, Sioptimum(k+ 1), is applied to the power converter during the next sampling period. This process is depicted in the flow diagram shown in Fig. 16. Notations is(k): measured stator currents. îs(k+1): predicted stator currents. is*(k): reference stator currents. Sij(k+1): One of the possible switching voltage vector. Sioptimum(k+1): Switching voltage vector that minimices J. iabcd is(k) abcde TO ab xyz is a is b isx isy isz 5 Si optimum(k+1) Si j(k+1) COST FUNCTION SEQUENCER j=1...N J is(k) i* s(k) îs(k+1) Vdc POSSIBLE VOLTAGE VECTORS PREDICTIVE MODEL MINIMIZER FUNCTION Min(J) i* abcd abcde TO ab xyz i* s a i* s b i* sx i* sy i* s(k) i* sz Figure 15. Finite-Control Set Model-Based Predictive Control scheme. It is important to note that different cost functions (3) can be defined depending on the specific application in order to include different control constraints (Ci). In our case, the cost function only depends on the reference and predicted currents in the stationary reference frame. However, different control criteria aimed to optimize the multiphase drive performance such as DC-Link voltage balancing, switching stress minimization, common-mode voltage reduction or stator current harmonic minimization can be included, increasing also the complexity of the control strategy and the digital signal processing capacity of the entire system. Every considered constraint can have a different degree of importance in the cost function using weighting factors (Wi). This is one of the advantages of the FCS-MPC technique, a flexible control method where different constraints can be easily introduced without increasing the complexity of the algorithm. 1 1 2 2 ... i i J W C W C W C= + + + (3) Applications of Digital Signal Processing through Practical Approach176
Start Assign initial values Jo←∞, j←1 While j≤N Take Sij Use the predictive model to compute a prediction of the stator current for the next sampling period. Compute the cost function J. If J< Jo Jo←J, Sioptimum(k+1)←Sij Increment counter j Compute stator voltages corresponding to gating signal combination Sij using the predictive model End YES NO Figure 16. FCS-MPC flow diagram. FCS-MPC can be classified in two categories depending on the prediction horizon Np they implement. Prediction horizon can be defined as the number of future states in time that the controller predicts in order to select the most suitable control action [25]. The shortest prediction horizon can be defined as Np=1, where measured variables are determined in the instant Application of DSP in Power Conversion Systems — A Practical Approach for Multiphase Drives http://dx.doi.org/10.5772/60450 177
k, then the optimum switching state is calculated for k+ 1 and applied at k+ 1. Larger prediction horizons ( Np≥2 ) predict the behavior of the electrical drive for future instants k+ 2, k+ 3, ... and select the optimum VSI switching state to be applied on k+ 1 (Fig. 17). It has been demonstrated that larger prediction horizon results in better performance [27]. However, the increase in the prediction horizon results in higher computational cost and is not suitable for real-time implementation in low and medium power drive applications [28]. One disadvantage of the FCS-MPC technique is that, unlike other aforementioned techniques (such as PIPWM methods), it provides a variable switching frequency in the power converter. t(k) Ts t(k+1) t(k+2) Ts Ci C*i S1 Sn S2 Sioptimum S1 Sn S2 Sioptimum Figure 17. FCS-MPC prediction horizon principle. In order to apply the FCS-MPC to a real high-performance multiphase drive, a Digital Signal Processor (DSP) is required due to the heavy computational cost involved. All on-line digital signal processing algorithms are implemented in the DSP. This is the case of the predictive model based on the machine modeling equations, which must be discretized to be programmed in the DSP [29, 30]. In our case, the stator phase currents and rotor flux in the stationary reference frame are assumed as state variables [29], and the obtained equations can be summarized as follows: 1 1 1 1 1 s s r r r s s r r m m s di i j v dt L L L ab ab ab ab ab s s s l w l st st st s s æ ö - - - = - - + - + ç ÷ è ø uuur uuur uuuur uuuur uuuur (4) 1 1 sxy sxy sxy ls ls di i v dt L t = - + uuur uuur uuuur (5) 1 1 sz sz sz ls ls di i v dt L t = - + uur uur uur (6) 1 m r s r r r r r L di j dt ab ab ab ab l l w l t t = - - uuuur uuur uuuur uuuur (7) Applications of Digital Signal Processing through Practical Approach178
s s s r r L i k ab ab ab l s l = + uuuur uuur uuuur (8) where kr, τr, σ, τs and τls are obtained from the electrical parameters (stator, rotor and mutual inductances, Ls, Lr and Lm, and stator and rotor resistances, Rs and Rr) of the machine, as it is defined in (9), (10), (11), (12) and (13), respectively. m r r L kL = (9) r r r L R t = (10) 2 1 m s r L L L s = - (11) s s s L R t = (12) ls ls s L R t = (13) Rewriting equations (4)-(8) in terms of their real and imaginary components in matrix form: dx A x B u dt = + é ù é ùé ù é ùé ù ë û ë ûë û ë ûë û (14) y C x= é ù é ùé ù ë û ë ûë û (15) where T s s sx sy sz r r x i i i i i a b a b l l é ù = é ù ë û ë û (16) T s s sx sy sz u v v v v v a b é ù = é ù ë û ë û (17) Application of DSP in Power Conversion Systems — A Practical Approach for Multiphase Drives http://dx.doi.org/10.5772/60450 179
T s s y a b l l é ù = é ù ë û ë û (18) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 r s r r m m r s r m r m ls ls ls r r r r A L L L L s s s w st st st s s s s w st st s st t t t w t wt æ ö - - - - - ç ÷ è ø æ ö - - - - - - ç ÷ è ø - - é ù ê ú ê ú ê ú ê ú ê ú ê ú ê ú ê ú ê ú ê ú = é ù ë û ê ú ê ú ê ú ê ú ê ú ê - - - - ú ê ú ê ú ê ú ê ú ë û (19) 10 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 s s ls ls ls L L L B L L s s é ù ê ú ê ú ê ú ê ú ê ú ê ú ê ú ê ú = é ù ë û ê ú ê ú ê ú ê ú ê ú ê ú ê ú ê ú ê ú ë û (20) 0 0 0 0 0 0 0 0 0 0 s r s r L k CL k s s é ù = é ù ê ú ë û ë û (21) Next, the machine state-space equations (14)-(15) are discretized using a sample period Ts and assuming constant inputs and constant electrical parameters during the whole sampling period [30]. Notice that the matrix A includes constant and variable components that depend on the instantaneous value of the electrical speed (ωr). The matrix A has been divided into a constant matrix Ac and a speed-dependent one Aω, to simplify the discretization process as follows: Applications of Digital Signal Processing through Practical Approach 180
c A A A w = + é ù é ù é ù ë û ë û ë û (22) 1 x k x k u k+ = F + G é ù é ù é ù é ù é ù ë û ë û ë û ë û ë û (23) 1 1 y k C x k+ = + é ù é ù é ù ë û ë û ë û (24) ( ) c s s c s s A A T A T A T A T e e e e ww + é ù é ù é ù é ù é ù ë û ë û ë û ë û ë û F = = ×= é ù ë û (25) 0 s c s T A A T s e B d e B T tt é ù é ù ë û ë û G = = é ù é ù é ù ë û ë û ë û ò (26) The obtained [Φ] matrix is based on a constant term eAcTs, which is calculated off-line, and a time-varying term eAωTs, which can be defined as stated in [30] applying the Cayley-Hamilton theorem: ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) 1 cos sin 1 0 0 0 0 sin 1 cos 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 cos sin 0 0 0 0 0 sin cos s r s r s m m s r s r r s r s m m s r s r A T r s r s r s r s T T L L L L L L T T L L L L L L e T T T T w w w s s w w s s w w w w é ù ë û é ù - ê ú ê ú ê ú - ê ú - ê ú ê ú =ê ú ê ú ê ú ê ú ê ú - ê ú ê ú ë û (27) To summarize, the implemented predictive current control (PCC) technique is based on a fast inner current FCS-MPC controller with an outer speed PI RFOC-based regulator, offering better system performance (higher control bandwidth) than using conventional RFOC methods with cascaded PI controllers [25]. The inner PCC controller has been described before, where the predicted stator currents in the stationary reference frame are used in order to control the multiphase drive. The outer speed controller generates current references in a rotating reference frame from an outer PI-based speed control loop. Constant flux operation (reference speed under its nominal value) is supposed, and a constant d -current reference is imposed. These stator current references are then mapped in the α - β - x - y stationary reference frame in order to be used in the cost function (28) as it is shown in Fig. 18. The same methodology has also been applied in recent scientific studies [16, 20, 24]. Application of DSP in Power Conversion Systems — A Practical Approach for Multiphase Drives http://dx.doi.org/10.5772/60450 181
The reference stator current vector in the x - y plane can be null or non-null depending on the type of multiphase machine. The α - β stator current components contribute to torque production, while x - y stator current components do not in distributed windings multiphase machines. This is our case with the five-phase induction machine with distributed windings used for experimentation. Then, zero reference is set in our controller for the x - y current components to avoid harmonic generation and reduce the copper losses in the drive. The weighting factors in the cost function (28) are adjusted in order to favor those switching states (32 for the five-phase two-level VSI used), which maximize α - β currents and at the same time provide minimum x - y currents. The overall control aim is to generate the desired electric torque to the drive, which implies the generation of sinusoidal stator current references in a - b - c - d - e phase coordinates in steady state. In the stationary α - β - x - y reference frame and steady state, the control aim is equivalent to generate a reference stator current vector in the α - β plane, which is constant in magnitude but changing in its electrical angle following a circular trajectory. s s sx sy J A i B i C i D i a b = + + + (28) Each α - β - x - y current term in the cost function is defined as: ( ) ( ) ( ) ( ) * * 1 1 , 1 1 ˆ ˆ s s s s s s i i k i k i i k i k a a a b b b = + - + = + - + (29) ( ) ( ) ( ) ( ) * * 1 1 , 1 ˆ1 ˆ sx sx sx sy sy sy i i k i k i i k i k= + - + = + - + (30) + -PI dq ab abcde TO ab xyz POSITION ESTIMATOR q iabcd is b w * m w m is a isx isy i* s a i* s b i* sx i* sy i* sd i* sq i* sd i* sq is(k) 5 Si optimum(k+1) Si j(k+1) COST FUNCTION SEQUENCER j=1...N J i* s(k) îs(k+1) Vdc POSSIBLE VOLTAGE VECTORS PREDICTIVE MODEL MINIMIZER FUNCTION Min(J) w m is(k) Figure 18. General scheme of the implemented PCC controller. Applications of Digital Signal Processing through Practical Approach 182
5. Application results In this section, experimental results are provided to validate the interest in the design of highperformance and complex power drives of real-time digital signal processing implemented using DSPs. A DC-Link voltage of 300 V is used and the switching frequency is fixed to 10 kHz. A constant d-current component of 0.52 A is also imposed, and a maximum phase current of 2.1 A is selected for safety reasons. The five-phase induction machine specifications are detailed in Table 3, while the estimated electrical parameters of the machine, used in the discretized predictive model implemented in the DSP, are summarized in Table 4. Parameter Value Original Machine Rated current 7.13 A Rated power 4 kW Rated speed 2880 rpm Five-Phase Machine Conductor Copper Diameter 0.7 mm Number of pole pairs 3 Number of slots 30 Number of turns 165 Slots per-phase per-pole 1 Type of winding Single layer Winding pitch 5 Rated power 1 kW Rated current 2.5 A Rated voltage (peak value) 127 V Table 3. Five-phase induction machine specifications. Parameter Value Parameter Value Rs (Ω) 12.85 Lr (mH) 768.80 σLs (mH) 151.65 M (mH) 688.92 Ls (mH) 768.80 τr (ms) 179.49 Table 4. Electrical parameters of the five-phase induction machine. Application of DSP in Power Conversion Systems — A Practical Approach for Multiphase Drives http://dx.doi.org/10.5772/60450 183
The developed PCC is tested under various working conditions, including steady state operation and different torque and speed references to show that PCC provides fast reference tracking and accurate steady-state behavior at different operating points. A speed and torque response test is conducted first. Obtained results are shown in Fig. 19, where the speed response is depicted in the upper plot and the q-current in the lower plot. Under no load condition (TL=0), a reference speed step change from 0 to 500 rpm (Fig. 19, upper plot, red line) is demanded on (t=0.1 s). Steady state operation and correct speed reference tracking is obtained at approximately (t=1.5 s). Notice that a small q-current component is observed at steady state with no load condition, due to the fact that the IM is mechanically coupled to the DC-Machine in the experimental test-rig (Fig. 3), requiring a small current in order to maintain the reference speed (Fig. 19, lower plot). Next, a load torque of approximately 28% of the nominal torque (Tn) is demanded at (t=1.8 s). Due to the load torque change, the speed reference tracking is instantaneously affected, being necessary for the system to provide an extra q-current until the reference speed is achieved. As observed in the q-current component plot, the implemented predictive current controller provides proper current tracking under the different working conditions, providing almost instantaneous response to reference current changes. TL = 0.28*Tn TL = 0 Figure 19. Speed and torque response test. The speed response is shown in the upper plot while the q-current under the different working conditions is shown in the lower plot. First, the electrical drive speed performance is evaluated with a reference speed step change from 0 to 500 rpm, under no load condition, at t=0.1 s. Then, at t=1.8 s a load torque of 28% of the nominal torque (TL) is demanded. Applications of Digital Signal Processing through Practical Approach 184
TL = 0 Figure 20. Reversal test. The speed reference is changed from 500 rpm to -500 rpm, under no load condition. The speed response is shown in the upper figure while a zoom-in of the obtained current waveforms in the α - β plane during the zero-crossing speed operating point are shown in the lower plot. A speed reversal test changing from 500 rpm to -500 rpm is also applied under no load condition (although the IM and DC machines are mechanically coupled, no extra load torque is demanded). The speed is depicted in the upper plot of Fig. 20, while a zoom-in of the obtained α - β currents during the zero-speed crossing point are shown in the lower plot. Notice that once again the implemented controller provides an adequate performance, effectively achieving the speed reference. Finally, the machine currents under steady state operation are shown in Fig. 21. Phase currents are shown in the upper plot, while the α - β and x -y plots are shown in the lower plot. Notice that phase currents are symmetrical, equally displaced and do not exceed the maximum current limit of 2.1 A. One of the main concerns in applications where digital signal processing is involved is the computational cost of the implemented algorithm. This can even be considered as the most critical issue in real-time applications, based on DSPs or microprocessors. Then, determining if the control unit is able to implement demanded operations in certain programmed sampling periods is fundamental. This computational burden is associated with the required mathematical task and DSP’s modules (mainly eQEP and A/D for the data acquisition, SCI for external communication operations, and ePWM for the power converter control actions). The real-time implemented algorithm is analyzed in detail in Fig. 22. This figure shows the relative time-consuming load of every implemented task in a sampling period. It can be appreciated Application of DSP in Power Conversion Systems — A Practical Approach for Multiphase Drives http://dx.doi.org/10.5772/60450 185