The present invention relates to a measuring method for a moving component based on a magnetic steel array, particularly to a measuring method utilizing linear Hall sensors, which belongs to the field of measuring and data processing technology.
At present, many modern scientific instruments need accurate magnetic field circumstance for operation; in fields such as navigation, communication, magnetic levitation trains and medical applications, many equipments also function based on measurements of magnetic fields. In particular, magnetic field finds more applications in fields of electrical motors such as multi-degree-of-freedom motors and servo-motors.
A moving coil type magnetic levitation planar motor is a motor that functions based on a magnetic field circumstance generated by a magnetic steel array, and can realize long range motion by enlarging the area of the magnetic steel array. It has a large and particularly arranged magnetic steel array positioned on a stationary platform and has several sets of moving coils positioned on a moving platform and connected with a workbench. During the motion of the workbench, it is possible to determine the position of the workbench only by determining the positions of the moving coils.
In many motion systems including planar motors, high precision grating rulers are used as position detecting elements, which have high measurement accuracy but require complex circuits and optics, thus resulting in high cost. At the same time, there are also systems that directly utilize Hall sensors to measure positions. The patent PCT/IB01/02509 describes a system including magnetic steel arrays and moving coils, and relates to a direct use of Hall sensors for position measurements. However, noise exists in both the measured signals per se and the sampling process, which leads to a loss of measurement accuracy.
The object of the present invention is to provide a two-dimensional locating method of a motion platform based on a magnetic steel array, and realize a method for solving the phase of the motion platform. The present invention is not limited to planar motors, and can be referenced or applied to any motion systems containing a magnetic steel array and relating to a location issue under a magnetic field circumstance. This invention provides a motion system containing a magnetic steel array with a simple, convenient and robust platform locating method by combining the data of multiple sensors so as to reduce costs and noise influence on measurement accuracy.
To achieve the above-mentioned object, the present invention adopts a technical solution as follows:
A two-dimensional locating method of a motion platform based on a magnetic steel array, characterized in that said method comprises:
1) selecting any n different positions within one or more polar distances of the magnetic steel array on the surface of the motion platform in the motion system and placing 1 linear Hall sensor at each position, wherein positions with a same phase within different polar distances are considered to be the same position and n equals to at least 4;
2) determining a formula for the magnetic flux density distribution model according to the magnetic steel array in the motion system:
B
z
=A×sin(X+α+α0)+B×sin(Y+β+β0);
in which βz represents the magnetic flux density of the magnetic steel array, A and B represent the magnitude components of the magnetic flux density distribution model, X and Y represent the phases to be solved of the mass center of the motion platform on X axis and Y axis, respectively, α and β represent the phases on X and Y axis of the mounting position of the linear Hall sensor with respect to the mass center of the motion platform, respectively, α0 and β0 represent the initial phases on X and Y axis, respectively;
3) prior to the movement of the motion platform, measuring the mounting positions (SΕi, Sβi) of the linear Hall sensors mentioned in step 1), in which i=1,2Λ, n, and converting them into the phases (αi, βi) with respect to the mass center of the motion platform, in which i=1,2Λ, n;
4) during the operation of the motion platform, recording the measured values of the magnetic flux density Bzi of all linear Hall sensors mentioned in step 3), in which i=1,2Λ, n;
5) solving the phase (X,Y) of the mass center of the motion platform, which is a relative phase, through a mathematical algorithm with the measured values in step 4) being served as observed quantities and the magnetic flux density distribution model of the magnetic steel array in step 2) being served as a computation model;
6) according to the phase (X,Y) of the mass center of the motion platform solved in step 5), further determining the position (Sx,Sy) of the mass center of the motion platform with respect to the initial phase, in which the initial phase is given by a mechanical zero mounted on the motion platform.
The above-mentioned technical solution is characterized in that the relationships between the phases (αi, βi) of said linear Hall sensors with respect to the mass center of the motion platform and the mounting positions (Sαi, Sβi) thereof are as follows:
in which r is the polar distance of the magnetic steel array of the stationary platform.
In the present invention, the phase (X,Y) of the mass center of the motion platform solved in step 5) may be subjected to the following processing:
assuming (Xr,Yr) is the phase of the mass center of the motion platform with respect to the initial phase, Nx is the number of the skipped periods with respect to the initial phase in X direction, Ny is the number of the skipped periods with respect to the initial phase in Y direction, then Xr=Nx×2π+X, Y=Ny×2π+Y, that is, getting the phase of the mass center of the motion platform with respect to the initial phase, and then getting the position of the mass center of the motion platform with respect to the initial phase by
said mathematical algorithm in the step 5) of the present invention may be implemented with a unscented Kalman filtering algorithm, and/or a nonlinear least square algorithm, and/or an extended Kalman filtering algorithm.
The present invention is also characterized in that a method for determining the number of the skipped periods with respect to the initial phase may be as follows:
a. assuming that (Xn, Yn) is the solved phase of the mass center of the motion platform at the present moment of time, (Xn-1, Yn-1) is the solved phase of the mass center of motion platform at the previous moment of time, N xn and N yn are the number of the skipped periods with respect to the initial phase at the present moment of time, Nx(n-1) and Ny(n-1) are the number of the skipped periods with respect to the initial phase at the previous moment of time;
b. when (Xn-Xn-1)>π and it is determined that the movement velocity in X direction of the motion platform is positive, N xn=Nx(n-1)+1, when (Xn-Xn-1)>π and it is determined that the movement velocity in X direction of the motion platform is negative, Nyn=Ny(n-1)−1; when (Yn-Yn 1)>π and it is determined that the movement velocity in Y direction of the motion platform is positive, N yn=Ny(n-1)+1, when (Yn-Yn-1)>π and it is determined that the movement velocity in Y direction of the motion platform is negative, Nyn=Ny(n 1)−1; when (Xn-Xn-1)≦π, Nxn=Nx(n-1), and when (Yn-Yn-1)≦π, Nyn=Ny(n-1).
The present invention has the following advantages and prominent effects by using the above technical solution: Realizing the two-dimensional planar location of a motion platform and providing a simple, fast and robust method of computing positions for a motion system containing a magnetic steel array. The idea and effects of the present invention have practical significance for the research and development in the location of a motion system containing a magnetic steel array, such as a magnetic levitation, or an air levitation planar motor.
Implementations of the present invention will be further described in detail below with reference to the drawings.
The present invention provides a two-dimensional locating method of a motion platform 3 based on a magnetic steel array 2 including the following steps:
1) selecting any n different positions within one or more polar distances of the magnetic steel array on the surface of the motion platform 3 in the motion system and placing 1 linear Hall sensor 4 at each position, wherein positions with a same phase within different polar distances are considered to be the same position and n equals to at least 4;
2) determining a formula for the magnetic flux density distribution model of the magnetic steel array 2 in the motion system:
Bz=A×sin(X+α+α0)+B×sin(Y+β+β0);
wherein, Bz represents the magnetic flux density of the magnetic steel array 2, A and B represent the magnitude components of the magnetic flux density distribution model, X and Y represent the phases to be solved of the mass center of the motion platform 3 on X axis and Y axis, respectively, α and β represent the phases on X and Y axis of the mounting position of the linear Hall sensor 4 with respect to the mass center of the motion platform 3, respectively, α0 and β0 represent the initial phases on X and Y axis, respectively;
3) prior to the movement of the motion platform 3, measuring the mounting positions (Sαi, Sβi) of the linear Hall sensors 4 mentioned in step 1), in which i=1,2Λ,n, and converting them into the phases (αi, βi) with respect to the mass center of the motion platform 3, in which i=1,2Λ, n;
4) during the operation of the motion platform 3, recording the measured values of the magnetic flux density Bzi of all linear Hall sensors 4 mentioned in step 3), in which i=1,2Λ, n;
5) solving the phase (X,Y) of the mass center of the motion platform 3, which is a relative phase, through a mathematical algorithm with the measured values in step 4) being served as observed quantities and the magnetic flux density distribution model of the magnetic steel array 2 in step 2) being served as a computation model;
6) according to the phase (X,Y) of the mass center of the motion platform 3 solved in step 5), further determining the position (Sx,Sy) of the mass center of the motion platform 3 with respect to the initial phase, in which that the initial phase is given by a mechanical zero mounted on the motion platform 3.
The relationships between the phases (αi, βi) of said linear Hall sensors 4 with respect to the mass center of the motion platform 3 and the mounting positions (Sαi, Sβi) thereof are as follows:
in which r is the polar distance of the magnetic steel array 2 of the stationary platform 1.
The phase (X,Y) of the mass center of motion platform 3 solved in step 5) is may be subjected to the following processing:
assuming that (Xr, Yr) is the phase of the mass center of the motion platform 3 with respect to the initial phase, N x is the number of the skipped periods with respect to the initial phase in X direction, N y is the number of the skipped periods with respect to the initial phase in Y direction, then: Xr=Nx×2π+X, Yr=N y×2π+Y, that is, getting the phase of the mass center of the motion platform 3 with respect to the initial phase, and then getting the position of the mass center of the motion platform 3 with respect to the initial phase by
Said mathematical algorithm in said step 5) may be implemented with a unscented Kalman filtering algorithm, and/or a nonlinear least square algorithm, and/or an extended Kalman filtering algorithm.
Said method for determining the number of the skipped periods with respect to the initial phase may be as follows:
a. assuming that (Xn,Yn) is the solved phase of the mass center of the motion platform 3at the present moment of time, (Xn-1, Yn-1) is the solved phase of the mass center of the motion platform 3 at the previous moment of time, Nxn and Nyn are the number of the skipped periods with respect to the initial phase at the present moment of time, Nx(n-1) and Ny(n-1) are the number of the skipped periods with respect to the initial phase at the previous moment of time;
b. when (Xn-Xn-1)>π and it is determined that the movement velocity in X direction of the motion platform 3 is positive, Nxn=Nx(n-1)+1, when (Xn-Xn-1)>π and it is determined that the movement velocity in X direction of the motion platform 3 is negative, Nyb=Ny(n-1−1;
when (Yn-Yn)>π and it is determined that the movement velocity in Y direction of the motion platform 3 is positive, Nyn=Ny(n-1)+1, when (Yn-Yn 1)>π and it is determined that the movement velocity in Y direction of the motion platform 3 is negative, Nyn=Ny(n-1)−1; when (Xn-Xn-1)≦π, Nxn=Nx(n-1) and when (Yn-Yn-1)≦π, Nyn=Ny(n-1).
Said minimum number of the linear Hall sensors 4 arranged on the motion platform 3 is determined by the number of unknown parameters contained in said magnetic flux density distribution model of the magnetic steel array 2, and on this basis, the more the sensors are arranged, the more advantageous it is in reducing uncertainty of the solved phase of the motion platform 3, therefore, n equals to at least 4.
With reference to
1) Select any 4 different positions within two polar distances of the magnetic steel aray 2 on the surface of the motion platform 3 in the motion system, and place 1 linear Hall sensor 4 at each position;
2) With reference to
B
z
=A×sin(X+α+α0)+B×sin(Y+β+β0);
wherein, Bz represents the magnetic flux density of the magnetic steel array 2, A and B represent the magnitude components of the magnetic flux density distribution model, X and Y represent phases to be solved of the mass center of the motion platform 3 on X axis and Y axis, respectively, α and β represent the phases on X and Y axis of the mounting position of the linear Hall sensor 4 with respect to the mass center of the motion platform 3, respectively, a( ) and β0 represent the initial phases on X and Y axis, respectively.
3) Prior to the movement of the motion platform 3, measure the mounting positions (Sαi, Sβi) of the linear Hall sensors 4 mentioned in step 1), in which i=1,2,3,4 , and convert them into the phases (αi, βi) with respect to the mass center of the motion platform 3, in which i=1,2,3,4 ;
4) During the operation of the motion platform 3, record the measured values of the magnetic flux density Bzi of all linear Hall sensors 4 mentioned in step 3), in which i=1,2,3,4;
5) Solve the phase (X, Y) of the mass center of the motion platform 3 through a unscented Kalman filtering algorithm with the measured values in step 4) being served as observed quantities, and the magnitude components in the magnetic flux density distribution model of the magnetic steel array 2 in step 2) and the phase of the mass center of the motion platform 3 being served as a state variable x (assuming the dimension of x is L, that is, L=4), that is, x=[A B X] wherein x has an average value of .X and a covariance matrix of Pxx, the solution procedure is as follows:
The state equation of the motion system is:
x
k
=I
4×4
x
k-1
With the magnetic flux density distribution model in said step 2) being served as a computation model, the measurement equation for the motion system is:
B
zi
=A×sin(X+αt+α0)+B×sin(Y+βi+β0)
According to the above-mentioned state equation and measurement equation, it is possible to assume a discrete equation for the motion system as follows:
wherein xk is a unobservable state vector, yk is an observation vector, uk is an excitation input vector, vk is a system noise vector, nk is an observation noise vector. It is assumed that the above noises are all a Gaussian white noise and their covariance matrixes are Q and R, respectively.
Specific algorithm steps are as follows:
Step I: setting an initial estimate and an initial error variance for the state variable x:
Step II: calculating the Sigma point and the corresponding weighting factor:
wherein λ is a scale factor;
Step III: predicting the average value and the covariance of the state:
wherein Wim and Wic are two sets of weighting coefficients, the expressions of which are as follows:
Step IV: updating with the observed quantities:
Step V: proceeding to step 2 if any measured values of the linear Hall sensors 4 are not used yet, otherwise, outputting the phase of the mass center of the motion platform 3
6) Further determining the position (Sx,Sy) of the mass center of the motion platform 3 with respect to the initial phase according to the phase (X, Y) of the mass center of the motion
Number | Date | Country | Kind |
---|---|---|---|
201010034190.0 | Jan 2010 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN11/70348 | 1/18/2011 | WO | 00 | 10/5/2012 |