low cost position sensor for permanent magnet linear drive

5
Low Cost Position Sensor for Permanent Magnet Linear Drive Ralf Wegener 1 , Student Member, IEEE, Florian Senicar 2 , Christian Junge 2 , Stefan Soter 1 , Member, IEEE 1 Institute of Electrical Drives and Mechatronics, University of Dortmund, Germany http://eam.e-technik.uni-dortmund.de; Fax: +49 231 755 7374; [email protected]; [email protected] 2 Electrical Machines and Drives Group, University of Wuppertal, Germany http://www.ema.uni-wuppertal.de Abstract— This paper deals with a custom made low cost sensor for measu- ring the position of a permanent magnet linear motor. The principle how to measure position and movement direction with two analog hall sensor ele- ments is described. The following simulated and detailed error and failure treatment is very important to know exactly the performance and the pos- sibilities of this low cost sensor element. Afterwards this position sensor is build and some measurements with a linear machine is done. After filtering, the accuracy of the two signals is high enough to be an input of a converter control to determine the correct current which has to be injected. If there is another higher ranking closed-loop control, e.g. pressure, flow or force, in the control system this low cost sensor is sufficient and works very well. It is possible to implement the very small sensor in the housing of the linear drive. This sensor costs less than 15 dollar and can not be compared to a very precise working linear senor for some hundred dollar in order to po- sition the linear drive very exact but the accuracy is high enough to build a lower ranking closed-loop control and to stabilize a complex control system of converter, linear drive and load. Keywords—Position Sensor, Permanent Magnet, Linear Drive Topic— Motor drives and motion control I. MOTIVATION In some application fields linear drives are not used for precise positioning but to regulate e.g. pressure, flow or force of an indu- strial process. If two parts have to be pressed together the force is the higher ranking closed-loop control and the position is on- Fig. 1. Characteristic of the magnetic field based on the permanent magnets on the rotor, measured in the optimal distance. ly needed for lower control loops. In this cases it is not possible to control the linear drive sensorless, without any linear positio- ning sensor but the standard types with accuracies from 50μm up to 10μm are very expensive. In this application field a line- ar sensor with an accuracy of 200μm to 1mm is sufficient. New analog hall sensors are available on the market for less than two dollar. To build a positioning sensor with these attributes two low cost hall sensor elements, some surface mounted devices and a small pcb is enough. A requirement is, that the permanent magnets provides a sinusoidal field outside the winding area of the linear drive, which is fulfilled in most cases in an optimal distance. This small linear positioning sensor can be mounted nearby the magnets and the windings and needs no extra space like a conventional linear sensor. II. MEASUREMENT OF THE MAGNETIC FIELD The magnetic rotor field of a permanent magnet linear motor outside the stator windings has different shapes depending on the distance of measurement. At the surface of the magnets the field has a nearly rectangular characteristic. When the distance between sensor and magnets increases the shape becomes softer and in the optimal position the curve can be described as a sinu- Fig. 2. Sensor element for measuring the magnetic field using the hall effect.

Upload: others

Post on 16-Oct-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Low Cost Position Sensor for Permanent Magnet Linear Drive

Low Cost Position Sensor for Permanent MagnetLinear Drive

Ralf Wegener1, Student Member, IEEE, Florian Senicar2, Christian Junge2, Stefan Soter1, Member, IEEE

1Institute of Electrical Drives and Mechatronics, University of Dortmund, Germanyhttp://eam.e-technik.uni-dortmund.de; Fax: +49 231 755 7374;

[email protected]; [email protected] Machines and Drives Group, University of Wuppertal, Germany

http://www.ema.uni-wuppertal.de

Abstract— This paper deals with a custom made low cost sensor for measu-ring the position of a permanent magnet linear motor. The principle how tomeasure position and movement direction with two analog hall sensor ele-ments is described. The following simulated and detailed error and failuretreatment is very important to know exactly the performance and the pos-sibilities of this low cost sensor element. Afterwards this position sensor isbuild and some measurements with a linear machine is done. After filtering,the accuracy of the two signals is high enough to be an input of a convertercontrol to determine the correct current which has to be injected. If there isanother higher ranking closed-loop control, e.g. pressure, flow or force, inthe control system this low cost sensor is sufficient and works very well. Itis possible to implement the very small sensor in the housing of the lineardrive. This sensor costs less than 15 dollar and can not be compared to avery precise working linear senor for some hundred dollar in order to po-sition the linear drive very exact but the accuracy is high enough to build alower ranking closed-loop control and to stabilize a complex control systemof converter, linear drive and load.

Keywords— Position Sensor, Permanent Magnet, Linear Drive

Topic— Motor drives and motion control

I. MOTIVATION

In some application fields linear drives are not used for precisepositioning but to regulate e.g. pressure, flow or force of an indu-strial process. If two parts have to be pressed together the forceis the higher ranking closed-loop control and the position is on-

Fig. 1. Characteristic of the magnetic field based on the permanent magnets onthe rotor, measured in the optimal distance.

ly needed for lower control loops. In this cases it is not possibleto control the linear drive sensorless, without any linear positio-ning sensor but the standard types with accuracies from 50µmup to 10µm are very expensive. In this application field a line-ar sensor with an accuracy of 200µm to 1mm is sufficient. Newanalog hall sensors are available on the market for less than twodollar. To build a positioning sensor with these attributes twolow cost hall sensor elements, some surface mounted devicesand a small pcb is enough. A requirement is, that the permanentmagnets provides a sinusoidal field outside the winding area ofthe linear drive, which is fulfilled in most cases in an optimaldistance. This small linear positioning sensor can be mountednearby the magnets and the windings and needs no extra spacelike a conventional linear sensor.

II. MEASUREMENT OF THE MAGNETIC FIELD

The magnetic rotor field of a permanent magnet linear motoroutside the stator windings has different shapes depending onthe distance of measurement. At the surface of the magnets thefield has a nearly rectangular characteristic. When the distancebetween sensor and magnets increases the shape becomes softerand in the optimal position the curve can be described as a sinu-

Fig. 2. Sensor element for measuring the magnetic field using the hall effect.

Page 2: Low Cost Position Sensor for Permanent Magnet Linear Drive

soidal wave along the rotor of the linear machine. It is based ofthe permanent magnets stringed together in opposite magneticdirections shown in figure 1.The magnetic field can be measured using the well known Hall-Effect with a sensor shown in figure 2. The magnetic field B ispenetrating the sensor element which is fed with a constant mea-surement current I. The Hall effect diverts the electrons whichresults in a voltage UH measurable in orthogonal direction ofthe sensor element.The voltage UH is proportional to the abso-lute value of the magnetic field like in equation (1).

UH =1

n ·q· I ·B⊥

d(1)

The principal function of the sensor is proven by the simple

Fig. 3. Magnetic field of the permanent magnets of the armature

measurement of the magnetic field relative to the position ofthe armature shown in figure 3. The measured signal, printedin green, is approximated wich a sinusoidal signal with the errorprinted in red.

III. CONSTRUCTED SENSOR

To give the possibility to determine the direction of the move-ment it is necessary to measure the magnetic field with two sen-sors in a distance of 90◦ of the sinusoidal approximation. Thisequals the half length of the magnet.The measured signals have to be adapted to the inputs of the

converter. This is done by an operational amplifier with a diffe-rential output and a second operational amplifier to correct theoffset of the sensor. The circuit is shown in figure 4.

IV. POSSIBLE ERRORS

In the following chapter the possible errors of the position sensoris researched. This is done by simulations of the incorrect sensorsignals with determination of the position error.

A. Reduced Amplitude

The first possible error is an unbalanced gain of the operatio-nal amplifier or the sensor in one direction as shown in figure 5.The same error can be caused by an unequal magnetization of

Fig. 4. Functional description of the built sensor.

Fig. 5. Unbalanced signal amplitude in positive and negative direction.

the positive and negative magnet which is much more likely. Inthe simulation the magnetic field of the magnets with the northpole in front of the sensors is scaled by 0.7. As shown in figu-

Fig. 6. Position error caused by the unbalanced signal amplitude.

re 6 the maximum position error is around 10◦. In a real linearmachine, which is also used for measurements, this equals a di-stance of 1.7mm because the magnets are arranged with a periodof 6omm. This is an error of approximately 2.8%.

B. Phase Error

As described in chapter III the position sensor consists of twoseparate hall sensors which are positioned with an angle of 90◦

relative to the magnet period. The exact distance of the sensorscan be varied because of factory tolerances. In the simulation the

Page 3: Low Cost Position Sensor for Permanent Magnet Linear Drive

two sensors are positioned with an extra distance of 1mm whichequals an angle of 96◦. The results are shown in figure 7. This

Fig. 7. Measured angle with a sensor-position error of 1mm.

error results in a permanent offset of the measured value relatedto the calculated position. This is irrelevant for the position con-trol, because the position is measured in a relative way and theoffset is neglected. In addition the position signal is deformed ina nonlinear way, caused an absolute position failure in the areaof 1mm.

C. Range Error

The magnetic field of the used permanent magnets is too highfor the used hall sensors. Therefore the sensors distance to themagnets have to be increased till the sinusoidal signal is not cutany longer at high amplitudes. In case of an overload of the twosensors the measured values are shown in figure 8. The calcu-

Fig. 8. Sensor signal in case of an overload because of too large magnetic fields.

lated position results in an error but this failure can be easilydetected (see figure 9). Because of that the overload condition isnot relevant to the motor control.

V. MEASURED RESULTS

In order to test the built sensor it is mounted at a distance ofapproximately 20mm in the above mentioned reference lineardrive in orthogonal direction from the permanent magnets of the

Fig. 9. Calculated position in an overload condition.

armature. This is now moved with a fixed speed and the mea-sured signals are recorded. The results are shown in figure 10.The two sinusoidal signals are faulty at two positions. This is

Fig. 10. Measured sensor signals with fixed an armature speed

Fig. 11. x-y diagram of the measured signals

explainable with the near placement of the sensor to the coilswhich currents interferes with the signals.

Page 4: Low Cost Position Sensor for Permanent Magnet Linear Drive

The measurement can be visualized in x-y diagram (figure 11)where the sine and cosine signals are plotted in both axis. Withan optimal sensor the resulting diagram has to be a perfect circle.

VI. BUILT FILTER

The results of the built filter structure are shown in figures 12 to15.The position signals, presented in figure 12, are measured with

Fig. 12. Unfiltered measurement signals for a movement of 10cm

Fig. 13. Filtered measurement signals for a movement of 10cm

a movement of the armature in both direction for approximately10cm. These signals are filtered in order to produce a suitableposition signal shown in figure 13.The interference of the coil current is magnified in figure 14. Thenoise is pulsating because the current in only one coil nearest tothe hall sensors interferes the measurement.The resulted position signal is compared to the reference signalmeasured with a 10µm optical linear sensor in figure 15. Theabsolute error of the position is very low during the whole mea-surement range.

VII. CONCLUSION

The simulation and measurement results, shown and describedin this paper, have demonstrated that is it possible to build a lowcost linear sensor with elements available at the market. The di-mensions are small enough to implement the sensor pcb in the

Fig. 14. Interference of the position signals caused to the coil current.

Fig. 15. Position signals of the system with the hall sensor and a referencesensor

linear drive itself in order to need no extra space and to get acompact linear drive system. If the highest ranking closed-loopcontrol is not the position, the accuracy of the custom made sen-sor is sufficient to be a part of the lower ranking converter con-trol system. With very low costs of less than 15 dollar this linearsensor can be used in spite of the very expensive standard solu-tion. Further detailed measurements have to be done to improveaccuracy and interference resistance.

REFERENCES

[1] Senicar, F. Entwicklung einer Hall-Sensor basierten Lageerfassung fureinen Linearmotor mit permanenterregtem Sekundarteil, Studienarbeit amLS EAM, University of Dortmund, 2006

[2] Morimoto, S.; Sanada, M.; Takeda, Y. High-performance current-sensorless drive for PMSM and SynRM with only low-resolution positionsensor Industry Applications, IEEE Transactions on; Volume 39, Issue 3,May-June 2003 Pages: 792 - 801

[3] Guang Liu; Kurnia, A.; De Larminat, R.; Rotter, S.J. Position sensor erroranalysis for EPS motor drive Electric Machines and Drives Conference,2003. IEMDC03. IEEE International Volume 1, Issue , 1-4 June 2003 Pa-ge(s): 249 - 254 vol.1

[4] Lidozzi, A.; Solero, L.; Crescimbini, F.; Di Napoli, A. SVM PMSM DriveWith Low Resolution Hall-Effect Sensors Power Electronics, IEEE Tran-sactions on; Volume 22, Issue 1, Jan. 2007 Page(s):282 - 290

[5] Yong Ho Yoon; Mu Sun Woo; Seung Jun Lee; Chung Yuen Won; You

Page 5: Low Cost Position Sensor for Permanent Magnet Linear Drive

Young Choe; Speed control system of slotless PM brushless DC motorusing 2Hall-ICs Industrial Electronics Society, 2004. IECON 2004. 30thAnnual Conference of IEEE Volume 2, 2-6 Nov. 2004 Page(s):1374 - 1379Vol. 2

[6] Xu Zheng; Li Tiecai; Lu Yongping; Guo Bingyi Position-measuring erroranalysis and solution of hall sensor in pseudo-sensorless PMSM drivingsystem Industrial Electronics Society, 2003. IECON03. The 29th AnnualConference of the IEEE Volume 2, Issue , 2-6 Nov. 2003 Page(s): 1337 -1342 Vol.2

[7] Baris Ozturk, S.; Akin, B.; Toliyat, H.A.; Ashrafzadeh, F. Low-cost di-rect torque control of permanent magnet synchronous motor using Hall-effect sensors Applied Power Electronics Conference and Exposition, 2006.APEC06. 19-23 March 2006