This invention relates to a motor controller wherein a frequency of the motor's operation is utilized to provide a correction function for eliminating a disturbance on a two-loop control path, with the elimination of the disturbance allowing the control path to provide a single loop correction on either path.
Motor controllers are used in conjunction with motors to provide variable and controllable speed for various applications. While this invention is particularly directed for aircraft application, it is not so limited.
In aircraft applications, motor controllers are used for both low power and high power applications. Main engine starting is accomplished with a motor controller in conjunction with the main electrical power generator (acting as a motor). This is a high power application. The same is true for a motor driven hydraulic pump aircraft application. It is common practice to use the main engine starting motor controller to serve another function after the engine is started, such as driving environmental control system air compressors, which are also high power.
The hydraulic pumps and the environmental control systems are operated at very high rotational speeds so as to minimize size and weight of the motor. Associated with this high speed is a relatively high frequency required from the motor controller. Speeds of 42 krpm and 84 krpm are not unusual, and result in operating fundamental frequency up to 1300 or 1400 Hz.
One popular motor controller is the field oriented control (FOC) technology. FOC is well developed and used in synchronous and asynchronous motors around the world. A functional block diagram of the conventional FOC algorithm is illustrated in
If a flux, φ, on the rotor of the synchronous motor is developed by a permanent magnet or a wound field electromagnet along a direct (d) axis, then this flux will generate a positive sinusoidal voltage in the stator winding along a quadrature (q) axis when the motor rotates in the indicated direction. The quadrature voltage leads the flux by 90 electrical degrees because of Lenz's law for magnetic circuits: V=N*dφ/dt where N is number of turns linking the flux, φ.
This voltage (Vq) is generally referred to as the internal back-emf of the machine. To produce mechanical power (torque) with the motor, it is necessary to drive the motor with a component of current that is in-phase with the back-emf (Vq). Ideally, the current would be precisely in-phase with Vq to achieve best mechanical power per amp. In summary, control of the q-axis current (Iq) provides control of the motor output torque.
Because no appreciable flux is present in the q axis, there will be no component of direct axis back-emf voltage (Vd) generated by the motor stator winding. It is customary to drive the synchronous motor with no d-axis current, that is Id=0. It is also know by those familiar with the art, that d-axis current in a synchronous machine will provide a method to weaken (or strengthen) the main rotor flux. In asynchronous motor applications, the d-axis current provides excitation current (magnetizing current) for the motor independent from the q-axis torque producing current.
Thus, the function of the FOC motor controller is to allow independent and appropriate control of the q-axis and d-axis currents (Iq and Id) to generate mechanical torque and to provide excitation as needed over the entire operating speed range of the motor. It is customary to incorporate a shaft position sensor to provide the angular position information necessary for the FOC operating system. The details of this disclosure are applicable to an FOC system that incorporates any shaft position sensing or sensorless means.
The primary advantage of the FOC is that it allows control and manipulation of the q-axis and d-axis components of the motor stator AC currents as if they were direct current (DC) quantities. In a sense, an FOC control makes an AC machine behave similar to a DC machine where excitation and torque are relatively independent and easily manipulated.
Referring back
A feedback loop includes motor currents sensors that connect to a “Clarke” transformation block, which mathematically converts the 3-phase current signals into 2-phase quadrature AC current signals. A downstream Park transformation block then converts the 2-phase AC current signals into DC quantities. The Clark and Park transformation effectively demodulate the motor current into DC quantities where the one output is directly proportional to the amplitude of the motor's Iq current component and the other output is directly proportional to the motor's Id current component.
The motor Id and Iq currents are compared to their respective reference (commanded) current values by the summing junctions as shown. The resulting error currents (Iderror and Iqerror) are each processed through a proportional and integral amplifier (PI block). The resulting DC signals are the desired voltage quantities (Vq and Vd) needed to the control the inverter output voltage. These signals are DC quantities that are processed through an inverse Park transformation and an inverse Clarke transformation (Park−1 and the Clarke−1) to convert them back into 3-phase voltages for PWM and inverter processing. The inverter produces corresponding Vq and Vd voltages, as determined by the FOC processing; and applies them to the motor stator winding. It can be seen that the FOC control loop is effectively a 2-loop control wherein Iq and Id are detected, processed, and reformulated as necessary to provide the desired current to the motor.
The basic control described above assumes the two loops are independent, however, the Iq and Id control loops are not actually completely independent from one another. Importantly, their inter-relationship changes as speed of the motor changes. The inter-dependence of the Iq and Id control loops raises a problem. The motor winding impedance is an important aspect of the FOC control loop because it is this impedance that converts the inverter output voltage into motor current. The motor winding itself offers a complex impedance consisting primarily of resistance and inductance. For very low frequency, the impedance of the motor is effectively resistive only. At high frequency the impedance of the motor winding becomes essentially inductive only.
Referring to
By a similar process, a step change to the excitation current command (Id) is processed through the d-axis control path resulting in a d-axis inverter voltage that is converted to a d-axis current by the motor winding resistance. The Id command current is fully resolved by the d-axis control loop alone.
Transient response to disturbances on either the q-axis or d-axis is determined primarily by the PI functional block and the motor winding impedance. All other transfer functions in the block diagram are considered to have negligible effect for purposes of this application. The performance of the q-axis and d-axis loops can be independently tailored to the specific requirements for either control loop. While this is true for the above-described low motor speed operating condition, this basic FOC system provides substantial performance change and performance limitations at higher motor speeds.
As mentioned, the motor winding impedance becomes inductive at higher speeds. The transition from resistive to inductive impedance is a function of the motor winding resistance (R) and inductance (L) and it occurs at an electrical frequency:
F0=ω0/2π,
where ω0=R/L, and where F0 is expressed in units of Hz.
By way of a specific example, a 4-pole, 40,000 rpm, 100 horsepower, permanent magnet motor for an aircraft hydraulic pump application (or for a compressor application) might typically have an inductance L=100 uH and a resistance R=0.010 ohms giving F0=16 Hz. This is equivalent to 480 rpm for the 4-pole motor. Operating substantially above this speed, for example at 160 Hz or 4800 rpm, the motor impedance is effective inductive, i.e.:
Zmotor=R+j2π*160=0.010+j0.10≈0.10/90° ohms (i.e. 0.1 ohms at 90 degrees)
At 16 Hz the motor impedance is found to be ≈0.014/45° ohms, and at 1.6 Hz is found to be ≈0.010/0° ohms.
Again, referring to
This errant d-axis current (Id) will next be sensed by the motor current sensors and then after being processed through the Park and Clarke transformations it will appear at the d-axis summing junction output, i.e., Id error=−Id. This negative Id error current will be processed through the d-axis loop's PI block, then the Park−1 and Clark−1 functions and produce a negative d-axis voltage (−Vd) response in the inverter output, which in turn is applied to the motor winding. Because the motor is operating at a speed that causes it to be inductive, the current will lag the voltage by 90°, which is for all intents and purposes a positive q-axis component of current (Iq).
Thus, the initial error generated by the Iq command step change is finally resolved, but both the d-axis loop and the q-axis loop are fully involved in the resolution of the initial q-axis error. Unwanted errors (disturbances) were created in the d-axis control loop. Because both the d and q-axis paths are involved in a sequential manner, the q-axis control response has become a second order system response for motor frequencies substantially above ω0. That is, the q-axis closed loop transfer function required both q and d-axis control steps (PI functions are effectively cascaded).
By a similar analysis, a step change to the Id current command can be shown to be proceed sequentially through the d-axis and then the q-axis control loops path before the desired response in the motor's d-axis current is achieved. Similar to the q-axis control loop, the d-axis control loop transfer function also contains both q and d-axis PI control steps.
Thus, the conventional FOC control system has a substantially different closed loop transfer function for low speed operation as compared to that for high-speed operation. While the effect at both 0 degree and 90 degree is described, there would be a similar effect at all angles between the two. The amount of the phase shift would change with the changing angle, however, the basic disturbances as described would occur. Because both q-axis and d-axis control loops are sequentially involved, the control response will have a much different and perhaps undesired control response as compared to that for the low speed operation. It is generally undesirable to have two cascaded integrators in a closed loop control system, because together they will (by definition) create opportunity for 180 degree total phase shift and perhaps lead to control instability.
Because the conventional FOC system necessarily incorporates PI (proportional-integrator) functions in both q-axis and d-axis control loops, and because the motor impedance forces the system into a 2-pole closed loop system response as described above, the standard FOC system is potentially prone to control stability problems.
In normal control theory, a control “zero” can be used to compensation closed loop poles in an attempt to improve phase margin and stability. However, compensation techniques are less preferable than the complete elimination of a pole (when possible) because it results in a much more robust and predictable control system.
It is also known that electronic power converters with actively regulated outputs (which includes motor drives) exhibit a constant power characteristic at the power converter's input power terminals. As the “constant power” terminology implies, when the input DC voltage to the inverter/converter is disturbed, the input current will respond in the opposite sense, i.e., increasing the input voltage will elicit an input current decrease and conversely a decrease in input voltage will elicit an input current increase. This “negative resistance” effect is well known and will tend to “un-damp” any resonant circuits or filters connected to the (input) power bus and could lead to instability in the entire power system. One important method is to limit the “bandwidth” of the constant power feature in the control algorithm to a sufficiently low level, generally well below the lowest corner frequency of any resonant circuits connected to the power bus. In this manner, any un-damping effects will fall outside any potential areas of resonance. Constant power bandwidth limiting can be provided in an FOC motor drive system by using the pole (integrator) provided in the PI (proportional-integrator) functional block. Thus, it is desired to have a single control loop “pole” for power system stability reasons, but no more than a single pole for control stability reasons as discussed above.
In a disclosed feature of this invention, the time derivative of the motor position angle (that is, the rotational speed or electrical frequency) is utilized to determine the expected disturbance angle or phase shift angle resulting from the motor's impedance angle. An ARCTAN function provides that impedance angle which is then summed with the motor rotor position angle and this sum is fed into the inverse Park component. The angle provided by this ARCTAN function will effectively compensate for the motor impedance angle. Thus, and even as the motor becomes more inductance-based at higher frequencies, the disturbance described in the Background of the Invention section will not occur.
The ARCTAN function can be imposed directly at the inverse Park transformation, or at an upstream or downstream location.
These and other features of the present invention can be best understood from the following specification and drawings, the following of which is a brief description.
To illustrate the performance of the new control, consider the motor operating at a speed where the motor impedance is resistive (impedance angle is zero). Here, because ω is zero, the Tan−1 function will provide no phase shift (θc=0°) and the system will function the same as the conventional system, that is each loop will act independently as described above for the resistive motor case.
For higher motor speeds, say where the motor impedance is +90° (inductive), the Tan−1 function will add 90° to the Park−1 function (θc=90°). Then a commanded step increase on the q-axis input (Iq) will cause a positive output on the q-axis summing junction (Iqerror=Iqstep), which will result in a q-axis voltage (Vq) on the output of the PI block. Because θc=90°, the Park−1 block will advance the Vq phasor by 90° and this will effectively translate Vq into a negative Vd input to the Clark−1 and PWM functions. The inverter will then generate a negative Vd voltage that when applied to the motor will (because of the inductive motor impedance) provide an immediate and desired q-axis loop without disturbing the d-axis loop and without the effects of the PI pole in the d-axis loop. That is, the cascading of poles inherent in the baseline FOC system, has been effectively eliminated.
By a similar argument, it can be shown that d-axis commands or disturbances will also traverse the d-axis loop only without traversing the q-axis loop.
While the effect at both 0 degree and 90 degree is described, there would be a related effect similar correction at all angles between the two. The amount of the phase shift would change with the changing angle, however, the basic correction of the disturbances as described would still occur, albeit with intermediate angles.
The end result is that the undesired second pole and associated second order response characteristic of the conventional FOC loop has been effectively eliminated without adding compensation “zeros” or other undesirable effects. The performance improvements are significant and have been demonstrated through hardware testing to eliminate previously encountered control stability problems. Also because the FOC loop is now a simple single pole control loop, the constant power control bandwidth can also be tailored with this single pole to assure good power system stability as well.
While the correction has been described functionally, a worker in the art would recognize how to incorporate the function into existing controls.
It should be understood that various alternatives to the embodiments of the invention described herein may be employed in practicing the invention. It is intended that the following claims define the scope of the invention and that the method and apparatus within the scope of these claims and their equivalents be covered thereby.