Abstract:
The present invention relates to a direct torque control method for inhibiting torque ripples, mainly comprising the following steps: establishing an MC voltage vector switching table visually displaying degrees of change in torque and flux, and, proposing, on the basis of the MC voltage vector switching table visually displaying the degrees of change in torque and flux, an MC-DTC mark-to-space ratio computing policy for torque quantification control. The MC-DTC mark-to-space ratio computing policy allows for inhibition of torque ripples of a PMSM speed control system and for a constant switching frequency, uses the MC voltage vector switching table visually displaying the degrees of change in torque and flux, has a simple algorithm, does not reply on motor parameters, and obviates the need for rotational coordinate transformation.

Description:
FIELD OF THE INVENTION 
       [0001]    The present invention belongs to the field of control of power converters for driving motors and particularly relates to a method for improving performance of a matrix converter-permanent magnet synchronous motor speed control system by using direct torque control. 
       BACKGROUND OF THE INVENTION 
       [0002]    Dispensing with large-volume electric energy storage equipment and low pollution to the harmonic of the power grid, the Matrix Converter (MC) is an AC-AC electric power converter having a compact structure and a high power density. Recently, with the continuous improvement of the commutation technology, system stability, control modulation policies and other aspects, an MC-fed motor speed control system has been applied in many industrial fields such as elevator traction, wind power generation and machine manufacture. 
         [0003]    The Direct Torque Control (DTC) was proposed in 1986 for controlling a Voltage Source Inverse (VSI)-fed induction motor speed control system (VSI-DTC) in early. Due to its advantages of simple structure, independence from motor parameters, no need for rotational coordinate transformation and the like, DTC has attracted much attention of scholars. As the MC control modulation technology gradually becomes mature, scholars in other countries than China have proposed a novel DTC in  2001  and applied the novel DTC in an MC-fed induction motor speed control system (MC-DTC). This method may not only directly control an electromagnetic torque and a stator flux on the motor side, but also control an input power factor angle on the grid side. However, as both the MC-DTC and the VSI-DTC employ a control structure using a hysteresis comparator and a voltage vector switching table and only one voltage vector is used within each control cycle, the motor system has two main defects, i.e., too large torque ripple and inconstant switching frequency. To solve those defects, many suitable improved DTCs for VSI have been proposed continuously. Subsequently, scholars worldwide optimize the improved DTC algorithms and utilize the improved DTC algorithms in the MC-fed motor speed control systems. The improvement of algorithm may be classified as below. 
         [0004]    1. Multi-stage hysteresis and multi-vector subdivision are employed. For VSI, as it has only 6 effective voltage vectors constant in amplitude and direction, it is required to generate 56 virtual voltage vectors with unequal amplitude by discrete spatial vector modulation and subdivide and select the virtual vectors by a five-stage torque hysteresis comparator, thereby realizing the purpose of inhibiting torque ripples. For MC, as it is characterized by multiple vectors, i.e., 18 amplitude variable vectors distributed in 6 directions, the voltage vectors may be subdivided into large and small vectors according to the amplitude, and the voltage vectors are selected by a five-stage torque hysteresis comparator, thereby realizing the inhibition of the torque ripples. Studies have shown that, although such a method maintains the DTCs&#39; advantages of simple structure, no need for motor parameters and rotational coordinate transformation and the like and has good inhibition effect on torque ripples, it has a defect of inconstant switching frequency. 
         [0005]    2. The voltage vector switching table (DTC-SVM) is replaced by an SVM. In such a method, by taking torque and flux offsets as input, adopting a PI controller, a deadbeat controller, a sliding mode controller, a prediction controller and the like to acquire a reference voltage value of a motor stator, and utilizing the SVM to acquire an actual voltage vector according to the reference value. Some scholars apply this method to MC, where the MC is equivalent on a virtual rectifier side and a virtual inverter side, and the SVM is applied in part or all of the virtual rectifier and inverter sides to acquire an optimal input current or output voltage. As the SVM may generate continuously rotational voltage vectors in a complex plane, this method may accurately control the motor torque and flux. However, as the control structure thereof is more complicated than a conventional DTC, rotational coordinate transformation and large amount of calculation are often required. 
         [0006]    3. Mark-to-space ratio optimization calculation is employed. In such a method, a conventional DTC switching table is employed to select a voltage vector and the mark-to-space ratio of this voltage vector is calculated by a torque optimization formula so that torque offset within one cycle is minimized. Such a method obviates the need for rotational coordinate transformation, may inhibit torque ripples well and has a constant switching frequency. However, a majority of optimization algorithms are complicated and highly depend on motor parameters. 
         [0007]    Those three improved algorithms realize the purpose of inhibiting motor torque ripples at the cost of sacrificing some inherent advantages of the direct torque control. These algorithms, either they are complicated in calculation or depend on motor parameters or need for rotational coordinate transformation, can not improve their disadvantages on the basis of strengthening their advantages in control. 
       SUMMARY OF THE INVENTION 
       [0008]    In view of the prior art, the present invention provides a direct torque control method for inhibiting torque ripples, which may effectively inhibit torque ripples, acquire a constant switching frequency and maintain the DTCs&#39; advantages of no need for rotational coordinate transformation, independence from motor parameters, simple algorithm and high robustness. The present invention establishes an MC voltage vector switching table visually displaying the degrees of change in torque and flux. 
         [0009]    To solve the above technical problems, the present invention provides a direct torque control method for inhibiting torque ripples, including the following steps: 
         [0010]    step 1: establishing an MC voltage vector switching table visually displaying degrees of change in torque and flux 
         [0011]    a spatially rotational coordinate system x-y is established and a stator flux ψ s  is positioned on the x-axis, with a relationship between the torque and stator flux amplitude of a permanent magnet synchronous motor and a stator voltage as follows: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                        
                       
                          
                         t 
                       
                     
                     | 
                     
                       Ψ 
                       s 
                     
                     | 
                   
                   = 
                   
                     v 
                     x 
                   
                 
               
               
                 
                   ( 
                   1 
                   ) 
                 
               
             
             
               
                 
                   
                     
                       
                          
                         
                            
                           t 
                         
                       
                        
                       
                         T 
                         e 
                       
                     
                     ∝ 
                     
                       
                         v 
                         y 
                       
                       - 
                       
                         ω 
                         r 
                       
                     
                   
                   | 
                   
                     Ψ 
                     s 
                   
                   | 
                 
               
               
                 
                   ( 
                   2 
                   ) 
                 
               
             
           
         
       
     
         [0012]    in formulae (1) and (2), v x  and v y  denote components of the stator voltage on the x-axis and the y-axis, ω r  denotes an electrical angular speed of a rotor; |ψ s | denotes the stator flux amplitude, T e  denotes the electromagnetic torque, and t denotes the time; 
         [0013]    a voltage vector V +1  of a +1 switching combination is decomposed on the x-y coordinates to obtain: 
         [0000]        V   +1y =2/3ν ab  sin(−θ s )=−2/√{square root over (3)} V   m  cos(α i +π/6)sin θ s   (3)
 
         [0000]        V   +1x =2/3ν ab  cos(−θ s )=2/√{square root over (3)} V   m  cos(α i +π/6)cos θ s   (4)
 
         [0014]    in formulae (3) and (4), V +1x  denotes a projection of V +1  on the x-axis, V +1y  denotes a projection of V +1  on the y-axis, V m  denotes the maximum value of an MC input phase voltage, θ s  denotes an included angle between the x-axis and an A phase winding of a motor, and α i  denotes a vector angle of the MC input phase voltage; 
         [0015]    a torque evaluation function τ, a flux evaluation function λ and a counter electromagnetic force evaluation function e are defined as below: 
         [0000]    
       
         
           
             
               
                 
                   τ 
                   = 
                   
                     
                       v 
                       y 
                     
                     
                       2 
                        
                       
                         / 
                       
                        
                       
                         3 
                       
                        
                       
                         V 
                         m 
                       
                     
                   
                 
               
               
                 
                   ( 
                   5 
                   ) 
                 
               
             
             
               
                 
                   λ 
                   = 
                   
                     
                       v 
                       x 
                     
                     
                       2 
                        
                       
                         / 
                       
                        
                       
                         3 
                       
                        
                       
                         V 
                         m 
                       
                     
                   
                 
               
               
                 
                   ( 
                   6 
                   ) 
                 
               
             
             
               
                 
                   e 
                   = 
                   
                     
                       
                         ω 
                         r 
                       
                       | 
                       
                         Ψ 
                         s 
                       
                       | 
                     
                     
                       2 
                        
                       
                         / 
                       
                        
                       
                         3 
                       
                        
                       
                         V 
                         m 
                       
                     
                   
                 
               
               
                 
                   ( 
                   7 
                   ) 
                 
               
             
           
         
       
     
         [0016]    formula (3) and formula (4) are substituted into formula (5) and formula (6) respectively, to obtain torque and flux evaluation functions τ +1  and λ +1  of the +1 switching combination: 
         [0000]      τ +1 =cos(α i +π/6)sin θ s   (8)
 
         [0000]      λ +1 =cos(α i +π/6)cos θ s   (9)
 
         [0017]    similarly, torque and flux evaluation functions of all voltage vectors of the MC are obtained; 
         [0018]    both the torque evaluation function τ and the flux evaluation function λ are binary periodic functions; within one of θ s ε[0,2π] and α i  ε[0,2π], θ s  and α i  are divided into intervals every π/6 from 0 and then represented as a stator flux sector I θ ε[1,12] and a stator voltage sector I θ ε[1,12], so that the whole plane is divided into 12×12 regions; 
         [0019]    the average value of each of the regions is used to represent the value of the torque evaluation function τ and the value of the flux evaluation function λ of this region, and thus functions for calculating the average value of the torque evaluation function τ and the average value of the flux evaluation function λ are defined as: 
         [0000]    
       
         
           
             
               
                 
                   
                     p 
                     τ 
                   
                   = 
                   
                     round 
                      
                     
                       [ 
                       
                         
                           k 
                           
                             
                               ( 
                               
                                 π 
                                 / 
                                 6 
                               
                               ) 
                             
                             2 
                           
                         
                          
                         
                           
                             ∫ 
                             
                               
                                 π 
                                 6 
                               
                                
                               
                                 ( 
                                 
                                   
                                     l 
                                     α 
                                   
                                   - 
                                   1 
                                 
                                 ) 
                               
                             
                             
                               
                                 π 
                                 6 
                               
                                
                               
                                 l 
                                 α 
                               
                             
                           
                            
                           
                             
                               ∫ 
                               
                                 
                                   π 
                                   6 
                                 
                                  
                                 
                                   ( 
                                   
                                     
                                       l 
                                       θ 
                                     
                                     - 
                                     1 
                                   
                                   ) 
                                 
                               
                               
                                 
                                   π 
                                   6 
                                 
                                  
                                 
                                   l 
                                   θ 
                                 
                               
                             
                              
                             
                               τ 
                                
                               
                                   
                               
                                
                               
                                  
                                 
                                   θ 
                                   s 
                                 
                               
                                
                               
                                   
                               
                                
                               
                                  
                                 
                                   α 
                                   i 
                                 
                               
                             
                           
                         
                       
                       ] 
                     
                   
                 
               
               
                 
                   ( 
                   10 
                   ) 
                 
               
             
             
               
                 
                   
                     p 
                     λ 
                   
                   = 
                   
                     round 
                      
                     
                       [ 
                       
                         
                           k 
                           
                             
                               ( 
                               
                                 π 
                                 / 
                                 6 
                               
                               ) 
                             
                             2 
                           
                         
                          
                         
                           
                             ∫ 
                             
                               
                                 π 
                                 6 
                               
                                
                               
                                 ( 
                                 
                                   
                                     l 
                                     α 
                                   
                                   - 
                                   1 
                                 
                                 ) 
                               
                             
                             
                               
                                 π 
                                 6 
                               
                                
                               
                                 l 
                                 α 
                               
                             
                           
                            
                           
                             
                               ∫ 
                               
                                 
                                   π 
                                   6 
                                 
                                  
                                 
                                   ( 
                                   
                                     
                                       l 
                                       θ 
                                     
                                     - 
                                     1 
                                   
                                   ) 
                                 
                               
                               
                                 
                                   π 
                                   6 
                                 
                                  
                                 
                                   l 
                                   θ 
                                 
                               
                             
                              
                             
                               λ 
                                
                               
                                   
                               
                                
                               
                                  
                                 
                                   θ 
                                   s 
                                 
                               
                                
                               
                                   
                               
                                
                               
                                  
                                 
                                   α 
                                   i 
                                 
                               
                             
                           
                         
                       
                       ] 
                     
                   
                 
               
               
                 
                   ( 
                   11 
                   ) 
                 
               
             
           
         
       
     
         [0020]    in formulae (10) and (11), I α ={1, 2, 3 . . . 12}; I θ ={1, 2, 3 . . . 12}; and round( ) denotes proximity rounding function, ρ τ  denotes a torque evaluation value, and ρ λ  denotes a flux evaluation value; if k=10, the torque evaluation value ρ τ  and the flux evaluation value ρ λ  are integers between −9 and +9; 
         [0021]    formula (5), formula (6) and formula (7) are substituted into formula (1) and formula (2) to obtain a function relational expression between the torque evaluation function τ, the flux evaluation function λ, the counter electromagnetic force evaluation function e, and a rate of change in torque and a rate of change in flux of the motor: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                        
                       
                          
                         t 
                       
                     
                      
                     
                       T 
                       e 
                     
                   
                   ∝ 
                   
                     τ 
                     - 
                     e 
                   
                 
               
               
                 
                   ( 
                   12 
                   ) 
                 
               
             
             
               
                 
                   
                      
                     
                        
                       t 
                     
                   
                   | 
                   
                     Ψ 
                     s 
                   
                   | 
                   
                     ∝ 
                     λ 
                   
                 
               
               
                 
                   ( 
                   13 
                   ) 
                 
               
             
           
         
       
     
         [0022]    from formula (10), formula (11), formula (12) and formula (13), a function relational expression between the MC torque evaluation value ρ τ , the MC flux evaluation value ρ λ  and the rate of change in torque and the rate of change in flux of the motor may be obtained: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                        
                       
                          
                         t 
                       
                     
                      
                     
                       T 
                       e 
                     
                   
                   ≈ 
                   
                     
                       
                          
                         
                            
                           t 
                         
                       
                        
                       
                         T 
                         e 
                       
                     
                     _ 
                   
                   ∝ 
                   
                     
                       p 
                       τ 
                     
                     - 
                     
                       p 
                       e 
                     
                   
                 
               
               
                 
                   ( 
                   14 
                   ) 
                 
               
             
             
               
                 
                   
                      
                     
                        
                       t 
                     
                   
                   | 
                   
                     Ψ 
                     s 
                   
                   | 
                   
                     ≈ 
                     
                       
                         
                            
                           
                              
                             t 
                           
                         
                         | 
                         
                           Ψ 
                           s 
                         
                         | 
                       
                       _ 
                     
                     ∝ 
                     
                       p 
                       λ 
                     
                   
                 
               
               
                 
                   ( 
                   15 
                   ) 
                 
               
             
           
         
       
     
         [0023]    in formulae (14) and (15), the left part of symbol ∝ denotes an average value of the rate of change in torque and the rate of change in flux of the motor within a region, wherein the average value of the counter electromagnetic force evaluation function is: 
         [0000]      ρ e =round(10 e )  (16)
 
         [0024]    it can be seen from formula (14) and formula (15) that the torque evaluation value ρ τ  and flux evaluation value ρ λ  after discretization and averaging are approximately in direct proportion to the rates of change in torque and flux of the motor; 
         [0025]    the ρ τ  values of the vector V +1  within all regions may be calculated by substituting formula (8) into formula (10), these values are gathered in form of a table to obtain a switching table showing the effect of the vector V +1  to the change in torque, where a horizontal header of the switching table showing the effect of the vector V +1  to the change in torque is a stator flux sector while a vertical header thereof is a stator voltage sector; 
         [0026]    the torque evaluation function τ and the flux evaluation function λ are products of the two functions, wherein the term containing α i  is related to time and called herein as a temporal expression, and the term containing θ s  is related to the stator flux and the spatial position of the voltage vector and called herein as a spatial expression; 
         [0027]    the torque evaluation functions τ and flux evaluation functions λ of 18 effective vectors of the MC have the following situations: 
         [0028]    situation 1: τ and λ of a same vector have a same temporal expression, and the spatial expression of λ is π/2 lagged behind the spatial expression of τ; 
         [0029]    situation 2: τ +1 , τ +2  and τ +3  have a same spatial expression, but each has a temporal expression 2π/3 lagged behind another in this order; 
         [0030]    situation 3: τ +1 , τ +4  and τ +7  have a same temporal expression, but each has a spatial expression 2π/3 lagged behind another in this order; and 
         [0031]    τ +2 , τ +5  and τ +8  have a same temporal expression, but each has a spatial expression 2π/3 lagged behind another in this order; and 
         [0032]    τ +3 , τ +6  and τ +9  have a same temporal expression, but each has a spatial expression 2π/3 lagged behind another in this order; 
         [0033]    situation 4: the values of negative vectors τ −1 , τ −2  to τ −9 , λ +1 , λ −2  to λ −9  are negative numbers of the values of corresponding positive vectors τ +1 , τ +2  to τ +9 , λ +1 , λ +2  to λ −9 ; 
         [0034]    according to situation 2 and situation 3, the vertical header, i.e., the stator voltage sector, and the horizontal header, i.e., the stator flux sector, of the switching table showing the effect of the vector V +1  to the change in torque may be translated to obtain a switching table showing the effect of all positive vectors of the MC to the change in torque; then, according to situation 1, the horizontal header, i.e., the stator flux sector, of the switching table showing the effect of the vector V +1  to the change in torque may be translated to obtain a switching table showing the effect of all positive vectors of the MC to the change in flux; finally, according to situation 4, ρ τ  and ρ λ  values corresponding to all negative vectors of the MC are calculated; and 
         [0035]    after translating the vertical header, i.e., the stator voltage sector, and the horizontal header, i.e., the stator flux sector, an MC voltage vector switching table visually displaying degrees of change in torque and flux is formed; and 
         [0036]    step 2: inquiring the torque evaluation value ρ τ  from the MC voltage vector switching table visually displaying degrees of change in torque and flux, and optimization calculating the mark-to-space ratio of the voltage vector 
         [0037]    according to a conventional MC-DTC control method, a voltage vector of a matrix converter is selected from the MC voltage vector switching table; the number of a sector of the stator flux vector is calculated; the number of a sector of the input voltage vector is calculated; the torque evaluation value ρ τ  of the MC vector is obtained through the MC voltage vector switching table visually displaying degrees of change in torque and flux; a counter electromagnetic force evaluation value ρ e  is calculated; a torque coefficient is set offline; and, the flux torque evaluation value ρ τ , the counter electromagnetic force evaluation value ρ e  and the torque coefficient are substituted into a mark-to-space ratio calculation formula to calculate the mark-to-space ratio for optimization. 
         [0038]    Compared with the prior art, the present invention has the following beneficial effects. 
         [0039]    (1) The present invention relates to a novel MC-DTC mark-to-space optimization policy for torque quantification control. A novel MC-DTC mark-to-space ratio optimization policy for torque quantification control is proposed on the basis of the MC voltage vector switching table provided by the present invention. Compared with the conventional MC-DTC policy, the method provided by the present invention may effectively inhibit torque ripples of a PMSM speed control system and acquire a constant switching frequency. 
         [0040]    (2) In the present invention, by combining the PMSM torque and flux equations with MC voltage vectors, an analytic expression between the voltage vectors and the rates of change in torque and flux is deduced. By discretization and averaging, an MC voltage vector switching table visually displaying the degrees of change in torque and flux is established. Due to the use of the MC voltage vector switching table in the present invention, when compared with other improved MC-DTC policies, the method provided by the present invention has advantages of simple algorithm, independence from motor parameters, and no need for rotational coordinate transformation. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0041]      FIG. 1  is a ρ τ  value table showing the effect of a vector V +1  of a matrix converter to the degree of change in torque according to the present invention; 
           [0042]      FIG. 2  is an established MC voltage vector switching table visually displaying the degrees of change in torque and flux according to the present invention; 
           [0043]      FIG. 3  is a flowchart of a direct torque control method for inhibiting torque ripples according to the present invention; 
           [0044]      FIG. 4  is a structural diagram of a matrix converter according to the present invention; 
           [0045]      FIG. 5  shows a torque, flux and input power factor hysteresis comparator according to the present invention; 
           [0046]      FIG. 6  shows a switching table for acquiring a virtual VSI vector; 
           [0047]      FIG. 7  shows an MC voltage vector switching table; 
           [0048]      FIG. 8  shows a diagram of implementation of the direct torque control method for inhibiting torque ripples according to the present invention; 
           [0049]      FIG. 9(   a ) and  FIG. 9(   b ) are waveform diagrams of a conventional control method and the control method provided by the present invention by comparative experiments at a motor rotating speed of 30 r/min and a load torque of 150 Nm, where  FIG. 9(   a ) shows waveforms of an electromagnetic torque and a stator A phase current of a motor under the conventional control method, and  FIG. 9(   b ) shows waveforms of an electromagnetic torque and a stator A phase current of a motor under the control method provided by the present invention; 
           [0050]      FIG. 10(   a ) and  FIG. 10(   b ) are waveform diagrams of the conventional control method and the control method provided by the present invention by comparative experiments at a motor rotating speed of 30 r/min and when the motor is abruptly loaded to 150 Nm from no-load (about 30 Nm), where  FIG. 10(   a ) shows waveforms of a rotating speed, an electromagnetic torque and an A phase winding current of a motor under the conventional control method, and  FIG. 10(   b ) shows waveforms of a rotating speed, an electromagnetic torque and an A phase winding current of a motor under the control method provided by the present invention; and 
           [0051]      FIG. 11(   a ) and  FIG. 11(   b ) are waveform diagrams of the conventional control method and the control method provided by the present invention by comparative experiments when the rotating speed of a motor is jumped to 30 r/min from 20 r/min in a no-load state, where  FIG. 11(   a ) shows waveforms of a rotating speed, an electromagnetic torque and a stator flux α-β components of a motor under the conventional control method, and  FIG. 11(   b ) shows waveforms of a rotating speed, an electromagnetic torque and a stator flux α-β components of a motor under the control method provided by the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0052]    The present invention will be further described as below in details with reference to the specific embodiments. 
         [0053]    The present invention provides a direct torque control method for inhibiting torque ripples, mainly including the following steps: establishing an MC voltage vector switching table visually displaying degrees of change in torque and flux, then inquiring a torque evaluation value ρ τ  of an MC voltage vector from the MC voltage vector switching table visually displaying degrees of change in torque and flux, and finally optimization calculating the mark-to-space ratio of the voltage vector. 
         [0054]    The specific steps will be described as below. 
         [0055]    Step 1: An MC voltage vector switching table visually displaying degrees of change in torque and flux is established. 
         [0056]    A spatially rotational coordinate system x-y is established and a stator flux ψ s  is positioned on the x-axis, with a relationship between the torque and stator flux amplitude of a permanent magnet synchronous motor and a stator voltage as follows: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                        
                       
                          
                         t 
                       
                     
                     | 
                     
                       Ψ 
                       s 
                     
                     | 
                   
                   = 
                   
                     v 
                     x 
                   
                 
               
               
                 
                   ( 
                   1 
                   ) 
                 
               
             
             
               
                 
                   
                     
                       
                          
                         
                            
                           t 
                         
                       
                        
                       
                         T 
                         e 
                       
                     
                     ∝ 
                     
                       
                         v 
                         y 
                       
                       - 
                       
                         ω 
                         r 
                       
                     
                   
                   | 
                   
                     Ψ 
                     s 
                   
                   | 
                 
               
               
                 
                   ( 
                   2 
                   ) 
                 
               
             
           
         
       
     
         [0057]    in formulae (1) and (2), v x  and v y  denote components of the stator voltage on the x-axis and the y-axis, ω r  denotes an electrical angular speed of a rotor; |ψ s | denotes the stator flux amplitude, T e  denotes the electromagnetic torque, and t denotes the time; 
         [0058]    a voltage vector V +1  of a +1 switching combination is decomposed on the x-y coordinates to obtain: 
         [0000]        V   +1y =2/3ν ab  sin(−θ s )=−2/√{square root over (3)} V   m  cos(α i +π/6)sin θ s   (3)
 
         [0000]        V   +1x =2/3ν ab  cos(−θ s )=2/√{square root over (3)} V   m  cos(α i +π/6)cos θ s   (4)
 
         [0059]    in formulae (3) and (4), V +1x  denotes a projection of V +1  on the x-axis, V +1y  denotes a projection of V +1  on the y-axis, V m  denotes the maximum value of an MC input phase voltage, θ s  denotes an included angle between the x-axis and an A phase winding of a motor, and α i  denotes a vector angle of the MC input phase voltage; 
         [0060]    a torque evaluation function τ, a flux evaluation function λ and a counter electromagnetic force evaluation function e are defined as below: 
         [0000]    
       
         
           
             
               
                 
                   τ 
                   = 
                   
                     
                       v 
                       y 
                     
                     
                       2 
                        
                       
                         / 
                       
                        
                       
                         3 
                       
                        
                       
                         V 
                         m 
                       
                     
                   
                 
               
               
                 
                   ( 
                   5 
                   ) 
                 
               
             
             
               
                 
                   λ 
                   = 
                   
                     
                       v 
                       x 
                     
                     
                       2 
                        
                       
                         / 
                       
                        
                       
                         3 
                       
                        
                       
                         V 
                         m 
                       
                     
                   
                 
               
               
                 
                   ( 
                   6 
                   ) 
                 
               
             
             
               
                 
                   e 
                   = 
                   
                     
                       
                         ω 
                         r 
                       
                       | 
                       
                         Ψ 
                         s 
                       
                       | 
                     
                     
                       2 
                        
                       
                         / 
                       
                        
                       
                         3 
                       
                        
                       
                         V 
                         m 
                       
                     
                   
                 
               
               
                 
                   ( 
                   7 
                   ) 
                 
               
             
           
         
       
     
         [0061]    formula (3) and formula (4) are substituted into formula (5) and formula (6) respectively, to obtain torque and flux evaluation functions τ +1  and λ +1  of the +1 switching combination: 
         [0000]      τ +1 =cos(α i +π/6)sin θ s   (8)
 
         [0000]      λ +1 =cos(α i +π/6)cos θ s   (9)
 
         [0062]    similarly, torque and flux evaluation functions of all voltage vectors of the MC are obtained; 
         [0063]    both the torque evaluation function τ and the flux evaluation function λ are binary periodic functions; within one of θ s  ε[0,27] and α i ε[0,27], θ s  and α i  are divided into intervals every π/6 from 0 and then represented as a stator flux sector I θ ε[1,12] and a stator voltage sector I α ε[1,12], so that the whole plane is divided into 12×12 regions; 
         [0064]    the average value of each of the regions is used to represent the value of the torque evaluation function τ and the value of the flux evaluation function λ of this region, and thus functions for calculating the average value of the torque evaluation function τ and the average value of the flux evaluation function λ are defined as: 
         [0000]    
       
         
           
             
               
                 
                   
                     p 
                     τ 
                   
                   = 
                   
                     round 
                      
                     
                       [ 
                       
                         
                           k 
                           
                             
                               ( 
                               
                                 π 
                                 / 
                                 6 
                               
                               ) 
                             
                             2 
                           
                         
                          
                         
                           
                             ∫ 
                             
                               
                                 π 
                                 6 
                               
                                
                               
                                 ( 
                                 
                                   
                                     l 
                                     α 
                                   
                                   - 
                                   1 
                                 
                                 ) 
                               
                             
                             
                               
                                 π 
                                 6 
                               
                                
                               
                                 l 
                                 
                                   
                                       
                                   
                                    
                                   α 
                                 
                               
                             
                           
                            
                           
                             
                               ∫ 
                               
                                 
                                   π 
                                   6 
                                 
                                  
                                 
                                   ( 
                                   
                                     
                                       l 
                                       θ 
                                     
                                     - 
                                     1 
                                   
                                   ) 
                                 
                               
                               
                                 
                                   π 
                                   6 
                                 
                                  
                                 
                                   l 
                                   θ 
                                 
                               
                             
                              
                             
                               τ 
                                
                               
                                   
                               
                                
                               
                                  
                                 
                                   θ 
                                   s 
                                 
                               
                                
                               
                                   
                               
                                
                               
                                  
                                 
                                   α 
                                   i 
                                 
                               
                             
                           
                         
                       
                       ] 
                     
                   
                 
               
               
                 
                   ( 
                   10 
                   ) 
                 
               
             
             
               
                 
                   
                     p 
                     λ 
                   
                   = 
                   
                     round 
                      
                     
                       [ 
                       
                         
                           k 
                           
                             
                               ( 
                               
                                 π 
                                 / 
                                 6 
                               
                               ) 
                             
                             2 
                           
                         
                          
                         
                           
                             ∫ 
                             
                               
                                 π 
                                 6 
                               
                                
                               
                                 ( 
                                 
                                   
                                     l 
                                     α 
                                   
                                   - 
                                   1 
                                 
                                 ) 
                               
                             
                             
                               
                                 π 
                                 6 
                               
                                
                               
                                 l 
                                 α 
                               
                             
                           
                            
                           
                             
                               ∫ 
                               
                                 
                                   π 
                                   6 
                                 
                                  
                                 
                                   ( 
                                   
                                     
                                       l 
                                       θ 
                                     
                                     - 
                                     1 
                                   
                                   ) 
                                 
                               
                               
                                 
                                   π 
                                   6 
                                 
                                  
                                 
                                   l 
                                   θ 
                                 
                               
                             
                              
                             
                               λ 
                                
                               
                                   
                               
                                
                               
                                  
                                 
                                   θ 
                                   s 
                                 
                               
                                
                               
                                   
                               
                                
                               
                                  
                                 
                                   α 
                                   i 
                                 
                               
                             
                           
                         
                       
                       ] 
                     
                   
                 
               
               
                 
                   ( 
                   11 
                   ) 
                 
               
             
           
         
       
     
         [0065]    in formulae (10) and (11), I α ={1, 2, 3 . . . 12}, I θ ={1, 2, 3 . . . 12}; and round( ) denotes proximity rounding function, ρ τ  denotes a torque evaluation value, and ρ λ  denotes a flux evaluation value; if k=10, the torque evaluation value ρ τ  and the flux evaluation value ρ λ  are integers between −9 and +9; 
         [0066]    formula (5), formula (6) and formula (7) are substituted into formula (1) and formula (2) to obtain a function relational expression between the torque evaluation function τ, the flux evaluation function λ, the counter electromagnetic force evaluation function e, and a rate of change in torque and a rate of change in flux of the motor: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                        
                       
                          
                         t 
                       
                     
                      
                     
                       T 
                       e 
                     
                   
                   ∝ 
                   
                     τ 
                     - 
                     e 
                   
                 
               
               
                 
                   ( 
                   12 
                   ) 
                 
               
             
             
               
                 
                   
                      
                     
                        
                       t 
                     
                   
                   | 
                   
                     Ψ 
                     s 
                   
                   | 
                   
                     ∝ 
                     λ 
                   
                 
               
               
                 
                   ( 
                   13 
                   ) 
                 
               
             
           
         
       
     
         [0067]    from formula (10), formula (11), formula (12) and formula (13), a function relational expression between the MC torque evaluation value ρ τ , the MC flux evaluation value ρ λ  and the rate of change in torque and the rate of change in flux of the motor may be obtained: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                        
                       
                          
                         t 
                       
                     
                      
                     
                       T 
                       e 
                     
                   
                   ≈ 
                   
                     
                       
                          
                         
                            
                           t 
                         
                       
                        
                       
                         T 
                         e 
                       
                     
                     _ 
                   
                   ∝ 
                   
                     
                       p 
                       τ 
                     
                     - 
                     
                       p 
                       e 
                     
                   
                 
               
               
                 
                   ( 
                   14 
                   ) 
                 
               
             
             
               
                 
                   
                      
                     
                        
                       t 
                     
                   
                   | 
                   
                     Ψ 
                     s 
                   
                   | 
                   
                     ≈ 
                     
                       
                         
                            
                           
                              
                             t 
                           
                         
                         | 
                         
                           Ψ 
                           s 
                         
                         | 
                       
                       _ 
                     
                     ∝ 
                     
                       p 
                       λ 
                     
                   
                 
               
               
                 
                   ( 
                   15 
                   ) 
                 
               
             
           
         
       
     
         [0068]    in formulae (14) and (15), the left part of symbol ∝ denotes an average value of the rate of change in torque and the rate of change in flux of the motor within a region, wherein the average value of the counter electromagnetic force evaluation function is: 
         [0000]      ρ e =round(10 e )  (16)
 
         [0069]    it can be seen from formula (14) and formula (15) that the torque evaluation value ρ τ  and flux evaluation value ρ λ  after discretization and averaging are approximately in direct proportion to the rates of change in torque and flux of the motor; 
         [0070]    the ρ τ  values of the vector V +1  within all regions may be calculated by substituting formula (8) into formula (10), these values are gathered in form of a table to obtain a switching table showing the effect of the vector V +1  to the change in torque, as shown in  FIG. 1 , where a horizontal header of the switching table showing the effect of the vector V +1  to the change in torque is a stator flux sector I θ  while a vertical header thereof is a stator voltage sector I a ; 
         [0071]    the torque evaluation function τ and the flux evaluation function λ are products of the two functions, wherein the term containing α i  is related to time and called herein as a temporal expression, and the term containing 8, is related to the stator flux and the spatial position of the voltage vector and called herein as a spatial expression; 
         [0072]    the torque evaluation functions τ and flux evaluation functions λ of 18 effective vectors of the MC have the following situations: 
         [0073]    situation 1: τ and λ of a same vector have a same temporal expression, and the spatial expression of λ is π/2 lagged behind the spatial expression of τ; 
         [0074]    situation 2: τ +1 , τ +2  and τ +3  have a same spatial expression, but each has a temporal expression 2π/3 lagged behind another in this order; 
         [0075]    situation 3: τ +1 , τ +4  and τ +7  have a same temporal expression, but each has a spatial expression 2π/3 lagged behind another in this order; 
         [0076]    τ +2 , τ +5  and τ +8  have a same temporal expression, but each has a spatial expression 2π/3 lagged behind another in this order; and 
         [0077]    τ +3 , τ +6  and τ +9  have a same temporal expression, but each has a spatial expression 2π/3 lagged behind another in this order; and 
         [0078]    situation 4: the values of negative vectors τ −1 , τ −2  to τ −9 , λ −1 , λ −2  to λ −9  are negative numbers of the values of corresponding positive vectors τ +1 , τ +2  to τ +9 , λ +1 , λ +2  to λ +9 ; 
         [0079]    according to situation 2 and situation 3, the vertical header, i.e., the stator voltage sector, and the horizontal header, i.e., the stator flux sector, of the switching table (as shown in  FIG. 1 ) showing the effect of the vector V +1  to the change in torque may be translated to obtain a switching table showing the effect of all positive vectors of the MC to the change in torque; then, according to situation 1, the horizontal header, i.e., the stator flux sector, of the switching table showing the effect of the vector V +1  to the change in torque may be translated to obtain a switching table showing the effect of all positive vectors of the MC to the change in flux; finally, according to situation 4, ρ τ  and ρ λ  values corresponding to all negative vectors of the MC are calculated; and 
         [0080]    after translating the vertical header, i.e., the stator voltage sector, and the horizontal header, i.e., the stator flux sector, an MC voltage vector switching table visually displaying degrees of change in torque and flux is formed, as shown in  FIG. 2 . As shown, a left header region is an input voltage sector, an upper header region is a stator flux sector for inquiring ρ λ  and a lower header region is a stator flux sector for inquiring ρ τ . A table lookup method will be illustrated as follow. If it is required to inquire the ρ τ  value of a vector V +4  within a region of I θ =9 and I α =5, as shown by the dotted arrow in  FIG. 2 , the vector V +4  is selected in the lower header region first and then 9 is selected in a corresponding row and 5 in a corresponding column, so that the inquiry result shows that ρ T =6; if it is required to inquire the ρ λ  value of a vector V 9  within a region of I θ =3 and I α =4, as shown by the solid arrow in  FIG. 2 , the vector V +9  is selected in the upper header region to obtain an inquiry result of ρ λ  =3, and then a negation operation is performed to a final result of ρ λ  =−3. 
         [0081]    Step 2: The degrees of change in PMSM torque and flux of all effective vectors of the MC may be inquired from the established MC voltage vector switching table in the present invention, and then the mark-to-space ratio is calculated for optimization, including the following steps: 
         [0082]    First step: A matrix converter voltage vector is selected by a conventional MC-DTC control method. According to an average value of a sine function of a motor electromagnetic torque, a motor stator flux and an input power factor angle on the grid side, a matrix converter voltage vector is selected from the switching table by the conventional MC-DTC control method. 
         [0083]    Second step: A sector of a stator flux vector is calculated. A rotating path of the stator flux vector is divided into sectors every π/6 from 0 as a starting angle, so that the whole plane is divided into 12 sectors. According to the phase angle of the stator flux vector, the number of the sector of the stator flux vector may be obtained. 
         [0084]    Third step: A sector of an input voltage vector is calculated. A rotating path of the input voltage vector is divided into sectors every π/6 from 0 as a starting angle, so that the whole plane is divided into 12 sectors. According to the phase angle of the input voltage vector, the number of the sector of the input voltage vector may be obtained. 
         [0085]    Fourth step: An MC vector electromagnetic torque evaluation value is inquired. According to the MC voltage vector obtained in the first step, the number of the sector of the stator flux vector obtained in the second step and the number of the sector of the input voltage sector obtained in the third step, the MC vector electromagnetic torque evaluation value is inquired from the MC voltage vector switching table established in step 1. 
         [0086]    Fifth step: A counter electromagnetic force evaluation value is calculated. The rotating speed of the motor is sampled, and then the counter electromagnetic force evaluation value is calculated according to the rotating speed and the counter electromagnetic force evaluation function. 
         [0087]    Sixth step: A torque coefficient is set offline. The torque coefficient is set offline according to the control requirements, where the torque coefficient is a positive real number. A large torque coefficient may inhibit torque ripples in a stable state, but slow torque response speed results in poor system transient performance. The torque coefficient is not required to set in real time online as long as it is set offline one time. 
         [0088]    Seventh step: The mark-to-space of the voltage vector is calculated for optimization. Differences between the calculated electromagnetic torque value and the reference values, i.e., the electromagnetic torque evaluation value obtained in the sixth step, the counter electromagnetic force evaluation value obtained in the seventh step and the torque coefficient obtained in the eighth step, are substituted into a mark-to-space ratio calculation formula to calculate the mark-to-space ratio for optimization. 
       Embodiments 
       [0089]    The present invention is applicable to a matrix converter-fed permanent magnet synchronous motor speed control system and employs a novel MC-DTC mark-to-space ratio optimization method for torque quantification control. 
         [0090]    The present invention will be further described as below with reference to specific embodiments and drawings.  FIG. 3  is a flowchart of the implementation of the present invention. The implementation method provided by the present invention includes the following steps: 
         [0091]    (1) detecting rotating speed ω r  of a motor, setting a speed reference value ω r *, and acquiring an electromagnetic torque reference value by a proportional-integral controller. 
         [0092]    (2) Calculating a phase angle α i  of an input phase voltage, components i oα  and i oμ  of an output current in a two-phase static coordinate system, components u oα  and u oβ  of an output phase voltage in the two-phase static coordinate system and a phase angle β i  of an input current. 
         [0093]    (2.1) Calculating the phase angle α i  of the input phase voltage, detecting three phases of phase voltage u a , u b  and u c  on the MC input side and then transforming into components u iα  and u iβ  in the two-phase static coordinate system, and calculating α i  through u iα  and u iβ  by the following formula: 
         [0000]    
       
         
           
             
               ( 
               
                 
                   
                     
                       u 
                       
                         i 
                          
                         
                             
                         
                          
                         α 
                       
                     
                   
                 
                 
                   
                     
                       u 
                       
                         i 
                          
                         
                             
                         
                          
                         β 
                       
                     
                   
                 
               
               ) 
             
             = 
             
               
                 2 
                 3 
               
                
               
                 ( 
                 
                   
                     
                       1 
                     
                     
                       
                         - 
                         
                           1 
                           2 
                         
                       
                     
                     
                       
                         - 
                         
                           1 
                           2 
                         
                       
                     
                   
                   
                     
                       0 
                     
                     
                       
                         
                           3 
                         
                         2 
                       
                     
                     
                       
                         - 
                         
                           
                             3 
                           
                           2 
                         
                       
                     
                   
                 
                 ) 
               
                
               
                 ( 
                 
                   
                     
                       
                         u 
                         a 
                       
                     
                   
                   
                     
                       
                         u 
                         b 
                       
                     
                   
                   
                     
                       
                         u 
                         c 
                       
                     
                   
                 
                 ) 
               
             
           
         
       
       
         
           
             
               α 
               i 
             
             = 
             
               arctan 
                
               
                 ( 
                 
                   
                     u 
                     
                       i 
                        
                       
                           
                       
                        
                       β 
                     
                   
                   
                     u 
                     
                       i 
                        
                       
                           
                       
                        
                       α 
                     
                   
                 
                 ) 
               
             
           
         
       
     
         [0094]    wherein, arctan( ) denotes an arc tangent trigonometric transformation function. 
         [0095]    (2.2) Calculating components i oα  and i oβ  of the output current in the two-phase static coordinate system, detecting three phase of current i A , i B  and i s  on the MC output side and then transforming into components i oα  and i oβ  in the two-phase static coordinate system by the following formula: 
         [0000]    
       
         
           
             
               ( 
               
                 
                   
                     
                       i 
                       
                         o 
                          
                         
                             
                         
                          
                         α 
                       
                     
                   
                 
                 
                   
                     
                       i 
                       
                         o 
                          
                         
                             
                         
                          
                         β 
                       
                     
                   
                 
               
               ) 
             
             = 
             
               
                 2 
                 3 
               
                
               
                 ( 
                 
                   
                     
                       1 
                     
                     
                       
                         - 
                         
                           1 
                           2 
                         
                       
                     
                     
                       
                         - 
                         
                           1 
                           2 
                         
                       
                     
                   
                   
                     
                       0 
                     
                     
                       
                         
                           3 
                         
                         2 
                       
                     
                     
                       
                         - 
                         
                           
                             3 
                           
                           2 
                         
                       
                     
                   
                 
                 ) 
               
                
               
                 ( 
                 
                   
                     
                       
                         i 
                         A 
                       
                     
                   
                   
                     
                       
                         i 
                         B 
                       
                     
                   
                   
                     
                       
                         i 
                         C 
                       
                     
                   
                 
                 ) 
               
             
           
         
       
     
         [0096]    (2.3) Calculating components u oα  and u oβ  of the output phase voltage in the two-phase static coordinate system, detecting three phases of phase voltage u a , u b  and u c  on the MC input side, calculating and outputting three phases of voltage u A , u B  and u C  by an MC low-frequency transmission matrix, and obtaining u oα  and u oβ  by three-phase/two-phase static coordinate transformation by the following formula: 
         [0000]    
       
         
           
             
               [ 
               
                 
                   
                     
                       u 
                       A 
                     
                   
                 
                 
                   
                     
                       u 
                       B 
                     
                   
                 
                 
                   
                     
                       u 
                       C 
                     
                   
                 
               
               ] 
             
             = 
             
               
                 [ 
                 
                   
                     
                       
                         
                           m 
                           Aa 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Ab 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Ac 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                   
                     
                       
                         
                           m 
                           Ba 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Bb 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Bc 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                   
                     
                       
                         
                           m 
                           Ca 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Cb 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Cc 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                 
                 ] 
               
                
               
                 [ 
                 
                   
                     
                       
                         u 
                         a 
                       
                     
                   
                   
                     
                       
                         u 
                         b 
                       
                     
                   
                   
                     
                       
                         u 
                         c 
                       
                     
                   
                 
                 ] 
               
             
           
         
       
     
         [0097]    wherein, m lh (t) denotes a mark-to-space ratio function of an MC switching tube S lh  as shown in  FIG. 4 , 0≦m lh (t)≦1, Iε{A,B,C}, and hε{a,b,c}: 
         [0000]    
       
         
           
             
               ( 
               
                 
                   
                     
                       u 
                       
                         o 
                          
                         
                             
                         
                          
                         α 
                       
                     
                   
                 
                 
                   
                     
                       u 
                       
                         o 
                          
                         
                             
                         
                          
                         β 
                       
                     
                   
                 
               
               ) 
             
             = 
             
               
                 2 
                 3 
               
                
               
                 ( 
                 
                   
                     
                       1 
                     
                     
                       
                         - 
                         
                           1 
                           2 
                         
                       
                     
                     
                       
                         - 
                         
                           1 
                           2 
                         
                       
                     
                   
                   
                     
                       0 
                     
                     
                       
                         
                           3 
                         
                         2 
                       
                     
                     
                       
                         - 
                         
                           
                             3 
                           
                           2 
                         
                       
                     
                   
                 
                 ) 
               
                
               
                 ( 
                 
                   
                     
                       
                         u 
                         A 
                       
                     
                   
                   
                     
                       
                         u 
                         B 
                       
                     
                   
                   
                     
                       
                         u 
                         C 
                       
                     
                   
                 
                 ) 
               
             
           
         
       
     
         [0098]    (2.4) Inputting the phase angle β i  of current, detecting three phases of current i A , i B  and i C  on the MC output side, then calculating and outputting three phases of input current i a , i b  and i c  by the MC low-frequency transmission matrix and transforming into components i iα  and i iβ  in the two-phase static coordinate system, and calculating β i  through i iα  and i iβ  by the following formula: 
         [0000]    
       
         
           
             
               [ 
               
                 
                   
                     
                       i 
                       a 
                     
                   
                 
                 
                   
                     
                       i 
                       b 
                     
                   
                 
                 
                   
                     
                       i 
                       c 
                     
                   
                 
               
               ] 
             
             = 
             
               
                 [ 
                 
                   
                     
                       
                         
                           m 
                           Aa 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Ba 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Ca 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                   
                     
                       
                         
                           m 
                           Ab 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Bb 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Cb 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                   
                     
                       
                         
                           m 
                           Ac 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Bc 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       
                         
                           m 
                           Cc 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                 
                 ] 
               
                
               
                 [ 
                 
                   
                     
                       
                         i 
                         A 
                       
                     
                   
                   
                     
                       
                         i 
                         B 
                       
                     
                   
                   
                     
                       
                         i 
                         C 
                       
                     
                   
                 
                 ] 
               
             
           
         
       
     
         [0099]    wherein, m lh (t) denotes a mark-to-space ratio function of an MC switching tube S lh  as shown in  FIG. 4 , 0≦m lh (t)≦1, Iε{A,B,C}, and hε{a,b,c}: 
         [0000]    
       
         
           
             
               ( 
               
                 
                   
                     
                       i 
                       
                         i 
                          
                         
                             
                         
                          
                         α 
                       
                     
                   
                 
                 
                   
                     
                       i 
                       
                         i 
                          
                         
                             
                         
                          
                         β 
                       
                     
                   
                 
               
               ) 
             
             = 
             
               
                 2 
                 3 
               
                
               
                 ( 
                 
                   
                     
                       1 
                     
                     
                       
                         - 
                         
                           1 
                           2 
                         
                       
                     
                     
                       
                         - 
                         
                           1 
                           2 
                         
                       
                     
                   
                   
                     
                       0 
                     
                     
                       
                         
                           3 
                         
                         2 
                       
                     
                     
                       
                         - 
                         
                           
                             3 
                           
                           2 
                         
                       
                     
                   
                 
                 ) 
               
                
               
                 ( 
                 
                   
                     
                       
                         i 
                         a 
                       
                     
                   
                   
                     
                       
                         i 
                         b 
                       
                     
                   
                   
                     
                       
                         i 
                         c 
                       
                     
                   
                 
                 ) 
               
             
           
         
       
       
         
           
             
               
                 β 
                 i 
               
               = 
               
                 arctan 
                  
                 
                   ( 
                   
                     
                       i 
                       
                         i 
                          
                         
                             
                         
                          
                         β 
                       
                     
                     
                       i 
                       
                         i 
                          
                         
                             
                         
                          
                         α 
                       
                     
                   
                   ) 
                 
               
             
             ; 
           
         
       
     
         [0100]    (3) calculating a stator flux amplitude |ψ s |, a phase angle θ s  and an electromagnetic torque T e . 
         [0101]    (3.1) Calculating two-phase static coordinate components ψ α  and ψ β  of the stator flux by the following formulae: 
         [0000]      ψ α =∫( u   oα   −i   oα   R   s ) dt+ψ   f  cos θ r  
 
         [0000]      ψ β =∫( u   oβ   −i   oβ   R   s ) dt+ψ   f  cos θ r  
 
         [0102]    wherein, ψ f  denotes a permanent magnet flux, θ r  denotes an included angle between the permanent magnet flux and an A phase winding of a motor, and R s  denotes a stator resistance. 
         [0103]    (3.2) Calculating the stator flux amplitude and the phase angle θ s  by the following formulae: 
         [0000]    
       
         
           
             
               | 
               
                 Ψ 
                 s 
               
               | 
             
             = 
             
               
                 
                   ψ 
                   α 
                   2 
                 
                 + 
                 
                   ψ 
                   β 
                   2 
                 
               
             
           
         
       
       
         
           
             
               θ 
               s 
             
             = 
             
               
                 arctan 
                  
                 
                   ( 
                   
                     
                       ψ 
                       β 
                     
                     
                       ψ 
                       α 
                     
                   
                   ) 
                 
               
               . 
             
           
         
       
     
         [0104]    (3.2) Calculating the electromagnetic torque T e  by the following formula: 
         [0000]        T   c =1.5 p (ψ α   i   oβ −ψ β   i   oα )
 
         [0105]    wherein, ρ denotes the number of pole pairs of the motor. 
         [0106]    (4) Calculating the average value of a sine function of an input power factor angle, wherein, φ=α i −β i . The average value is obtained by a low-pass filter, and the transfer function of the low-pass filter is as follows: 
         [0000]    
       
         
           
             1 
             
               
                 ρ 
                  
                 
                     
                 
                  
                 s 
               
               + 
               1 
             
           
         
       
     
         [0107]    wherein, ρ denotes a time constant generally between 10 −4  and 10 −3 , and s denotes a differential operator. 
         [0108]    (5) Obtaining a torque switching function C T , a flux switching function C ψ , and an input power factor switching function C φ , by a hysteresis comparator. The torque, flux and input power factor hysteresis comparator is as shown in  FIG. 5 . As shown, BT e , B|ψ s | and B&lt;sin φ&gt; denote the loop widths of the torque, flux and input power factor respectively. Generally, BT e  is 0.5% to 5% times of a rated torque, B|ψ s | is 0.1% to 2% times of the permanent magnet flux, and B&lt;sin φ&gt; is 0. As shown, T e * and |ψ s |* are an electromagnetic torque reference value and a stator flux amplitude reference value respectively. 
         [0109]    (6) Dividing the stator flux and the input voltage into sectors, where the number of the sector of the stator flux is I θ  and the number of the sector of the input voltage is I α . The whole plane is divided into 12 sectors every π/6 from 0. The number of a sector is determined according to the phase angle θ s  of the stator flux and the phase angle α i  of the input voltage. 
         [0110]    (7) Obtaining a virtual VSI vector by inquiring the switching table. According to the torque switching function C T , the flux switching function C ψ , and the number I θ  of the sector of the stator flux, the virtual VSI vector is inquired from the switching table, where the switching table is as shown in  FIG. 6 . 
         [0111]    (8) Obtaining an MC vector by inquiring the MC voltage vector switching table. According to the virtual VSI vector, the input power factor switching function C φ  and the number I α  of the sector of the input voltage, inquiring the MC vector from the MC voltage vector switching table, where the MC voltage vector switching table is as shown in  FIG. 7 . 
         [0112]    (9) Obtaining a torque evaluation value ρ τ  by inquiring the MC voltage vector switching table provided by the present invention. According to the MC vector, the number I θ  of the sector of the stator flux and the number I α  of the sector of the input voltage, the torque evaluation value ρ τ  is inquired from the MC voltage vector switching table provided by the present invention, where the MC voltage vector switching table provided by the present invention is as shown in  FIG. 2 . 
         [0113]    (10) Calculating a mark-to-space ratio to obtain the mark-to-space ratio d. 
         [0114]    (10.1) Detecting the rotating speed of a motor, and calculating a counter electromagnetic force evaluation value ρ e  by the following formula: 
         [0000]    
       
         
           
             
               
                 p 
                 e 
               
               = 
               
                 
                   round 
                    
                   
                     ( 
                     e 
                     ) 
                   
                 
                 = 
                 
                   round 
                    
                   
                     ( 
                     
                       
                         
                           ω 
                           r 
                         
                         | 
                         
                           Ψ 
                           s 
                         
                         | 
                       
                       
                         2 
                          
                         
                           / 
                         
                          
                         
                           3 
                         
                          
                         
                           V 
                           m 
                         
                       
                     
                     ) 
                   
                 
               
             
             , 
           
         
       
     
         [0115]    wherein, ω r  denotes an electric angular speed of a motor rotator, V m  denotes the maximum value of an MC input phase voltage (generally a phase voltage amplitude of the power grid), and round( ) denotes a proximity rounding function. 
         [0116]    (10.2) Setting the torque coefficient K T . The setting of K T  needs to comprehensively consider the dynamic response and steady-state performance of a control system. Although a larger K T  may better inhibit torque ripples in a steady state, slow torque response speed results in poor transient performance. The value of K T  may be selected from an intersection of the following two inequalities: 
         [0000]    
       
         
           
             
               
                 1.2 
                  
                 
                   T 
                   N 
                 
               
               
                 
                   K 
                   T 
                 
                  
                 
                   p 
                   τ 
                 
               
             
             ≥ 
             
               0.85 
                
               
                   
               
                
               0.1 
                
               
                 p 
                 e 
               
             
             ≤ 
             
               
                 | 
                 
                   BT 
                   e 
                 
                 | 
               
               
                 K 
                 T 
               
             
             ≤ 
             
               0.5 
                
               
                 p 
                 e 
               
             
           
         
       
     
         [0117]    wherein, T N  denotes a rated torque of the motor. Generally, ρ τ  is an integer within [7,9] and ρ e  is an integer within [1,4]. 
         [0118]    (10.3) Calculating a mark-to-space ratio by the following formula: 
         [0000]    
       
         
           
             d 
             = 
             
               
                 
                   
                     T 
                     e 
                     * 
                   
                   - 
                   
                     T 
                     e 
                   
                 
                 
                   
                     K 
                     T 
                   
                    
                   
                     p 
                     τ 
                   
                 
               
               + 
               
                 
                   
                     p 
                     e 
                   
                   
                     p 
                     τ 
                   
                 
                 . 
               
             
           
         
       
     
         [0119]    (10.4) Performing amplitude limiting to the mark-to-space ratio. As the mark-to-space ratio d can only be between [0,1], the d is subjected to amplitude limiting. If d&gt;1, d=1; and, if d&lt;0, d=0. 
         [0120]    (11) Determining a mark-to-space ratio function m lh (t) of each switching tube according to the mark-to-space ratio d and the MC vector. 
         [0121]    (12) Controlling the on or off of 9 two-way switching tubes of the MC by a commutation control circuit, thereby realizing the safe commutation and driving the motor system for the speed control. 
         [0122]    The implementation of the direct torque control method for a matrix converter provided by the present invention is as shown in  FIG. 8 , wherein, steps (1) to (11) are implemented by a floating-point microprocessor TMS320F28335, and step (12) is implemented by an FPGA chip EP1C6. The commutation control circuit program belongs to prior art. 
         [0123]    The direct torque control method for a matrix converter provided by the present invention has been tested on a 10 kW sample machine, and it is indicated that the system has good dynamic and static performances and that torque ripples are effectively inhibited. 
         [0124]    The waveform diagrams of the direct torque control method for a matrix converter provided by the present invention and the conventional direct torque control method for a matrix converter in a steady-state comparison test are as shown in  FIG. 9(   a ) and  FIG. 9(   b ), at a motor rotating speed of 30 r/min and a load torque of 150 Nm. The left drawing shows waveforms of an electromagnetic torque and an A phase winding current of a motor under the conventional control method, and the right drawing shows waveforms of an electromagnetic torque and an A phase winding current of a motor under the control method provided by the present invention. It can be seen from the drawings that the conventional control method has large torque ripples and a transient peak-to-peak value of 63 Nm, while the transient peak-to-peak value of the control method provided by the present invention is just 30 Nm. 
         [0125]    Waveform diagrams of the direct torque control method for a matrix converter provided by the present invention and the conventional direct torque control method for a matrix converter in a transient-state comparison test are as shown in  FIG. 10(   a ),  FIG. 10(   b ),  FIG. 11(   a ) and  FIG. 11(   b ). In  FIG. 10(   a ) and  FIG. 10(   b ), the test conditions are that the motor rotating speed is 30 r/min and the motor is abruptly loaded to 150 Nm from no-load (about 30 Nm), where the left drawing shows waveforms of a rotating speed, an electromagnetic torque and an A phase winding current of a motor under the conventional control method, and the right drawing shows waveforms of a rotating speed, an electromagnetic torque and an A phase winding current of a motor under the control method provided by the present invention. As seen, the control method provided by the present invention may realize the tracking of the motor rotating speed and torque with small torque ripples. In  FIG. 11(   a ) and  FIG. 11(   b ), the test condition is that the rotating speed of the motor is jumped to 30 r/min from 20 r/min in a no-load state, where the left drawing shows waveforms of a rotating speed, an electromagnetic torque and a stator flux α-β components of a motor under the conventional control method, and the right drawing shows waveforms of a rotating speed, an electromagnetic torque and a stator flux α-β components of a motor under the control method provided by the present invention. As seen, the control method provided by the present invention inherits the characteristic of quick torque response of the conventional control method. 
         [0126]    Although the present invention has been described above with reference to the accompanying drawings, the present invention is not limited to the foregoing specific implementations, and the foregoing specific implementations are merely illustrative and do not constitute any limitations. Various variations may be made by a person of ordinary skill in the art under the teaching of the present invention without departing from the spirit of the present invention, and all those variations shall be regarded as falling into the protection scope of the present invention.