The present invention generally relates to the control of electric motors. More specifically, the present invention relates to a method and system for sensorless control of an electric motor, such as one in used in a drive system of an automobile.
In recent years, advances in technology, as well as ever evolving tastes in style, have led to substantial changes in the design of automobiles. One of the changes involves the complexity of the electrical and drive systems within automobiles, particularly alternative fuel vehicles, such as hybrid, electric, and fuel cell vehicles. Such alternative fuel vehicles typically use an electric motor, perhaps in combination with another actuator, to drive the wheels.
Traditional motor control systems normally include a feedback device or position sensor, such as a resolver or encoder, to provide speed and position information about the motor. Feedback devices and associated interface circuits increase the costs of a motor control system, and these costs may become prohibitive in high volume applications such as the production of automobiles. Additionally, a position sensor and its associated wiring harness increase the complexity and assembly time of an electric drive system in a vehicle.
Electric vehicles powered by fuel cells, batteries and hybrid systems that include electric motors are becoming more common in the automotive market. As production volumes for electric vehicles increase, the cost of feedback devices and associated interface circuits will become significant. Automakers are therefore always striving to cut costs and reduce the number of parts for a vehicle. The removal of a feedback device for an electric motor control system will lead to significant cost reductions for an electric vehicle.
Hybrid electric and electric vehicles today utilize numerous electric motor control technologies such as the vector control of electric motors. A vector motor control scheme is a computationally intensive motor control scheme that maps the phase voltages/currents of a three-phase motor into a two axis coordinate system. The structure used to excite an electric motor using a vector control scheme is a typical three-phase power source inverter including six power transistors that shape the output voltage to an electric motor. Vector control requires rotor position information, which is normally obtained via a feedback device or position sensor. The objective of the position sensorless control is to obtain the rotor position information utilizing electromagnetic characteristics of an AC machine, eliminating the position sensor and its associated interface circuits.
Accordingly, it is desirable to provide an improved method and system for sensorless control of an electric motor. Furthermore, other desirable features and characteristics of the present invention will become apparent from the subsequent detailed description and the appended claims, taken in conjunction with the accompanying drawings and the foregoing technical field and background.
A method for controlling an electric motor is provided. A signal including at least first and second cycles is provided to the electric motor. A first flux value for the electric motor associated with the first cycle of the signal is calculated. A second flux value for the electric motor associated with the second cycle of the signal is calculated based on the first flux value.
A method for controlling an automotive electric motor having a winding is provided. A signal including first and second cycles is provided to the electric motor. A winding flux error is determined based on a measured winding flux and an estimated winding flux. A first flux value of the electric motor is calculated based on the winding flux error. The first flux value includes flux linkage, a back electromotive force (BEMF) generated by the motor, or a combination of the flux linkage and the BEMF.
An automotive drive system is provided. The automotive drive system includes an electric motor, a direct current (DC) power supply coupled to the electric motor, a power inverter coupled to the electric motor and the DC power supply to receive DC power from the DC power supply and provide alternating current (AC) power to the electric motor, and a processor in operable communication with the electric motor, the DC power supply, and the power inverter. The processor is configured to provide a signal including at least first and second cycles to the electric motor, calculate a first flux value for the electric motor associated with the first cycle of the signal, and calculate a second flux value for the electric motor associated with the second cycle of the signal based on the first flux value.
The present invention will hereinafter be described in conjunction with the following drawing figures, wherein like numerals denote like elements, and
The following detailed description is merely exemplary in nature and is not intended to limit the invention or the application and uses of the invention. Furthermore, there is no intention to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or the following detailed description. Additionally, although the schematic diagrams shown herein depict example arrangements of elements, additional intervening elements, devices, features, or components may be present in an actual embodiment. It should also be understood that
For example, in one embodiment, a signal including at least first and second cycles is provided to the electric motor. A first flux value for the electric motor and associated with the first cycle of the signal is calculated. A second flux value for the electric motor and associated with the second cycle is calculated based on (or derived from) the first flux value. The process is then repeated. The first and second flux values may be, for example, estimated flux linkages, estimated BEMF strengths, estimated flux increments, estimated BEMF increments, or any combination thereof.
The current flowing through the electric motor may also be measured during the second cycle, and the second flux value may also be based on the measured current. The signal may also include a third cycle that occurs before the first and second cycles, during which a current flowing through the electric motor may be measured. The second flux value may also be based on the current measured during the third cycle.
In another embodiment, a winding flux error is determined based on a measured winding flux and an estimated winding flux. A flux value (e.g., flux linkage and/or BEMF) of the electric motor is calculated based on the winding flux error.
The automobile 20 may be any one of a number of different types of automobiles, such as, for example, a sedan, a wagon, a truck, or a sport utility vehicle (SUV), and may be two-wheel drive (2WD) (i.e., rear-wheel drive or front-wheel drive), four-wheel drive (4WD) or all-wheel drive (AWD). The automobile 20 may also incorporate any one of, or combination of, a number of different types of engines (or actuators), such as, for example, a gasoline or diesel fueled combustion engine, a “flex fuel vehicle” (FFV) engine (i.e., using a mixture of gasoline and alcohol), a gaseous compound (e.g., hydrogen and/or natural gas) fueled engine, or a fuel cell, a combustion/electric motor hybrid engine, and an electric motor.
In the exemplary embodiment illustrated in
Still referring to
The electronic control system 28 is in operable communication with the actuator assembly 30, the battery 32, and the inverter 34. Although not shown in detail, the electronic control system 28 includes various sensors and automotive control modules, or electronic control units (ECUs), such as an inverter control module and a vehicle controller, and at least one processor and/or a memory which includes instructions stored thereon (or in another computer-readable medium) for carrying out the processes and methods as described below.
Referring to
The switch network comprises three pairs (a, b, and c) of series switches with antiparallel diodes (i.e., antiparallel to each switch) corresponding to each of the phases. Each of the pairs of series switches comprises a first switch, or transistor, (i.e., a “high” switch) 50, 52, and 54 having a first terminal coupled to a positive electrode of the voltage source 32 and a second switch (i.e., a “low” switch) 56, 58, and 60 having a second terminal coupled to a negative electrode of the voltage source 32 and having a first terminal coupled to a second terminal of the respective first switch 50, 52, and 54.
Still referring to
Referring again to
In accordance with one aspect of the present invention, a method (or algorithm) and system for estimating rotor position of a permanent magnet AC machine (e.g., the motor 40) are provided. This algorithm may be used during high speed motor operation. The motor flux (or flux linkage) and BEMF increment are calculated or estimated based on currents and voltages (i.e., commanded or measured) within the motor. The estimated flux is compared with a measured flux. The flux and BEMF estimation is updated based on the flux and BEMF increment from the motor model and the flux error.
The motor model block (or motor model) 64 receives a motor voltage and a motor current as input, along with an estimated flux and BEMF from the flux observer block 68. The motor model block 64 generates increments of the flux and the BEMF for each sampling time (or each cycle of the PWM signal) which are sent to the flux observer block 68. The flux model block (or flux model) 66 receives the motor current as an input and generates a measure of the motor flux from, for example, a flux table. A flux error is calculated from the difference of the estimated flux from the flux observer block 68 and the measured flux from the flux model block 66 at summation circuit (or summer) 73. The measured flux, or flux quantity, is also used as a feedforward control (or decoupling current) of the current control for the motor. The flux error and the increments from the motor model block 64 are received as input by the flux observer block 68, which estimates the motor flux and BEMF.
In one embodiment, the estimated flux accounts for the flux generated by the windings in the stator of the motor 40, while the flux generated by the permanent magnets in the motor 40 is excluded. One advantage of this method is that the estimated flux is not dependent on the temperature of the motor magnets, as it is determined by the geometry of the motor and the material properties of the stator and rotor core. The estimated BEMF corresponds to the voltage induced by the permanent magnet flux, and its angle contains the position estimation error.
The estimated position error is then sent to the speed and position observer block 72 to estimate the rotor position and speed. Because the magnitude of the estimated BEMF is not used in the position and speed estimation, the temperature variation of the rotor, especially the permanent magnet, does not affect the estimation of the rotor position and speed.
The resulting net voltages contribute to the stator fluxes. At summers 78 and 80, respectively, voltages induced by estimated winding fluxes, {circumflex over (Ψ)}d(k−1) and {circumflex over (Ψ)}q (k−1), are subtracted after being multiplied by the operating frequency (ωr). While at summers 82 and 84, estimated BEMF values, Êsd(k−1) and Êsq(k−1), are subtracted. The remaining voltage values are multiplied by the sampling periods of calculation, Ts, and result in the expected flux increment of the winding fluxes at the k-th sampling period, Δ{circumflex over (Ψ)}d(k) and Δ{circumflex over (Ψ)}q(k).
As shown in
As shown in
The digital controller 46 has an inherent one-cycle delay caused by the PWM, which may result in the error of control and estimation.
As such, a two-cycle delay occurs between a commanded voltage and the observance of that commanded voltage by the flux observer 68. Additionally, although every variable besides stationary voltage may be updated as shown in
The current transformation portion 146 shown in
Êsd=ωrΨf sin Δθ (1)
Êsq=ωrΨf cos Δθ (2)
At low speeds, Êsq may be too low to be used and thus may be limited by the BEMF limiter block 162 below a certain speed depending on the magnetic flux of the motor 40. The position error block 164 extracts the position error in Equations 1 and 2 utilizing, in one embodiment, a two-dimensional arc-tangent function. The resultant position error (εθ(k)) is used to generate the estimation of electrical motor speed for the next cycle ({circumflex over (ω)}r(k+1)) as shown in
Except at low speeds where the absolute value of Êsq is limited by the BEMF limiter block 162, the position error block 164 provides a robust signal to track the position and speed of the motor irrespective of the magnitude of the permanent magnet, which is affected by the operating temperature, and the operating speed. Thus, it is possible to estimate the position and speed of the motor 40 regardless of the operating conditions of the motor 40.
A torque command is sent from a high level controller, such as a torque controller or vehicle controller. The torque command is transformed into current commands, isd* and isq*, which are DC quantities.
Phase conversion block 196 transforms three-phase currents sampled from the motor 40 into two-phase currents. The rotational transformation block 194 provides the rotational transformation (e.g., stationary to synchronous frames) with respect to the rotor position obtained from the proposed invention in order to change the two-phase AC currents, iα(k) and iβ(k), into two-phase DC currents, isd and isq, which are used as current feedback at summers 198 and 200.
The difference between the current command and the current feedback drives the current controller 190 to generate the voltage commands, Vsd* and vsq*, which are also DC quantities. At summers 202 and 204, feedforward terms (or decoupling voltages) vsd(ff)* and vsq(ff)* are used to decouple the voltage induced by the flux inside the motor at the output of the current controller 190. The feedforward terms are calculated from the flux table, Ψd and Ψq, as
v
sd(ff)*=−ωrΨq(isd, isq) (3)
v
sq(ff)*=ωrΨd(isd, isq) (4)
Although the commanded currents may be used in Equations 3 and 4, the decoupling voltages calculated using the commanded currents may result in oscillatory current control response at high speed operation.
As mentioned earlier, three-phase AC voltage is usually used to drive the motor, so an inverse-rotational transform (e.g., synchronous to stationary frames) from Vsd* and vsq* to vα* and vβ* with respect to the rotor position is performed by rotational transformation block 192. These two-phase AC voltage commands, vα* and vβ*, are then transformed into three-phase AC quantities by the inverter 34.
As described above, the position and speed estimator 62 uses the outputs of rotational transformation block 192 and the phase conversion block 196 to estimate the flux and the BEMF.
Other embodiments may utilize the method and system described above in implementations other than automobiles, such as watercraft and aircraft. The electric motor and the power inverter may have different numbers of phases, such as two or four. Other forms of power sources may be used, such as current sources and loads including diode rectifiers, thyristor converters, fuel cells, inductors, capacitors, and/or any combination thereof.
While at least one exemplary embodiment has been presented in the foregoing detailed description, it should be appreciated that a vast number of variations exist. It should also be appreciated that the exemplary embodiment or exemplary embodiments are only examples, and are not intended to limit the scope, applicability, or configuration of the invention in any way. Rather, the foregoing detailed description will provide those skilled in the art with a convenient road map for implementing the exemplary embodiment or exemplary embodiments. It should be understood that various changes can be made in the function and arrangement of elements without departing from the scope of the invention as set forth in the appended claims and the legal equivalents thereof.