The present application is generally related to methods and systems for controlling operation of an electric machine such as a permanent magnet synchronous motor (PMSM) drive or motor control system. More specifically, the present application is related to methods and systems for limiting machine current and voltage in a PMSM drive to protect against excessive machine current or voltage in a PMSM drive. Example embodiments are provided in electric power steering (EPS) systems.
Permanent Magnet Synchronous Machines (PMSMs) are gaining more and more attention in electric drive applications due to their properties such as high power density, easy controllability and improved reliability. The most widely adopted control technique for PMSMs is vector control, in which all AC signals are transformed into DC signals via a reference frame transformation. The control system is then implemented in the synchronously rotating or d/q reference frame utilizing current regulators.
According to one or more embodiments, a system and method are provided that are configured to determine a torque command that is limited to within a maximum torque of the PMSM for a designated maximum DC link voltage and that does not exceed a designated maximum PMSM current limit value; and perform a maximum torque per ampere (MTPA) calculation using the torque command to determine current commands for PMSM control.
In accordance with an aspect of one or more example embodiments, the system and method are each further configured to determine if a PMSM voltage exceeds a designated maximum DC link voltage of the system; and use the current commands from the MTPA calculation for PMSM control when the PMSM voltage does not exceed the designated maximum DC link voltage.
In accordance with an aspect of one or more example embodiments, when the MTPV calculation determines that PMSM voltage exceeds the designated maximum DC link voltage, the system and method are each further configured to perform a MTPV calculation to determine current commands for PMSM control that achieve the maximum torque of the PMSM for the designated maximum DC link voltage, when the maximum torque of the PMSM is determined to be less than or equal to a given torque command, and current commands for PMSM control that achieve the given torque command, when the maximum torque of the PMSM is determined to be greater than the given torque command.
In accordance with an aspect of one or more example embodiments, when the maximum torque of the PMSM is determined to be greater than the given torque command during the MTPV calculation, the system and method are each further configured to reduce the PMSM voltage until the maximum torque of the PMSM is substantially equal to the given torque command for a designated motor speed and then determine current commands for PMSM control.
According to one or more embodiments, a system and method are provided that are configured to determine a torque command that is limited to within a maximum torque of a motor, perform a maximum torque per ampere (MTPA) calculation using the torque command to determine current commands for motor control; perform a maximum torque per voltage (MTPV) calculation that modifies the current commands as needed to satisfy a system voltage constraint; calculate a motor current value; use the current commands from the torque control module for motor control, when the calculated motor current value does not exceed a designated maximum motor phase current limit value; and when the calculated motor current value exceeds the designated maximum motor phase current limit value, determine updated current commands for motor control based on a selected current angle. The selected current angle is determined using a search operation for a motor current angle such that, if the calculated motor current exceeds the designated maximum motor phase current limit value, the magnitude of the calculated motor current is fixed at the designated maximum motor phase limit value and the selected current angle is swept from π/2 towards 0 until a modified torque increases and becomes equal to the torque commanded by the torque control module and the voltage is lower than or equal to a designated maximum DC link voltage of the motor.
In accordance with an aspect of one or more example embodiments, the system and method are each further configured to perform the search operation for the selected current angle by sweeping the current angle α to obtain Vdq and Te wherein
I
d
=I
m,max cos α, and
I
q
=I
m,max sin α,
are used to determine Idq with Im,max being the designated maximum motor phase current limit, and
Vdq and Te are determined using Idq in the following equations
V
d
=RI
d+ωeLqIq,
V
q
=RI
q
+K
eωm−ωeLqIq,
T
e=3/2KeIq+¾Np(Lq−Ld)IdIq,
where R is motor circuit resistance (Ohm), Ld is d-axis inductance (Henry), Lq is q-axis inductance (Henry), Ke is motor voltage constant (Volt/rad/s), ωm is mechanical motor velocity (rad/s), ωe is electrical motor velocity (rad/s) and Np is number of motor magnetic poles.
These and other advantages and features will become more apparent from the following description taken in conjunction with the drawings.
The subject matter of the present disclosure is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features, and advantages of the present disclosure are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
Referring now to the figures, where the present disclosure will be described with reference to specific embodiments, without limiting the same, it is to be understood that the disclosed embodiments are merely illustrative of the present disclosure that may be embodied in various and alternative forms. The figures are not necessarily to scale; some features may be exaggerated or minimized to show details of particular components. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a representative basis for teaching one skilled in the art to variously employ the present disclosure.
As used herein the terms module and sub-module refer to one or more processing circuits such as an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) and memory that executes one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality. As can be appreciated, the sub-modules described below can be combined and/or further partitioned.
PMSM torque control is achieved through current control which usually adopts current and position measurements. Among various control strategies, Field Oriented Control (FOC) is the most commonly used technique for current control, in which all AC signals are transformed into DC signals via a reference frame transformation. The control system is then implemented in the synchronously rotating or d/q reference frame utilizing transformed current feedback.
In order to achieve optimal PMSM control performance regarding torque or efficiency, machine current and voltage must be controlled properly. Various algorithms have been developed for PMSM control to achieve better trajectory tracking accuracy and thereby improve system performance. None of these previous algorithms for PMSM optimal current trajectory control; however, the algorithms presented herein achieve optimal PMSM control with consideration of both machine and/or inverter current limits and voltage limits.
Example embodiments are provided herein that provide advantageous and new PMSM control schemes for optimal current trajectory control within constraints of both machine current and voltage capability in PMSM drives. In accordance with example embodiments described herein, machine current and voltage limits are translated to equivalent PMSM torque limits in the PMDM drive system, and implemented by online torque command modification according to the maximum allowable torque under machine current and voltage constraints. The torque control schemes of the example embodiments each restricts the machine current and voltage, and meanwhile also ensures optimal current trajectory for PMSM torque maximization. The improved torque control algorithm of the example embodiments therefore prevents the potential impact caused by excessive machine current or voltage in PMSM drive systems. The improved torque control algorithm of the example embodiments is applicable to all electric drive system employing PMSMs and is not restricted to any specific application.
An example EPS system and a torque control algorithm for a PMSM drive are described herein with reference to
Referring now to the figures, where the technical solutions will be described with reference to specific embodiments, without limiting same,
Referring now to the Figures, where the technical solutions will be described with reference to specific embodiments, without limiting same,
Electric power steering assist is provided through the control apparatus generally designated by reference numeral 24 and includes the controller 16 and an electric machine 46, which could be a permanent magnet synchronous motor, and is hereinafter denoted as motor 46. The controller 16 is powered by the vehicle power supply 10 through line 12. The controller 16 receives a vehicle speed signal 14 representative of the vehicle velocity from a vehicle velocity sensor 17. Steering angle is measured through position sensor 32, which may be an optical encoding type sensor, variable resistance type sensor, or any other suitable type of position sensor, and supplies to the controller 16 a position signal 20. Motor velocity may be measured with a tachometer, or any other device, and transmitted to controller 16 as a motor velocity signal 21. A motor velocity denoted ωm may be measured, calculated or a combination thereof. For example, the motor velocity ωm may be calculated as the change of the motor position θ as measured by a position sensor 32 over a prescribed time interval. For example, motor speed ωm may be determined as the derivative of the motor position θ from the equation ωm=Δθ/Δt where Δt is the sampling time and Δθ is the change in position during the sampling interval. Alternatively, motor velocity may be derived from motor position as the time rate of change of position. It will be appreciated that there are numerous well-known methodologies for performing the function of a derivative.
As the steering wheel 26 is turned, torque sensor 28 senses the torque applied to the steering wheel 26 by the vehicle operator. The torque sensor 28 may include a torsion bar (not shown) and a variable resistive-type sensor (also not shown), which outputs a variable torque signal 18 to controller 16 in relation to the amount of twist on the torsion bar. Although this is one type of torque sensor, any other suitable torque-sensing device used with known signal processing techniques will suffice. In response to the various inputs, the controller sends a command 22 to the electric motor 46, which supplies torque assist to the steering system through worm 47 and worm gear 48, providing torque assist to the vehicle steering.
It should be noted that although the disclosed embodiments are described by way of reference to motor control for electric power steering applications, it will be appreciated that such references are illustrative only and the disclosed embodiments may be applied to any motor control application employing an electric motor, e.g., steering, valve control, and the like. Moreover, the references and descriptions herein may apply to many forms of parameter sensors, including, but not limited to torque, position, speed and the like. It should also be noted that reference herein to electric machines including, but not limited to, motors, hereafter, for brevity and simplicity, reference will be made to motors only without limitation.
In the control system 24 as depicted, the controller 16 utilizes the torque, position, and speed, and like, to compute a command(s) to deliver the required output power. Controller 16 is disposed in communication with the various systems and sensors of the motor control system. Controller 16 receives signals from each of the system sensors, quantifies the received information, and provides an output command signal(s) in response thereto, in this instance, for example, to the motor 46. Controller 16 is configured to develop the corresponding voltage(s) out of inverter (not shown), which may optionally be incorporated with controller 16 and will be referred to herein as controller 16, such that, when applied to the motor 46, the desired torque or position is generated. In one or more examples, the controller 24 operates in a feedback control mode, as a current regulator, to generate the command 22. Alternatively, in one or more examples, the controller 24 operates in a feedforward control mode to generate the command 22. Because these voltages are related to the position and speed of the motor 46 and the desired torque, the position and/or speed of the rotor and the torque applied by an operator are determined. A position encoder is connected to the steering shaft 51 to detect the angular position Θ. The encoder may sense the rotary position based on optical detection, magnetic field variations, or other methodologies. Typical position sensors include potentiometers, resolvers, synchros, encoders, and the like, as well as combinations comprising at least one of the forgoing. The position encoder outputs a position signal 20 indicating the angular position of the steering shaft 51 and thereby, that of the motor 46.
Desired torque may be determined by one or more torque sensors 28 transmitting torque signals 18 indicative of an applied torque. One or more exemplary embodiments include such a torque sensor 28 and the torque signal(s) 18 therefrom, as may be responsive to a compliant torsion bar, T-bar, spring, or similar apparatus (not shown) configured to provide a response indicative of the torque applied.
In one or more examples, a temperature sensor(s) 23 is located at the electric machine 46. Preferably, the temperature sensor 23 is configured to directly measure the temperature of the sensing portion of the motor 46. The temperature sensor 23 transmits a temperature signal 25 to the controller 16 to facilitate the processing prescribed herein and compensation. Typical temperature sensors include thermocouples, thermistors, thermostats, and the like, as well as combinations comprising at least one of the foregoing sensors, which when appropriately placed provide a calibratable signal proportional to the particular temperature.
The position signal 20, velocity signal 21, and a torque signal(s) 18 among others, are applied to the controller 16. The controller 16 processes all input signals to generate values corresponding to each of the signals resulting in a rotor position value, a motor speed value, and a torque value being available for the processing in the algorithms as prescribed herein. Measurement signals, such as the above mentioned are also commonly linearized, compensated, and filtered as desired to enhance the characteristics or eliminate undesirable characteristics of the acquired signal. For example, the signals may be linearized to improve processing speed, or to address a large dynamic range of the signal. In addition, frequency-based or time-based compensation and filtering may be employed to eliminate noise or avoid undesirable spectral characteristics.
In order to perform the prescribed functions and desired processing, as well as the computations therefore (e.g., the identification of motor parameters, control algorithm(s), and the like), controller 16 may include, but not be limited to, a processor(s), computer(s), DSP(s), memory, storage, register(s), timing, interrupt(s), communication interface(s), and input/output signal interfaces, and the like, as well as combinations comprising at least one of the foregoing. For example, controller 16 may include input signal processing and filtering to enable accurate sampling and conversion or acquisitions of such signals from communications interfaces. Additional features of controller 16 and certain processes therein are thoroughly discussed at a later point herein.
In one or more examples, the technical solutions described herein facilitate power management of the electric drive portion of the EPS system, i.e. the motor control system. It should be noted that, although the technical solutions are described herein using embodiments of an electric power steering system, the technical solutions are applicable to any other motor control system that is used in any other PMSM.
In accordance with example embodiments, an improved torque control algorithm for a PMSM drive is provided which actively performs machine current and voltage management. The development of this algorithm is facilitated by an analysis of various operation modes of the PMSM drive system depicted in
Besides Region I and III, there is also a transition region in between, denoted as region II in
Machine current and voltage management is critical in a PMSM drive and must be considered in the control system to ensure that the machine operates at the optimal operating condition. The voltage of a given PMSM system must first be guaranteed under the voltage capability to avoid control algorithm failure. In addition, machine current must be maintained under certain maximum limit because it influences the power loss and heat dissipation inside of machine and is directly related with the inverter design which must be able to carry the maximum machine current. If the machine current is higher than the device power rating, inverter might fail. Therefore, machine current must be carefully managed within the device current rating to avoid inverter failure and hence improve system reliability. Furthermore, a well-controlled machine current can reduce the requirement of device rating in the inverter design process which facilitates hardware circuit design with reduced cost components.
Previous techniques primarily consider the optimal current trajectory control so that the torque or efficiency can be maximized. However, the maximum machine current is not considered. In order to prevent potential problems caused by high machine current, a PMSM control scheme with both maximum machine current limiting and optimal current trajectory control is desired to enhance system design, and meanwhile ensure maximum torque or efficiency in PMSM drives.
The PMSM control scheme described herein in accordance with example embodiments secures the machine current and voltage limiting target, has the capability to ensure maximum torque or efficiency, is easy to implement online, and has good accuracy throughout the entire operation regions of the machine. To actively limit the machine current, the PMSM operation trajectory analysis must be performed, which is shown in
There are basically two operation regions in a PMSM drive system, i.e. MTPA and MTPV which are denoted as region I and region III respectively in
The PMSM MTPA trajectory is shown in
If a machine current limit Im,max is to be considered as PMSM control constraint in the existing torque control algorithm 170, the torque command must be modified accordingly. The challenge is presented because the maximum allowable torque to prevent machine current exceeding its limit is unknown and can hardly be solved analytically due to the complexity of MTPA and MTPV techniques to maintain optimal current trajectory. Example embodiments provide a technical solution to this problem. To solve this problem, a maximum torque searching-based method considering maximum machine current is implemented via an improved torque control algorithm (e.g., see example algorithms 170′, 170″ and 180 described with reference to
The flow chart of a PMSM control scheme comprising an improved torque control algorithm 170′ that considers current and voltage capability is shown in
With continued reference to
Mathematical equations for calculating Te,max are:
V
d
=RI
d+ωeLqIq (1)
V
q
=RI
q
+K
eωm−ωeLqIq (2)
T
e=3/2KeIq+¾Np(Lq−Ld)IdIq (3)
V
d
2
+V
q
2
=V
DC
2/3 (4)
I
d
2
+I
q
2
=I
m
2 (5)
Equations (1) and (2) are motor voltage equations. Equation (3) is the torque equation. Equation (4) is the voltage constraint. Equation (5) is the motor phase current constraint. The objective of the optimization realized by the example embodiment of
With further reference to
The improved torque control algorithm 170′ in
In practice, the reduction of machine voltage Vm,max can be controlled by manually adding a voltage limit into the algorithm 170″ (block 146) after the MTPV operation 140″ determines that the maximum torque Te,max of the PMSM exceeds the given torque command T*e (block 144). The voltage limit can be a designated parameter value in the program code that implements the algorithm 170″ or can be empirically determined or iteratively determined. The algorithm 170″ reduces the PMSM voltage Vm,max until the maximum torque Te,max of the PMSM is substantially equal to the given torque command T*e for a designated motor speed. By reducing Vm,max per block 146 and making better utilization of Vm,max such that the maximum torque under Vm,max is equal to T*e with flux-weakening, the machine current can be maintained at minimum which is beneficial in the PMSM drives as discussed above.
Since the machine 160 and inverter 150 can be designed to carry the machine current under most operation conditions (i.e., or all operation conditions without machine and inverter design optimization by machine current limiting), except a narrow transition region after MTPA region under large torque command, the machine current without any limiting most of the time will not cause damage to the machine 160 and inverter 150 in a PMSM drive system. As such, in accordance with another example embodiment, an improved torque control algorithm 180 is provided that employs post-command generation modification of current commands as illustrated in
As shown in
towards 0 gradually (block 192) until the modified torque increases and becomes equal to the commanded torque and the voltage is lower than or equal to the maximum voltage Vm,max. This search is performed because, if the current is simply limited to the maximum limit Im,max while the angle α is unchanged, it may result in a drastically lower modified torque even though the voltage constraint would still be met. Thus, the angle is changed from a value of
where only d-axis current is non-zero while q-axis current is zero (i.e., torque is zero) towards zero since the maximum torque output lies at an angle between those two extremes.
The search operation (block 192) for the selected current angle comprises sweeping the current angle α to obtain Vdq and Te wherein
I
d
=I
m,max cos α, and
I
q
=I
m,max sin α,
are used to determine Idq with Im,max being the designated maximum motor phase current limit, and Vdq and Te a determined using Idq in the following equations
Vdq and Te are determined using Idq in the following equations
V
d
=RI
d+ωeLqIq,
V
q
=RI
q
+K
eωm−ωeLqIq,
where R is motor circuit resistance (Ohm), Ld is d-axis inductance (Henry), Lq is q-axis inductance (Henry), Ke is motor voltage constant (Volt/rad/s), ωm is mechanical motor velocity (md/s), ωe is electrical motor velocity (rad/s) and Np is number of motor magnetic poles.
In the improved torque control algorithm 180, which provides a im limiting module 180 after an existing torque control algorithm 170, original current commands i*d,final and i*q,final from the existing torque control algorithm 170 will pass directly to current regulator 150 most of the time if PMSM current limit is not exceeded. For the case of large torque command in the specific region when original im is higher than Im,max, further calculation is performed to generate new i*d,final and i*q,final (e.g., blocks 190, 192 and 194) such that PMSM current and voltage limits are not exceeded. This approach 180 is essentially the same as the technical solution 170 shown in
Each one of the example technical solutions given in the example embodiments of
Machine current limiting is essential in electric drives to aid in protection of the motor, inverter and other parts of the electric drive system. Although existing techniques are available for motor current management, these existing techniques are characterized by disadvantages. For example, offline calibration can be performed; however, the calibrated current limit is often too conservative. Also, offline calibration has to be performed for different motors, which is time-consuming. Further, due to the offline nature of these techniques, the current and torque commands are not optimal since dynamically changing operation conditions of the PMSM 160 are not considered. On the other hand, while dynamic techniques that iteratively modify the motor torque command are more accurate, they are computationally complex for implementation.
The technical solutions for motor current management provided by the example embodiments of
Aspects of the present technical solutions are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the technical solutions. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present technical solutions. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession, in fact, may be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
It will also be appreciated that any module, unit, component, server, computer, terminal or device exemplified herein that executes instructions may include or otherwise have access to computer readable media such as storage media, computer storage media, or data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Computer storage media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. Such computer storage media may be part of the device or accessible or connectable thereto. Any application or module herein described may be implemented using computer readable/executable instructions that may be stored or otherwise held by such computer readable media.
While the present disclosure has been described in detail in connection with only a limited number of embodiments, it should be readily understood that the present disclosure is not limited to such disclosed embodiments. Rather, the present disclosure can be modified to incorporate any number of variations, alterations, substitutions or equivalent arrangements not heretofore described, but which are commensurate in scope with the present disclosure. Additionally, while various embodiments of the present disclosure have been described, it is to be understood that aspects of the present disclosure may include only some of the described embodiments or combinations of the various embodiments. Accordingly, the present disclosure is not to be seen as limited by the foregoing description.