# Patent

## Title
Determination of permanent magnetic flux in an electric machine

## Abstract

An electric machine assembly has an electric machine having a stator and a rotor. The rotor has a rotor temperature and is configured to rotate at a rotor speed (ω). The stator has stator windings at a stator winding temperature (tS) and the electric machine defines a number of pole pairs (P). A controller is operatively connected to the electric machine and is configured to receive a torque command (T*). The controller has a processor and tangible, non-transitory memory on which is recorded instructions for executing a method for determining a total permanent magnetic flux (ψT) as a function of the rotor temperature. Execution of the instructions by the processor causes the controller to determine a high-speed magnetic flux factor (ψH) and a low-speed magnetic flux factor (ψL).

## Background
TECHNICAL FIELD
The disclosure relates generally to the determination of permanent magnetic flux in an electric machine assembly.
BACKGROUND
An electric machine, such as an interior permanent magnet machine, includes a rotor having a plurality of permanent magnets of alternating polarity. The rotor is rotatable within a stator which generally includes multiple stator windings and magnetic poles of alternating polarity. The magnetic flux of the permanent magnets varies with rotor temperature during normal operation.
SUMMARY
An electric machine assembly has an electric machine having a stator and a rotor. The rotor has a rotor temperature and is configured to rotate at a rotor speed (ω). The stator has stator windings at a stator winding temperature (tS) and the electric machine defines a number of pole pairs (P). A controller is operatively connected to the electric machine and is configured to receive a torque command (T*). The controller has a processor and tangible, non-transitory memory on which is recorded instructions for executing a method for determining a total permanent magnetic flux (ψT) as a function of the rotor temperature. Execution of the instructions by the processor causes the controller to determine a high-speed magnetic flux factor (ψH) and a low-speed magnetic flux factor (ψL). The controller is operative to control at least one operating parameter of the electric machine based at least partially on the total permanent magnetic flux (ψT) to achieve improved performance and/or efficiency.
The total permanent magnetic flux (ψtotal) based at least partially on a weighting factor (k), the high-speed magnetic factor (ψH) and the low-speed magnetic flux factor (ψL), such that: ψtotal=[k*ψH+(1−k)*ψL] and 0≦k≦1. The weighting factor (k) is one when the rotor speed (ω) is above a predefined high speed threshold. The weighting factor (k) is zero when the rotor speed (ω) is below a predefined low speed threshold.
A first temperature sensor may be operatively connected to the controller and configured to measure the stator winding temperature (tS). A second temperature sensor may be operatively connected to the controller and configured to measure the rotor temperature. The method utilizes two independent torque estimations, such as using current-based (flux map) and active power-based estimates.
Determining the total permanent magnetic flux (ψT) includes: obtaining a first function (F1), via the controller, as a product of a look-up factor and the torque command (T*), wherein the look-up factor is based at least partially on the rotor speed (ω), the stator winding temperature (tS) and a characterized torque error. The characterized torque error may be defined as a difference between two independent estimates of torque produced by the electric machine. A second function (F2) may be obtained, via the controller, as a sum of the first function (F1), a torque achieved (Ta) at the rotor temperature and a predefined first constant (Y) such that: F2=(F1+Ta+Y).
The low-speed magnetic flux factor (ψL) may be obtained based at least partially on the second function (F2), the magnetic flux (ψC) at the baseline temperature, a torque achieved (TC) at the baseline temperature, a third function (F3) and a fourth function (F4) such that: ψL=ψC−[(2*(TC−F2)*F3)/(3*F4)]. The third function (F3) is a ratio of the stator winding resistance (rC) at a baseline temperature and a stator winding resistance (rts) at the stator winding temperature (tS) such that: F3=(rC/rts). The fourth function (F4) is a product of the pole pair (P) and a commanded current (id*) such that: F4=[P*iq*].
The high-speed magnetic flux factor (ψH) may be obtained based at least partially on the second function (F2), the magnetic flux (ψC) at the baseline temperature, a stator winding resistance (rts) at the stator winding temperature (tS), a fifth function (F5) and a sixth function (F6) such that: ψL=ψC+{2*[F5−(rts*F2)]/(3*F6)}. The fifth function (F5) is a product of the stator winding resistance (rC) at a baseline temperature and a torque achieved (TC) at the baseline temperature, such that: F5=(rC*TC). The sixth function (F6) is a product of the pole pair (P), the rotor speed (ω), a commanded current (id*) and an inductance factor (Ld0) such that: F6=[P*ω*id**Ld0].
Real time accurate estimate of magnetic flux is a key enabler to a lot of features for improving operation of the electric machine. The method further includes controlling or adjusting the operating parameters of the electric machine, via the controller, based upon the total permanent magnetic flux (ψT) to achieve improved performance and/or efficiency. For example, the current commands for the electric machine may be modified based on rotor temperature to maximize efficiency. The electric machine may be controlled based upon the total permanent magnetic flux (ψT) to achieve improved high speed current control and improved motor torque linearity. The controller may be configured to adjust the operating parameters of the electric machine based upon the total permanent magnetic flux (ψT) to further a variety of goals, including but not limited to, monitoring the state health of the permanent magnets (such as determining fatigue/demagnetization related features) and enhancing diagnostics/motor fault response strategies (such as estimating 3 phase short circuit currents).
The above features and advantages and other features and advantages of the present disclosure are readily apparent from the following detailed description of the best modes for carrying out the disclosure when taken in connection with the accompanying drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic fragmentary partly sectional view of an electric machine assembly with an electric machine having a stator and a rotor;
FIG. 2 is a flowchart for a method for determining a total permanent magnetic flux for the machine of FIG. 1;
FIG. 3 is an example diagram for obtaining a look-up factor used in the method of FIG. 2;
FIG. 4 is an example torque versus machine speed diagram for the assembly of FIG. 1.



DETAILED DESCRIPTION
Referring to the drawings, wherein like reference numbers refer to like components, FIG. 1 schematically illustrates an electric machine assembly 10. The assembly 10 includes an electric machine 12. The assembly 10 may be a component of a device 11. The device 11 may be a transportation device with one or more wheels, such as a bicycle, passenger vehicle, performance vehicle, military vehicle, industrial vehicle. The device 11 may be a robot, farm implement, sports-related equipment or any other type of apparatus.
Referring to FIG. 1, the electric machine 12 includes a stator 14 and a rotor 16. The rotor 16 may include a first permanent magnet 18 and a second permanent magnet 20 of alternating polarity around the outer periphery of a rotor core 22. The rotor 16 may include any number of permanent magnets; for simplicity only two are shown. The rotor 16 is rotatable at a rotor speed (ω) within the stator 14. While the embodiment shown in FIG. 1 illustrates a three-phase, single pole-pair (i.e. two pole) machine, it is understood that any number of phases or pole pairs may be employed.
The stator 14 includes a stator core 24 which may be cylindrically shaped with a hollow interior. The stator core 24 may include a plurality of inwardly-protruding stator teeth 26A-F, separated by gaps or slots 28. In the embodiment shown in FIG. 1, stator windings 30 may be operatively connected to the stator core 24, such as for example, being coiled around the stator teeth 26A-F. The electric machine 12 may take many different forms and include multiple and/or alternate components and facilities. While an example electric machine 12 is shown in the Figures, the components illustrated in the Figures are not intended to be limiting. Indeed, additional or alternative components and/or implementations may be used.
Electric current flowing in the stator windings 30 causes a rotating magnetic field in the stator 14. Referring to FIG. 1, the stator windings 30 may include six sets of windings; one set for each of three phases (the first phase through stator windings 30A and 30D, the second phase through stator windings 30B and 30E and the third phase through stator windings 30C and 30F). Alternatively, slip rings or brushes (not shown) may be employed. Referring to FIG. 1, a quadrature (q) magnetic axis 32 and a direct (d) magnetic axis 34 are shown. The first and second permanent magnets 18, 20 create a magnetic field and magnetic flux. The magnetic flux lines of the first and second permanent magnets 18, 20 are aligned when the rotor angle 36 is zero. As previously noted, the electric machine 12 may be of any type, including, but not limited to, induction and synchronous machines.
Referring to FIG. 1, the assembly 10 includes a controller 40 operatively connected to or in electronic communication with the electric machine 12. The controller 40 is configured to receive a torque command (T*). Referring to FIG. 1, the controller 40 includes at least one processor 42 and at least one memory 44 (or any non-transitory, tangible computer readable storage medium) on which are recorded instructions for executing method 100, shown in FIG. 2, for determining a total permanent magnetic flux (ψtotal), including obtaining a high-speed magnetic flux factor (ψH) and a low-speed magnetic flux factor (ψL). The memory 44 can store controller-executable instruction sets, and the processor 42 can execute the controller-executable instruction sets stored in the memory 44.
Many parameter estimation methods use least-squares/regression models or observer-based approaches which impact computation throughput and require extensive calibration effort. Additionally, flux-observer based approaches have limitations at low speed and increase computational resources. Other methods use FEA-based magnetic flux versus temperature look-up tables, however, these do not cover manufacturing based tolerances, and in order to evaluate accuracy, several back electromotive force (BEMF) tests need to be performed at different temperatures.
The controller 40 of FIG. 1 is specifically programmed to execute the steps of the method 100 (as discussed in detail below with respect to FIG. 2) and can receive inputs from various sensors. Referring to FIG. 1, the assembly 10 may include a first temperature sensor 46 (such as a thermistor or thermocouple) in communication (e.g., electronic communication) with the controller 40. The first temperature sensor 46 is capable of measuring the temperature of the stator windings 30A-F and sending input signals to the controller 40. The first temperature sensor 46 may be installed or mounted on one of the stator windings 30A-F. Alternatively, sensor-less stator winding temperature estimation techniques known to those skilled in the art may be employed, including, but not limited to: a high-frequency carrier signal injection technique and a motor thermal model computed based on machine geometry and its thermal and electrical properties. A second temperature sensor 48 may be in communication with the controller 40 and configured to measure the temperature of the rotor 16, referred to herein as the “rotor temperature.” Alternatively, sensor-less rotor temperature estimation techniques known to those skilled in the art may be employed
Referring to FIG. 1, the assembly 10 may include a magnetic flux sensor 50 in communication (e.g., electronic communication) with the controller 40. The magnetic flux sensor 50 is capable of measuring the magnetic flux at a baseline temperature (such as 90 C) emanating from the electric machine 12 and sending input signals to the controller 40. Additionally, controller 40 may be programmed to determine the magnetic flux based on other methods, without employing any sensors, such as finite element analysis (FEA) or any method or mechanism known to those skilled in the art.
Referring now to FIG. 2, a flowchart of the method 100 stored on and executable by the controller 40 of FIG. 1 is shown. Method 100 need not be applied in the specific order recited herein. Furthermore, it is to be understood that some steps may be eliminated. The method 100 utilizes two independent motor torque estimations, such as using current-based (flux map) and active power-based estimates.
Referring to FIG. 2, method 100 may begin with step 102, where the controller 40 is programmed or configured to obtain a first function (F1) as a product of a look-up factor and the torque command (T*). The torque command (T*) may be received by the controller 40 in response to an operator input or an automatically-fed input condition monitored by the controller 40. If the device 11 is a vehicle, the controller 40 may determine the torque command (T*) based on input signals from an operator through an accelerator pedal 52 and brake pedal 54, shown in FIG. 1. A battery pack 56 may be operatively connected to the machine 12 as a source of DC voltage.
To obtain the look-up factor, characterization data is taken at various rotor speeds (ω) at a baseline temperature (C). The baseline temperature (C) may be varied based on the particular application. In one example, the baseline temperature (C) is 90 Celsius. The look-up factor is based at least partially on the rotor speed (ω), the stator winding temperature (tS) and a characterized torque error. The characterized torque error (ΔT) is defined as the difference between a first torque estimate T1 (i.e., torque estimated using a first method) and a second torque estimate T2 (i.e., torque estimated using a second method), such that (ΔT=T1−T2). The first method of estimating torque may be a current-based flux map method at the baseline temperature (C), as known to those skilled in the art. The second method of estimating torque may be an active power-based method at the baseline temperature (C), as known to those skilled in the art. Any two different methods of estimating torque known to those skilled in the art may be employed.
Referring to FIG. 3, an example diagram for obtaining the look-up factor is shown. In FIG. 3, the vertical axis 202 represents the difference between the torque estimated based on a flux map method versus an active power method [both at the baseline temperature (C)] as a function of speed. The horizontal axis 204 represents the torque command (T*) (in Newton-meters). Traces 206, 208 and 210 represent data at rotor speed values of 1000 rpm, 1500 rpm and 2000 rpm, respectively.
As shown in FIG. 3, the traces 206, 208 and 210 exhibit non-linearities at high commanded torque values, e.g. above approximately 80% of the peak torque command. Referring to FIG. 3, the look-up factor may be taken as the slope of portion 212, where traces 208 and 210 coincide. Any interpolation method known to those skilled in the art may be employed to obtain the look-up factor, such as simple linear approximation or a polynomial curve-fit or any other curve-fitting method. The look-up factor may characterize error between torque estimated from two different methods (both at the baseline temperature) as a function of rotor speed (in this case between 500 and 2000 rpm), up to 80% of peak torque.
In step 104 of FIG. 2, the controller 40 is configured to obtain a second function (F2) as a sum of the first function (F1), a torque achieved (Ta) at a rotor temperature and a predefined first constant (Y) such that: F2=(F1+Ta+Y). The predefined first constant (Y) may be taken as the y-intercept of the trace portion 208. In one example, the value of Y is taken as 5%. The torque achieved (Ta) is understood to be electrical torque and may be defined as a weighted sum of a low-speed torque achieved (TLS) and a high-speed torque achieved (THS), such that: Ta=[(1−K)*TLS+K*THS].
FIG. 4 is an example torque versus rotor speed diagram for the machine of FIG. 1 and may be employed to obtain the torque achieved (Ta). The data may be obtained in a testing dynamo or lab conditions. In FIG. 4, the vertical axis 302 represents the torque achieved (in Newton-meters) and the horizontal axis 304 represents the motor speed (in RPM). The first portion 306 indicates the low-speed torque achieved (TLS) at relatively lower rotor speeds, such as torque speeds lower than first speed (ω1), indicated by line 308. The second portion 310 indicates the high-speed torque achieved (THS) at relatively higher rotor speeds, such as torque speeds higher than second speed (ω2), indicated by line 312. The third portion 314 indicates the torque achieved in a “blend zone” with torque speeds between first and second speeds (ω1 and ω2). The weighting factor for a particular rotor speed (ω), may be obtained as: K=(ω−ω1)/(ω2−ω1). The upper boundary 316 and lower boundary 318 show the limits of error 320 of the torque achieved. The low-speed torque achieved (TLS) and the high-speed torque achieved (THS) may also be estimated as:



  
    
      T
      LS
    
    =
    
      
        [
        
          
            
              3
              2
            
            ⁢
            P
            ⁢
            
              
            
            ⁢
            
              Ψ
              tr
            
            ⁢
            
              i
              qe
            
          
          +
          
            
              3
              2
            
            ⁢
            
              P
              ⁡
              
                (
                
                  
                    L
                    
                      d
                      ⁢
                      
                        
                      
                      ⁢
                      0
                    
                  
                  -
                  
                    L
                    
                      q
                      ⁢
                      
                        
                      
                      ⁢
                      0
                    
                  
                
                )
              
            
            ⁢
            
              i
              de
            
            ⁢
            
              i
              qe
            
          
        
        ]
      
      ⁢
      
        
      
      ⁢
      and
    
  




  
    
      
        T
        HS
      
      =
      
        
          P
          mech
        
        
          ω
          m
        
      
    
    ,
    
      
        where
        ⁢
        
          
        
        ⁢
        
          P
          mech
        
      
      =
      
        
          [
          
            
              P
              dc
            
            -
            
              P
              
                inv
                loss
              
            
            -
            
              P
              
                stat
                loss
              
            
          
          ]
        
        .
      
    
  



Here, Pmech is defined as the mechanical output power of the machine, Pdc is defined as the DC power in to the machine 12 and may be obtained as the product of the DC link voltage (Vdc) (e.g., voltage from a battery pack 56 operatively connected to the machine 12) and the DC current (idc). Additionally, Pinv_loss is defined as the inverter loss (converting DC to AC). It may be a nonlinear polynomial, based on the inverter models known to those skilled in the art. Pstat-loss is defined as the loss or heat dissipated in the stator windings 30. The value of heat dissipated may be characterized or obtained with sensors or FEA models while the machine 12 is not in use.
In step 106 of FIG. 2, the controller 40 is configured to obtain the low-speed magnetic flux factor (ψL). Step 106 includes sub-steps 106A-C. In step 106A of FIG. 2, the controller 40 is configured to obtain a third function (F3) as a ratio of the stator winding resistance (rC) at a baseline temperature and a stator winding resistance (rts) at the stator winding temperature (tS) such that: F3=(rC/rts).
In step 106B of FIG. 2, the controller 40 is configured to obtain a fourth function (F4) as a product of the pole pair (P) and a commanded current (iq*) such that: F4=[P*iq*]. The DQ reference frame currents (id, iq) may be obtained from the detected currents (Ia, Ib and Ic) of the machine 12, which are transformed to the DQ reference frame using motor position or rotor angle 36 (shown in FIG. 1). A position sensor 51 may be employed to determine the rotor angle 36. The commanded currents (id*, iq*) are obtained based on the torque command (T*) using look-up tables.
In step 106C of FIG. 2, the controller 40 is configured to obtain the low-speed magnetic flux factor (ψL) based at least partially on the second function (F2) (obtained in step 104), the magnetic flux (ψC) at the baseline temperature, a torque achieved (TC) at the baseline temperature, the third function (F3) (obtained in step 106A), and the fourth function (F4) (obtained in step 106B), such that:

ψL=ψC−[(2*(TC−F2)*F3)/(3*F4)].

The magnetic flux (ψC) and torque achieved (TC), both at the baseline temperature, such as 90 Celsius, may be obtained through measurements in a laboratory setting or test cell, e.g. using the magnetic flux sensor 50.

In step 108 of FIG. 2, the controller 40 is configured to obtain the high-speed magnetic flux factor (ψH). Step 108 includes sub-steps 108A-C. In step 108A of FIG. 2, the controller 40 is configured to obtain a fifth function (F5) as a product of the stator winding resistance (rC) at a baseline temperature and a torque achieved (TC) at the baseline temperature, such that: F5=(rC*TC). The stator winding resistance (rC) and torque achieved (TC) at the baseline temperature, such as 90 Celsius, may be obtained through measurements in a laboratory setting or test cell using devices known to those skilled in the art.
In step 108B of FIG. 2, the controller 40 is configured to obtain a sixth function (F6) as a product of the pole pair (P), the rotor speed (ω), a commanded current (id*) and an inductance factor (Ld0) such that: F6=[P*ω*id**Ld0]. As noted above, the commanded currents (id*, iq*) may be obtained based on the torque command (T*) using look-up tables. The inductance (L) of the stator winding may be obtained by any method known to those skilled in the art. In one example, the inductance (L) is obtained as a function of the number of turns in the stator winding (N), the relative permeability of the winding core material (μ), the area of the winding/coil in square meters and the average length of the winding/coil in meters (l), such that: L=(N2*μ*A/l).
In step 108C of FIG. 2, the controller 40 is configured to obtain the high-speed magnetic flux factor (ψH) based at least partially on the second function (F2) (obtained in step 104), the magnetic flux (ψC) at the baseline temperature, a stator winding resistance (rts) at the stator winding temperature (tS), the fifth function (F5) (obtained in step 108A), and the sixth function (F6) (obtained in step 108B), such that: ψL=ψC+{2*[F5−(rts*F2)]/(3*F6)}.
In step 110 of FIG. 2, the controller 40 is configured to obtain the total permanent magnetic flux (ψtotal) based at least partially on a weighting factor (k), the high-speed magnetic flux factor (ψH) and the low-speed magnetic flux factor (ψL), such that: ψtotal=[k*ψH+(1−k)*ψL] and 0≦k≦1. The weighting factor (k) may be one when the rotor speed (ω) is at or above a predefined high speed threshold (e.g., ω≧5000 rpm). The weighting factor (k) may be zero when the rotor speed (ω) is at or below a predefined low speed threshold (e.g. ω≦3000 rpm).
Real time accurate estimate of magnetic flux is a key enabler to a lot of features for improving operation of the electric machine 12. The controller 40 may be operative to control at least one operating parameter of the electric machine 12 based at least partially on the total permanent magnetic flux (ψT) to achieve improved performance and/or efficiency. In other words, the method 100 may include controlling or adjusting the operating parameters of the electric machine 12, via the controller 40, based upon the total permanent magnetic flux (ψT) to achieve improved performance and efficiency. For example, the current commands for the electric machine 12 may be modified based on rotor temperature to maximize efficiency. The electric machine 12 may be controlled based upon the total permanent magnetic flux (ψT) to achieve improved high speed current control and improved motor torque linearity. The controller 40 may be configured to adjust the operating parameters of the electric machine 12 based upon the total permanent magnetic flux (ψT) to monitor the state health of the permanent magnets (such as determining fatigue/demagnetization related features) and enhance diagnostics/motor fault response strategies (such as estimating 3 phase short circuit currents).
In summary, execution of the method 100 by the controller 40 determines the total permanent magnetic flux (ψtotal) corresponding to the torque command (T*). The method 100 utilizes the difference between two independent torque estimations, such as for example, using current-based (flux map) and active power-based estimates of torque with minimal calibration required. The controller 40 of FIG. 1 may be an integral portion of, or a separate module operatively connected to, other controllers of the assembly 10.
The controller 40 of FIG. 1 includes a computer-readable medium (also referred to as a processor-readable medium), including any non-transitory (e.g., tangible) medium that participates in providing data (e.g., instructions) that may be read by a computer (e.g., by a processor of a computer). Such a medium may take many forms, including, but not limited to, non-volatile media and volatile media. Non-volatile media may include, for example, optical or magnetic disks and other persistent memory. Volatile media may include, for example, dynamic random access memory (DRAM), which may constitute a main memory. Such instructions may be transmitted by one or more transmission media, including coaxial cables, copper wire and fiber optics, including the wires that comprise a system bus coupled to a processor of a computer. Some forms of computer-readable media include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, any other magnetic medium, a CD-ROM, DVD, any other optical medium, punch cards, paper tape, any other physical medium with patterns of holes, a RAM, a PROM, an EPROM, a FLASH-EEPROM, any other memory chip or cartridge, or any other medium from which a computer can read.
Look-up tables, databases, data repositories or other data stores described herein may include various kinds of mechanisms for storing, accessing, and retrieving various kinds of data, including a hierarchical database, a set of files in a file system, an application database in a proprietary format, a relational database management system (RDBMS), etc. Each such data store may be included within a computing device employing a computer operating system such as one of those mentioned above, and may be accessed via a network in any one or more of a variety of manners. A file system may be accessible from a computer operating system, and may include files stored in various formats. An RDBMS may employ the Structured Query Language (SQL) in addition to a language for creating, storing, editing, and executing stored procedures, such as the PL/SQL language mentioned above.
The detailed description and the drawings or figures are supportive and descriptive of the disclosure, but the scope of the disclosure is defined solely by the claims. While some of the best modes and other embodiments for carrying out the claimed disclosure have been described in detail, various alternative designs and embodiments exist for practicing the disclosure defined in the appended claims. Furthermore, the embodiments shown in the drawings or the characteristics of various embodiments mentioned in the present description are not necessarily to be understood as embodiments independent of each other. Rather, it is possible that each of the characteristics described in one of the examples of an embodiment can be combined with one or a plurality of other desired characteristics from other embodiments, resulting in other embodiments not described in words or by reference to the drawings. Accordingly, such other embodiments fall within the framework of the scope of the appended claims.

## Claims

1. An electric machine assembly comprising:
an electric machine including a stator and a rotor, the rotor having a rotor temperature and configured to rotate at a rotor speed (ω);
wherein the stator has stator windings at a stator winding temperature (tS) and the electric machine defines a number of pole pairs (P);
a controller operatively connected to the electric machine and configured to receive a torque command (T*);
wherein the controller has a processor and tangible, non-transitory memory on which is recorded instructions for executing a method for determining a total permanent magnetic flux (ψT) as a function of the rotor temperature, execution of the instructions by the processor causing the controller to determine a high-speed magnetic flux factor (ψH) and a low-speed magnetic flux factor (ψL);
wherein the controller is operative to control at least one operating parameter of the electric machine based at least partially on the total permanent magnetic flux (ψT);
wherein the total permanent magnetic flux (ψT) is based at least partially on a weighting factor (k), the high-speed magnetic flux factor (ψH) and the low-speed magnetic flux factor (ψL), such that: ψT=[k*ψH+(1−k)*ψL] and 0<k<1;
wherein the weighting factor (k) is one when the rotor speed (ω) is above a predefined high speed threshold; and
wherein the weighting factor (k) is zero when the rotor speed (ω) is below a predefined low speed threshold.

2. The assembly of claim 1, further comprising:
a first temperature sensor operatively connected to the controller and configured to measure the stator winding temperature (tS); and
a second temperature sensor operatively connected to the controller and configured to measure a rotor temperature.

3. The assembly of claim 1, wherein determining the total permanent magnetic flux (ψT) includes:
obtaining a first function (F1), via the controller, as a product of a look-up factor and the torque command (T*),wherein the look-up factor is based at least partially on the rotor speed (ω), the stator winding temperature (tS) and a characterized torque error;
wherein the characterized torque error is defined as a difference between two independent estimates of torque produced by the electric machine; and
wherein the look-up factor is a slope of a portion of a graph of the characterized torque error versus the torque command (T*), the portion being below 80% of a maximum of the torque command (T*).

4. The assembly of claim 3, wherein determining the total permanent magnetic flux (ψT) includes: obtaining a second function (F2), via the controller, as a sum of the first function (F1), a torque achieved (Ta) at the rotor temperature and a predefined first constant (Y) such that: F2=(F1+Ta+Y).

5. The assembly of claim 4, wherein determining the total permanent magnetic flux (ψT) includes:
obtaining the low-speed magnetic flux factor (ψL) based at least partially on the second function (F2), the magnetic flux (ψC) at the baseline temperature, a torque achieved (TC) at the baseline temperature, a third function (F3) and a fourth function (F4) such that: ψL=ψC−[(2*(TC−F2)*F3)/(3*F4)].

6. The assembly of claim 5, wherein the third function (F3) is a ratio of the stator winding resistance (rC) at a baseline temperature and a stator winding resistance (rts) at the stator winding temperature (tS) such that: F3=(rCrts).

7. The assembly of claim 6, wherein the fourth function (F4) is a product of the pole pair (P) and a commanded current (id*) such that: F4=[P*iq *].

8. The assembly of claim 4, wherein determining the total permanent magnetic flux (ψT) includes:
obtaining the high-speed magnetic flux factor (ψH) based at least partially on the second function (F2), the magnetic flux (ψC) at the baseline temperature, a stator winding resistance (rts) at the stator winding temperature (tS), a fifth function (F5) and a sixth function (F6) such that: ψL=ψC+{2*[F5−(rts*F2)]/(3*F6)}.

9. The assembly of claim 8, wherein the fifth function (F5) is a product of the stator winding resistance (rC) at a baseline temperature and a torque achieved (TC) at the baseline temperature, such that: F5=(rC*TC).

10. The assembly of claim 9, wherein the sixth function (F6) is a product of the pole pair (P), the rotor speed (ω), a commanded current (id*) and an inductance factor (Ld0) such that: F6=[P*ω*id**Ld0].

11. A method for determining magnetic flux in an electric machine assembly, the electric machine assembly including an electric machine with a stator having stator windings, a rotor having a rotor temperature and configured to rotate at a rotor speed (ω), and a controller operatively connected to the electric machine, the controller having a processor and tangible, non-transitory memory, the method comprising:
determining a total permanent magnetic flux (ψT) as a function of the rotor temperature, including determining a high-speed magnetic flux factor (ψH) and a low-speed magnetic flux factor (ψL);
wherein the total permanent magnetic flux (ψT) is based at least partially on a weighting factor (k), the high-speed magnetic flux factor (ψH) and the low-speed magnetic flux factor (ψL), such that: ψT=[k*ψH+(1−k)*ψL] and 0<k<1;
wherein the weighting factor (k) is one when the rotor speed (ω) is above a predefined high speed threshold; and
wherein the weighting factor (k) is zero when the rotor speed (ω) is below a predefined low speed threshold; and
controlling the electric machine based upon the total permanent magnetic flux factor (ψT) for efficiency.

12. The method of claim 11, wherein determining the total permanent magnetic flux (ψT) includes:
obtaining a first function (F1), via the controller, as a product of a look-up factor and the torque command (T*), wherein the look-up factor is based at least partially on the rotor speed (ω), the stator winding temperature (tS) and a characterized torque error;
wherein the characterized torque error is defined as a difference between two independent estimates of torque produced by the electric machine; and
wherein the look-up factor is a slope of a portion of a graph of the characterized torque error versus the torque command (T*), the portion being below 80% of a maximum of the torque command (T*).

13. The method of claim 12, wherein determining the total permanent magnetic flux (ψT) includes:
obtaining a second function (F2), via the controller, as a sum of the first function (F1), a torque achieved at the rotor temperature (Ttr) and a predefined first constant (Y) such that: F2=(F1+Ttr+Y).

14. The method of claim 13, wherein determining the total permanent magnetic flux (ψT) includes:
obtaining the low-speed magnetic flux factor (ψL), via the controller, based at least partially on the second function (F2), the magnetic flux (ψC) at the baseline temperature, a torque achieved (TC) at the baseline temperature, a third function (F3) and a fourth function (F4) such that: ψL=ψC−[(2*(TC−F2)*F3)/(3*F4)].

15. The method of claim 14, wherein the third function (F3) is a ratio of the stator winding resistance (rC) at a baseline temperature and a stator winding resistance (rts) at the stator winding temperature (tS) such that: F3=(rC/rts).

16. The method of claim 14, wherein the fourth function (F4) is a product of the pole pair (P) and a commanded current (id*) such that: F4=[P*iq*].

17. The method of claim 13, wherein determining the total permanent magnetic flux (ψT) includes:
obtaining the high-speed magnetic flux factor (ψH), via the controller, based at least partially on the second function (F2), the magnetic flux (ψC) at the baseline temperature, a stator winding resistance (rts) at the stator winding temperature (tS), a fifth function (F5) and a sixth function (F6) such that: ψL=ψC+{2*[F5−(rts*F2)]/(3*F6)}.

18. The method of claim 17, wherein:
the fifth function (F5) is a product of the stator winding resistance (rC) at a baseline temperature and a torque achieved (TC) at the baseline temperature, such that: F5=(rC*TC);
the sixth function (F6) is a product of the pole pair (P), the rotor speed (ω), a commanded current (id*) and an inductance factor (Ld0) such that: F6=[P*ω*id**Ld0].

19. A method for determining magnetic flux in an electric machine assembly, the electric machine assembly including an electric machine with a stator having stator windings, a rotor having a rotor temperature and configured to rotate at a rotor speed (ω), and a controller operatively connected to the electric machine, the controller having a processor and tangible, non-transitory memory, the method comprising:
determining a total permanent magnetic flux (ψT) as a function of the rotor temperature, including determining a high-speed magnetic flux factor (ψH) and a low-speed magnetic flux factor (ψL);
controlling the electric machine based upon the total permanent magnetic flux factor (ψT) for efficiency; and
wherein determining the total permanent magnetic flux (ψT) includes:
obtaining a look-up factor, via the controller, as a slope of a portion of a graph of a characterized torque error versus the torque command (T*), the portion being below 80% of a maximum of the torque command (T*);
wherein the characterized torque error is defined as a difference between two independent estimates of torque produced by the electric machine; and
obtaining a first function (F1), via the controller, as a product of the look-up factor and the torque command (T*).