# Patent

## Title
Optimized control for synchronous motors

## Abstract

Representative implementations of devices and techniques provide optimized control of a three-phase AC motor. A field oriented control (FOC) arrangement uses optimization components and techniques to improve power efficiency of the motor, with fast control response over a full range of motor speeds.

## Background
RELATED APPLICATIONS
This application is a non-provisional application of provisional application 61/822,422, which was filed on May 12, 2013. The entire contents of the indicated provisional application are hereby incorporated herein by reference.


BACKGROUND
Permanent Magnet Synchronous Motors (PMSM) have growing adoption in consumer and industrial motor applications due to their higher reliability and smaller size compared to other motors. To achieve high efficiency and low vibration and acoustic noise, Field Oriented Control (FOC) schemes are increasingly being used in consumer and industrial PMSM control for fans, pumps, compressors, geared motors, and so forth.
For highly dynamic loading (e.g., motors for electric propulsion, compressors, etc.), a fast and accurate FOC control loop can be used to control motor currents and voltages to maintain maximum efficiency. On the other hand, existing FOC schemes often have complex transformations in the critical control loop, which can make them inaccurate and relatively slow.
To further improve efficiency at the lowest cost, increasingly more control functions (e.g., digital power conversion, digital Power Factor Correction (PFC), FOC control of multiple motors, etc.) are often handled by fewer microcontrollers. New microcontrollers also include increasingly more features and peripherals (e.g., Human Machine Interfaces, communications, etc.) in order to excel in the intensely fierce market competition. However, existing FOC control strategies can be complicated and processor-intensive, tending to overburden the microcontrollers and impeding microcontroller power from being allocated to complex system functions efficiently, and hindering the full usage of microcontroller potential and features.
Existing rotor position and speed estimators for sensorless FOC include a flux estimator, a PLL estimator, Sliding-Mode Observer (SMO), and so forth. All of these can be sensitive to motor stator resistance R, and the fluctuating stator resistance (mainly due to temperature changes) can cause unpredictable errors to the estimated rotor position and speed, causing the control to become unstable particularly at low motor speed. Furthermore, with imprecise position and speed information in sensorless FOC, the stator flux and rotor flux may not always be perpendicular to each other and consequently the energy efficiency may not be maximized all the time. Some techniques have been proposed to compensate the stator resistance variations, such as online stator resistance re-estimation/tracking/recalibration and stator resistance adaptation in sensorless PMSM drives, but they can be complex and consume more resources, including processor time.



BRIEF DESCRIPTION OF THE DRAWINGS
The detailed description is set forth with reference to the accompanying figures. In the figures, the left-most digit(s) of a reference number identifies the figure in which the reference number first appears. The use of the same reference numbers in different figures indicates similar or identical items.
For this discussion, the devices and systems illustrated in the figures are shown as having a multiplicity of components. Various implementations of devices and/or systems, as described herein, may include fewer components and remain within the scope of the disclosure. Alternately, other implementations of devices and/or systems may include additional components, or various combinations of the described components, and remain within the scope of the disclosure.
FIG. 1 is a block diagram of an example field oriented control (FOC) arrangement, using a position sensor to determine rotor position and/or speed, wherein the techniques and devices disclosed herein may be applied, according to an implementation.
FIG. 2 is a block diagram of another example FOC arrangement, using a position estimator to determine rotor position and/or speed, wherein the techniques and devices disclosed herein may be applied, according to an implementation.
FIG. 3 is a set of illustrations showing different example coordinate systems, where some (dq and Od coordinate systems) are fixed to the moving rotor of a three-phase electric motor, and others (uvw, αβ, and Ou) are stationary (or fixed to the motor stator), and vector representations, including rotating space vectors, of the same.
FIG. 4 illustrates an equivalent circuit of the electrical subsystem of a permanent magnet synchronous motor (PMSM), and one vector representation (phasor diagram) of the same.
FIG. 5 includes two additional phasor diagrams of the equivalent circuit model of FIG. 4.
FIG. 6 is a plot of angle deviation (sine of deviation in degrees and deviation angle in radians) of a current space vector from its desired position.
FIG. 7 is a block diagram of an example plot of the hysteresis of a motor controller, according to an implementation.
FIG. 8 is a block diagram of an example PI controller, according to an implementation.
FIGS. 9 and 10 include a set of block diagrams of a 3-phase 2-level voltage source inverter, shown with different current sensing techniques, based on various implementations.
FIG. 11 is a space vector diagram and reference vector approximation of an example space vector modulator (SVM), according to an implementation.
FIG. 12 is a block diagram of an example optimized sensored FOC arrangement, without Inverse Park Transform, according to an implementation.
FIG. 13 is a block diagram of an example optimized sensorless FOC arrangement, without Inverse Park Transform, according to an implementation.
FIG. 14 is a block diagram of an alternate example optimized sensored FOC arrangement, without Inverse Park Transform and Clarke Transform, according to another implementation.
FIG. 15 is a block diagram of an alternate example optimized sensorless FOC arrangement, without Inverse Park Transform in the fast current control loop, according to another implementation.
FIG. 16 is a block diagram of an example optimized sensored FOC arrangement, without Park Transform and Inverse Park Transform, according to an implementation.
FIG. 17 is a block diagram of an example optimized sensorless FOC arrangement, without Park Transform and Inverse Park Transform, according to an implementation.
FIG. 18 is a block diagram of an alternate example optimized sensored FOC arrangement, without Park Transform and Inverse Park Transform, according to another implementation.
FIG. 19 is a block diagram of a further alternate example optimized sensored FOC arrangement, without Park Transform and Inverse Park Transform, according to a further implementation.
FIGS. 20 and 21 are block diagrams of alternate examples of optimized sensored and sensorless FOC arrangements, without Park Transform and Inverse Park Transform, according to other implementations. Only a portion of each of the example FOC arrangements is shown, for clarity.
FIG. 22 is a block diagram of an example optimized sensorless FOC arrangement, having a PLL observer component, according to an implementation.
FIGS. 23 and 24 illustrate two example PLL observers that may be used with the FOC arrangement of FIG. 22, according to implementations.
FIG. 25 is a block diagram of another example optimized sensorless FOC arrangement, having a PLL observer component, according to another implementation.
FIGS. 26 and 27 illustrate two example PLL observers that may be used with the FOC arrangements of FIG. 25 and FIG. 22, respectively, according to implementations.
FIGS. 28 and 29 are block diagrams of example maximum efficiency tracking (MET) control strategies according to implementations.
FIGS. 30 and 31 are block diagrams of alternate example maximum efficiency tracking (MET) control strategies according to other implementations.



DETAILED DESCRIPTION
Overview
As an optimized technique, field oriented control (FOC) (i.e., vector control) is a method of variable speed control for three-phase alternate current (AC) electric motors, to improve power efficiency with fast control response over a full range of motor speeds.
Various implementations of structures, components, and techniques for providing optimized control of three-phase AC motors are discussed in this disclosure. Structures, components, and techniques are discussed with reference to example three-phase Permanent Magnet Synchronous Motor (PMSM) devices and control systems illustrated in the figures. However, this is not intended to be limiting, and is for ease of discussion and illustrative convenience. The techniques and devices discussed may be applied to many of various motor designs, control structures, and the like (e.g., single-phase and three-phase variable frequency drives, digital phase converters, three-phase and single-phase motors, induction motors, regenerative drives, etc.), and remain within the scope of the disclosure.
Implementations are explained in more detail below using a plurality of examples. Although various implementations and examples are discussed here and below, further implementations and examples may be possible by combining the features and elements of individual implementations and examples.
FIGS. 1 and 2 are block diagrams of an example field oriented control (FOC) structure arrangement 100, wherein the techniques and devices described herein may be applied. A reference speed (e.g., desired rotational speed for the motor 102) is received at the input side, and a pulse-width modulated (PWM) motor voltage output signal (e.g., three-phase) is output to the motor 102. The example FOC arrangement 100 shown in FIG. 1 is a sensored version, using a position sensor 104 to determine the rotor position and/or speed, via position calculation 106 and speed calculation 108 modules. The example FOC arrangement 100 shown in FIG. 2 is a sensorless version, using a position estimator 202 to determine the rotor position and/or speed, via speed calculation module 108.
In an example, a FOC structure arrangement 100 transforms three phase signals into two rotor-fixed signals (e.g., in the d,q coordinate system) and vice versa with complex Cartesian reference frame transformations (e.g., Park Transform 110 and Inverse Park Transform 112) in a control loop which is desired to have a fast response. These reference frame transformations can be computation-intensive and can also introduce extra calculation errors, resulting in an undesirably slow current control loop and in poor response to dynamic motor loads. This can make it difficult to handle increasingly more composite system functions (e.g., digital power factor correction, multiple FOC motor controls, digital power conversion, etc.) with a single microcontroller.
Normally, as shown in FIGS. 1 and 2, the FOC structure arrangement 100 uses a Clarke Transform 114 to transform 3-phase currents Iu, Iv, and/or Iw output from current calculation stage 115 (as measured by the analog-to-digital converter (ADC) 116; the ADC conversion can be triggered by PWM unit 118, or the like) to a stationary α-β reference frame as Iα and Iβ (which are sinusoidal signals in steady state). The Park Transform 112 is used to transform Iα and Iβ to another rotor coordinate system d-q, as Id and Iq, respectively. Id and Iq are feedback signals of the FOC 100 control loop and are nearly constants at steady state.
PI controllers 130, 120, and 122 are used for speed and current controls separately, to achieve controllable motor speed, torque and air gap flux. In general, the flux generating component Id is controlled to 0. It is also possible to control Id to negative values (i.e., flux-weakening control) to extend the operating speed range of the motor 102. The speed PI controller 130 output is the reference current for the torque generating component Iq. The PI controllers 120, 122 output the voltages Vd and Vq, that the motor 102 phases should have in the d-q reference frame, for the desired rotational speed of the motor 102. Vd and Vq are also nearly constants in steady state.
In various examples, Inverse Park Transform 112 is used to transform resultant voltages Vd and Vq to the stationary α-β reference frame as Vα and Vβ, which are sinusoidal signals in steady state. The amplitude and angle of the voltage vector (Vα, Vβ) is the reference voltage for the space vector modulation (SVM) modulator 124, which is used to control the PWM unit 118, to create 3-phase sinusoidal waveform outputs from the 3-phase 2-level voltage inverter 126, to drive the motor 102 phases.
In some cases, the Cartesian to Polar Transform 128 can be neglected if it is not desired for the microcontroller to perform the Cartesian to Polar Transform calculations. In that case, the voltages Vα and Vβ can be sent to the SVM modulator 124 directly. If desired, the ADC 116 value of the inverter 126 DC link voltage (VDC) (often a voltage divider is used) can also be obtained regularly for SVM 124 calculations. The above described control loops repeat themselves to realize required motor 102 control.
The rotor position φ and speed ω may be obtained from a rotor position sensor 104 (such as encoder, resolver, Hall sensors, etc.) for a sensored FOC arrangement 100, as shown in FIG. 1, or a position estimator 202 for a sensorless FOC arrangement 100, as shown in FIG. 2. The rotor position and speed calculations and the speed PI control 130 comprise a slow control loop, as the motor mechanical time constant is typically much larger than the electrical time constant. The other computing blocks shown in FIGS. 1 and 2 comprise a fast current control loop and should be computed as fast as possible.
A sensorless FOC structure arrangement 100, such as shown in FIG. 2 can be a better choice than a sensored version for some cost-sensitive consumer and industrial motor drives such as fans, pumps, compressors and geared motors. For example, the sensorless FOC arrangement 100 often uses a software rotor position and speed estimator 202 instead of more costly sensor(s) (such as encoder, magnetic angle sensor, Hall sensors, etc.). In automotive solutions, or the like, a sensorless FOC arrangement 100 can be included as a redundant system to back up a sensored version, if the sensor driven FOC arrangement 100 fails, for example.
Some rotor position and speed estimators 202 for sensorless FOC arrangements 100 use accurate motor 102 parameter information, such as stator resistance R and stator inductance L, to estimate rotor position and/or speed, and hence are sensitive to R and L variations. However, motor stator resistance R can be highly dependent on temperature. For example, the resistance of copper and aluminum, the common motor winding materials, increases more than 15% if the temperature rises 40° C. from 20° C. (the resistivity temperature coefficients of copper and aluminum are about +0.39%/° C. at 20° C.). Such random resistance variations can introduce errors to the position and speed estimators 202 and can aggravate control performance, especially at low speeds.
Additionally, some sensorless FOC arrangements 100 can be very complex and often use three PI controllers, making it difficult and time-consuming to achieve smooth motor startup and to fine-tune for the best system performance with specified motors. With imprecise position and speed information in sensorless FOC, the stator flux and rotor flux may not always be perpendicular to each other and consequently the energy efficiency may not be maximized all the time.
The disclosed FOC control techniques and structures include optimized and faster control loops, and decreased CPU time utilization. Without Inverse Park Transform 112, the FOC arrangement 100 can optimize and speed-up the fast control loop, which will benefit the FOC motor control with highly dynamic loading (such as compressor, motor for electric propulsion). It also reduces CPU load and saves precious CPU time for other purposes (e.g., digital PFC, multiple FOC motor drive, HMI, communications) in sophisticated systems, hence the microcontroller's potential and features can be used sufficiently. Conversely, with optimized FOC users could select a microcontroller with less computation power and lower cost to accomplish FOC motor controls of the same quality.
In various implementations, one or more of the FOC arrangement 100 modules or components (e.g., PI controllers 120, 122, 130, transforms 110, 112, 114, 128, 1302, 1402, 1802, 1902, 2102, modulator 124, calculations 108, 115), as well other components, may be implemented in hardware, firmware, software, or the like, or in combinations thereof.
Furthermore, some of the disclosed techniques may be readily implemented in software using object or object-oriented software development environments that provide portable source code that can be used on a variety of computer or workstation platforms. Alternatively, the disclosed techniques and/or arrangements may be implemented partially or fully in hardware using standard logic circuits or VLSI design.
Moreover, the disclosed procedures may be readily implemented in software that can be stored on a computer-readable storage medium (such as a memory storage device), executed on programmed general-purpose computer with the cooperation of a controller and memory, a special purpose computer, a microprocessor, or the like. In these instances, the arrangements and procedures of the described implementations may be implemented as program embedded on personal computer such as an applet, JAVA® or CGI script, as a resource residing on a server or computer workstation, as a routine embedded in a dedicated communication arrangement or arrangement component, or the like. The arrangements may also be implemented by physically incorporating the arrangements and/or procedures into a software and/or hardware system, such as the hardware and software systems of a test/modeling device.
Example Coordinate Systems for FOC Arrangements
In various implementations, the FOC structure arrangement 100 may use the following coordinate systems for a 3-phase single pole-pair PMSM motor (additionally, the disclosure may be equally applicable to multi-pole-pair motors and other types of motors). A summary of the coordinate systems is given below, including explanations of the coordinate systems and their relationships.












Coordinate System
Stationary
Rotating


















3-phase (electrically 120° separated)
uvw
✓



Cartesian (electrically orthogonal)
α-β
✓




d-q

✓


Polar
Ou
✓




Od

✓









Throughout this document it is assumed that the motor 102 rotates in the positive direction (i.e., in the counterclockwise direction), so the angles and angular speeds are positive numbers. The signs of the angles and angular speeds may be changed for a motor 102 that rotates in the negative direction (i.e., in the clockwise direction).
As shown in FIG. 3, coordinate systems may be referenced to the stator and/or the rotor of the motor. For example, the d-q Cartesian coordinate system is fixed to the rotor and the components of the d-q coordinate system rotate together. The direct axis Od is oriented in the direction from the rotor permanent magnet south pole (S) to north pole (N). The other quadrature axis Oq is perpendicular to the rotor flux (e.g., to the rotor).
As shown in FIG. 3(b), the 3-phase 120° separated sinusoidal currents Iu, Iv, and Iw of the motor stator windings will generate three non-rotating but pulsating magnetic fields in the u, v, and w directions respectively, resulting in a rotating magnetic field (stator flux space vector). Vector addition of Iu, Iv, and Iw gives a current space vector {right arrow over (I)} (its magnitude can be scaled down or up but with no change of direction) rotating at speed ωi.
In a stationary α-β reference frame, {right arrow over (I)} has Cartesian coordinates Iα and Iβ, as shown in FIG. 3. The rotating stator flux space vector {right arrow over (Ψ)}S has the same direction as {right arrow over (I)}, with the magnitudes proportional to each other, as shown in FIG. 3(c). The rotating current space vector {right arrow over (I)} can represent the rotating stator magnetic flux {right arrow over (Ψ)}S. For example, in various implementations, it is easier to control the rotating stator flux {right arrow over (Ψ)}S by controlling the magnitude and direction of the single current space vector {right arrow over (I)}, instead of controlling three sinusoidal currents Iu, Iv, and Iw.
Similarly, vector addition of 3-phase 120° separated stator phase voltages Vu, Vv, and Vw gives a rotating voltage space vector {right arrow over (V)}ref. Also, a rotating rotor permanent magnet generates a rotating rotor magnetic flux space vector {right arrow over (Ψ)}r.
The magnitudes and directions of the above-mentioned rotating space vectors can be represented by the radial coordinates and polar angles in polar coordinate systems, as shown in FIG. 3. Their coordinates in different coordinate systems are shown below:











Space
Coordinates in Different Coordinate Systems












Vector
uvw
α-β
d-q
Ou
Od





{right arrow over (I)}
Iu, Iv, Iw
Iα, Iβ
Id, Iq
|I|, γ
—


{right arrow over (V)}ref
Vu, Vv, Vw
Vα, Vβ
Vd, Vq
|Vref|, θ
|Vref|, Θ


{right arrow over (Ψ)}s
LIu, LIv,
LIα, LIβ
LId, LIq
L|I|, γ
—



LIw






{right arrow over (Ψ)}r
—
Ψrα, Ψrβ
|Ψr|, 0
|Ψr|, φ
—









where:

    
    
        {right arrow over (I)}—Stator current space vector, with magnitude |I| and angle γ.
        {right arrow over (V)}ref—Stator voltage space vector, with magnitude |Vref| and angle θ.
        {right arrow over (Ψ)}S—Stator magnetic flux space vector, {right arrow over (Ψ)}S=L{right arrow over (I)}. It points to the same direction of the current space vector {right arrow over (I)}.
        L—Stator winding inductance per phase.
        {right arrow over (Ψ)}r—Rotor permanent magnet flux linkage space vector with magnitude |Ψr|. |Ψr| can be derived from the voltage constant, speed constant, or torque constant in motor specifications. As shown below, the back electromotive force (BEMF) magnitude is |ωrΨr|.
        φ—Rotor electrical angular position.
        γ—Angle of current space vector in stationary Ou polar coordinate system.
        Φ—Angle of voltage space vector in rotating Od polar coordinate system.
        θ—Angle of voltage space vector in stationary Ou polar coordinate system, θ=Φ+φ.
    
    


In the stationary polar coordinate system Ou, the rotating space vectors can be written in polar form of complex numbers as follows:

{right arrow over (I)}=|I|·ejγ  (1)

{right arrow over (V)}ref=|Vref|·ejθ  (2)

{right arrow over (Ψ)}S=L{right arrow over (I)}=L|I|·ejγ  (3)

{right arrow over (Ψ)}r=|Ψr|·ejφ  (4)

where:

e—Euler's number (i.e., the base of the natural logarithm); e≈2.718281828.
j—Imaginary unit; j=√{square root over (−1)}.
Referring to FIG. 4(a), an equivalent circuit of the electrical subsystem of a Permanent Magnet Synchronous Motor (PMSM) 102 is illustrated. The motor 102 equation (stator model) can be written as:




  
    
      
        
          
            V
            ->
          
          ref
        
        =
        
          
            R
            ⁢
            
              I
              ->
            
          
          +
          
            
              d
              ⁢
              
                
                  Ψ
                  ->
                
                s
              
            
            dt
          
          +
          
            
              d
              ⁢
              
                
                  Ψ
                  ->
                
                r
              
            
            dt
          
        
      
    
    
      
        (
        5
        )
      
    
  




Considering Equations (1) through (4), Equation (5) can be rewritten as the following Equation (6) in the stationary polar coordinate system Ou. All of the angles are illustrated in FIG. 3(c).




  
    
      
        
          
            
            
              V
              ref
            
            
          
          ·
          
            e
            
              j
              ⁢
              
                
              
              ⁢
              θ
            
          
        
        =
        
          
            
              R
              ⁢
              
                
                  
                  I
                  
                
                ·
                
                  e
                  jγ
                
              
            
            
              }
              
                R
                ·
                
                  I
                  ->
                
              
            
          
          +
          
            
              
                L
                ⁢
                
                  
                    
                      d
                      
                        
                        I
                        
                      
                    
                    
                      d
                      t
                    
                  
                  ·
                  
                    e
                    
                      j
                      ⁢
                      
                        
                      
                      ⁢
                      γ
                    
                  
                
              
              +
              
                
                  ω
                  i
                
                ⁢
                L
                ⁢
                
                  
                    
                    I
                    
                  
                  ·
                  
                    e
                    
                      j
                      ⁡
                      
                        (
                        
                          
                            π
                            2
                          
                          +
                          γ
                        
                        )
                      
                    
                  
                
              
            
            
              }
              
                
                  d
                  ⁢
                  
                    
                      Ψ
                      ->
                    
                    s
                  
                
                dt
              
            
          
          +
          
            
              
                ω
                r
              
              ⁢
              
                
                  
                  
                    Ψ
                    r
                  
                  
                
                ·
                
                  e
                  
                    j
                    ⁡
                    
                      (
                      
                        
                          π
                          2
                        
                        +
                        φ
                      
                      )
                    
                  
                
              
            
            
              }
              
                
                  d
                  ⁢
                  
                    
                      Ψ
                      ->
                    
                    r
                  
                
                dt
              
            
          
        
      
    
    
      
        (
        6
        )
      
    
  




where:

    
    
        R—Stator winding resistance per phase.
        R{right arrow over (I)}—Voltage drop space vector due to the stator winding resistance.
    
    






  
    d
    ⁢
    
      
        Ψ
        ->
      
      s
    
  
  dt




    
    
        —Electromotive force space vector induced by time-varying stator magnetic flux
    
    






  
    d
    ⁢
    
      
        Ψ
        ->
      
      r
    
  
  dt




    
    
        —BEMF space vector with magnitude of |ωrΨr|. It is the electromotive force induced by time-varying rotor magnetic flux linkage, and is perpendicular to the rotor flux space vector.
        ωi—Current space vector electrical angular speed, and
    
    






  
    ω
    i
  
  =
  
    
      
        d
        γ
      
      
        d
        t
      
    
    .
  




    
    
        ωr—Rotor electrical angular speed, and
    
    






  
    ω
    r
  
  =
  
    
      
        d
        φ
      
      
        d
        t
      
    
    .
  




    
    
        π—Archimedes' constant (i.e., the ratio of a circle's circumference to its diameter), where π≈3.14159265359. Note that
    
    






  
    e
    
      j
      ⁡
      
        (
        
          π
          2
        
        )
      
    
  
  =
  
    j
    .
  




In Equation (6), except two unknown variables ωr and φ, all other items are either constants




  
    (
    
      
        e
        .
        g
        .
      
      ,
      e
      ,
      j
      ,
      
        π
        2
      
    
    )
  
  ,




motor 102 parameters (e.g., R, L and |Ψr|), measured and calculated values





  
    (
    
      
        e
        .
        g
        .
      
      ,
      
        
        I
        
      
      ,
      γ
      ,
      
        
          
            d
            
              
              I
              
            
          
          
            d
            t
          
        
        ⁢
        
          
        
        ⁢
        and
        ⁢
        
          
        
        ⁢
        ω
        ⁢
        
          
        
        ⁢
        i
      
    
    )
  
  ,




or last control cycle calculation results, which are currently applying to motor phases (e.g., |Vref| and θ). Since a PMSM is a synchronous motor, the average electrical angular speed of the voltage space vector, the current space vector, and the rotor should be the same. So, for simplicity, the change in the angle of the voltage space vector over time can be written as:





  
    
      
        
          
            d
            θ
          
          
            d
            t
          
        
        ≈
        
          ω
          i
        
        ≈
        
          ω
          r
        
        ≈
        ω
        ≈
        
          ω
          ref
        
      
    
    
      
        (
        7
        )
      
    
  




where:

ω—Measured speed by a position sensor, or estimated speed by a position estimator, e.g., the PI controller of the PLL observer, and
ωref—User-defined reference speed of motor 102.
Recalling that all of the terms of equation (6) are depicted in FIG. 3(c), integrating equation (6) and rearranging the results gives:

{right arrow over (Ψ)}r=∫0t({right arrow over (V)}ref−R{right arrow over (I)})dt−L{right arrow over (I)}  (7.a)

Both sides of Equation (7.a) may be projected to stationary α-β axes to get the coordinates of rotor flux space vector:

Ψrα=∫0t(Vα−RIα)dt−LIα  (7.b)

Ψrβ=∫0t(Vβ−RIβ)dt−LIβ  (7.c)

In various implementations, Iα and Iβ are real-time measured and calculated current values. Additionally, Vα and Vβ are last control cycle calculation results and are applying to the motor 102 phases. In some examples, the integrations shown in Equations (7.b) and (7.c) can be simplified by replacing the integrations by low pass filters with a very low cut-off frequency. For sensorless FOC arrangements 100, the rotor position can be calculated by knowing the motor 102 parameters R and L. The flux position estimator is:




  
    
      
        φ
        =
        
          arctan
          ⁡
          
            (
            
              
                Ψ
                
                  r
                  ⁢
                  
                    
                  
                  ⁢
                  β
                
              
              
                Ψ
                
                  r
                  ⁢
                  
                    
                  
                  ⁢
                  α
                
              
            
            )
          
        
      
    
    
      
        (
        
          7.
          ⁢
          d
        
        )
      
    
  




The rotor electrical speed is:




  
    
      
        ω
        =
        
          
            d
            φ
          
          
            d
            t
          
        
      
    
    
      
        (
        
          7.
          ⁢
          e
        
        )
      
    
  




For some sensorless FOC arrangements 100, the estimated rotor position {circumflex over (φ)} can be obtained by an integrator 2302 (see FIGS. 23, 24, 26 and 27) as shown Equation (8) below. A digital implementation of the integration is achieved by accumulating the speed (which is scaled accordingly, if necessary) of every FOC loop.

{circumflex over (φ)}=∫ωdt  (8)

The angle of the SVM 124 (of FIGS. 28, 29, 30, and 31) reference vector is shown below in Equation (8.a).

θ=∫ωrefdt  (8.a)

The phasor diagrams of Equation (6) are shown in FIGS. 4 and 5. To eliminate the motor 102 parameter of stator resistance R, all of the voltage space vectors in Equation (6) can be projected to the direction perpendicular to the current space vector. Accordingly, this yields:




  
    
      
        
          
            
            
              V
              ref
            
            
          
          ⁢
          
            sin
            ⁡
            
              (
              
                θ
                -
                γ
              
              )
            
          
        
        =
        
          
            
              ω
              i
            
            ⁢
            L
            ⁢
            
              
              I
              
            
          
          +
          
            
              ω
              r
            
            ⁢
            
              
              
                Ψ
                r
              
              
            
            ⁢
            sin
            ⁢
            
              
                (
                
                  
                    π
                    2
                  
                  +
                  φ
                  -
                  γ
                
                )
              
              
                }
                
                  -
                  δ
                
              
            
          
        
      
    
    
      
        (
        9
        )
      
    
  




Rearranging Equation (9) results in equation (10.a):

ε=|Vref|sin(γ−θ)+ωiL|I|=ωr|Ψr|sin(δ)  (10.a)

which may be scaled as shown in equation (10.b):





  
    
      
        
          ɛ
          L
        
        =
        
          
            
              
                
                  
                  
                    V
                    ref
                  
                  
                
                L
              
              ⁢
              
                sin
                ⁡
                
                  (
                  
                    γ
                    -
                    θ
                  
                  )
                
              
            
            +
            
              
                ω
                i
              
              ⁢
              
                
                I
                
              
            
          
          =
          
            
              ω
              r
            
            ⁢
            
              
                
                
                  Ψ
                  r
                
                
              
              L
            
            ⁢
            
              sin
              ⁡
              
                (
                δ
                )
              
            
          
        
      
    
    
      
        (
        
          10.
          ⁢
          b
        
        )
      
    
  




where:

    
    
        δ—Angle deviation of current space vector {right arrow over (I)} from its desired position (i.e., along Oq direction, and perpendicular to the rotor flux);
    
    






  δ
  =
  
    γ
    -
    φ
    -
    
      
        π
        2
      
      .
    
  




    
    
        
        
            δ<0 if {right arrow over (I)} is lagging Oq as shown in FIG. 4(b);
            δ>0 if {right arrow over (I)} is leading Oq as shown in FIG. 5(a);
            δ=0 if {right arrow over (I)} and Oq are in phase as shown in FIG. 5(b), which is the control target of FOC.
        
        
        ε—A voltage difference resulted by non-zero δ, as shown in FIG. 4(b) and FIG. 5(a).
    
    


The sine function sin(δ), with δ in radians, can be represented by an infinite series as shown below:




  
    
      
        
          
            
              
                sin
                ⁡
                
                  (
                  δ
                  )
                
              
              =
              
              ⁢
              
                
                  ∑
                  
                    n
                    =
                    0
                  
                  ∞
                
                ⁢
                
                  
                
                ⁢
                
                  
                    
                      
                        (
                        
                          -
                          1
                        
                        )
                      
                      n
                    
                    
                      
                        (
                        
                          
                            2
                            ⁢
                            n
                          
                          +
                          1
                        
                        )
                      
                      !
                    
                  
                  ·
                  
                    δ
                    
                      
                        2
                        ⁢
                        n
                      
                      +
                      1
                    
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                δ
                -
                
                  
                    1
                    6
                  
                  ⁢
                  
                    δ
                    3
                  
                
                +
                
                  
                    1
                    120
                  
                  ⁢
                  
                    δ
                    5
                  
                
                -
                
                  
                    1
                    5040
                  
                  ⁢
                  
                    δ
                    7
                  
                
                +
                
                  ...
                  ⁢
                  
                    
                  
                  ⁢
                  
                    (
                    
                      for
                      ⁢
                      
                        
                      
                      ⁢
                      all
                      ⁢
                      
                        
                      
                      ⁢
                      δ
                    
                    )
                  
                
              
            
          
        
      
    
    
      
        (
        11
        )
      
    
  




FIG. 6 is a plot of sin(δ) and δ in radians verses angle deviation δ in degrees. When |δ|<<1 (e.g., |δ|<π/4), terms of higher order than the 2nd degree in the infinite series of Equation (11) can be omitted. Considering above and Equation (7), equations (10.a) and (10.b) become:

ε=|Vref|sin(γ−θ)+ωL|I|≈ωr|Ψr|·δ  (12.a)

and the scaled version:





  
    
      
        
          ɛ
          L
        
        =
        
          
            
              
                
                  
                  
                    V
                    ref
                  
                  
                
                L
              
              ⁢
              
                sin
                ⁡
                
                  (
                  
                    γ
                    -
                    θ
                  
                  )
                
              
            
            +
            
              ω
              ⁢
              
                
                I
                
              
            
          
          ≈
          
            
              ω
              r
            
            ⁢
            
              
                
                  
                  
                    Ψ
                    r
                  
                  
                
                L
              
              ·
              δ
            
          
        
      
    
    
      
        (
        
          12.
          ⁢
          b
        
        )
      
    
  




It can be found from above, that in normal conditions:
1). The voltage difference ε will be 0 whenever the angle deviation δ is 0;
2). The voltage difference c is almost proportional to the current space vector angle deviation δ;
3). For the same non-zero angle deviation δ, the larger the BEMF magnitude |ωrΨr|, the larger the resulting voltage difference c magnitude. Hence, at higher motor speed, ε is more sensitive to non-zero δ.
Therefore, calculating the voltage difference ε=|Vref|sin(γ−θ)+ωL|I| can reveal whether the stator flux is perpendicular to the rotor flux as required for maximum energy efficiency. Additionally, the result can show how much angle deviation it is from the desired position, if it is not perpendicular.
In sensorless FOC arrangement 100 implementations, the voltage difference ε (or the scaled value




  
    ɛ
    L
  
  )




can be used as a feedback signal to estimate the rotor position {circumflex over (φ)} and speed Co. Further, the feedback signal can be used to control the magnitude |Vref| of the revolving voltage space vector {right arrow over (V)}f. As in examples shown in FIGS. 23, 24, and 26-31, the feedback can drive the angle deviation δ toward 0, tracking and/or optimizing the maximum motor driving efficiency. In various examples, the ε-δ relationship may not be linear if the angle deviation δ is too large, but it can still be determined what direction (i.e., leading or lagging) the angle is deviating, and push the angle deviation δ to move (e.g., in the opposite direction) toward 0.

Referring to FIG. 7, hysteresis controllers (see FIGS. 28-31) are used for the control of reference vector magnitude |Vref| to avoid undesirable oscillations. The hysteresis of the controller (2802) is shown in FIG. 7, and its equations are:




  
    
      
        
          
            
            
              V
              ref
            
            
          
          ⁡
          
            [
            n
            ]
          
        
        =
        
          {
          
            
              
                
                  
                    
                      
                      
                        V
                        ref
                      
                      
                    
                    ⁡
                    
                      [
                      
                        n
                        -
                        1
                      
                      ]
                    
                  
                  -
                  
                    Δ
                    ⁢
                    
                      
                    
                    ⁢
                    V
                  
                
              
              
                
                  (
                  
                    ɛ
                    >
                    
                      ɛ
                      Th
                    
                  
                  )
                
              
            
            
              
                
                  
                    
                    
                      V
                      ref
                    
                    
                  
                  ⁡
                  
                    [
                    
                      n
                      -
                      1
                    
                    ]
                  
                
              
              
                
                  (
                  
                    
                      -
                      
                        ɛ
                        Th
                      
                    
                    ≤
                    ɛ
                    ≤
                    
                      ɛ
                      Th
                    
                  
                  )
                
              
            
            
              
                
                  
                    
                      
                      
                        V
                        ref
                      
                      
                    
                    ⁡
                    
                      [
                      
                        n
                        -
                        1
                      
                      ]
                    
                  
                  +
                  
                    Δ
                    ⁢
                    
                      
                    
                    ⁢
                    V
                  
                
              
              
                
                  (
                  
                    ɛ
                    <
                    
                      -
                      
                        ɛ
                        Th
                      
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        
          12.
          ⁢
          c
        
        )
      
    
  
  
    
      
        
          ɛ
          Th
        
        =
        
          {
          
            
              
                
                  ɛ
                  
                    Th
                    ⁢
                    _
                    ⁢
                    L
                  
                
              
              
                
                  (
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          
                          
                            V
                            ref
                          
                          
                        
                        ⁡
                        
                          [
                          n
                          ]
                        
                      
                    
                    ≠
                    
                      
                        
                        
                          V
                          ref
                        
                        
                      
                      ⁡
                      
                        [
                        
                          n
                          -
                          1
                        
                        ]
                      
                    
                  
                  )
                
              
            
            
              
                
                  ɛ
                  
                    Th
                    ⁢
                    _
                    ⁢
                    H
                  
                
              
              
                
                  (
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          
                          
                            V
                            ref
                          
                          
                        
                        ⁡
                        
                          [
                          n
                          ]
                        
                      
                    
                    =
                    
                      
                        
                        
                          V
                          ref
                        
                        
                      
                      ⁡
                      
                        [
                        
                          n
                          -
                          1
                        
                        ]
                      
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        
          12.
          ⁢
          d
        
        )
      
    
  




where:

    
    
        |Vref|[n]—Reference vector magnitude calculation result of current control cycle.
        |Vref|[n−1]—Reference vector magnitude calculation result of last control cycle.
        ΔV—Change step of reference vector magnitude.
        εTh—Threshold of hysteresis controller.
        εTh_L—Lower threshold of hysteresis controller. Initially set εTh=Th_L
        εTh_H—Higher threshold of hysteresis controller.
    
    


Note that the thresholds εTh_L and εTh_H are closely related to BEMF magnitude |ωrΨr|, and thus, the rotor speed ωr. Usually the higher the motor 102 speed, the larger the threshold values for a specified motor 102.
PI controllers (e.g., 120, 122, and 130) as shown in FIG. 8, are used for the rotor speed control, stator magnetic flux magnitude control, and flux direction control. In some implementations, PI controllers are used for Id/Iq current control, as well as PLL rotor speed estimation (2306). In some examples, PI controllers are used to calculate change step ΔV of |Vref| for the hysteresis controller (2802). A PI controller (e.g., 120, 122, and 130) is a special case of the PID controller in which the derivative of the error is not used. A PI controller (e.g., 120, 122, and 130) may be described by the equation:




  
    
      
        
          U
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            
              K
              p
            
            ⁢
            
              e
              ⁡
              
                (
                t
                )
              
            
          
          +
          
            
              K
              i
            
            ⁢
            
              
                
                  ∫
                  0
                  t
                
                ⁢
                
                  
                    e
                    ⁡
                    
                      (
                      τ
                      )
                    
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    d
                    τ
                  
                
              
              
                }
                
                  I
                  ⁡
                  
                    (
                    t
                    )
                  
                
              
            
          
        
      
    
    
      
        (
        13
        )
      
    
  




where:

    
    
        e(t)—error signal, it is reference value minus feedback value.
        Kp—Proportional gain.
        Ki—Integral gain.
        t—Instantaneous time.
        τ—Variable of integration; takes on values from time 0 to the present time t.
        I(t)—Integral term.
        U(t)—PI controller output.
    
    


A digital implementation of the PI controller 120, 122, 130, 2306, and 2804 in a microcontroller can be expressed in the form:

I[k]=Kie[k]+I[k−1]  (14)

U[k]=Kpe[k]+I[k]  (15)

Both I[k] and U[k] in Equations (14) and (15) have minimum and maximum limits to avoid the unwanted windup situation (anti-windup).
The low pass filter (LPF) 2304 in the PLL observer 2202 (See FIGS. 22-27) can be any order. For simplicity a first-order LPF with unity gain can be used, which may be expressed as:




  
    
      
        
          y
          ⁡
          
            [
            k
            ]
          
        
        =
        
          
            y
            ⁡
            
              [
              
                k
                -
                1
              
              ]
            
          
          +
          
            
              1
              
                2
                N
              
            
            ⁢
            
              {
              
                
                  x
                  ⁡
                  
                    [
                    k
                    ]
                  
                
                -
                
                  y
                  ⁡
                  
                    [
                    
                      k
                      -
                      1
                    
                    ]
                  
                
              
              }
            
          
        
      
    
    
      
        (
        16
        )
      
    
  




where:

    
    
        y[k]—Current cycle filter output.
        y[k−1]—Last cycle filter output.
        x[k]—Current cycle filter input.
        N—An integer which affects the LPF's cut-off frequency; N=1, 2, 3 . . . .
    
    


The connection of a 3-phase 2-level voltage source inverter 126 and a motor 102 are shown in FIGS. 9 and 10. The six switching devices of the inverter 126, which could be MOSFET, IGBT or similar parts, are controlled by microcontroller pulse-width modulated (PWM) signals. The motor 102 windings can be wired in star (as shown in FIG. 9(a)) or in delta formation.
Different motor 102 phase current sensing techniques can be used. In FIG. 9(b), three shunt resistors 132 are inserted to each leg of the inverter 126 to sense the current of each motor 102 phase. In FIG. 10(c), two shunt resistors 132 are inserted to two legs (e.g., phase U and V) of the inverter 126 to sense the current of two motor 102 phases. The third motor 102 phase current can be calculated easily because IU+IV+IW=0. In FIG. 10(d), a single shunt resistor 132 is inserted into to the inverter 126 DC link to sense the DC link current, and 3-phase current reconstruction can be used to obtain the current information of motor 102 phases.
If desired, an amplifier 134, which can be external amplifier, on-chip ADC gain of the microcontroller, or similar, is used to amplify the resistor 132 voltage drop which is proportional to the current of motor 102 phase or DC link. Note that a Hall sensor, a current transformer, or other current sensors can replace the shunt resistor 132 for motor 102 phase current sensing.
Compared to triple-shunt and dual-shunt current sensing, single-shunt current sensing has the following important advantages:

    
    
        1) Cost reduction as a result of one current sensor, one amplifier 134 (if any), and one ADC channel are used. Contrarily, triple-shunt and dual-shunt current sensing use multiple current sensors, amplifiers 134 (if any) and ADC channels.
        2) No need to calibrate amplifier 134 gains and offsets (which may due to component tolerance, fluctuating temperature, aging, etc.) since the same current sensing circuit and ADC channel are used for all the current measurements of motor 102 phases.
        3) Simpler and easier electronic schematics and PCB design.
    
    


Space Vector Modulation (SVM) is used to control the PWM for the inverter 126 switching devices in FIGS. 9 and 10, to create 3-phase sinusoidal waveforms to the motor 102 windings. The space vector diagram (a regular hexagon) and reference vector approximations of the SVM 124 are shown in FIG. 11. The plane is dissected in six sectors from A to F and the angle θ of the revolving reference vector {right arrow over (V)}ref=|Vref|·ejθ is transformed into the relative angle θref in each sector. {right arrow over (V)}1 to {right arrow over (V)}6 are active vectors. {right arrow over (V)}0 and {right arrow over (V)}7 do not generate any voltage difference in the inverter outputs, and are zero vectors (or passive vectors). The reference vector {right arrow over (V)}ref is approximated by two adjacent active vectors (e.g., {right arrow over (V)}1 and {right arrow over (V)}2 when {right arrow over (V)}ref is in sector A) and one or both of the zero vectors (e.g., {right arrow over (V)}0). T1, T2 and T0 correspond with the active vectors and passive vector(s), respectively (e.g., {right arrow over (V)}1, {right arrow over (V)}2, and {right arrow over (V)}0, in Sector A).
Referring to FIG. 11, and using reference vector in sector A as an example, the following portion shows the calculations of an SVM 124 arrangement. Using volt-second balancing:




  
    
      
        
          
            V
            ->
          
          ref
        
        =
        
          
            
              
                T
                0
              
              
                T
                S
              
            
            ⁢
            
              
                V
                ->
              
              
                0
                /
                7
              
            
          
          +
          
            
              
                T
                1
              
              
                T
                S
              
            
            ⁢
            
              
                V
                ->
              
              1
            
          
          +
          
            
              
                T
                2
              
              
                T
                S
              
            
            ⁢
            
              
                V
                ->
              
              2
            
          
        
      
    
    
      
        (
        17
        )
      
    
  
  
    
      
        
          T
          S
        
        =
        
          
            T
            0
          
          +
          
            T
            1
          
          +
          
            T
            2
          
        
      
    
    
      
        (
        18
        )
      
    
  




Equations (17) and (18) may be solved to yield:




  
    
      
        
          
            
              
                T
                1
              
              =
              
              ⁢
              
                
                  K
                  SVM
                
                ⁢
                
                  
                    sin
                    ⁡
                    
                      (
                      
                        
                          π
                          3
                        
                        -
                        
                          θ
                          rel
                        
                      
                      )
                    
                  
                  ·
                  
                    T
                    S
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  1
                  2
                
                ·
                
                  [
                  
                    
                      
                        
                          3
                        
                        ·
                        
                          K
                          SVM
                        
                      
                      ⁢
                      
                        cos
                        ⁡
                        
                          (
                          
                            θ
                            rel
                          
                          )
                        
                      
                    
                    -
                    
                      
                        K
                        SVM
                      
                      ⁢
                      
                        sin
                        ⁡
                        
                          (
                          
                            θ
                            rel
                          
                          )
                        
                      
                    
                  
                  ]
                
                ·
                
                  T
                  S
                
              
            
          
        
      
    
    
      
        (
        19
        )
      
    
  
  
    
      
        
          T
          2
        
        =
        
          
            K
            SVM
          
          ⁢
          
            
              sin
              ⁡
              
                (
                
                  θ
                  rel
                
                )
              
            
            ·
            
              T
              S
            
          
        
      
    
    
      
        (
        20
        )
      
    
  
  
    
      
        
          T
          0
        
        =
        
          
            T
            S
          
          -
          
            T
            1
          
          -
          
            T
            2
          
        
      
    
    
      
        (
        21
        )
      
    
  




where:

    
    
        TS—Sampling period, e.g., TS=50 μs.
        T0—Time of zero vector(s) is applied. The zero vector(s) can be {right arrow over (V)}0[000], {right arrow over (V)}7[111], or both.
        T1—Time of the 1st active vector (e.g: {right arrow over (V)}1 in sector A) is applied within one sampling period.
        T2—Time of the 2nd active vector (e.g., {right arrow over (V)}2 in sector A) is applied within one sampling period.
    
    






  
    
      K
      SVM
    
    -
    
      K
      SVM
    
  
  =
  
    
      3
    
    ·
    
      
        
          
          
            V
            ref
          
          
        
        
          V
          DC
        
      
      .
    
  




    
    
        |Vref| is the magnitude of {right arrow over (V)}ref, and VDC is the inverter 126 DC link voltage.
    
    


In various implementations, the sine/cosine functions in Equations (19) and (20) can be calculated with different methods, (e.g. use a look-up table for sine function from 0 to 60° in microcontroller memory, etc.) or be calculated by a microcontroller, and so forth.
There are many SVM 124 schemes (e.g., symmetrical or asymmetrical 7-segment schemes, symmetrical or asymmetrical 5-segment scheme, and 3-segment scheme) that result in different quality and computational requirements. An SVM 124 scheme can be selected based on microcontroller features and application requirements, for example. In an implementation, a SVM 124 can be used for a sensorless FOC arrangement 100 with either triple-shunt or dual-shunt current sensing.
In an example, during V/f open-loop startup, the SVM 124 reference vector magnitude and angle are:

|Vref|=Offset+K·ωref  (22)

θ=∫ωrefdt  (23)

where:

Offset—A offset value for |Vref| at zero speed.
K—V/f constant.
The herein discussed sensorless FOC control techniques are well suited for some microcontrollers that have hardware coprocessors. For example, the coprocessor can compute trigonometric, linear, hyperbolic and related functions to offload the processor-intensive tasks from CPU and thus accelerate system performance. The table below gives examples of computations that could be used in the proposed control techniques.











Coprocessor











Operating
Initial




Mode
Data
Final Result Data Note 1
Calculation





Circular Vectoring  Mode
X Y Z
Xfinal = K{square root over (X2 + Y2)}/MPS Yfinal = 0 



  
    Z
    final
  
  =
  
    Z
    +
    
      arctan
      (
      
        Y
        X
      
      )
    
  



 1). To solve the Cartesian to Polar Transform of current, set X = Iα/ K, Y = Iβ/K, and Z = 0. 2). Specially, set Z = −θ to calculate Cartesian to Polar Transform of current and angle subtract (γ − θ) with one single calculation.
Cartesian to Polar Transform: |Vref| = {square root over (Vd2 + Vq2)} 



  Θ
  =
  
    arctan
    (
    
      
        V
        q
      
      
        V
        d
      
    
    )
  



 |I| = {square root over (Iα2 + Iβ2)} 



  γ
  =
  
    arctan
    (
    
      
        I
        β
      
      
        I
        α
      
    
    )
  



 Angle addition/subtraction: θ = Θ + {circumflex over (φ)} γ − θ


 


Circular Rotation  Mode
X Y Z
Xfinal = K[Xcos(Z) − Ysin(Z)]/MPS Yfinal = K[Ycos(Z) + Xsin(Z)]/MPS Zfinal = 0 1). To calculate |Vref|sin(γ − θ), set X = |Vref|/K, Y = 0, Z = γ − θ. 2). For SVM, first use one calculation to get KSVM cos(θrel) and KSVM sin(θrel), then use multiplication and subtraction of CPU to get T1 and T2.
Park Transform: Id = Iαcos({circumflex over (φ)}) + Iβsin({circumflex over (φ)}) Iq = −Iαsin({circumflex over (φ)}) + Iβcos({circumflex over (φ)}) Sine function: |Vref|sin(γ − θ) SVM time: 



  
    T
    1
  
  =
  
    
      1
      2
    
    ·
    
      [
      
        
          
            
              3
            
            ·
            
              K
              SVM
            
          
          ⁢
          
            cos
            ⁡
            
              (
              
                θ
                rel
              
              )
            
          
        
        -
        
          
            K
            SVM
          
          ⁢
          
            sin
            ⁡
            
              (
              
                θ
                rel
              
              )
            
          
        
      
      ]
    
    ·
    
      T
      S
    
  



 T2 = KSVMsin(θrel) · TS









Example Angle Addition Technique for FOC Structures
As shown in FIGS. 12 and 13, in various implementations, sensored (FIG. 12) and sensorless (FIG. 13) FOC structure arrangements 100, which can include method or process steps of operation, are operated without the computation-intensive Inverse Park Transform 112. For example, in some implementations, as in the implementations of FIGS. 12 and 13, a FOC structure arrangement 100 uses magnitude and angle to represent the voltage space vector in polar coordinate systems. In the implementations, the Inverse Park Transform 112, with sine and cosine functions, which are used in some FOC arrangements 100 (see FIGS. 1 and 2), can be replaced by addition of angles, while keeping the voltage space vector magnitude |Vref| unchanged.
In an example, the addition of angles can be computed precisely and instantly (e.g., angle addition operations can be done within one, or a few system clocks with most microcontrollers). This is illustrated in the table below, which shows the angle addition techniques used for the FOC arrangements 100 of FIGS. 12 and 13.












Transformation
FOC 100 of FIGS. 1 and 2
FOC 100 of FIGS. 12 and 13







uvw to α-β Transform
Clarke Transform 114: Iα = Iu Iβ = (Iu + 2Iv)/{square root over (3)} (Iu + Iv + Iw = 0) In matrix form: 



  
    [
    
      
        
          
            I
            α
          
        
      
      
        
          
            I
            β
          
        
      
    
    ]
  
  =
  
    
      [
      
        
          
            1
          
          
            0
          
        
        
          
            
              1
              /
              
                3
              
            
          
          
            
              2
              /
              
                3
              
            
          
        
      
      ]
    
    ⁡
    
      [
      
        
          
            
              I
              u
            
          
        
        
          
            
              I
              v
            
          
        
      
      ]
    
  




Same as FOC arrangement 100 of FIGS. 1 and 2


 


Stationary coordinate system to rotating coordinate system Transform
Park Transform 110: Id = Iαcos(φ) + Iβsin(φ) Iq = −Iαsin(φ) + Iβcos(φ) In matrix form: 



  
    [
    
      
        
          
            I
            d
          
        
      
      
        
          
            I
            q
          
        
      
    
    ]
  
  =
  
    
      [
      
        
          
            
              cos
              ⁡
              
                (
                φ
                )
              
            
          
          
            
              sin
              ⁡
              
                (
                φ
                )
              
            
          
        
        
          
            
              -
              
                sin
                ⁡
                
                  (
                  φ
                  )
                
              
            
          
          
            
              cos
              ⁡
              
                (
                φ
                )
              
            
          
        
      
      ]
    
    ⁡
    
      [
      
        
          
            
              I
              α
            
          
        
        
          
            
              I
              β
            
          
        
      
      ]
    
  




Same as FOC arrangement 100 of FIGS. 1 and 2


 


Rotating coordinate system to stationary coordinate system Transform
Inverse Park Transform 112: Vα = Vdcos(φ) − Vqsin(φ) Vβ = Vdsin(φ) + Vqcos(φ) In matrix form: 



  
    [
    
      
        
          
            V
            α
          
        
      
      
        
          
            V
            β
          
        
      
    
    ]
  
  =
  
    
      [
      
        
          
            
              cos
              ⁡
              
                (
                φ
                )
              
            
          
          
            
              -
              
                sin
                ⁡
                
                  (
                  φ
                  )
                
              
            
          
        
        
          
            
              sin
              ⁡
              
                (
                φ
                )
              
            
          
          
            
              cos
              ⁡
              
                (
                φ
                )
              
            
          
        
      
      ]
    
    ⁡
    
      [
      
        
          
            
              V
              d
            
          
        
        
          
            
              V
              q
            
          
        
      
      ]
    
  



 
Addition of angles: θ = Θ + φ (±2nπ) 



  
    where
    ⁢
    
      
    
    ⁢
    θ
  
  =
  
    arctan
    (
    
      
        V
        β
      
      
        V
        α
      
    
    )
  



 



  Θ
  =
  
    arctan
    (
    
      
        V
        q
      
      
        V
        d
      
    
    )
  



 φ—Rotor position/angle n = 0, ±1, ±2, ±3, or . . . * Magnitude maintains, i.e., |Vref| = {square root over (Vα2 + Vβ2)} = {square root over (Vd2 + Vq2)}


 


Cartesian to Polar Transform
|Vref| = {square root over (Vα2 + Vβ2)}  



  θ
  =
  
    arctan
    (
    
      
        V
        β
      
      
        V
        α
      
    
    )
  




|Vref| = {square root over (Vd2 + Vq2)} 



  Θ
  =
  
    arctan
    (
    
      
        V
        q
      
      
        V
        d
      
    
    )
  






 


Polar to Cartesian Transform
Not used
For sensorless FOC: Vα = |Vref|cos(θ) Vβ = |Vref|sin(θ)





Note *:


Mathematically n can be any integer. Usually select one n (e.g., n = 0)






Accordingly, in an implementation, the Inverse Park Transform 112 is bypassed in a FOC arrangement 100, as shown in FIGS. 12 and 13. Instead, the angles Φ and φ are added to produce θ, where




  Θ
  =
  
    arctan
    ⁡
    
      (
      
        
          V
          q
        
        
          V
          d
        
      
      )
    
  




and φ is the rotor position/angle. In one example, the magnitude of the voltage space vector |Vref| is calculated with Vd and Vq, as shown in the table above. This represents a manipulation of the voltage space vector in a polar coordinate system, as also shown.

For example, as shown in FIG. 13, in a sensorless FOC arrangement 100, a Polar to Cartesian Transform 1302 may be used in the slow control loop to generate Vα and Vβ for the position estimator 202, using |Vref| and θ as inputs.
In various implementations, calculations executed for the various modules of the FOC arrangement 100 may be performed on a computing device (e.g., microprocessor, microcontroller, CPU, etc.), they may be accessed via a look-up table, or a combination of both. For example, the look-up table may be stored in a local or remote memory device, or the like, and may be accessed by a computing device.
In an alternate implementation, as shown in FIG. 14, a sensored FOC arrangement 100 can also bypass the Park Transform 110 and the Clarke Transform 114. In the implementation, the current variables Iα and β are inessential, and current variables Id and Iq may be output from a uvw to d-q Transform 1402.
For example, the mathematical expressions from the Park Transform 110 and the Clark Transform 114 may be combined in matrix form to yield:




  
    
      
        
          [
          
            
              
                
                  I
                  d
                
              
            
            
              
                
                  I
                  q
                
              
            
          
          ]
        
        =
        
          
            
              [
              
                
                  
                    
                      cos
                      ⁡
                      
                        (
                        φ
                        )
                      
                    
                  
                  
                    
                      sin
                      ⁡
                      
                        (
                        φ
                        )
                      
                    
                  
                
                
                  
                    
                      -
                      
                        sin
                        ⁡
                        
                          (
                          φ
                          )
                        
                      
                    
                  
                  
                    
                      cos
                      ⁡
                      
                        (
                        φ
                        )
                      
                    
                  
                
              
              ]
            
            ⁡
            
              [
              
                
                  
                    1
                  
                  
                    0
                  
                
                
                  
                    
                      1
                      /
                      
                        3
                      
                    
                  
                  
                    
                      2
                      /
                      
                        3
                      
                    
                  
                
              
              ]
            
          
          ⁡
          
            [
            
              
                
                  
                    I
                    u
                  
                
              
              
                
                  
                    I
                    v
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        24
        )
      
    
  




These can be simplified to form the uvw to d-q Transform 1402 as shown below:




  
    
      
        
          
            [
            
              
                
                  
                    I
                    d
                  
                
              
              
                
                  
                    I
                    q
                  
                
              
            
            ]
          
          =
          
            
              
                K
                1
              
              ⁡
              
                [
                
                  
                    
                      
                        cos
                        ⁡
                        
                          (
                          
                            φ
                            -
                            
                              π
                              6
                            
                          
                          )
                        
                      
                    
                    
                      
                        sin
                        ⁡
                        
                          (
                          φ
                          )
                        
                      
                    
                  
                  
                    
                      
                        -
                        
                          sin
                          ⁡
                          
                            (
                            
                              φ
                              -
                              
                                π
                                6
                              
                            
                            )
                          
                        
                      
                    
                    
                      
                        cos
                        ⁡
                        
                          (
                          φ
                          )
                        
                      
                    
                  
                
                ]
              
            
            ⁡
            
              [
              
                
                  
                    
                      I
                      u
                    
                  
                
                
                  
                    
                      I
                      v
                    
                  
                
              
              ]
            
          
        
        ⁢
        
          

        
        ⁢
        or
      
    
    
      
        (
        25
        )
      
    
  
  
    
      
        
          [
          
            
              
                
                  I
                  d
                
              
            
            
              
                
                  I
                  q
                
              
            
          
          ]
        
        =
        
          
            
              K
              1
            
            ⁡
            
              [
              
                
                  
                    
                      sin
                      ⁡
                      
                        (
                        
                          φ
                          +
                          
                            π
                            3
                          
                        
                        )
                      
                    
                  
                  
                    
                      sin
                      ⁡
                      
                        (
                        φ
                        )
                      
                    
                  
                
                
                  
                    
                      cos
                      ⁡
                      
                        (
                        
                          φ
                          +
                          
                            π
                            3
                          
                        
                        )
                      
                    
                  
                  
                    
                      cos
                      ⁡
                      
                        (
                        φ
                        )
                      
                    
                  
                
              
              ]
            
          
          ⁡
          
            [
            
              
                
                  
                    I
                    u
                  
                
              
              
                
                  
                    I
                    v
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        26
        )
      
    
  




where: K1 is a scaling factor;





  
    
      K
      1
    
    =
    
      2
      
        3
      
    
  
  ,




which can be neglected (i.e., make K1=1). In an example, the scaling factor





  2
  
    3
  




can be combined with other scaling factors of the FOC control strategy (e.g., current sensing and amplification, analog-to-digital conversion, etc.). In an implementation, a look-up table is used for sine functions, for example, to optimize control loop speed.

In another alternate implementation, as shown in FIG. 15, the Inverse Park Transform 112 may be moved to the slow control loop, instead of being bypassed, or operating in the fast control loop. In one example, the voltages Vα and Vβ can be calculated from Vd and Vq using an Inverse Park Transform 112, but the Inverse Park Transform 112 may be a part of the slow control loop for rotor position estimation (e.g., at 202), as shown in the FOC arrangement 100 of FIG. 15.
In an implementation, this alternate FOC control strategy has improved fast control loop efficiency compared to the FOC arrangement of FIG. 2. To further increase the calculation speed, the Inverse Park Transform 112 can be calculated by a coprocessor of a microcontroller at the same time that the microcontroller is computing for the SVM modulator 124, or other module, for instance.
Example Stator Flux Magnitude and Direction Technique for FOC Structures
As shown in FIGS. 16 and 17, in various implementations, sensored (FIG. 16) and sensorless (FIG. 17) FOC structure arrangements 100, which can include method or process steps of operation, are operated without the computation-intensive Park Transform 110 and Inverse Park Transform 112. For example, in some implementations, as in the implementations of FIGS. 16 and 17, a FOC structure arrangement 100 includes stator flux magnitude and direction control strategies. For example, the FOC arrangement 100 of FIGS. 16 and 17 use stator magnetic flux (or current space vector) magnitude and angle control, including angle subtraction or addition to replace complex Park Transform 110 and/or Inverse Park Transform 112.
In various implementations, the control strategies use polar coordinates instead of Cartesian coordinates to represent motor space vectors, so that the complex Cartesian reference frame transformations (e.g., Park Transform 110 and Inverse Park Transform 112 with sine and cosine functions, which are used in FOC arrangements 100 of FIGS. 1 and 2) can be replaced by subtraction and addition of angles, while keeping space vector magnitudes unchanged.
In an example, the subtraction and addition of angles can be computed precisely and instantly (addition or subtraction operations can be done within one, or a few system clocks with many microcontrollers). This is illustrated in the table below, which shows the angle subtraction and addition techniques used for the FOC arrangements 100 of FIGS. 16 and 17.












Transformation
FOC 100 of FIGS. 1 and 2
FOC 100 of FIGS. 16 and 17







uvw to α-β Transform
Clarke Transform 114: Iα = Iu Iβ = (Iu + 2Iv)/{square root over (3)} (Iu + Iv + Iw = 0) In matrix form: 



  
    [
    
      
        
          
            I
            α
          
        
      
      
        
          
            I
            β
          
        
      
    
    ]
  
  =
  
    
      [
      
        
          
            1
          
          
            0
          
        
        
          
            
              1
              /
              
                3
              
            
          
          
            
              2
              /
              
                3
              
            
          
        
      
      ]
    
    ⁡
    
      [
      
        
          
            
              I
              u
            
          
        
        
          
            
              I
              v
            
          
        
      
      ]
    
  




Same as FOC arrangement 100 of FIGS. 1 and 2


 


Stationary coordinate system to rotating coordinate system Transform
Park Transform 110: Id = Iαcos(φ) + Iβsin(φ) Iq = −Iαsin(φ) + Iβcos(φ) In matrix form: 



  
    [
    
      
        
          
            I
            d
          
        
      
      
        
          
            I
            q
          
        
      
    
    ]
  
  =
  
    
      [
      
        
          
            
              cos
              ⁡
              
                (
                φ
                )
              
            
          
          
            
              sin
              ⁡
              
                (
                φ
                )
              
            
          
        
        
          
            
              -
              
                sin
                ⁡
                
                  (
                  φ
                  )
                
              
            
          
          
            
              cos
              ⁡
              
                (
                φ
                )
              
            
          
        
      
      ]
    
    ⁡
    
      [
      
        
          
            
              I
              α
            
          
        
        
          
            
              I
              β
            
          
        
      
      ]
    
  




Subtraction of angles: Γ = γ − φ (±2mπ) 



  
    where
    ⁢
    
      
    
    ⁢
    Γ
  
  =
  
    arctan
    (
    
      
        I
        q
      
      
        I
        d
      
    
    )
  



 



  γ
  =
  
    arctan
    (
    
      
        I
        β
      
      
        I
        α
      
    
    )
  



 φ—Rotor position/angle m = 0, ±1, ±2, ±3, or . . . * Magnitude maintains, i.e., |I| = {square root over (Id2 + Iq2)} = {square root over (Iα2 + Iβ2)}


 


Rotating coordinate system to stationary coordinate system Transform
Inverse Park Transform 112: Vα = Vdcos(φ) − Vqsin(φ) Vβ = Vdsin(φ) + Vqcos(φ) In matrix form: 



  
    [
    
      
        
          
            V
            α
          
        
      
      
        
          
            V
            β
          
        
      
    
    ]
  
  =
  
    
      [
      
        
          
            
              cos
              ⁡
              
                (
                φ
                )
              
            
          
          
            
              -
              
                sin
                ⁡
                
                  (
                  φ
                  )
                
              
            
          
        
        
          
            
              sin
              ⁡
              
                (
                φ
                )
              
            
          
          
            
              cos
              ⁡
              
                (
                φ
                )
              
            
          
        
      
      ]
    
    ⁡
    
      [
      
        
          
            
              V
              d
            
          
        
        
          
            
              V
              q
            
          
        
      
      ]
    
  




Addition of angles: θ = Θ + φ (±2nπ) 



  
    where
    ⁢
    
      
    
    ⁢
    θ
  
  =
  
    arctan
    (
    
      
        V
        β
      
      
        V
        α
      
    
    )
  



 



  Θ
  =
  
    arctan
    (
    
      
        V
        q
      
      
        V
        d
      
    
    )
  



 φ—Rotor position/angle n = 0, ±1, ±2, ±3, or . . . ** Magnitude maintains, i.e., |Vref| = {square root over (Vα2 + Vβ2)} = {square root over (Vd2 + Vq2)}


 


Cartesian to Polar Transform
|Vref| = {square root over (Vα2 + Vβ2)}  



  θ
  =
  
    arctan
    (
    
      
        V
        β
      
      
        V
        α
      
    
    )
  




|I| = {square root over (Iα2 + Iβ2)} 



  γ
  =
  
    arctan
    (
    
      
        I
        β
      
      
        I
        α
      
    
    )
  






 


Polar to Cartesian Transform
Not used
For sensorless new strategies: Vα = |Vref|cos(θ) Vβ = |Vref|sin(θ)





Note *:


Mathematically m can be any integers. Usually select one m so that Γ is near to π/2.


Note **:


Mathematically n can be any integers. Usually select one n (e.g., n = 0)






Accordingly, in an implementation, the Park Transform 110 and Inverse Park Transform 112 are bypassed in a FOC arrangement 100, as shown in FIGS. 16 and 17. Instead, the angles γ−φ are subtracted to produce Γ, where




  γ
  =
  
    arctan
    ⁡
    
      (
      
        
          I
          β
        
        
          I
          α
        
      
      )
    
  




and φ is the rotor position/angle, and the angles Φ and φ are added to produce θ, where





  Θ
  =
  
    arctan
    ⁡
    
      (
      
        
          V
          q
        
        
          V
          d
        
      
      )
    
  




and φ is the rotor position/angle. In one example, the magnitude of the voltage space vector |Vref| is calculated with Vd and Vq, as shown in the table above. This represents a manipulation of the voltage space vector in a polar coordinate system, as also shown.

For example, in steady state, the magnitudes of the PMSM motor space vectors (i.e., current space vector, stator and rotor magnetic flux space vectors, and voltage space vector) are constants, while their directions are stationary in the rotating polar coordinate system which is fixed to the rotor. So it is possible to use PID controllers to control the stator flux magnitude and direction to achieve constant speed and controlled torque for quiet motor operation, and also control the stator flux to be perpendicular to the rotor flux for maximum energy efficiency. With polar coordinate systems the reference frame transformations for motor control can be done by subtraction or addition of angles, so computation-friendly motor control with fast control loop are achieved.
In various implementations, as shown in FIGS. 16 and 17, after ADC 116 conversions and Clarke Transform 114 to get currents Iα and Iβ, a Cartesian to Polar Transform 128 is used to get the magnitude |I| and direction (e.g., angle) γ of the current space vector. Instead of using complex Park Transform 110, subtractions of angles Γ=γ−φ achieve the transformation from the stationary coordinate system to the rotating coordinate system. To obtain maximum torque and power efficiency, magnitude and direction PI controllers 120, 122 are used to control the magnitude and direction of voltage space vector, respectively, to make the stator flux space vector perpendicular to the rotor magnetic field, (i.e., forcing Γ to be π/2 (or −π/2)). In the implementations, it is also possible to control Γ between π and π/2 to decrease the magnetic flux of the motor air gap (i.e., flux-weakening control) to extend the operating speed range of the motor 102.
An addition of angles θ=Φ+φ accomplishes the transformation from the rotating coordinate system to the stationary coordinate system, in place of Inverse Park Transform 112 of FOC arrangements of FIGS. 1 and 2. The magnitude |Vref| and angle θ of the voltage space vector, together with the inverter 126 DC link voltage information, are sent to SVM 124 to control the inverter 126 output for the motor 102.
The speed PI controller 130 output is the reference for the magnitude PI controller 120. As described above, the rotor position (at 106) and speed calculation (at 108), speed PI control 130 are the slow control loop of the FOC arrangement 100. In some sensorless implementations, as shown in FIG. 17, a Polar to Cartesian Transform 1302 is used in the slow control loop to generate Vα and Vβ for the position estimator 202. The other computing blocks of the FOC arrangements 100, as shown in FIGS. 16 and 17 are the fast stator flux control loop.
Without Park Transform 110 and Inverse Park Transform 112 which are used with the FOC arrangements of FIGS. 1 and 2, the fast control loop becomes much simpler and faster. For example, fewer and simpler calculations also mean less accumulative calculation errors, especially for low-end microcontrollers.
To provide the highest performance for both sensored and sensorless control strategies as shown in FIGS. 16 and 17, two calculations: 1) Cartesian to Polar Transform to get magnitude |I| and angle γ, and 2) subtraction of angles Γ=γ−φ, can be computed with one calculation when using some microcontrollers with a coprocessor. In other words, both calculations can consume very little CPU time. For a sensorless control strategy as shown in FIG. 17, the Polar to Cartesian Transform 1302 to get Vα and Vβ can be computed simultaneously by the coprocessor of a microcontroller while the CPU is computing for the SVM modulator 124, or the like. Additionally, a look-up table of sine function from 0 to 90° can be used and can be re-used by the SVM modulator 124, or others, to maximize memory usage.
In various implementations, several varieties of stator flux magnitude and direction control strategies may be implemented. FIGS. 18 and 19 show two alternative strategies for sensored FOC arrangements 100. For example, a sensored stator flux magnitude and direction control strategy (i.e., FOC arrangement 100) with a direct uvw to Polar Transform 1802 (i.e., without Clarke Transform 114) is shown in FIG. 18. For instance, the arrangement 100 shown in FIG. 18 uses a uvw to Polar Transform 1802, as described by the equations below:




  
    
      
        
          
          I
          
        
        =
        
          
            K
            1
          
          ⁢
          
            
              
                I
                u
                2
              
              +
              
                I
                v
                2
              
              +
              
                
                  I
                  u
                
                ⁢
                
                  I
                  v
                
              
            
          
        
      
    
    
      
        (
        27
        )
      
    
  
  
    
      
        γ
        =
        
          arctan
          ⁡
          
            (
            
              
                
                  I
                  u
                
                +
                
                  2
                  ⁢
                  
                    I
                    v
                  
                
              
              
                
                  3
                
                ·
                
                  I
                  u
                
              
            
            )
          
        
      
    
    
      
        (
        28
        )
      
    
  




where: K1 is a scaling factor;




  
    
      K
      1
    
    =
    
      2
      
        3
      
    
  
  ,




which can be neglected (i.e., make K1=1). In an example, the scaling factor





  2
  
    3
  




can be combined with other scaling factors of the FOC control strategy (e.g., current sensing and amplification, analog-to-digital conversion, etc.).

In an implementation, varieties of alternate control strategies are combined to form the FOC arrangement 100 shown in FIG. 19. For example, in a case where the chosen microcontroller is better suited to computing squares than a square root function, it is possible to use |I|2 instead of |I| as the feedback of the magnitude PI controller 120. In such a case, a pseudo uvw to Polar Transform 1902 may be used as shown in FIG. 19, and described by the equations below:




  
    
      
        
          
            
            I
            
          
          2
        
        =
        
          
            I
            u
            2
          
          +
          
            I
            v
            2
          
          +
          
            
              I
              u
            
            ⁢
            
              I
              v
            
          
        
      
    
    
      
        (
        29
        )
      
    
  
  
    
      
        γ
        =
        
          arctan
          ⁡
          
            (
            
              
                
                  I
                  u
                
                +
                
                  2
                  ⁢
                  
                    I
                    v
                  
                
              
              
                
                  3
                
                ·
                
                  I
                  u
                
              
            
            )
          
        
      
    
    
      
        (
        30
        )
      
    
  




FIGS. 20 and 21 illustrate a few possible alternatives for both sensored and sensorless FOC arrangements 100 as depicted in FIGS. 16 and 17. For simplicity, only the left sides of the arrangements 100, which are common for both sensored and sensorless arrangements 100, are shown in FIGS. 20 and 21.
In various implementations, both sensored and sensorless FOC arrangements 100 can use (Γ−π/2) as feedback for the direction PI controllers 122. Additionally, FOC arrangements 100 can control (Γ−π/2) to 0, as shown in FIG. 20(a).
Referring to FIG. 20(b), on the feedback path to the magnitude PI controllers 120 of sensored and sensorless FOC arrangements 100, sine functions 2002 can be used in some applications (i.e., use torque generating component |I|sin(Γ) as the feedback as shown in FIG. 20(b). In steady state, the direction PI controller 122 forces F to be close to π/2, hence |I|sin(Γ) is very close to |I|. In case Γ is far from π/2 in transient state, the sine function 2002 can be calculated by the computing device (or look-up table). Alternatively, the sine function 2002 can be computed concurrently by a coprocessor of a microcontroller when the CPU is computing for the direction PI controller 122, to speed-up the fast control loop calculations.
In an implementation, as shown in FIGS. 21(a) and (b), the FOC arrangement 100 uses |I|2=Iα2+Iβ2 instead of |I| as the feedback of the magnitude PI controllers 120. This may improve performance when the selected microcontroller is faster at computing squares than the square root function, for example. In an example, as shown in FIGS. 21(a) and (b), a Pseudo Cartesian to Polar Transform 2102 may be used in place of the Cartesian to Polar Transform 128 used in the arrangements 100 of FIGS. 16 and 17. Example equations for the Pseudo Cartesian to Polar Transform 2102 include:




  
    
      
      I
      
    
    2
  
  =
  
    
      
        I
        α
        2
      
      +
      
        
          I
          β
          2
        
        ⁢
        
          
        
        ⁢
        where
        ⁢
        
          
        
        ⁢
        γ
      
    
    =
    
      arctan
      ⁢
      
        
      
      ⁢
      
        (
        
          
            I
            β
          
          
            I
            α
          
        
        )
      
    
  




Depending on different system requirements, the final control strategies can be any combinations of the new control strategies as shown in FIGS. 18-21. For example, FIG. 21(b) is a combination of the strategies shown in FIG. 20(a) and FIG. 21(a), respectively.
Example Rotor Position and Speed Observer Implementations
In an implementation, the sensorless FOC structure arrangement 100 of FIG. 22 includes the same (or similar) motor 102 phase current sensing, ADC 116, and current calculation 115, Clarke Transform 114, Park Transform 110, PI controllers 120, 122, 130, SVM modulation 124, PWM unit 118, and 3-phase 2-level voltage source inverter 126 as the sensorless FOC arrangement 100 of FIG. 2. However, the FOC structure arrangement 100 of FIG. 22 uses Cartesian to Polar Transform 128 of Vd/Vq and addition of angles θ=Φ+{circumflex over (φ)} to replace conventional Inverse Park Transform 112 of Vd/Vq and Cartesian to Polar Transform 128 of Vα/Vβ.
In various implementations, as shown in FIG. 22, a sensorless FOC structure arrangement 100, which can include method or process steps of operation, includes a stator-resistance-insensitive rotor position and speed observer 2202 with a phase-locked loop (PLL) structure (“PLL observer” hereinafter). The PLL observer 2202 uses the relatively stable stator inductance L and does not rely on stator resistance R, resulting in robust operation over a wide temperature range. In an implementation, the PLL observer 2202 uses |Vref|, θ, Iα and Iβ (or similar) to estimate the rotor position and speed. Further, the PLL observer 2202 uses a PLL structure to estimate the rotor position and/or speed, and to force




  ɛ
  =
  
    
      
        
          
          
            V
            ref
          
          
        
        ⁢
        
          sin
          ⁡
          
            (
            
              γ
              -
              θ
            
            )
          
        
      
      +
      
        ω
        ⁢
        
          
        
        ⁢
        L
        ⁢
        
          
          I
          
        
      
    
    ≈
    
      0
      ⁢
      
        
      
      ⁢
      
        (
        
          
            or
            ⁢
            
              
            
            ⁢
            
              ɛ
              L
            
          
          =
          
            
              
                
                  
                    
                    
                      V
                      ref
                    
                    
                  
                  L
                
                ⁢
                
                  sin
                  ⁡
                  
                    (
                    
                      γ
                      -
                      θ
                    
                    )
                  
                
              
              +
              
                ω
                ⁢
                
                  
                  I
                  
                
              
            
            ≈
            0
          
        
        )
      
    
  




constantly, which forces the stator flux to be perpendicular to the rotor flux, maximizing energy efficiency of the motor 102. Further, this will also drive the estimated rotor position {circumflex over (φ)} and estimated speed {circumflex over (ω)} to be very close to their real quantities φ and ωr, respectively.

In one implementation, for example as shown in FIG. 22, the PI controller 130 is not used. In such an implementation, a reference current for the torque generating component Iq is input directly to the summing junction fed by the PI controller 130 illustrated in the figures, eliminating the need for the PI controller. The PLL observer 2202, as well as the {circumflex over (ω)}additional illustrated PLL observers described herein, in such a scenario does not provide the output as an input to the PI controller 130.
FIGS. 23 and 24 illustrate two alternate examples of PLL observers 2202. The sensorless FOC arrangement 100 with PLL observer 2202 (as shown in FIG. 22) can lock the motor 102 at a desired speed with maximum energy efficiency in steady state, regardless of low motor speed (due to the stator-resistance-insensitivity) or high motor speed. So the PLL observer 2202 can easily eliminate the need for a mechanical rotor sensor 104, which can be expensive and trouble-prone.
In various implementations, as shown in FIGS. 23 and 24, the PLL observer 2202 uses |Vref|, θ, Iα and Iβ as input signals, and outputs estimated rotor position {circumflex over (φ)} (via integrator 2302, for example) and speed {circumflex over (ω)} (via low pass filter (LPF) 2304, for example). The PI controller 2306 output speed w is used in the calculation of ωL|I| or ωI| in the next control cycle, forming a PLL structure. In some examples, an optional low pass filter LPF 2304 can be applied to both |Vref|sin(γ−θ) and L|I|, as shown in FIG. 23, or to ε=|Vref|sin (γ−θ)+ωL|I| directly. In various examples, the PI controller 2306 can be any other controllers that are appropriate.
FIG. 25 shows an alternative sensorless FOC arrangement 100, having an alternate PLL observer 2202. The arrangement 100 of FIG. 25 is similar to the arrangement 100 of FIG. 2, except the position estimator 202 and speed calculation 108 have been replaced by a new alternate PLL observer 2202. In some implementations, the Cartesian to Polar Transform 128 of (Vα, Vβ) of FIG. 25 can be neglected, and instead the voltages Vα and Vβ are sent to the SVM modulator 124 directly.
The alternate PLL observer 2202 of FIG. 25 is elaborated in FIG. 26. The input signals to this PLL observer are Vα, Vβ, Iα and Iβ. The Park Transform 110 of the voltage space vector with the angle of the current space vector (i.e., γ) is:

Vi=Vαcos(γ)+Vβsin(γ)  (31)

Vp=−Vαsin(γ)+Vβcos(γ)  (32)

where:

    
    
        Vi—Component of voltage space vector in the direction of the current space vector.
        Vp—Component of voltage space vector in the direction perpendicular to current space vector.
    
    


Note the following Polar to Cartesian Transform 1302 of the voltage space vector:

Vα=|Vref|cos(θ)  (33)

Vβ=|Vref|sin(θ)  (34)

Combine Equations (32), (33) and (34) to get:

Vp=|Vref|sin(θ−γ)  (35)

With Equation (35), the feedback signal to the PI controller 2306 shown in FIG. 26 can be written as:

ε=ωL|I|−Vp=|Vref|sin(γ−θ)+ωL|I|  (36)

The table below summarizes the mathematical transformations used by the sensorless FOC arrangement 100 with alternate PLL observer as shown in FIGS. 25 and 26.













Transformation
Equations Note 1








Clarke Transform
Iα = Iu Iβ = (Iu + 2Iv)/{square root over (3)} (Iu + Iv + Iw = 0)



Park Transform of current with angle {circumflex over (φ)}
Id = Iαcos({circumflex over (φ)}) + Iβsin({circumflex over (φ)}) Iq = −Iαsin({circumflex over (φ)}) + Iβcos({circumflex over (φ)})



Inverse Park Transform
Vα = Vdcos({circumflex over (φ)}) − Vqsin({circumflex over (φ)}) Vβ = Vdsin({circumflex over (φ)}) + Vqcos({circumflex over (φ)})


 



Cartesian to Polar Transform of voltage
|Vref| = {square root over (Vα2 + Vβ2)}  



  θ
  =
  
    arctan
    (
    
      
        V
        β
      
      
        V
        α
      
    
    )
  






 



Cartesian to Polar Transform of current
|I| = {square root over (Iα2 + Iβ2)} 



  γ
  =
  
    arctan
    (
    
      
        I
        β
      
      
        I
        α
      
    
    )
  






 



Park Transform of voltage with angle γ
Vi = Vαcos(γ) + Vβsin(γ) Vp = −Vαsin(γ) + Vβcos(γ)





Note 1:


The superscript “  ” denotes the estimated quantities.






Another alternative PLL observer is shown in FIG. 27. It uses |Vref|, θ, Iα, and Iβ as inputs and thus can replace the PLL observer shown in FIG. 22. With the same processor, this alternative PLL observer may use slightly longer calculation time when compared to the PLL observers shown FIGS. 23 and 24.
Example Maximum Efficiency Tracking (MET) Control Strategies
Most existing position and speed estimators for sensorless FOC controllers are based on back electro-motive force (BEMF), and do not work well at zero or low motor speed. So an open-loop motor startup (e.g., V/f control) is used for these sensorless FOC controllers. A typical 2-step motor startup mechanism is V/f open-loop→FOC closed-loop:

    
    
        1). First the motor will start to turn by a V/f open-loop control and ramp up to a user-defined speed;
        2). from this point on the FOC closed-loop control will handle the motor.
    
    


V/f open-loop control can have poor energy efficiency; and generally the higher the motor speed, the greater power it consumes. A typical 2-step motor startup mechanism normally transitions from V/f open-loop to FOC closed-loop at relatively high motor speed, causing a high startup power (or current). Furthermore, it can be problematic to fine-tune the estimator to achieve smooth transition from open-loop startup to closed-loop FOC operation for all working conditions.
Maximum Efficiency Tracking (MET) is a sensorless control technique (as shown with the example MET control strategies 2800 of FIGS. 28-31, and which can include method or process steps of operation) for a motor 102, and tracks the maximum energy efficiency of the motor 102. It uses the relatively stable stator inductance L and is not sensitive to the stator resistance R. Further, a MET control technique can be used with the sensorless FOC structure arrangements 100 discussed herein for smooth transitions from open-loop startup to closed-loop control.
In an implementation, a MET control technique includes changing the angle θ of the SVM 124 reference vector {right arrow over (V)}f at constant speed, as set by a user-defined reference speed




  
    (
    
      
        i
        .
        e
        .
      
      ,
      
        θ
        =
        
          ∫
          
            
              ω
              ref
            
            ⁢
            
              d
              t
            
          
        
      
      ,
      
        
          or
          ⁢
          
            
          
          ⁢
          
            
              d
              θ
            
            
              d
              t
            
          
        
        =
        
          ω
          ref
        
      
    
    )
  
  ⁢
  
    ;
  




and concurrently controlling the magnitude |Vref| to force ε=|Vref|sin (γ−θ)+ωrefL|I|≈0 for the MET arrangement 2800 of FIG. 28, or





  
    ɛ
    L
  
  =
  
    
      
        
          
            
            
              V
              ref
            
            
          
          L
        
        ⁢
        
          sin
          ⁡
          
            (
            
              γ
              -
              θ
            
            )
          
        
      
      +
      
        
          ω
          ref
        
        ⁢
        
          
          I
          
        
      
    
    ≈
    0
  




for the MET arrangement 2800 of FIG. 29, constantly, thus forcing the stator flux to be perpendicular to the rotor flux, and maximizing the energy efficiency of the motor 102.

In various implementations, the MET control technique for a FOC structure arrangement 100 achieves a 3-step motor 102 startup: V/f open-loop→MET closed-loop→FOC closed-loop. This 3-step motor 102 startup sequence provides smooth and low-power startup for sensorless FOC arrangements 100.
FIGS. 28-31 illustrate sensorless MET control arrangements 2800. A MET arrangement 2800 has the same motor 102 phase current sensing, ADC 116 and current calculation 115, Clarke Transform 114, SVM modulation 124 and PWM unit 118, and 3-phase 2-level voltage source inverter 126 as the sensorless FOC arrangement 100 of FIG. 2. However, the sensorless MET arrangements 2800 have no Park Transform 110 or Inverse Park Transform 112, no position estimator 202 or speed estimator 108, and one PI controller 2804.
In various implementations, MET arrangements 2800 use a Cartesian to Polar Transform 128 to get magnitude and angle information of the current space vector, instead of a voltage space vector, as in FOC arrangements. In an implementation, MET arrangements 2800 use a V/f open-loop motor startup 2806 (SW1 2808 is in position 1) and then transition (e.g., switch) to closed-loop maximum efficiency tracking (SW1 2808 is in position 2) after reaching a predetermined motor 102 speed. During maximum efficiency tracking, the SVM 124 reference vector angle θ changes at constant speed as set by the reference speed ωref. In an implementation, the reference vector magnitude |Vref| is controlled by a hysteresis controller 2802 to force




  ɛ
  =
  
    
      
        
          
            
            
              V
              ref
            
            
          
          ⁢
          
            sin
            ⁡
            
              (
              
                γ
                -
                θ
              
              )
            
          
        
        +
        
          
            ω
            ref
          
          ⁢
          
            
          
          ⁢
          L
          ⁢
          
            
            I
            
          
        
      
      ≈
      
        0
        ⁢
        
          
        
        ⁢
        or
        ⁢
        
          
        
        ⁢
        
          ɛ
          L
        
      
    
    =
    
      
        
          
            
              
              
                V
                ref
              
              
            
            L
          
          ⁢
          
            sin
            ⁡
            
              (
              
                γ
                -
                θ
              
              )
            
          
        
        +
        
          
            ω
            ref
          
          ⁢
          
            
            I
            
          
        
      
      ≈
      0.
    
  




For example, this forces the motor 102 stator flux to be perpendicular to the rotor flux, maximizing the energy efficiency of the motor 102.

In an implementation, as shown in FIG. 28, when the reference vector magnitude |Vref| needs a change (increase or decrease), its change step ΔV can be a user-defined constant, or can be calculated by a step PI controller 2804 to achieve rapid torque response. If the motor 102 rotates in the positive direction, normally, the current space vector is lagging the voltage space vector and




  
    
      
      
        V
        ref
      
      
    
    ⁢
    
      sin
      ⁡
      
        (
        
          γ
          -
          θ
        
        )
      
    
  
  <
  
    0
    ⁢
    
      
    
    ⁢
    
      
        (
        
          
            or
            ⁢
            
              
            
            ⁢
            
              
                
                
                  V
                  ref
                
                
              
              L
            
            ⁢
            
              sin
              ⁡
              
                (
                
                  γ
                  -
                  θ
                
                )
              
            
          
          <
          0
        
        )
      
      .
    
  




If





  
    
      
        
        
          V
          ref
        
        
      
      ⁢
      
        sin
        ⁡
        
          (
          
            γ
            -
            θ
          
          )
        
      
    
    ≥
    
      0
      ⁢
      
        
      
      ⁢
      
        (
        
          
            or
            ⁢
            
              
            
            ⁢
            
              
                
                
                  V
                  ref
                
                
              
              L
            
            ⁢
            
              sin
              ⁡
              
                (
                
                  γ
                  -
                  θ
                
                )
              
            
          
          ≥
          0
        
        )
      
    
  
  ,




it is an urgent condition and the magnitude |Vref| is increased. Note that in some examples, an optional LPF can be applied to both |Vref|sin(γ−θ) and ωref|I|, for implementations as shown in FIG. 28, or to ε=|Vref|sin(γ−θ)+ωrefL|I|.

The table below compares the building blocks and mathematical transformations used in the FOC arrangement 100 of FIG. 2 and a MET arrangement 2800 as in FIGS. 28-31.













For FOC 
For FOC arrangement 100 


Building Blocks
arrangement 100 of FIG. 2
having MET (FIGS. 28-31)
















V/f Open-Loop
Same for all sensorless FOC arrangements 100.









Startup




Motor Phase




Current Sensing,




ADC, and Current




Calculation




SVM Modulator,




PWM, and




Inverter




 








Clarke Transform
Same for all sensorless FOC arrangements 100. It is:



Iα = Iu



Iβ = (Iu + 2Iv)/{square root over (3)}



(Iu + Iv + Iw = 0)


 









Park Transform
Id = Iαcos(φ) + Iβsin(φ)
Not used



Iq = −Iαsin(φ) + Iβcos(φ)



 


Inverse Park Transform
Vα = Vdcos(φ) − Vqsin(φ) Vβ = Vdsin(φ) + Vqcos(φ)
Not used


 


Cartesian to Polar Transform
|Vref | = {square root over (Vα2 + Vβ2)}  



  θ
  =
  
    arctan
    (
    
      
        V
        β
      
      
        V
        α
      
    
    )
  




|I| = {square root over (Iα2 + Iβ2)} 



  γ
  =
  
    arctan
    (
    
      
        I
        β
      
      
        I
        α
      
    
    )
  






 


Rotor Position
Use BEMF-based flux estimator,
No rotor position and speed


and Speed
PLL estimator, SMO, or similar to
estimator.


Estimation/
estimate rotor position and speed. 
Use one PI controller, and one


Control
Use three PI controllers. Control
hysteresis controller. SVM 124



rotor speed ω = reference speed ωref, Id = 0, and Iq ∝ torque. Uses motor parameters R and L, or more.
reference vector angle θ changes at   reference speed, θ = ∫ωrefdt.




Control magnitude |Vref| to force:




ε = |Vref|sin(γ − θ) + ωrefL|I| ≈ 0 or








  
    ɛ
    L
  
  =
  
    
      
        
          
            
            
              V
              ref
            
            
          
          L
        
        ⁢
        
          sin
          ⁡
          
            (
            
              γ
              -
              θ
            
            )
          
        
      
      +
      
        
          ω
          ref
        
        ⁢
        
          
          I
          
        
      
    
    ≈
    0
  








Uses motor parameter L.









In various implementations, a MET arrangement 2800 includes a smooth transition from V/f open-loop startup to MET closed-loop, even at relatively low motor speed. For example, MET technique can be integrated to sensorless FOC arrangements 100 to apply a 3-step motor startup, which is V/f open-loop→MET closed-loop→FOC closed-loop:

    
    
        1). First the motor will start to turn by a V/f open-loop control to a user-defined speed;
        2). Then MET closed-loop control will take over and smoothly make the stator flux perpendicular to the rotor flux, i.e.,
    
    






  
    φ
    ≈
    
      γ
      -
      
        π
        2
      
    
  
  ;




    
    
        3). Thereafter the sensorless FOC arrangement 100 closed-loop control will handle the motor 102. The initial rotor angle (if used) for the sensorless FOC arrangement 100 is estimated as
    
    






  φ
  =
  
    γ
    -
    
      π
      2
    
  




for smooth transition from MET to FOC closed-loop control.

If desired, FOC closed-loop control can transition to MET closed-loop control at any time to fully use the advantages of MET technique, and users can decide when to transition back to FOC closed-loop again.
MET has at least the following advantages, and in some implementations, may have other advantages as well. Without calculation-intensive rotor position 202 and speed estimator 108, no transformations to/from rotor-fixed d-q coordinate system (110, 112), and with one PI controller 2804, MET is easy to fine-tune for applied motors 102, and the CPU time for MET is also much less. In examples, MET can reduce CPU load and save precious CPU time for other purposes (e.g., digital PFC, multiple PMSM motor drive, HMI, communications, safety checking, etc.) in sophisticated systems, hence the potential and features of the microcontroller can be fully used. Conversely, using a MET control technique, users can select a microcontroller with less computation power and lower cost to accomplish motor 102 controls.
Since it is possible to transition from V/f open-loop to energy-efficient MET closed-loop at much lower motor speed, the typical high startup power of existing 2-step motor startup mechanism can be avoided. Because MET has already made the stator flux perpendicular to the rotor flux smoothly, the PI controllers of FOC won't over-react, struggling to make them perpendicular from non-perpendicular conditions that caused by V/f open-loop control. Thus smooth startup transitions in sensorless FOC can be easily achieved. In various implementations, additional or alternative components may be used to accomplish the disclosed techniques and arrangements.
Referring to FIG. 30, another MET control technique is illustrated where the current variables Iα and Iβ are inessential. In the implementation shown, the Clarke Transform 114 of FIGS. 28 and 29 is bypassed, and a direct uvw to Polar Transform 1702 is used in place. The direct uvw to Polar Transform 1702 can be described by the equations:




  
    
      
        
          
          I
          
        
        =
        
          
            K
            
              
              I
              
            
          
          ·
          
            
              
                I
                u
                2
              
              +
              
                I
                v
                2
              
              +
              
                
                  I
                  u
                
                ⁢
                
                  I
                  v
                
              
            
          
        
      
    
    
      
        (
        37
        )
      
    
  
  
    
      
        γ
        =
        
          arctan
          ⁡
          
            (
            
              
                
                  I
                  u
                
                +
                
                  2
                  ⁢
                  
                    I
                    v
                  
                
              
              
                
                  3
                
                ·
                
                  I
                  u
                
              
            
            )
          
        
      
    
    
      
        (
        38
        )
      
    
  




where: K|I| is a scaling factor of the current space vector magnitude; K|I|=√{square root over (3)}.

In an implementation, the scaling factor K|I|=√{square root over (3)} can be neglected (i.e., make K|I|=1). Alternatively, the scaling of √{square root over (3)} can be combined with other scaling computations (e.g., current sensing and amplification, analog-to-digital conversion, etc.).
Referring to FIG. 31, a MET control technique is illustrated that includes a Park Transform 110 of the voltage space vector, with the angle of the current space vector γ, given by the equations:

Vi=Vαcos(γ)+Vβsin(γ)  (39)

Vp=−Vαsin(γ)+Vβcos(γ)  (40)

where:

    
    
        Vi—Component of voltage space vector in the direction of the current space vector.
        Vp—Component of voltage space vector in the direction perpendicular to current space vector.
    
    


In an implementation, the Polar to Cartesian Transform 1302 of the voltage space vector shown in FIG. 14 is described by:

Vα=|Vref|cos(θ)  (41)

Vβ=|Vref|sin(θ)  (42)

Equations (40), (41) and (42) may be combined to yield:

Vp=|Vref|sin(θ−γ)  (43)

Using equation (43), the voltage difference E shown in FIG. 31 can be written as:

ε=ωrefL[I]−Vp=|Vref|sin(γ−θ)+ωrefL|I|  (44)

CONCLUSION
Although the implementations of the disclosure have been described in language specific to structural features and/or methodological acts, it is to be understood that the implementations are not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as representative forms of implementing example devices and techniques.

## Claims

1. A field oriented control (FOC) structure arranged to provide variable speed control for an electric motor, comprising:
a modulator arranged to receive a vector quantity representing a desired rotational position and/or desired speed of a rotor of the motor, and to output a plurality of control signals to adjust a rotational position and/or speed of the motor, based on the vector quantity, the vector quantity comprising a magnitude and an angle of a complex voltage space vector, the angle arranged to change at a constant user-defined speed;
a switch arranged to switch the FOC structure between open loop operation and closed loop operation; and
one or more feedback loops arranged to adjust the magnitude of the complex voltage space vector based on processing one or more motor winding current values.

2. The FOC structure of claim 1, further comprising a pulse-width modulation (PWM) unit arranged to receive the plurality of control signals and to output a PWM signal to adjust the rotational position and/or speed of the motor, based on the vector quantity.

3. The FOC structure of claim 1, further comprising a voltage source inverter component arranged to receive a PWM signal and to output three-phase sinusoidal waveforms to windings of the motor, to adjust the rotational position and/or speed of the motor, based on the vector quantity.

4. The FOC structure of claim 1, further comprising a Clarke Transform module arranged to transform two-phase or three-phase motor winding current value coordinates into a stationary two-phase reference frame.

5. The FOC structure of claim 1, further comprising a Cartesian to polar transform module arranged to transform a set of two-phase stationary coordinates into the angle and a magnitude of the polar coordinate current space vector.

6. The FOC structure of claim 1, further comprising a hysteresis controller arranged to determine a voltage per frequency value for startup of the motor while the FOC structure is in an open-loop operation and to determine the magnitude of the complex voltage space vector while the FOC structure is in the closed-loop operation for steady state.

7. The FOC structure of claim 1, further comprising a hysteresis controller arranged to force a stator flux of the motor to be perpendicular to a rotor flux of the motor.

8. The FOC structure of claim 1, wherein the magnitude of the complex voltage space vector changes when the FOC structure is switched between open loop operation and closed loop operation.

9. The FOC structure of claim 1, wherein the angle of the complex voltage space vector comprises an integral of an input rotational speed of the FOC structure.

10. The FOC structure of claim 1, wherein the FOC structure determines the angle of the complex voltage space vector based on the user-defined speed and without a rotor position sensor or a rotor position estimator.

11. A variable speed control arrangement for an electric motor, comprising;
a modulator component arranged to receive a vector quantity representing a desired rotational position and/or desired speed of a rotor of the motor, and to output a plurality of control signals to adjust a rotational position and/or speed of the motor, based on the vector quantity, the vector quantity comprising a magnitude and an angle of a complex voltage space vector, the angle arranged to change at a constant user-defined speed;
a pulse-width modulation (PWM) unit arranged to receive the plurality of control signals and to output a PWM signal based on the plurality of control signals;
a voltage source inverter component arranged to receive the PWM signal and to output sinusoidal waveforms to windings of the motor, to adjust the rotational position and/or speed of the motor, based on the PWM signal;
a switch arranged to switch the variable speed control arrangement between open loop operation and closed loop operation; and
a feedback loop including a hysteresis controller and a proportional-integral (PI) controller, arranged to adjust the magnitude of the complex voltage space vector based on processing one or more motor winding current values and based on whether the variable speed control arrangement is in open-loop operation or closed loop operation.

12. The variable speed control arrangement of claim 11, further comprising a computing device arranged to calculate one or more transformations, including a transformation of Cartesian stationary coordinates based on one or more motor winding current values to a current space vector quantity.

13. The variable speed control arrangement of claim 11, wherein the variable speed control arrangement operates at open loop operation during startup and switches to closed loop operation when the motor reaches a user-defined motor speed.

14. A method, comprising:
receiving, at a modulator, a vector quantity representing a desired rotational position and/or desired speed of a rotor of an electric motor, the vector quantity comprising a magnitude and an angle, the angle arranged to change at a constant user-defined speed;
outputting, at the modulator, a plurality of control signals to adjust a rotational position and/or speed of the motor based on the vector quantity;
switching from an open-loop operating mode to a closed-loop operating mode when the motor reaches a user-defined rotational speed;
adjusting, via a feedback loop, the magnitude of the vector quantity based on processing one or more motor winding current values; and
providing variable speed control to the motor based on the receiving and the adjusting.

15. The method of claim 14, further comprising determining the angle of the complex voltage space vector by integrating an input rotational speed, without the use of a position estimator or a position sensor.

16. The method of claim 14, further comprising determining a voltage per frequency value for startup of the motor while operating in the open-loop operating mode and determining the magnitude of the complex voltage space vector while operating in the closed-loop operating mode for steady state.

17. The method of claim 14, further comprising forcing a stator flux of the motor to be perpendicular to a rotor flux of the motor via a hysteresis controller, while operating in the closed-loop operating mode.

18. The method of claim 14, further comprising changing the magnitude of the complex voltage space vector when switching between open loop operation and closed loop operation.

19. The method of claim 14, further comprising receiving the plurality of control signals at a pulse-width modulation (PWM) unit, and outputting a PWM signal at the PWM unit to adjust the rotational position and/or speed of the motor.

20. The method of claim 14, further comprising receiving a PWM signal at a voltage source inverter component, and outputting three-phase sinusoidal waveforms to windings of the motor to adjust the rotational position and/or speed of the motor.

21. The method of claim 14, further comprising transforming motor winding current value coordinates to a stationary two-phase reference frame at a Clarke Transform module.

22. The method of claim 14, further comprising starting the motor in the open-loop operating mode using a voltage per frequency control, ramping up the motor speed to a user-defined speed, and switching to the closed-loop operating mode for steady-state operation of the motor.

23. The method of claim 22, further comprising tracking the maximum energy efficiency of the motor after reaching the user-defined speed, including changing the angle of the vector quantity at a constant speed and concurrently controlling the magnitude of the vector quantity to force a stator flux of the motor to be perpendicular to a rotor flux of the motor, and transitioning to the closed-loop operating mode for steady-state operation of the motor.