This disclosure relates generally but not exclusively to brushless or synchronous motors, and more particularly, to initial phase estimation of such motors.
There is a general trend in industrial applications to move from motors with brushes, such as DC motors, to synchronous motors. For instance, a growing use of synchronous motors has been witnessed in the semiconductor wafer processing industry where they are used for high precision positioning. The trend towards using brushless motors is motivated by their longer lifetime, lower maintenance costs, and improved cleanliness of operation. For example, motor brushes experience wear and tear, which can result in spreading out small dust particles that can be injurious to semiconductor wafers and other work pieces. Synchronous motors therefore make a more reliable solution since they are not subjected to the wear of brushes.
To eliminate mechanical contacts, current commutations are performed electronically for a brushless or synchronous motor. To perform these commutations, a controller driving a synchronous motor ideally has information on the reference or initial phase of the motor. Putting the control currents in exact phase with the motor yields an optimal use of the motor. A lack of knowledge of the reference phase can make it difficult or impossible to avoid heating and to achieve desired precision control. Therefore, the determination of a reference phase is desired for precise synchronous motor control.
To get information on the reference phase, state of the art solutions require additional undesirable hardware to be added to the motor. For example, Hall effect sensors can be used to give a direct measurement of the magnetic field inside the motor. Resolvers may also be used to get a reference position since they provide absolute position or angle measurements. Finally, by measuring current inside the motor, the back electromotive force created by an electrical circuit moving into a magnetic field can lead to a determination of a reference position. No matter how efficient these solutions are, however, they require additional components to determine the reference phase, and these components, especially Hall effect sensors and resolvers, are quite expensive. Furthermore, adding new components means adding wires, connectors, and redesigning communication protocols and new algorithms to process the information from these dedicated components.
Existing solutions with none of the aforementioned hardware additions are based on the periodic magnetic field inside a motor. One such solution injects a constant reference current to one electrical phase of the motor, thereby making it stabilize where the magnetic field is zero, which may not be a desired position. This solution, which is based upon measuring how far the motor moves to arrive at its in-phase position, subjects the motor to an unknown and uncontrolled movement, which may not be acceptable in some applications. This solution may work provided friction is not too significant, but friction can cause the resting position to differ from the true in-phase position. Moreover, this solution does not meaningfully take advantage of the motor's dynamic behavior. Finally, when using this solution, one can witness erratic position shifts around the equilibrium position before stabilizing. These movements can be as large as the magnetic pitch, which may be a couple of millimeters, and such large oscillations are not acceptable for some applications.
According to one embodiment, an apparatus comprising a brushless motor, a driver, an incremental displacement sensor, and a processor. The brushless motor has a rotor, a stator, and electrical terminals accepting an electric drive signal. The motor is characterized by an a priori unknown initial phase of the rotor with respect to the stator. The driver is connected to the electrical terminals and produces the electric drive signal. The incremental displacement sensor is configured to measure a displacement of the rotor with respect to the stator and to produce an output signal indicative of the displacement. The processor has an input receiving the output signal from the position sensor and an output connected to the driver. The processor is configured to cause the driver to produce the electric drive signal according to a predetermined function of time, to observe the output signal from the displacement sensor resulting from the electric drive signal, and to perform mathematical computations on the basis of the observed output signal and a model of dynamic behavior of the motor to estimate the initial phase of the rotor with respect to the stator.
According to another embodiment, a method estimates an a priori unknown initial phase of a rotor with respect to a stator. The rotor and the stator are parts of a synchronous motor that is not equipped with a capability to directly measure the absolute phase of the rotor with respect to the stator. The method applies to the motor an electric drive signal according to a predetermined oscillating function of time, so as to cause a sequence of displacements of the rotor with respect to the stator. The method collects data from the motor in response to the electric drive signal. The method then performs mathematical computations on the basis of the collected data and a model of dynamic behavior of the motor to estimate the initial phase of the rotor with respect to the stator.
According to yet another embodiment, a method estimates an a priori unknown initial phase of a rotor with respect to a stator. The rotor and the stator are parts of a synchronous motor that is not equipped with a capability to directly measure the absolute phase of the rotor with respect to the stator. The dynamic behavior of the motor is modeled by a mathematical model that relates data observable from the motor to the initial phase. The mathematical model is characterized by one or more degrees of freedom. The method applies to the motor a plurality of electric drive signals, wherein each electric drive signal is a function of one or more of said one or more degrees of freedom, and each electric drive signal is characterized by a different set of values chosen for said one or more degrees of freedom. The method collects data from the motor in response to the electric drive signals. The method then performs mathematical computations on the basis of the collected data and a model of dynamic behavior of the motor to estimate the initial phase of the rotor with respect to the stator.
Details concerning the construction and operation of particular embodiments are set forth in the following sections with reference to the below-listed drawings.
With reference to the above-listed drawings, this section describes particular embodiments and their detailed construction and operation. The embodiments described herein are set forth by way of illustration only. Those skilled in the art will recognize in light of the teachings herein that variations can be made to the embodiments described herein and that other embodiments are possible. No attempt is made to exhaustively catalog all possible embodiments and all possible variations of the described embodiments.
For the sake of clarity and conciseness, certain aspects of components or steps of certain embodiments are presented without undue detail where such detail would be apparent to those skilled in the art in light of the teachings herein and/or where such detail would obfuscate an understanding of more pertinent aspects of the embodiments.
As one skilled in the art will appreciate in view of the teachings herein, certain embodiments may be capable of achieving certain advantages, including by way of example and not limitation one or more of the following: (1) facilitating the usage of synchronous motors with their attendant advantages, which may be especially desirable in semiconductor workpiece handling, where cleanliness and accuracy are important; (2) facilitating the use of incremental position sensors, which offer low cost and high accuracy; (3) more reliable and less erratic phase estimation, which in turn leads to improved efficiency and accuracy controlling the motor; (4) opportunities to minimize the magnitude of temporary motor displacement during initialization; (5) robust performance when conditions such as friction, load, and mass are unknown, and decreased sensitivity to variations in those conditions as some prior art techniques; and (6) little or no uncontrolled final position displacement resulting from the initialization. These and other advantages of various embodiments will be apparent upon reading the following.
as a function of position x, along the lengthwise direction of the tracks. The rotor 12 comprise electrical circuits, such as coils 14 and 16 and possibly other elements not shown. The number of coils represents the number of phases of the motor 10. As shown, the two coils 14 and 16 are offset from one another by an amount P/4 in the x direction. The currents in each coil generate Laplace's forces through interactions with the magnetic field B(x). These forces may be modeled as follows:
where Km, the motor's gain, is equal to 2 lB0, where l is the length of the active portion of the coils 14 and 16 between the magnets, and x=x0+d where x0 is the unknown initial position of the rotor 12, and d represents the displacement relative to that initial position. Together these forces, cumulatively F, propel the rotor forward in the x direction. In a more general case of Q phases, this total force F can be modeled as follows:
For the case when Q=2, Δφ2=π/2; for the case when Q=3, Δφ3=2π/3.
Note that different constructions and structures for the motor 10 are possible. For example, the magnets 24, 26, 28, and 34 may be electromagnets rather than permanent magnets, in which case the electrical terminals of the motor 10 are connected to the stator 22 rather than the rotor 12. Other variations will be apparent to those skilled in the art.
m{umlaut over (x)}=F−f(x, {dot over (x)}) (5)
A simplifying assumption can be made by ignoring viscous friction since the motor 10 typically moves slowly during initialization. Then, the frictional force can be modeled as dry friction only as f(x, {dot over (x)})=f sign({dot over (x)}), where f on the right-hand side is the magnitude of the dry friction.
In general, the electrical dynamics of the currents in the coils 14 and 16 can be taken into account, according to the relation:
where vj is the voltage across the jth coil, L is the inductance of each coil, R is a coil's resistance, and the final term represents a back electromotive force. However, it is typically valid to ignore these electrical dynamics, as any electrical variations are usually much faster than mechanical variations. In other words, one can safely assume in most cases that the current in each coil 14, 16 reaches its desired value immediately.
Assume that the driving currents are of the following form:
which is representative of a classical field-oriented form of current control for a brushless motor, where I is a reference current. In the case of two phases (Q=2), the currents are as follows:
where {circumflex over (x)}{circumflex over (x0)} is an assumed estimate of the unknown initial motor position, and φ is a supplementary degree of freedom. By substituting these currents in equation (4) under the assumptions regarding friction and electrical dynamics explained above, the following model of motor dynamics results:
The reference current I can be related to the second derivative of a reference trajectory {umlaut over (x)}ref as follows:
where {circumflex over (K)}m and {circumflex over (m)} are a priori estimates of Km and m. This leads to an alternative expression for the dynamic model equation (10), as follows:
where
Note that different models are possible for the motor 10 or other motors. Depending upon the construction and structure of the motor, the nature of the model chosen to mathematically represent the motor's behavior, and the assumptions made by the modeler, models different from equation (10) or (12) can result. The methods, systems, techniques, and principles described herein are broadly applicable to many different models, not just the particular one given by equations (10) and (12).
Given a model such as the one in equation (10) or (12), an initial phase estimation scheme can be devised. This estimation can be made by choosing I and φ, despite a lack of knowledge of the other parameters. The chosen drive current signal I (or equivalent drive voltage signal) causes a displacement of the rotor 12. This displacement, which is preferably small, is measured relative to the starting position by an incremental position sensor, which may be inexpensive. A series of alternating back-and-forth or oscillatory displacements may be induced via the electric drive signal. The resulting position displacement measurements acquired by the incremental sensor can be processed to perform mathematical computations to estimate the initial motor phase.
One embodiment of the invention utilizes an algorithm that allows for precise synchronous motor control without the use of expensive additional hardware. The algorithm can be applied to the control of both linear and rotating motors. This algorithm only has to be fed with relative position measurements from incremental displacement sensors, which are less expensive than Hall Effect sensors or resolvers. When a synchronous motor is equipped with incremental displacement sensors, a simple algorithm with little calculation can be implemented in the controller. This solution makes the precise control of synchronous motors as simple as the precise control of DC motors, without the performance and cleanliness drawbacks related to mechanical contacts.
One embodiment of the estimation method comprises an algorithm to get the absolute position (within a pair of motor poles) for synchronous motors using only incremental displacement sensors. The algorithm determines the initial position (when the controller is turned on) from the measure of the displacement around this position. The algorithm can generate small oscillations around the initial position. The followed trajectories may be piecewise polynomial functions that can be tuned to perform oscillations some factor (e.g., ×100) larger than the displacement sensor's resolution. This approach is an open loop method. Unlike prior art solutions with position shift linked to the magnetic pitch (usually a couple of millimeters), the magnitude of the oscillations can be extremely small. For instance, with high precision interpolated optical incremental displacement sensors, the oscillations may be about a couple of micrometers. The algorithm provides precise initial phase determination despite unknown dry friction, motor open loop gain, and motor load.
The system 100 also includes a processor 130, which may be any form of processor and is preferably a digital processor, such as a general-purpose microprocessor or a digital signal processor (DSP), for example. The processor 130 may be readily programmable; hard-wired, such as an application specific integrated circuit (ASIC); or programmable under special circumstances, such as a programmable logic array (PLA) or field programmable gate array (FPGA), for example. Program memory for the processor 130 may be integrated within the processor 130, or may be an external memory, or both. The processor 130 executes one or more programs or modules to perform various functions. One such module is an initialization module 140. The processor 130 may contain or execute other programs or modules (not shown), such as to control the driver 110 after initialization, to control operation of the other components of a larger system, to transfer data between other components, to associate data from the various components together (preferably in a suitable data structure), to perform calculations using the data, to otherwise manipulate the data, and to present results to a user or another processor.
One illustrative version of the initialization module 140 is illustrated in
Not shown in
One relatively simple mathematical relationship can be deduced in the special case where a=1, f=0, {circumflex over (φ)}{circumflex over (φ0)}=0. In this case, double integration of equation (12) yields
x=cos(φ0−φ)xref. (13)
If xref changes in magnitude from ξ0 to ξ1, then the measured displacement of x will be cos(φ0−φ)·(ξ1−ξ0). By measuring this displacement first when φ=0 and then φ=π/2, one gets cos φ0·(ξ1−ξ0) and sin φ0·(ξ1−ξ0), respectively. It is simple then to estimate φ0 as the arctangent of the ratio of those to displacement measurements. Note that the magnitude of the displacement can be chosen as desired, for example to be a small value, so that the motor 10 undergoes little or no noticeable movement.
A reference trajectory xref that changes in magnitude from ξ0 to ξ1 can be designed in a number of ways. For example, first denote the reference trajectory as an elementary trajectory xelem(t), and let it go from rest at an initial point ξ0 to rest at a final point ξ1. That translates into the following initial and final conditions:
xelem(0)=ξ0, {dot over (x)}elem(0)=0, {umlaut over (x)}elem(0)=0 (14)
xelem(T)=ξ1, {dot over (x)}elem(T)=0, {umlaut over (x)}elem(T)=0 (15)
where T is the time it takes for a one-way run from ξ0 to ξ1. The value of T can be set so that actuator saturations or other physical constraints are satisfied. From here, any function satisfying the initial and final conditions is acceptable.
One particular form of a satisfactory function is a polynomial. A fifth-order polynomial can satisfy these conditions. Such a polynomial may have the following form:
The coefficients {ai}1≦i≦5 can be found by solving a linear system of equations. A solution is
a1=a2=0, a3=10, a4=−15, a5=6. (17)
The corresponding command Iref(t) to make the motor move from ξ0 to ξ1 between 0 and T is
To make the motor move backwards during the interval T≦t≦2T, −Iref(t−T) can be sent as a drive signal and the trajectory (for position) is −xelem(t). Let xM denote the trajectory made up of elementary trajectories ±xelem so that the motor makes M round trips from ξ0 to ξ1 and back to ξ0. Thus the corresponding command is
An alternative technique for designing a drive signal is as follows: First, consider an elementary function of time defined on an interval of length 2T and whose value is zero at t=0 and at t=2T (i.e., xelem(0)=xelem(T)=0). Repeat this pattern an arbitrary number of times at arbitrarily chosen positions on the time axis and differentiate the resulting function twice to derive the electrical drive signal. In a special case, the elementary function has zero first derivative at t=0 and at t=2T (i.e., {dot over (x)}elem(0)={dot over (x)}elem(T)=0) In a further special case, the elementary function is symmetric about t=T. In a further special case, the electric drive signal is periodic with period 2T. Note that this approach works for any magnitude of the signal.
Because of the unknown parameters in equations (10) and (12), when {umlaut over (x)}ref={umlaut over (x)}M, the system does not follow the trajectory xM unless the following conditions are fulfilled: a=1, f=0, {circumflex over (φ)}{circumflex over (φ0)}=φ0 (i.e., when all parameters are known). Still, as long as f=0, only the magnitude of the displacements is affected by the unknown parameters and the measured trajectory is proportional to xM. On the other hand, when f≠0, the friction introduces a delay. Thus, when {umlaut over (x)}ref={umlaut over (x)}M, it is possible to distinguish between the different unknown parameters as they delay or rescale the reference trajectory xM.
It is nonetheless possible to extract the initial phase from the measured displacements despite unknown parameters. To do so, integrate equation (12) twice, with {umlaut over (x)}ref={umlaut over (x)}M, to make explicit the relation between the measured displacements around the initial position and the different parameters of the model featuring a discontinuous right-hand side. The right-hand side is discontinuous because of the friction term. Two of the present inventors (Jérémy Malaizé and Jean Lévine) have analyzed this mathematical problem and published their analysis and solution in an article entitled “Active Estimation of the Initial Phase for Brushless Synchronous Motors” appearing in Proceedings of the 9th International Workshop on Advanced Motion Control, Mar. 27-29, 2006, Istanbul, Turkey, (IEEE Catalog No. 06TH8850C) (ISBN: 0-7803-9513-3). That article is incorporated herein in its entirety.
The solution to the problem in this case is as follows. First, let {φi}1≦i≦N be a set of N real numbers and define
and {umlaut over (x)}max is the maximum value of the reference acceleration:
and Δ is a function satisfying the relation
The function Δ describes how friction alters the behavior of the motor 10 and depends on the drive signal sent to the motor 10. One example of a suitable function Δ(μ) is illustrated in
To continue toward the solution, let (i, j)∈{1, . . . ,N}2 and i≠j. Then, according to the previous notations, the following expression can be derived:
Denote Jij(φ0, μ0) as the following function:
Jij(φ0, μ0)=(δiμjΔ(μj)−δjμiΔ(μi))2 (27)
Estimating the initial phase then comes down to solving the following optimization problem:
Equation (28) may be solved by any technique, including, for example, iterative or other numerical techniques. One technique for solving equation (28) involves approximating the function μΔ(μ). One particular approximation is the following:
μΔ(μ)≈γ(μ−1)∀μ≧1 (29)
for some constant γ∈+. An approximation of this form is illustrated in
{tilde over (J)}(θ)=θTMTAMθ+bTMθ+c (30)
where θ is a two-dimensional vector as follows:
M is an N×2 matrix as follows:
A is an N×N matrix whose elements are as follows:
b is a N-dimension vector whose elements are as follows:
and c is the following scalar:
Given the approximations from equations (30)-(36), the optimization problem has the following quadratic form:
subject to εi[cos φi sin φi]·θ≧1 ∀i. Those skilled in the art can readily solve this type of optimization problem. The solution is the vector {circumflex over (θ)}, the phase of which is {circumflex over (φ)}0, the estimate of the initial phase of the motor.
The foregoing subsection C presented several particular techniques for determining the initial phase of a brushless or synchronous motor using only incremental position measurements. Other suitable techniques can be developed, for example, using a general framework illustrated in flowchart form in
The offline tasks include mathematically modeling the motor 10 (step 510). This step 510 may involve equations (4)-(6) or similar relations. One illustrative mathematical model is given by equations (10) or (12), when equations (4)-(6) are combined with classical field-oriented current control, as in equations (7)-(9). Other mathematical models are possible. Simplifying assumptions may or may not be made in step 510.
Another offline task is designing values and/or functions for the degrees of freedom in the mathematical model (step 520). Such degrees of freedom may naturally appear in the model or may be introduced in some cases. In the techniques described above, the degrees of freedom are the drive current I(t) and the phase term φ. Other degrees of freedom may arise in other formulations of the problem. One example of a drive current is given in equation (18) or (19). From one perspective, the technique described above involves making a series of guesses of the initial position φ0, and putting the drive current I(t) in phase with these guesses (which are most likely wrong). This can be done by repeating application of the drive current I(t) N times, once at each of phase φi, 1≦i≦N. After each application, a displacement magnitude d is measured, leading to an estimate via solving an equation such as equation (28) or an approximation thereto, such as equation (37).
Another offline step, as already alluded to, is deriving relation(s) among available data and the initial phase to be estimated (step 530). As already, explained above, available data may be readily measurable relative position or displacement data, which can be collected with sufficient accuracy using inexpensive incremental sensors. Much of the preceding material in this document has presented some such relations for such data. Others relations are possible, and other types of data may be available with other suitable sensors. The relations are preferably easy to invert, but that need not be the case. There is a tradeoff between accuracy and latency in computation. Some situations may call for enhanced accuracy at the expense of increased latency in the computation of the initial phase estimate (step 560, discussed below). Furthermore, the computational speed and power of processors continues to advance, and computations that are too demanding at the time of this writing may not be so in the future.
Once the steps 510-530 have been performed offline, the technique can be put to practice, online if desired. Accordingly, the next task in the design process 500 is to drive the motor in accordance with the choices made for the degrees of freedom in the system (step 540). One example of the step 540 is the step 310 in the method 300 (
For each average phase φi, utilize the average displacement magnitude di in place of δi in the foregoing equations.
The algorithms for operating the methods and systems illustrated and described herein can exist in a variety of forms both active and inactive. For example, they can exist as one or more software or firmware programs comprised of program instructions in source code, object code, executable code or other formats. Any of the above can be embodied on a computer-readable medium, which include storage devices and signals, in compressed or uncompressed form. Exemplary computer-readable storage devices include conventional computer system RAM (random access memory), ROM (read only memory), EPROM (erasable, programmable ROM), EEPROM (electrically erasable, programmable ROM), flash memory and magnetic or optical disks or tapes. Exemplary computer-readable signals, whether modulated using a carrier or not, are signals that a computer system hosting or running a computer program can be configured to access, including signals downloaded through the Internet or other networks. Concrete examples of the foregoing include distribution of software on a CD ROM or via Internet download. In a sense, the Internet itself, as an abstract entity, is a computer-readable medium. The same is true of computer networks in general.
The terms and descriptions used herein are set forth by way of illustration only and are not meant as limitations. Similarly, the embodiments described herein are set forth by way of illustration only and are not the only means of practicing the invention. Those skilled in the art will recognize that many variations can be made to the details of the above-described embodiments without departing from the underlying principles of the invention. For example, although certain steps of the methods are explained or depicted in a particular order here, some steps can be performed in a different order relative to other steps in the same method, simultaneously with other steps, divided into finer sub-steps, or consolidated with other steps. The scope of the invention should therefore be determined only by the following claims (and their equivalents) in which all terms are to be understood in their broadest reasonable sense unless otherwise indicated.
This application claims priority to U.S. Provisional Patent Application No. 60/679,531, entitled “Improved Method of Control of Synchronous Motors by Initial Phase Determination,” filed on May 10, 2005, which is hereby incorporated by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
4884016 | Aiello | Nov 1989 | A |
5376870 | Ueda et al. | Dec 1994 | A |
5834912 | Nakamura et al. | Nov 1998 | A |
5874821 | Monleone | Feb 1999 | A |
6401875 | Marvin et al. | Jun 2002 | B1 |
20040250630 | Yao | Dec 2004 | A1 |
Number | Date | Country |
---|---|---|
0708521 | Sep 1995 | EP |
Number | Date | Country | |
---|---|---|---|
20070032970 A1 | Feb 2007 | US |
Number | Date | Country | |
---|---|---|---|
60679531 | May 2005 | US |