Implementation of Induction Motor Drive Control Schemes in Matlab/simulink/dspace Environment for Educational Purpose

Squirrel-cage induction motors (IM) are the workhorse of industries for variable speed applications in a wide power range that covers from fractional watt to megawatts. However, the torque and speed control of these motors is difficult because of their nonlinear and complex structure. In the past five decades, a lot of advanced control schemes for IM drive appeared. First, in the 1960’s, the principle of speed control was based on an IM model considered just for steady state. Therefore, the so-called “scalar control methods” cannot achieve best performance during transients, which is their major drawback. Afterwards, in the 1970’s, different control schemes were developed based on a dynamic model of the IM. Among these control strategies, the vector control which is included in the so-called field oriented control (FOC) methods can be mentioned. The principle of vector control is to control independently the two Park components of the motor current, responsible for producing the torque and flux respectively. In that way, the IM drive operates like a separately excited dc motor drive (where the torque and the flux are controlled by two independent orthogonal variables: the armature and field currents, respectively). Since the 1980’s, many researchers have worked on improvements of the FOC and vector control which have become the industry’s standard for IM drives. Moreover, these researches led to new control strategies such as direct self control (DSC) or direct torque control (DTC). The principle of DTC is to control directly the stator flux and torque of the IM by applying the appropriate stator voltage space vector. With vector control, FOC, DSC and DTC, the major drawback of the scalar control is overcome because these control schemes are based on a model of the IM which is considered valid for transient conditions (Santisteban & Stephan, 2001). Both DTC and DSC possess high torque dynamics compared to vector control and FOC (Bocker & Mathapati, 2007). However, these two first control techniques have the drawbacks of variable switching frequency and higher torque ripple. The use of space vector pulse-width-modulation (SV-PWM) in conjunction with DTC (called, in this chapter, DTC-space vector modulation or DTC-SVM) has been proposed as a solution to overcome these drawbacks (Rodriguez et al., 2004), but sticking to the fundamental concept of DTC. The objective of this chapter is neither to do an overview of all IM control methods, as is done, e.g., in (Bocker & Mathapati, 2007; Santisteban & Stephan, 2001), nor to try to


Introduction
Squirrel-cage induction motors (IM) are the workhorse of industries for variable speed applications in a wide power range that covers from fractional watt to megawatts.However, the torque and speed control of these motors is difficult because of their nonlinear and complex structure.In the past five decades, a lot of advanced control schemes for IM drive appeared.First, in the 1960's, the principle of speed control was based on an IM model considered just for steady state.Therefore, the so-called "scalar control methods" cannot achieve best performance during transients, which is their major drawback.Afterwards, in the 1970's, different control schemes were developed based on a dynamic model of the IM.Among these control strategies, the vector control which is included in the so-called field oriented control (FOC) methods can be mentioned.The principle of vector control is to control independently the two Park components of the motor current, responsible for producing the torque and flux respectively.In that way, the IM drive operates like a separately excited dc motor drive (where the torque and the flux are controlled by two independent orthogonal variables: the armature and field currents, respectively).Since the 1980's, many researchers have worked on improvements of the FOC and vector control which have become the industry's standard for IM drives.Moreover, these researches led to new control strategies such as direct self control (DSC) or direct torque control (DTC).The principle of DTC is to control directly the stator flux and torque of the IM by applying the appropriate stator voltage space vector.With vector control, FOC, DSC and DTC, the major drawback of the scalar control is overcome because these control schemes are based on a model of the IM which is considered valid for transient conditions (Santisteban & Stephan, 2001).Both DTC and DSC possess high torque dynamics compared to vector control and FOC (Böcker & Mathapati, 2007).However, these two first control techniques have the drawbacks of variable switching frequency and higher torque ripple.The use of space vector pulse-width-modulation (SV-PWM) in conjunction with DTC (called, in this chapter, DTC-space vector modulation or DTC-SVM) has been proposed as a solution to overcome these drawbacks (Rodriguez et al., 2004), but sticking to the fundamental concept of DTC.The objective of this chapter is neither to do an overview of all IM control methods, as is done, e.g., in (Böcker & Mathapati, 2007;Santisteban & Stephan, 2001), nor to try to ameliorate them.Its aim is to present a powerful tool to help students to understand some IM control schemes, namely the scalar control method, the vector control and the DTC-SVM, of a voltage-fed inverter IM drive using a dSPACE platform and Matlab/Simulink environment.First, they determine the IM parameters using a procedure based on the implemented vector control scheme.The accuracy of these measurements is very important because the considered control methods need precise information about the motor parameters (Böcker & Mathapati, 2007).Then, after concluding off-line simulations, they perform some experiments in speed regulation and speed tracking.The remainder of this chapter is organized as follows.First, the experimental system is presented.Then the IM models used therein are described and the determination of the IM parameters as well as the implementation of the control methods are exposed.Finally, typical results are presented and the educational experience is discussed.

Experimental system
The experimental system consists of three essentials parts: (1) the power driver, (2) the control system and (3) the transducers.Fig. 1 shows a synoptic scheme of the experimental platform.The power driver consists of a voltage-fed inverter and two machines: one squirrel-type IM of rated power 5.5 kW and a dc-machine with a separately excited field winding of rated power 14.6 kW.These machines are mechanically coupled and the dc-machine is used as the load of the IM.(Bojoi et al., 2002) and is divided into two main components: Real Time Interface (RTI) which is the implementation software and ControlDesk which is the experimentation software.RTI is a Simulink toolbox which provides blocks to configure models (Bojoi et al., 2002).These blocks allow the users to access to the dSPACE hardware.ControlDesk allows, as for it, the users to control and monitor the real-time operation by using a lot of virtual instruments and building a control window.When using dSPACE, the several steps required to implement a control system on the DS1104 Controller Board are described below.The first step consists in modeling the control system with Simulink and configuring the I/O connections of the Connector Panel thanks to the RTI toolbox.After that, the Real-Time Workshop (RTW) toolbox, using RTI, automatically generates the C-code for the board.Once the execution code has been generated, the dSPACE hardware can perform a real-time experiment which can be controlled from a PC with ControlDesk.ControlDesk can be used to monitor the simulation progress, adjust parameters online, capture data (in a format compatible with Matlab) and communicate easily with the upper computer real-time (Luo et al., 2008).Fig. 2 presents the connections between Matlab and dSPACE.The experimental system contains several current and voltage LEM transducers as well as a speed sensor.Moreover, the measured currents must be filtered in order to avoid aliasing when they will be converted into digital signals.Therefore, an anti-aliasing filter is added to each current transducer.The cut-off frequency of this filter is estimated at 500 Hz (an order of magnitude above the rated frequency of 50 Hz).(Mäki et al., 2005)

IM modeling
A simple per phase equivalent circuit model of an IM is interesting for the analysis and the performance prediction at steady-state condition.Such a model is therefore used in this chapter for scalar control.In the two other considered control schemes, namely vector control and DTC-SVM, the transient behaviour of the IM has to be taken into account.So, the dynamic d-q model of the IM based on the Park's transformation is considered.These two well-known types of IM models are available in literature (see, e.g., (Bose, 2002;Mohan, 2001)) and are briefly recalled in this section.

Steady-state model of IM
The considered steady-state IM model, based on complex phasors, is shown in Fig. 3(a).This model is an equivalent circuit with respect to the stator and can easily be established from the short-circuited transformer-equivalent circuit (Bose, 2002).The synchronously rotating air gap flux wave generates an electromotive force E s which differs from the stator terminal voltage V s by the drop voltage in stator resistance R s and stator leakage inductance l s .The stator current I s consists of the magnetizing current I m and the rotor current I r (referred to the stator in Fig. 3(a)) which is given by (Bose, 2002): where R r is the rotor resistance (referred to the stator), l r is the rotor leakage inductance (referred to the stator), s is the slip and f is the stator supply frequency.Finally, in Fig. 3(a), L m is the magnetizing inductance and R m is the equivalent resistance for the core loss.
The equivalent circuit of Fig. 3  This approximation is easily justified as the value of the magnetizing inductance is, at least, one order of magnitude greater than the value of the stator leakage inductance.Moreover, the performance prediction by the approximate equivalent circuit typically varies within 5% from that of the actual machine (Bose, 2002).
Based on the equivalent circuit of Fig. 3(b), it can be demonstrated (see, e.g., (Bose, 2002)) the following expression of the electromagnetic torque: where P is the number of poles pairs and is the stator flux.It should also be emphasized that for small slip values, (2) can be rewritten as: where K T is a constant if the flux is kept constant.Finally, for steady-state operation of IM, the rotational speed Ω r can be calculated by:

Dynamic model of IM
Applying the usual space vector transformation to a three-phase system, it is possible to obtain the following set of equations, based on space vectors, that describes the IM dynamic behavior in a stator fixed coordinate system (Rodrigez et al., 2004): where 1 is the rotational speed of the d-q reference frame, v s and v r are respectively the stator and rotor voltages, i s and i r are respectively the stator and rotor currents and ψ s and ψ r are respectively the stator and rotor fluxes.
The electromagnetic torque developed by the IM can be expressed in terms of flux and current space vector by several analog expressions.In this chapter, two of them are useful: [ ] where L s (L s = L m + l s ) and L r (L r = L m + l r ) are respectively the stator and rotor inductances and σ is the leakage factor of the IM defined as: The speed Ω r cannot normally be treated as a constant (Bose, 2002).It can be related to torque using the IM drive mechanical equation which is: where J and B denote respectively the total inertia and total damping of the IM coupled to the dc-machine.
Finally, the dynamic model of the IM is shown in Fig. 4 in its complex form for compact representation.

Control schemes 4.1 Scalar control
Scalar control is due to magnitude variation of the control variables only and disregards the coupling effect in the machine (Bose, 2002).Although having inferior performances than the For adjustable speed applications, frequency control appears to be natural considering (4).However, the stator voltage is required to be proportional to frequency so that the flux: remains constant (normally equal to its rated value), neglecting the stator resistance voltage drop.Indeed, if an attempt is made to reduce the frequency at the rated stator voltage, the flux will tend to saturate, causing excessive stator current and distortion of the flux waveforms (Bose, 2002).Therefore, in the region below the base frequency f b (which can be different from the rated frequency), a reduction of the frequency should be accompanied by the proportional reduction of the stator voltage in order to maintain the flux to its rated value.Fig. 5 shows the torque-speed curves.It can be shown in this figure that in the region below the base frequency, the torque-speed curves are identical to each other and that the maximum torque T em (which can be deduced from ( 2)) is preserved regardless of the frequency, except in the low-frequency region where the stator resistance voltage drop must be compensated by an additional boost voltage U boost in order to restore the T em value (as shown in Fig. 5).
Once the frequency increases beyond the base frequency, the stator voltage is kept constant and, therefore, the flux decreases.As shown in Fig. 5, in this flux-weakening region, the torque-speed curves differ from the previous ones and the developed torque decreases.An advantage of the flux-weakening mode of operation is that it permits to increase the speed range of the IM.Fig. 6 shows the block diagram of the Volts/Hz speed control method.The frequency f * , which is approximately equal to the speed neglecting the slip, is the primary control variable.The secondary control variable is the stator voltage U s * which is directly generated from the frequency command using the gain factor G so that the flux remains constant or a flux-weakening mode of operation is achieved.Moreover, at low-frequencies, corresponding to a low rotational speed of the IM, the boost voltage is added in order to have the maximum torque available at zero speed.Note that the effect of this boost voltage becomes negligible when the frequency grows.Finally, the f * command signal is integrated to generate the angle signal θ * which in combination with U s * produce the sinusoidal voltages.

Vector control
The objective of vector control of IM is to allow an IM to be controlled just like a separately excited dc motor drive (where the torque and the flux are controlled by two independent orthogonal variables: the armature and field currents, respectively).This is achieved by a proper choice of the so-called Park's rotating frame (d-q axes) in which the space vector equations ( 5)-( 8) are separated into d-q ones.In the d-q frame, (9) can be rewritten: where rd and rq are the rotor fluxes and i sd and i sq are the stator current in the dq-axes.
In this chapter, a direct vector control strategy in which the d-q frame rotates along with the rotor flux (which is maintained at its rated value) is considered.The d-axis is aligned with the direction of the rotor flux.Therefore, the q-axis component of the rotor flux is null and the expression of the electromagnetic torque simplifies as follows: where i mr is the rotor magnetizing current defined by: Li .( 16) Using ( 6) and ( 7) projected in the d-q frame as well as ( 16), the rotor magnetizing current can be expressed in terms of the d-axis stator current as follows: where T r (T r = L r /R r ) is the rotor time constant.From ( 15) and ( 17), one can conclude that the d-axis stator current (i sd ) is controlled to maintain the flux at its rated value whereas the q-axis stator current (i sq ) is varied to achieve the desired electromagnetic torque.Therefore, the IM can be controlled just like a separately excited dc motor drive because the d-and q-axes are orthogonal.
Note that, at each sample time, direct vector control of the IM requires to know the module and phase of the rotor flux.Therefore, a flux observer is used.Its task is to provide an estimate of the rotor flux (or rotor magnetizing current) in module and phase using the measured stator currents (converted in d-q components) and speed.Once a flux estimate is available, the torque can easily be computed using (15).The flux observer implemented in the Simulink/dSPACE environment is shown in Fig. 7.As can be seen in this figure, the phase μ of the rotor magnetizing current is obtained by integrating the angular speed 1 of the d-q axes in the fixed stator reference frame.
In vector control, the IM is fed by a Voltage Supply Inverter (VSI) and a SV-PWM is used to produce the instantaneous generation of the commanded stator voltages.The required d-axis and q-axis stator voltages (v sd and v sq ) that the VSI must supply to the IM, in order to make the stator currents (i sd and i sq ) equal to their reference values are expressed as follows: ( ) In the d-axis (respectively q-axis) voltage equation, only the first two terms of the right-hand side are due to the d-component (respectively q-component) of the stator current, i sd (respectively i sq ).The other terms, due to i mr and i sq (respectively i mr and i sd ) can be considered as disturbances (Mohan, 2001).So, ( 18) and ( 19) can simply be rewritten as: Note that, in order to account for the terms considered as disturbances, a "decoupling compensator" block is incorporated in the vector control scheme.
The vector control scheme is shown in Fig. 8 with the reference values indicated by '*'.This control scheme matches to a direct vector control strategy in which the rotor flux is assigned to a reference value (its rated value as mentioned above).The d-axis reference current, i * sd , controls the rotor flux (through the rotor magnetizing current) whereas the q-axis current, i * sq , controls the electromagnetic torque developed by the IM.The reference currents in the d-and q-axes are generated by a flux control loop and a speed control loop, respectively.The d-axis and q-axis voltages, v' sd and v' sq , are calculated from the given reference currents and using ( 20) and (21).To obtain these command signals, two PI controllers (in two inner current loops) are employed and it is assumed that the compensation is perfect.The terms considered as disturbances are then added to the voltages v' sd and v' sq in the "decoupling compensator" block.Hence, the d-axis and q-axis reference voltages, v sd and v sq , are obtained.Finally, these reference voltages are converted into the reference three-phase voltages v a , v b and v c and supplied (in an approximate fashion over the switching period) by the VSI using the SV-PWM technique.Note that the four controllers are tuned by the pole-zero compensation technique.

DTC-SVM
Direct torque control of IM consists in closed-loop control of the stator flux and torque using estimators of these two quantities (Trzynadlowski et al., 1999).From the IM dynamic model ( 5)-( 8), the following equation can be obtained: which shows that the relationship between the stator and rotor fluxes is of low-pass filter type with time constant σ•T r (Casadei et al., 2005).Otherwise stated, the rotor flux will follow a change in the stator flux with some delay (typically of the order of a few tenths of ms).Equation (10) can also be rewritten as follows: where δ is the angle between the stator and rotor fluxes.
Based on the previous expression, it is clear that it is possible to achieve machine torque control directly by actuating over the angle δ (Rodriguez et al., 2004).DTC is founded on this consideration.Due to slow rotor flux dynamic, the easiest way to change δ is to force a variation in the stator flux.Neglecting the effect of the voltage drop across the stator resistance, the stator flux vector in ( 5) is the time integral of the stator voltage vector.Hence, for sampling time Δt sufficiently small, (5) can be approximated as (Rodriguez et al., 2004): which means that the stator flux can be changed in accordance with the stator voltage vector supplied to the IM.
In the conventional DTC drive, the flux and torque magnitude errors are applied to hysteresis comparators.The outputs of these comparators are used to select the appropriate stator voltage vector to apply to the IM by means of a pre-designed look-up table.This scheme is simple and robust but it has certain drawbacks such as variable switching frequency and large current and torque ripples.Note that these ripples are imposed by the hysteresis-band width chosen for the hysteresis comparators.
In this chapter, the conventional DTC scheme is not considered but the so-called DTC-SVM scheme, which is discussed in details in (Rodriguez et al., 2004) and briefly presented below, is used.The objective of this alternative DTC scheme is to select the exact stator voltage vector that changes the stator flux vector according to the δ angle reference (calculated from the torque reference), while keeping the stator flux magnitude constant.SV-PWM technique is used to apply the required stator voltage vector to the IM.The DTC-SVM scheme is shown in Fig. 9 with the reference values once again indicated by '*'.In this scheme, the torque reference is obtained from the speed reference thanks to the same speed controller as the one used in vector control.The error between the estimated torque and its reference value is processed through a PI controller to calculate the δ angle.From this angle, as well as the module of the stator flux (imposed at its rated value) and the estimated phase of the rotor flux, the block "Flux calculator" gives the stator flux reference according to: The error between this reference quantity and the estimated stator flux is then divided by Δt, according to (24), in order to obtain the reference stator voltage vector.An approximation of that vector (over the switching period) is then supplied to the IM by the VSI using SV-PWM.
As explained above, the stator and rotor fluxes as well as the torque must be estimated.This is realized by the block "Torque and flux estimators".The rotor flux estimator is based on the IM model and implemented as follows: ( ) ( ) The stator flux is, as for it, derived from: Once the stator and rotor fluxes estimates have been made available, the torque can be easily computed using ( 23).The observers of the stator and rotor fluxes implemented in the Matlab/Simulink/dSPACE environment are shown in Fig. 10.The speed controller is tuned by the pole-zero compensation technique whereas the PI, that generates the δ angle reference, is tuned through a method based on the relay feedback test (Padhy & Majhi, 2006).

Determination of IM parameters
As it is well known, the control methods of IM require an accurate determination of machine parameters.Typically, five parameters need to be determined: • R s , R r -the stator and rotor resistances; • l s , l r -the stator and rotor leakage inductances; • L m -the magnetizing inductance.
In this chapter, the above parameters are determined both by a procedure founded on the vector control scheme (discussed in details in (Bose, 2002;Khambadkon et al., 1991)) and by a conventional method (no-load and blocked rotor tests).
The method based on the vector control scheme is divided into eight steps.Initially, the name plate machine parameters are stored into the computer's memory.Precisely, the method needs to know the rated stator voltage and current, the rated frequency and the number of poles pairs of the IM.
In a second step, the stator resistance is determined by a test at dc level.Next, the stator transient time constant is measured.Thanks to the stator resistance and transient time constant, the two inner current loops of the vector control scheme can be tuned.In the fifth step, the rotor time constant is determined.Next, the magnetizing inductance is measured.Note that, in this sixth step, the value of the rotor time constant is adjusted online in order to achieve i sd = i mr .Therefore, its value is verified because it is the most important parameter to obtain accurate rotor flux estimation.Thanks to the value of the rotor time constant, the flux controller of the vector control scheme can be tuned in the seventh step.Finally, the mechanical parameters of the IM coupled with the dc-machine (see below) are determined and the speed controller can be tuned.
The method based on the vector control structure has the major advantage that it can be automated.Therefore, this procedure can evaluate the motor parameters at each start-up of the experimental platform.All the results are reported in Table 1.As can be seen, very small differences are obtained between the two approaches, whatever the parameters.Therefore, one can conclude that all the IM parameters are properly determined.Moreover, the procedure based on the vector control structure permits to determine the mechanical parameters of the IM coupled with the dc-machine.Three parameters need to be determined: • J -the total inertia; • T m -the mechanical time constant; • B -the total damping factor.All the results are reported in Table 2.

Experimental results
After concluding off-line simulations using the blocks of the SimPowerSystem toolbox in Simulink software, the three control schemes are tested and compared by means of speed reference tracking, torque dynamic and flux regulation.To do so, the validated control strategies are transferred to the digital control board.Fig. 11 and 12, respectively, show the vector control algorithm implemented with Simulink and the corresponding window of the ControlDesk software which controls the dSPACE hardware.Note that more details about this work can be found in (Versèle et al., 2008;Versèle et al. 2010).

Fig. 11. Vector control algorithm implemented with Simulink
After the algorithms implementation, several tests can be carried out in order to plot the torque-speed curves in scalar control as well as to evaluate the vector control and DTC-SVM behavior in speed regulation and speed tracking.For all these tests, the switching frequency of the VSI is set at 9 kHz.The sample frequency is chosen equal to the switching frequency.

Scalar control
Fig. 13 shows the predetermined torque-speed curves (solid line) for several supplied frequencies in scalar control (in the constant flux region and in the flux-weakening region) as well as the measured torque-speed curves (circles).Note that the base frequency has been arbitrarily chosen equal to 40 Hz.It should also be noticed that, for the smaller frequencies (viz.30 Hz, 35 Hz and 40 Hz), the measures have been stopped when instability, which can appear at low-speed and light-load operation (Kishimoto et al., 1986), is observed.One can easily conclude a very good agreement between the predetermined torque-speed curves and the measures.This confirms that the parameters are properly determined.Fig. 14 shows the torque-speed curves in scalar control and constant rotor frequency (s•f) operation.Note that this rotor frequency is maintained equal to 1 Hz by adjusting the slip by Fig. 12. ControlDesk virtual control panel acting on the excitation of the dc-machine.Once again, one can conclude a good agreement between the predetermined curve (in solid line) and the measures performed from 30 Hz to 60 Hz (circles).Moreover, considering (3), the results can easily be explained.Indeed, in the constant flux region (below the base speed Ω base ), the torque is constant as the rotor frequency and the flux are constant (see (3)).Then, in the flux-weakening region, the rotor frequency remains constant but the flux decreases in inverse proportion to the frequency (and, so, to the speed).Therefore, according to (3), the torque decreases in inverse proportion to the square of the speed.Finally, some measures have been performed in close-loop speed control with Volts/Hz control and slip regulation.Due to the slip regulation, the IM is able to rotate at the synchronous speed (900 rpm at 30 Hz and 1500 rpm at 50 Hz as P = 2) and, therefore, the torque-speed curves become vertical lines as shown in Fig. 15.As a final point, Fig. 16 shows a linear evolution of the torque as a function of the rotor frequency which can be explained on the basis of (3).Moreover, the slope of the regression lines, viz.

Vector control and DTC-SVM
In this sub-section, the results in vector control and DTC-SVM are presented and discussed.First, a speed regulation test is carried out at no-load (the load generator remains coupled to the shaft) by supplying a speed reference of 1000 rpm.In Fig. 17, the response using vector control is shown.Similarly, Fig. 18 shows the response with DTC-SVM.The speed, flux magnitude and torque are represented (from the top to the bottom).One can conclude that vector control and DTC-SVM schemes have similar dynamic responses and good speed reference tracking.One can also observe that, in vector control scheme, the rotor flux is correctly regulated and that, in DTC-SVM, the stator flux is properly regulated as well.Then, a speed tracking test is performed at no-load.To do so, the speed reference varies from 1000 rpm to -1000 rpm as can be seen in Fig. 19 and 20.In these figures, one can observe a good response to the speed profile vector control (Fig. 19) as well as in (Fig. 20).Note that, as in the previous tests, the fluxes are correctly regulated.In this sub-section, the two considered control schemes for IM are compared in similar operating conditions.According to the experimental results presented, one can conclude that vector control and DTC-SVM of IM drive produce comparable results in speed regulation and tracking.However, the DTC-SVM is simplest and easiest to implement than vector control.Indeed, no coordinate rotation and less PI controllers are needed.Moreover, less torque ripple is observed with DTC-SVM compare to vector control.Finally, the effects of a load variation in vector control are shown in Fig. 21.One can conclude that such load variation does not affect the flux regulation and that, after a transient phase, the speed remains regulated at the considered speed reference (viz.1200 rpm).

Educational experience
During the lectures, students become familiar with the steady-state and dynamic models of IM and the three control schemes.Then, through the experimental setup, they are made sensitive to many aspects concerning: • modeling and simulation using the Matlab/Simulink/dSPACE environment; • IM parameters determination; • IM motor drives; • some practical aspects concerning inverters and SV-PWM.From the students' point of view, the experimental setup presented in this chapter helps them in understanding IM parameters determination, IM steady-state as well as dynamic models and IM drives.They also found that the dSPACE platform and Matlab/Simulink environment could be used for practical teaching in other courses.From the authors' point of view, dSPACE material offers multiple advantages from the point of education and gives a powerful tool for the teaching of IM parameters identification and drives.Moreover, thanks to this experimental setup, the students can easily put into practice a lot of theoretical knowledge.

Conclusion
This chapter has dealt with the implementation of three control schemes of a voltage-fed inverter IM drive, namely scalar control, vector control and DTC, using a dSPACE platform and Matlab/Simulink environment.This has been successfully integrated into "Electric Drives" course which is, usually, attended by students during their fourth year of five-year electrical engineering degree at the Faculty of Engineering (FPMs) of the University of Mons (UMons) in Belgium.It helps greatly the students in understanding the theoretical concepts taught during the lectures.Furthermore, the dSPACE platform and Matlab/Simulink environment give a powerful tool for teaching IM parameters identification and drives.The authors are planning to use more and more this experimental system in others teaching projects.

Fig. 1 .
Fig. 1.Synoptic scheme of the experimental platform The control system is based on the DS1104 Controller Board by dSPACE plugged in a computer.Its development software operates under Matlab/Simulink environment(Bojoi et al., 2002) and is divided into two main components: Real Time Interface (RTI) which is the

Fig. 2 .
Fig. 2. Connections between Matlab and dSPACE(Mäki et al., 2005) (a) can be further simplified as shown in Fig.3(b)where the resistance R m has been dropped and the inductance l s has been shifted to the other side of the inductance L m .

Fig. 3 .
Fig. 3. (a) Equivalent circuit with respect to the stator and (b) Approximate per phase equivalent circuit

Fig. 4 .
Fig. 4. Dynamic model of IMtwo other considered control schemes, it is considered in this chapter because it has been widely used in industry and it is easy to implement.So, this is a good basis for the study of IM drive.Among the several scalar control techniques, the open loop Volts/Hz control of IM, which is the most popular method of speed control of a voltage-fed inverter IM, is used.For adjustable speed applications, frequency control appears to be natural considering (4).However, the stator voltage is required to be proportional to frequency so that the flux:

Fig. 5 .Fig. 6 .
Fig. 5. Torque-speed curves at constant Volts/Hz region and in flux-weakening region Note that an improvement of the open-loop Volts/Hz control is the close-loop speed control by slip regulation (see, e.g.,(Bose, 2002)).

Fig. 7 .
Fig. 7. Flux observer implemented in Matlab/Simulink/dSPACE environment where T s (T s = L s /R s ) is the stator time constant.In the d-axis (respectively q-axis) voltage equation, only the first two terms of the right-hand side are due to the d-component (respectively q-component) of the stator current, i sd (respectively i sq ).The other terms, due to i mr and i sq (respectively i mr and i sd ) can be considered as disturbances(Mohan, 2001).So, (18) and (19) can simply be rewritten as: Fig. 8. Vector control scheme Fig. 9. DTC-SVM scheme

Fig. 10 .
Fig. 10.Fluxes observers implemented in Matlab/Simulink/dSPACE environment 29.29 Nm/Hz at 30 Hz and 16.34 Nm/Hz at 50 Hz, are very close to the theoretical values of K T (see (3)), viz.28.92 Nm/Hz at 30 Hz and 16.27 Nm/Hz at 50 Hz.One can also conclude that the statistics of the regression, i.e. the R 2 and R 2 Adj , are very good (close to 1 and close to each other).