The present invention relates to a displacement measuring method for a motor, which is especially suitable for analyzing the magnetic field signals of the planar motor and enabling fine displacement detection of the planar motor.
The rotary motor may provide a driving power which can be converted to a planar movement by a mechanism. The mechanism is usually complex and the precision and speed of its transmission are limited for this, which is disadvantageous along with other problems such as frequent calibration, high cost, poor reliability and too big size. The early planar motor is operated by two planar type motors which are directly driven, which structure increases the complexity of the transmission system. In contrast, the planar motor, which can directly utilize electro-magnetic energy to drive the planar movement, has advantages of high concentration of force, low dissipation of heat and high precision etc, thus the inter-mediate transmitting device is saved which was used for converting a rotary movement into a planar movement and into another planar movement. And it becomes possible to integrate the object being controlled with the motor which has advantages such as quick response, good sensitivity, good servo control and simple structure.
Signal subdivision has a wide applicability in the fields of machinery and electronics. The magnetic field signals of the planar motor are distributed periodically, and when the signal varies in the one period, a fixed spatial displacement occurs correspondingly. Usually, the measurement circuit performs the measurement for the displacement by counting periods of the signal. When only counting the periods is performed, apparently, the resolution is the displacement corresponding to the one period of the signal. Thus, in order to improve the resolution of the instrument, subdivision must be required.
One goal of the present invention is to provide a method for measuring the displacement of the rotor of a planar motor, to measure relative displacements of the rotor and stator of the planar motor in X and Y directions and enable high subdivision of the signal and simple and quick signal processing.
To achieve the above-mentioned goal, the technical solution provided by the invention is as follows:
1) a magnetic field is generated by a magnetic steel array on the stator of a planar motor and four magnetic induction intensity sensors are disposed on the rotor of a planar motor, the coordinates of the first sensor are (X1, Y1), the coordinates of the second sensor are (X3, Y1), the coordinates of the third sensor are (X2, Y2) and the coordinates of the fourth sensor are (X4, Y2); the sampled signals of the first sensor, the second sensor, the third sensor and the fourth sensor are Ba, Bb, Bc and Bd, and the sampled signals Ba, Bb, Bc and Bd are processed in a signal processing circuit, wherein, the X-direction coordinates X1, X2, X3 and X4 are spaced apart from each other sequentially by a distance of one fourth of the X-direction magnetic field pitch τx of the planar motor, and the Y-direction coordinates Y1 and Y2 are spaced apart from each other by a distance of one fourth of the Y-direction magnetic field pitch τy of the planar motor;
2) supposing the X-direction displacement resolution as Δx, and the Y-direction displacement resolution as Δy, the magnitude of the magnetic induction intensity of the magnetic field generated by the magnetic steel array is measured as BM, the X-direction counting unit is initialized to be nx=0, the Y-direction counting unit is initialized to be ny=0, the X-direction magnetic field reference values are initialized to be
and the Y-direction magnetic field reference values are initialized to be
wherein, Ba0, Bb0, Bc0 and Bd0 are respectively the sampled signals from the first sensor, the second sensor, the third sensor and the fourth sensor when the rotor of the planar motor is at the initial position;
3) the measurement starts, the sampled signals Ba, Bb, Bc and Bd of the first sensor, the second sensor, the third sensor and the fourth sensor are obtained by sampling, and the sampled signals Ba, Bb, Bc and Bd are processed in the signal processing circuit to obtain four signals Bsx, Bcx, Bsy and Bcy, wherein
4) it is determined by the signal processing circuit that whether the X-direction displacement is generated and whether the Y-direction displacement is generated,
a. if the X-direction displacement is generated, then whether the X-direction displacement is forward or backward is needed to be determined further, and if the generated X-direction displacement has a forward direction, then the X-direction counting unit performs nx=nx+1, and if the generated X-direction displacement has a backward direction, then the X-direction counting unit performs nx=nx−1, and the X-direction magnetic field reference values are updated to Bksx=Bsx, Bkcx=Bcx; thus the X-direction displacement measurement is completed;
if the X-direction displacement is not generated, then the X-direction displacement measurement is completed directly;
b. if the Y-direction displacement is generated, then whether the Y-direction displacement is forward or backward is needed to be determined further, and if the generated Y-direction displacement has a forward direction, then the Y-direction counting unit performs ny=ny+1, if the generated Y-direction displacement has a backward direction, then the Y-direction counting unit performs ny=ny−1, and the Y-direction magnetic field reference values are updated to Bksy=Bsy, Bkcy=Bcy, and the Y-direction displacement measurement is completed;
if the Y-direction displacement is not generated, then the Y-direction displacement measurement is completed directly;
5) when the X-direction displacement measurement and the Y-direction displacement measurement are both completed, the X-direction relative displacement of the rotor of the planar motor is calculated as x=nx·Δx, and the Y-direction relative displacement is calculated as y=ny·Δy; and
6) the steps 3) to 5) are repeated to enable the real-time measurement for the displacement of the rotor of the planar motor.
In the above-mentioned technical solution, it is characterized in that, whether the X-direction displacement is generated and whether the X-direction displacement is forward or backward determined in the step 4) are performed as follows,
if
then the relative displacement of the rotor of the planar motor in the X-direction is Δx; and if not, then it is considered that the relative displacement in the X-direction is not generated by the rotor of the planar motor;
if BksxBcx−BkcxBsx≧0, then the relative displacement of the rotor of the planar motor in the X-direction is in the forward direction; and if not, then the relative displacement of the rotor of the planar motor in the X-direction is in the backward direction.
In the above-mentioned technical solution, it is characterized in that, whether the Y-direction displacement is generated and whether the Y-direction displacement is forward or backward determined in the step 4) are performed as follows,
if
then the relative displacement of the rotor of the planar motor in the Y-direction is Δy; and if not, then it is considered that the relative displacement in the Y-direction is not generated by the rotor of the planar motor;
if BksyBcy−BkcyBsy≧0, then the relative displacement of the rotor of the planar motor in the Y-direction is in the forward direction; and if not, then the relative displacement of the rotor of the planar motor in the Y-direction is in the backward direction.
The technical solution provided by the present invention is advantageous in various aspects, that is, the relative displacement of the rotor to the stator in the motor is measured by directly taking the magnetic field in the motor itself as a detection signal for the displacement. In this way, various disadvantages can be avoided such as difficulty in installing the sensors, and the resolution of the measuring system is improved to enable a high subdivision. And the calculations of transcendental functions and quadrant determination are avoided which is good for real-time high speed operation and has a higher engineering value.
In which, 1—stator of planar motor; 2—magnetic steel array; 3—rotor of planar motor; 4—first sensor; 5—second sensor; 6—third sensor; 7—fourth sensor; 8—signal processing circuit.
In the following, taking a moving-coil type planar motor as an example, the method for measuring the displacement of the rotor of the planar motor of the invention is illustrated in connection with the drawings and embodiments.
Referring to
B
a
=B
M(sin x+sin y) (1)
B
b
=B
M(−sin x+sin y) (2)
B
c
=B
M(cos x+cos y) (3)
B
d
=B
M(−cos x+cos y) (4)
The Ba, Bb, Bc and Bd are processed respectively to obtain four signals Bsx, Bcx, Bsy and Bcy, wherein
Suppose Bsx, Bcx, Bsy and Bcy at the time i as Bisx, Bicx, Bisy and B icy respectively. According to the equations (1), (2), (3) and (4), and the definitions of Bsx, Bcx, Bsy and Bcy, Bisx, Bicx, Bisy and Bicy can be obtained as follows:
Bisx=BM sin x (5)
Bicx=BM cos x (6)
Bisy=BM sin y (7)
Bicy=BMcos y (8)
Suppose Bsx, Bcx, Bsy and Bcy at the time i+1 as B(i+1)sx, B(i+1)cx, B(i+1)sy and B(i+1)cy respectively. According to the equations (1), (2), (3) and (4), when the X-direction relative displacement Δx of the rotor of the planar motor occurred from the time i to i+1 and the Y-direction relative displacement Δy of the rotor of the planar motor occurred from the time i to i+1 are very small, then B(i+1)sx, B(i+1)cx, B(i+1)sy and B(i+1)cy are approximated as follows:
B
(i+1)sx
=B
M sin(x+Δx)≈BM(sin x+Δx cos x) (9)
B
(i+1)cx
=B
M cos(x+Δx)≈BM(cos x−Δx sin x) (10)
B
(i+1)sy
=B
M sin(y+Δy)≈BM(sin y+Δy cos y) (11)
B
(i+2)cy
=B
M cos(y+Δy)≈BM(cos y−Δy sin y) (12)
The equations (5) to (12) are calculated to obtain:
In the application of the real-time measurement for the displacement of the rotor of the planar motor, the left parts of the equations (13) and (14) are calculated from the sampled signals of the first sensor, the second sensor, the third sensor and the fourth sensor; and Δx and Δy are the X-direction displacement resolution and the Y-direction displacement resolution respectively which are set at initialization. During the real-time measurement, whether
and whether
are determined respectively and simultaneously. If
then it is considered that the X-direction displacement generated by the rotor is Δx; if not, then it is considered that the X-direction displacement generated by the rotor is less than Δx. If
then it is considered that the Y-direction displacement generated by the rotor is Δy; if not, then it is considered that the Y-direction displacement generated by the rotor is less than Δy.
If it is considered that the X-direction displacement is generated by the rotor, then the direction of displacement Δx is needed to be determined further; if B(i+1)sxBicx−B(i+1)cxBisx≧0, then it is considered the direction of displacement Δx is the forward direction, and at the same time, the X-direction counting unit performs nx=nx+1; and if B(i+1)sxBicx−B(i+1)cxBisx<0, then it is considered that the direction of displacement Δx is the backward direction, and at the same time, the X-direction counting unit performs nx=nx−1.
If it is considered that the Y-direction displacement is generated by the rotor, then the direction of displacement Δy is needed to be determined further; if B(i+1)syBicy−B(i+1)cyBisy≧0, then it is considered that the direction of displacement Δy is the forward direction, and at the same time, the Y-direction counting unit performs ny=ny+1; and if B(i+1)syBicy−B(i+1)cyBisy<0, then it is considered that the direction of displacement Δy is the backward direction, and at the same time, the Y-direction counting unit performs ny=ny−1.
When the X-direction displacement measurement and the Y-direction displacement measurement are both completed, the X-direction relative displacement of the rotor is calculated as x=nx·Δx, and the Y-direction relative displacement is calculated as y=ny·Δy.
Additionally, the present invention provides a method for measuring the displacement of the rotor of a planar motor, the method comprising the following steps,
1) a magnetic field is generated by a magnetic steel array 2 on a stator 1 of a planar motor and four magnetic induction intensity sensors are disposed on a rotor 3 of the planar motor, the coordinates of the first sensor 4 are (X1, Y1), the coordinates of the second sensor 5 are (X3, Y1), the coordinates of the third sensor 6 are (X2, Y2) and the coordinates of the fourth sensor 7 are (X4, Y2), the sampled signals of the first sensor, the second sensor, the third sensor and the fourth sensor are Ba, Bb, Bc and Bd respectively, and the sampled signals Ba, Bb, Bc and Bd are processed in a signal processing circuit 8, wherein, the X-direction coordinates X1, X2, X3 and X4 are spaced apart from each other sequentially by a distance of one fourth of the X-direction magnetic field pitch τx of the planar motor and the Y-direction coordinates Y1 and Y2 are spaced apart from each other by a distance of one fourth of the Y-direction magnetic field pitch τy of the planar motor;
2) supposing the X-direction displacement resolution as Δx, and the Y-direction displacement resolution as Δy, the magnitude of the magnetic induction intensity of the magnetic field generated by the magnetic steel array 2 is measured as BM, the X-direction counting unit is initialized to be nx=0, the Y-direction counting unit is initialized to be ny=0, the X-direction magnetic field reference values are initialized to be
and the Y-direction magnetic field reference values are initialized to be
wherein, Ba0, Bb0, Bc0 and Bd0 are respectively the sampled signals from the first sensor, the second sensor, the third sensor and the fourth sensor when the rotor of the planar motor is at the initial position;
3) the measurement starts, the sampled signals Ba, Bb, Bc and Bd of the first sensor 4, the second sensor 5, the third sensor 6 and the fourth sensor 7 are obtained by sampling, and the sampled signals Ba, Bb, Bc and Bd are processed in the signal processing circuit 8 to obtain four signals Bsx, Bcx, Bsy and Bcy, wherein
4) it is determined by the signal processing circuit 8 whether the X-direction displacement is generated and whether the Y-direction displacement is generated,
a. if the X-direction displacement is generated, then whether the X-direction displacement is forward or backward is needed to be determined further; and if the generated X-direction displacement has a forward direction, then the X-direction counting unit performs nx=nx+1; if the generated X-direction displacement has a backward direction, then the X-direction counting unit performs nx=nx−1, and the X-direction magnetic field reference values are updated to Bksx=Bsx, Bkcx=Bcx; thus the X-direction displacement measurement is completed;
if the X-direction displacement is not generated, then the X-direction displacement measurement is completed directly;
b. if the Y-direction displacement is generated, then whether the Y-direction displacement is forward or backward is needed to be determined further, and if the generated Y-direction displacement has a forward direction, then the Y-direction counting unit performs ny=ny+1, if the generated Y-direction displacement has a backward direction, then the Y-direction counting unit performs ny=ny−1, and the Y-direction magnetic field reference values are updated to Bksy=Bsy, Bkcy=Bcy; thus the Y-direction displacement measurement is completed;
if the Y-direction displacement is not generated, then the Y-direction displacement measurement is completed directly;
5) when the X-direction displacement measurement and the Y-direction displacement measurement are both completed, the X-direction relative displacement of the rotor is calculated as x=nx·Δx, and the Y-direction relative displacement is calculated as y=ny·Δy; and
6) the steps 3) to 5) are repeated to enable the real-time measurement for the displacement of the rotor of the planar motor.
In the above-mentioned technical solution, it is characterized in that, whether the X-direction displacement is generated and whether the X-direction displacement is forward or backward determined in the step 4) are performed as follows,
if
then the relative displacement of the rotor in the X-direction is Δx; and if not, then it is considered that the relative displacement in the X-direction is not generated by the rotor;
if BksxBcx−BkcxBsx≧0, then the relative displacement of the rotor in the X-direction is in the forward direction; and if not, then the relative displacement of the rotor in the X-direction is in the backward direction.
In the above-mentioned technical solution, it is characterized in that, whether the Y-direction displacement is generated and whether the Y-direction displacement is forward or backward determined in the step 4) are performed as follows,
if
then the relative displacement of the rotor in the Y-direction is Δy; and if not, then it is considered that the relative displacement in the Y-direction is not generated by the rotor;
if BksyBcy−BkcyBsy≧0, then the relative displacement of the rotor in the Y-direction is in the forward direction; and if not, then the relative displacement of the rotor in the Y-direction is in the backward direction.
The said magnetic field pitch τx=τy=35.35 mm, the said X-direction displacement resolution Δx=15 μm, the said Y-direction displacement resolution Δy=15 μm, and the magnitude of the magnetic induction intensity of the magnetic field generated by the magnetic steel array is measured as BM=80 mT.
1) a magnetic field is generated by a magnetic steel array 2 on the stator 1 of a planar motor and four magnetic induction intensity sensors are disposed on the rotor 3 of the planar motor; the coordinates of the first sensor 4 are (X1, Y1), the coordinates of the second sensor 5 are (X3, Y1), the coordinates of the third sensor 6 are (X2, Y2) and the coordinates of the fourth sensor 7 are (X4, Y2), the sampled signals of the first sensor, the second sensor, the third sensor and the fourth sensor are Ba, Bb, Bc and Bd, respectively, and the sampled signals Ba, Bb, Bc and Bd are processed in a signal processing circuit 8, wherein, the X-direction coordinates X1, X2, X3 and X4 are spaced apart from each other sequentially by a distance of 8.8375 mm, and the Y-direction coordinates Y1 and Y2 are spaced apart from each other by a distance of 8.8375 mm;
2) supposing the X-direction displacement resolution as Δx=15 μm, the Y-direction displacement resolution as Δy=15 μm, the magnitude of the magnetic induction intensity of the magnetic field generated by the magnetic steel array 2 is measured as BM=80 mT, the X-direction counting unit is initialized to be nx=0, the Y-direction counting unit is initialized to be ny=0, the X-direction magnetic field reference values are initialized to be
and the Y-direction magnetic field reference values are initialized to be
wherein, Ba0, Bb0, Bc0 and Bd0 are respectively the sampled signals from the first sensor, the second sensor, the third sensor and the fourth sensor when the rotor of the planar motor is at the initial position;
3) the measurement starts, the sampled signals Ba, Bb, Bc and Bd of the first sensor 4, the second sensor 5, the third sensor 6 and the fourth sensor 7 are obtained by sampling, and the sampled signals Ba, Bb, Bc and Bd are processed in the signal processing circuit 8 to obtain four signals Bsx, Bcx, Bsy and Bcy, wherein
4) it is determined by the signal processing circuit 8 whether the X-direction displacement is generated and whether the Y-direction displacement is generated,
a. if
then the relative displacement of the planar motor in the X-direction is 15 μm, and whether the X-direction displacement is forward or backward is determined further, if BksxBcx−BkcxBsx≧0, then the X-direction displacement is in the forward direction, and the X-direction counting unit performs nx=nx+1, and if BksxBcx−BkcxBsx<0, then the X-direction displacement is in the backward direction, and the X-direction counting unit performs nx=nx−1, and the X-direction magnetic field reference values are updated to Bksx=Bsx, Bkcx=Bcx; thus the X-direction displacement measurement is completed;
if
then the X-direction displacement measurement is completed directly;
b. if
then the relative displacement of the planar motor in the Y-direction is 15 μm, and whether the Y-direction displacement is forward or backward is determined further, if BksyBcy−BkcyBsy≧0, then the Y-direction displacement is in the forward direction, and the Y-direction counting unit performs ny=ny+1, and if BksyBcy−BkcyBsy<0, then the Y-direction displacement is in the backward direction, and the Y-direction counting unit performs ny=ny−1, and the Y-direction magnetic field reference values are updated to Bksy=Bsy, Bkcy=Bcy; thus the Y-direction displacement measurement is completed;
if
then the Y-direction displacement measurement is completed directly;
5) when the X-direction displacement measurement and the Y-direction displacement measurement are both completed, the X-direction relative displacement of the rotor is calculated as x=15*nx, and the Y-direction relative displacement is calculated as y=15*ny; and
6) the steps 3) to 5) are repeated to enable the real-time measurement for the displacement of the rotor of the planar motor.
Through the above-mentioned steps, a method for measuring the displacement of the rotor of the planar motor is provided, the relative displacements of the rotor and the stator in the X-direction and the Y-direction are measured respectively, enabling high subdivision to signals and simple and fast processing for signals.
Number | Date | Country | Kind |
---|---|---|---|
201210052161.6 | Mar 2012 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2013/071732 | 2/21/2013 | WO | 00 |