CN110579224B - Method and system for accurately measuring displacement of motor rotor by using Hall sensor - Google Patents

Method and system for accurately measuring displacement of motor rotor by using Hall sensor Download PDF

Info

Publication number
CN110579224B
CN110579224B CN201911092141.XA CN201911092141A CN110579224B CN 110579224 B CN110579224 B CN 110579224B CN 201911092141 A CN201911092141 A CN 201911092141A CN 110579224 B CN110579224 B CN 110579224B
Authority
CN
China
Prior art keywords
hall sensor
hall
sensor array
displacement
magnetic pole
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911092141.XA
Other languages
Chinese (zh)
Other versions
CN110579224A (en
Inventor
张敬良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Theresa Weld Si Kaile Intelligence Science And Technology Ltd
Original Assignee
Ningbo Theresa Weld Si Kaile Intelligence Science And Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Theresa Weld Si Kaile Intelligence Science And Technology Ltd filed Critical Ningbo Theresa Weld Si Kaile Intelligence Science And Technology Ltd
Priority to CN201911092141.XA priority Critical patent/CN110579224B/en
Publication of CN110579224A publication Critical patent/CN110579224A/en
Application granted granted Critical
Publication of CN110579224B publication Critical patent/CN110579224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/02Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
    • G01D5/142Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices
    • G01D5/145Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices influenced by the relative movement between the Hall device and magnetic fields

Abstract

The invention discloses a method and a system for accurately measuring the displacement of a motor rotor by using a Hall sensor, wherein the method comprises the following steps: step S1, fixing an array formed by N Hall sensors on a motor rotor; and step S2, obtaining the outputs of the N Hall sensors, judging the relative area of the Hall sensor array working at the current moment and the magnetic pole pair, and determining the sensor output of the area working in the linear area, thereby calculating the displacement of the Hall sensor array and the stator.

Description

Method and system for accurately measuring displacement of motor rotor by using Hall sensor
Technical Field
The invention relates to the field of servo drive control, in particular to a method and a system for accurately measuring the displacement of a motor rotor by using a Hall sensor.
Background
The basis of industrial robots, various numerical control equipment and automatic production lines lies in the real-time motion control of various servo/linear motors, and the accurate measurement of the current displacement between a motor stator and a rotor is the basis for realizing the accurate control of the torque, the speed and the position of the motor, so that the measurement of the motor stator and the rotor is very important in the motion control of the motor.
In servo motors and linear motors, the current position measurement method generally obtains the relative position of a rotor and a stator by two modes of an optical encoder (an optical ruler and an optical reading head) or a magnetic encoder (a magnetic ruler and a magnetic reading head). However, both of the above-mentioned methods use the discretized photoetching degree or magnetic scale as an extra ruler, and have the following disadvantages:
1. the initial relative position of the rotor and the stator cannot be measured, in order to measure the initial relative position of the rotor and the stator, an additional sensor is required to be added, or additional scales and a reading head are added to be converted into an absolute value encoder and magnetic declination setting is carried out;
2. on the linear motor, along with the increase of the stroke, the optical scale or the magnetic scale is also correspondingly increased, so that the cost is increased;
3. the measurement precision directly depends on the scale, and the cost is obviously increased along with the improvement of the precision;
4. it is difficult to mount on a subminiature servo motor or a linear motor due to the mounting requirements of the ruler and the reading head.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide a method and a system for accurately measuring the displacement of a motor rotor by using a hall sensor, so as to realize the purpose of measuring the displacement of the motor rotor with low cost and high precision by using the least hall sensor.
In order to achieve the above and other objects, the present invention provides a method for accurately measuring the displacement of a motor mover by using a hall sensor, comprising the steps of:
step S1, fixing an array formed by N Hall sensors on a motor rotor;
and step S2, acquiring the outputs of the N Hall sensors, judging the relative area of the Hall sensor array working at the current moment and the magnetic pole pair, and determining the sensor output of the area working in the linear area, thereby calculating the displacement of the Hall sensor array and the stator.
Preferably, in step S1,
Figure 90936DEST_PATH_IMAGE001
and tau is the magnetic pole pitch of the motor,
Figure 526596DEST_PATH_IMAGE002
the distance between adjacent sensors is (N-1)/NxT, which is the length of the linear region of the Hall sensor output on the X-axis.
Preferably, the length of the hall sensor array is limited to within twice the pole pitch of the motor.
Preferably, if the nth Hall sensor is at a distance from the first Hall sensor
Figure 219615DEST_PATH_IMAGE003
Then, the nth hall sensor is placed at the following position:
Figure 435833DEST_PATH_IMAGE004
×τ。
preferably, the step S2 further includes:
step S200, performing region segmentation on the output of the Hall sensor array, determining the Hall sensor working in a linear region in the region where the Hall sensor array is located at the current moment and the corresponding region, and determining the relative position of the Hall array and the current magnetic pole pair;
step S201, resolving a displacement of the motor rotor according to a relative position of the hall sensor array in the current magnetic pole pair and a number of magnetic pole pairs crossed by the hall sensor array.
Preferably, the basic principle of the region division is that in each region there is only one hall sensor operating in the linear region.
Preferably, in step S200, the relative positions of the hall sensor array and the magnetic pole pair are:
pos=Zone_No×Cross_Value×2+sel_h。
wherein Zone No is the area number where the hall sensor array is currently located,
Figure 256021DEST_PATH_IMAGE005
the intersection point values of the linear regions of every two Hall sensors,
Figure 608505DEST_PATH_IMAGE006
the Hall sensor working in a linear region is positioned in the current region.
Preferably, in step S201, the displacement of the motor mover is calculated as follows:
pos_abs=pos+Track_No×Cross_Value×12
wherein Track No is the magnetic pole pair number crossed by the Hall sensor array.
Preferably, the number of the magnetic pole pairs crossed by the Hall sensor array Track _ No is a relative value, the initial value of the relative value is 0, one is reduced when one magnetic pole pair is crossed in the reverse direction, and one is increased when one magnetic pole pair is crossed in the forward direction.
In order to achieve the above object, the present invention further provides a system for accurately measuring the displacement of a motor mover by using a hall sensor, comprising:
the Hall sensor arrangement unit is used for determining the number N and the positions of the arranged Hall sensors so as to fix an array formed by the N Hall sensors on the motor rotor;
and the displacement calculation unit is used for acquiring the outputs of the N Hall sensors, judging that the Hall sensor array works in a relative area with the magnetic pole pair at the current moment, and determining the sensor output of the area working in a linear area, so that the displacement of the Hall sensor array and the stator is calculated.
Compared with the prior art, the method and the system for accurately measuring the displacement of the motor rotor by using the Hall sensors realize the purpose of measuring the displacement of the motor rotor by fixing the array consisting of the Hall sensors on the motor rotor and by using the Hall sensors, the sensitivity of the Hall sensors can be fully utilized to ensure the resolution of the position.
Drawings
FIG. 1 is a schematic diagram showing the relative positions of a Hall sensor and a magnetic pole;
FIG. 2 shows a schematic output diagram of a Hall sensor at different X positions;
FIG. 3 is a schematic diagram showing the arrangement of magnetic poles and the output of each Hall sensor in the Hall array;
FIG. 4 is a flow chart illustrating steps of a method for accurately measuring the displacement of a motor rotor by using a Hall sensor according to the present invention;
FIG. 5 is a waveform diagram of the Hall outputs of the three Hall sensor arrays in the embodiment of the present invention, wherein the Hall outputs cross a magnetic pole pair in a reverse direction at a constant speed and then return to a starting point in a forward direction;
FIG. 6 is a schematic diagram of signals output by the three Hall sensors and analyzed by the position when the three Hall sensor arrays cross over two magnetic pole pairs at a constant speed in a reverse direction and then return to a starting point in a forward direction in the embodiment of the present invention;
FIG. 7 is a system architecture diagram of a system for accurately measuring motor mover displacement using Hall sensors according to the present invention;
wherein, in fig. 1, 1-hall sensor 1; 2-hall sensor 2; 3-hall sensor 3; 4-magnetic pole.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
The principle of the invention using hall sensors is explained first below:
fig. 1 shows a schematic diagram of the relative positions of a hall sensor and a magnetic pole, wherein the hall sensor is placed in the middle of the magnetic pole on the Y-axis, the distance between the hall sensor and the magnetic pole on the Z-axis is kept unchanged, and the hall sensor moves along the X-axis. It can be seen from the output signal of the typical hall sensor shown in fig. 2 that, in the interval directly below the adjacent magnetic pole, the output signal of the hall sensor and the displacement signal have a linear characteristic, and the smaller the distance between the hall sensor and the magnetic pole on the Z-axis, the larger the slope of the hall output signal, i.e., the more sensitive the hall output signal is to the displacement, the higher the position resolution accuracy is under a certain signal noise, but the faster the hall output signal enters a nonlinear or saturated region, and the smaller the linear region is.
Fig. 3 shows the arrangement of magnetic poles in the linear motor and the output schematic diagram of each hall sensor in the hall array, in the present invention, the rotating motor can be regarded as a radial split, plane development. When a hall sensor 1 (fixed on the mover) is placed above the rotor and moved along the X-axis, the required position resolution accuracy is achieved by reducing the distance in the Z-axis direction as described above, and the output signal is shown as a solid line curve No. 1 below fig. 3 (without loss of generality, the nonlinear region is represented by a saturation region). In order to linearly resolve the displacement between the rotor and the stator in the whole stroke, the required number of the Hall sensors is
Figure 551053DEST_PATH_IMAGE001
Where τ is the pole pitch,
Figure 175938DEST_PATH_IMAGE007
is the length of the linear region of the hall sensor output on the X-axis. In fig. 3, a hall array of N =3 (the distance between adjacent hall sensors is 2 τ/3) is shown, and the output of the corresponding individual hall sensor as the sensor array moves along the X-axis.
For any value of N (N > = 2), the distance between adjacent sensors is: (N-1)/Nxτ. If N is large, the length of the Hall array can exceed 2 tau, and the length of the Hall array can be limited within 2 tau through the following processing as long as the size of the Hall sensor allows. The distance between the nth Hall sensor and the first Hall sensor is based on the first Hall position,
Figure 596555DEST_PATH_IMAGE008
(1)
if it is not
Figure 69125DEST_PATH_IMAGE003
The nth hall sensor can be placed in the following positions:
Figure 854679DEST_PATH_IMAGE004
×τ (2)
the nth Hall output lags behind 2 pi in time sequence, so that the position analysis is not influenced, and the initial relative position of the rotor and the magnetic pole can be better reflected.
Fig. 4 is a flowchart illustrating steps of a method for accurately measuring the displacement of a motor mover by using a hall sensor according to the present invention. As shown in fig. 4, the method for accurately measuring the displacement of the motor rotor by using the hall sensor of the present invention comprises the following steps:
step S1, fixing an array formed by N Hall sensors on the motor rotor, wherein
Figure 779909DEST_PATH_IMAGE001
And tau is the magnetic pole pitch of the motor,
Figure 4217DEST_PATH_IMAGE007
the distance between adjacent sensors is the length of the linear region of the hall sensor output on the X-axis: (N-1)/NxT, and the length of the Hall sensor array is limited to be within 2T.
In the present invention, as mentioned above, if N is relatively large, the length of the hall sensor array will exceed 2 τ, so as long as the hall sensor size allows, the length of the hall sensor array can be limited to 2 τ by the following process. The position of the first Hall sensor is taken as a reference, and the distance between the nth Hall sensor and the first Hall sensor is as follows:
Figure 509455DEST_PATH_IMAGE008
if it is not
Figure 793806DEST_PATH_IMAGE003
The nth hall sensor can be placed in the following positions:
Figure 206333DEST_PATH_IMAGE004
×τ
although the output of the nth Hall sensor lags behind 2 pi in time sequence, the output of the nth Hall sensor does not influence the position analysis and can better reflect the initial relative position of the rotor and the magnetic pole.
And step S2, acquiring the outputs of the N Hall sensors, judging that the Hall sensor array works in a relative area with the magnetic pole pair at the current moment, and determining the sensor output of the area working in a linear area, thereby calculating the displacement of the Hall sensor array and the stator.
Specifically, step S2 further includes:
and S200, performing region segmentation on the output of the Hall sensor array, determining the Hall sensor working in a linear region in the region where the Hall sensor array is located at the current moment and the corresponding region, and determining the relative position of the Hall array and the current magnetic pole pair. In the present invention, the basic principle of region division is that there is only one hall sensor operating in the linear region in each region.
In the specific embodiment of the present invention, without loss of generality, three hall sensor arrays are taken as an example, and fig. 5 shows output signals of the hall sensors in the process that the hall array moves in a constant speed in a reverse direction, crosses a pair of magnetic poles, and then moves back to an initial point in a constant speed in a positive direction in fig. 3. The saturation area is replaced by a nonlinear area, the intersection point value of the linear areas of every two Hall sensors is normalized to +/-0.5, and the positive direction is defined as Hall sensor 1 (namely Hall in the figure)1) Output leading Hall sensor 2 (Hall in figure)2) The Hall sensor 2 outputs a leading Hall sensor 3 (i.e. Hall in the figure)3) Otherwise, the direction is the reverse direction.
The basic principle of region division is that each region has only one hall sensor working in a linear region, generally, if there are N hall sensors, the hall sensor is divided into 2N regions, taking three hall sensors as an example, as shown in fig. 5, when the hall sensor array moves in the opposite direction, the hall sensor array sequentially passes through regions Z5, Z4, … and Z0; the forward motion passes through zones Z0, Z1, …, and Z5 in sequence.
The respective regions are defined as follows:
Z5:
Figure 906435DEST_PATH_IMAGE009
Z4:
Figure 88018DEST_PATH_IMAGE010
Z3:
Figure 543270DEST_PATH_IMAGE011
Z2:
Figure 630044DEST_PATH_IMAGE012
Z1:
Figure 196154DEST_PATH_IMAGE013
Z0:
Figure 232243DEST_PATH_IMAGE014
wherein
Figure 796080DEST_PATH_IMAGE015
Is composed of
Figure 183199DEST_PATH_IMAGE016
And (4) outputting by a Hall sensor. In practical application, in order to overcome noise interference, the following judgment criteria are adopted for region segmentation:
Z5: h2>h3>h1
Z4: h2>h1>h3
Z3: h1>h2>h3
Z2: h1>h3>h2
Z1: h3>h1>h2
Z0: h3>h2>h1
the relative positions of the Hall sensor array and the magnetic pole pair are determined by the area
Figure 287421DEST_PATH_IMAGE017
And the position of the Hall sensor working in the linear region in the current region
Figure 630547DEST_PATH_IMAGE006
And (6) determining. The specific analysis method is as follows:
Figure 427601DEST_PATH_IMAGE018
Figure 36437DEST_PATH_IMAGE019
Figure 147613DEST_PATH_IMAGE020
Figure 158294DEST_PATH_IMAGE021
Figure 126250DEST_PATH_IMAGE022
Figure 409333DEST_PATH_IMAGE023
thus, the relative position (pos) of the hall sensor array and the current pole pair resolves to:
pos=Zone_No×Cross_Value×2+sel_h 。
wherein Zone No is the area number where the hall sensor array is currently located,
Figure 855357DEST_PATH_IMAGE024
the crossing point value of the linear regions of two hall sensors is 0.5 as shown in fig. 5 in the specific embodiment of the invention.
Step S201, resolving a displacement of the motor rotor according to a relative position of the hall sensor array in the current magnetic pole pair and a number of magnetic pole pairs crossed by the hall sensor array.
During the whole movement, the displacement (pos _ abs) of the mover (hall array) can be represented by the number of magnetic pole pairs (Track _ No) crossed by the hall array and the position (pos) of the hall array in the current magnetic pole pair as:
pos_abs=pos+Track_No×Cross_Value×12
wherein Track _ No is a relative value with a starting value of 0, decreases by one when crossing a pole pair in the reverse direction (Zone _ No changes from 0 to 5), and increases by one when crossing a pole pair in the forward direction (Zone _ No changes from 5 to 0), and the specific calculation process is as follows:
Figure 986124DEST_PATH_IMAGE025
where Zone _ No _ P is the area number of the last sampling point.
FIG. 6 shows the position resolution signals as the Hall array reverses direction across two pole pairs and then returns to the starting point. Unlike fig. 5, the hall signals in fig. 6 are superimposed with 20% noise, and although the Zone _ No is disturbed by the noise at the inversion point, this does not affect the position resolution, and the overall displacement (pos _ abs) of the mover (hall array) remains linear.
Fig. 7 is a system architecture diagram of a system for accurately measuring the displacement of a motor mover by using a hall sensor according to the present invention. As shown in fig. 7, the system for accurately measuring the displacement of the motor rotor by using the hall sensor according to the present invention includes:
a Hall sensor arrangement unit 701 for determining the number N and the positions of the Hall sensors arranged so as to fix an array formed by the N Hall sensors on the motor rotor, wherein
Figure 62665DEST_PATH_IMAGE001
And tau is the magnetic pole pitch of the motor,
Figure 646093DEST_PATH_IMAGE007
the length of a linear region output by the Hall sensor on the X axis is as follows: (N-1)/NxT, and the length of the Hall sensor array is limited to be within 2T.
In the invention, if N is larger, the length of the Hall sensor array exceeds 2 tau, so as long as the Hall sensor size allows, the length of the Hall sensor array is limited within 2 tau through the following processing. The position of the first Hall sensor is taken as a reference, and the distance between the nth Hall sensor and the first Hall sensor is as follows:
Figure 895809DEST_PATH_IMAGE008
if it is not
Figure 70963DEST_PATH_IMAGE003
The nth hall can be placed in the following positions:
Figure 380721DEST_PATH_IMAGE004
×τ
although the nth Hall output lags behind 2 pi in time sequence, the nth Hall output does not influence the position analysis and can better reflect the initial relative position of the rotor and the magnetic pole.
And the displacement calculation unit 702 is configured to obtain outputs of the N hall sensors, determine that the hall sensor array works in a region opposite to the magnetic pole pair at the current time, determine the sensor output of the region working in a linear region, and thereby calculate the displacement between the hall sensor array and the stator.
Specifically, the displacement calculation unit 702 further includes:
and the relative position calculating unit is used for carrying out region segmentation on the output of the Hall sensor array, determining the Hall sensor working in a linear region in the region where the Hall sensor array is located at the current moment and the corresponding region, and determining the relative position of the Hall array and the current magnetic pole pair. In the present invention, the basic principle of region division is that there is only one hall sensor operating in the linear region in each region.
The basic principle of region segmentation is that there is only one hall sensor operating in the linear region in each region. Taking fig. 5 as an example, when the hall sensor array moves in the opposite direction, the hall sensor array passes through the zones Z5, Z4, … and Z0 in sequence; the forward motion passes through zones Z0, Z1, …, and Z5 in sequence. The respective regions are defined as follows:
Z5:
Figure 451445DEST_PATH_IMAGE009
Z4:
Figure 442535DEST_PATH_IMAGE010
Z3:
Figure 282315DEST_PATH_IMAGE011
Z2:
Figure 762975DEST_PATH_IMAGE012
Z1:
Figure 242367DEST_PATH_IMAGE013
Z0:
Figure 99464DEST_PATH_IMAGE014
wherein
Figure 793751DEST_PATH_IMAGE015
Is composed of
Figure 382995DEST_PATH_IMAGE016
And (4) outputting by a Hall sensor. In practical application, in order to overcome noise interference, the following judgment criteria are adopted for region segmentation:
Z5: h2>h3>h1
Z4: h2>h1>h3
Z3: h1>h2>h3
Z2: h1>h3>h2
Z1: h3>h1>h2
Z0: h3>h2>h1
the relative position of the Hall sensor array and the magnetic pole pair is determined by the current region position of the Hall sensor working in the linear region in the region and the corresponding region
Figure 428312DEST_PATH_IMAGE026
And outputting the decision. The specific analysis method is as follows:
Figure 823521DEST_PATH_IMAGE018
Figure 559265DEST_PATH_IMAGE019
Figure 647306DEST_PATH_IMAGE020
Figure 914340DEST_PATH_IMAGE021
Figure 785344DEST_PATH_IMAGE022
Figure 454222DEST_PATH_IMAGE023
thus, the relative position (pos) of the hall sensor array and the current pole pair resolves to:
pos=Zone_No×Cross_Value×2+sel_h 。
wherein Zone No is the area number where the hall sensor array is currently located,
Figure 713165DEST_PATH_IMAGE024
the intersection values of the linear regions of every two Hall sensors are obtained.
And the displacement analyzing unit is used for analyzing the displacement of the motor rotor according to the relative position of the Hall sensor array in the current magnetic pole pair and the number of the magnetic pole pairs crossed by the Hall sensor array.
During the whole movement, the displacement (pos _ abs) of the mover (hall array) can be represented by the number of magnetic pole pairs (Track _ No) crossed by the hall array and the position (pos) of the hall array in the current magnetic pole pair as:
pos_abs=pos+Track_No×Cross_Value×12
wherein Track No is a relative value with a starting value of 0, decreases by one when crossing a pole pair in the reverse direction (Zone No changes from 0 to 5), and increases by one when crossing a pole pair in the forward direction (Zone No changes from 5 to 0), which is specifically calculated as follows:
Figure 388866DEST_PATH_IMAGE025
where Zone _ No _ P is the area number of the last sampling point.
In summary, the method and system for accurately measuring the displacement of the motor rotor by using the hall sensors of the present invention fix the array formed by the hall sensors on the motor rotor, and realize the displacement measurement of the motor rotor by using the hall sensors, and can fully utilize the sensitivity of the hall sensors to ensure the resolution of the position.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (7)

1. A method for accurately measuring the displacement of a motor rotor by using a Hall sensor comprises the following steps:
step S1, fixing an array formed by N Hall sensors on a motor rotor;
step S2, obtaining outputs of the N hall sensors, determining a region corresponding to the magnetic pole pair where the hall sensor array operates at the current time, and determining a sensor output of the region operating in a linear region, thereby calculating a displacement between the hall sensor array and the stator, wherein the step S2 further includes:
step S200, performing region segmentation on the output of the Hall sensor array, wherein the basic principle of the region segmentation is that only one Hall sensor works in a linear region in each region, for N Hall sensors, the region is segmented into 2N regions, the region where the Hall sensor array is located at the current moment and the Hall sensors working in the linear region in the corresponding region are determined, and therefore the relative positions of the Hall sensor array and the current magnetic pole pair are determined, and the relative positions of the Hall sensor array and the magnetic pole pair are as follows:
pos=Zone_No×Cross_Value×2+sel_h
wherein Zone No is the area number where the hall sensor array is currently located,
Figure DEST_PATH_IMAGE001
the intersection point values of the linear regions of every two Hall sensors,
Figure DEST_PATH_IMAGE002
the Hall sensor working in a linear region is located at the current region;
step S201, resolving a displacement of the motor rotor according to the relative positions of the hall sensor array and the current magnetic pole pair and the number of the magnetic pole pairs crossed by the hall sensor array.
2. The method for accurately measuring the displacement of the rotor of the motor by using the Hall sensor as claimed in claim 1, wherein: in the step S1, in step S,
Figure DEST_PATH_IMAGE003
and tau is the magnetic pole pitch of the motor,
Figure DEST_PATH_IMAGE004
the distance between adjacent sensors is (N-1)/NxT, which is the length of the linear region of the Hall sensor output on the X-axis.
3. The method for accurately measuring the displacement of the rotor of the motor by using the Hall sensor as claimed in claim 2, wherein: the length of the hall sensor array is limited to within twice the pole pitch of the motor.
4. The method for accurately measuring the displacement of the rotor of the motor by using the Hall sensor as claimed in claim 2, wherein: if the nth Hall sensor is away from the first Hall sensor
Figure DEST_PATH_IMAGE005
Then, the nth hall sensor is placed at the following position:
Figure DEST_PATH_IMAGE006
×τ。
5. the method for accurately measuring the displacement of the motor rotor by using the Hall sensor as claimed in claim 4, wherein: in step S201, the displacement of the motor mover is calculated as follows:
pos_abs=pos+Track_No×Cross_Value×12
wherein Track No is the magnetic pole pair number crossed by the Hall sensor array.
6. The method for accurately measuring the displacement of the motor rotor by using the Hall sensor as claimed in claim 5, wherein: the number of the crossed magnetic pole pairs Track _ No of the Hall sensor array is a relative value, the initial value of the Hall sensor array is 0, one is reduced when one magnetic pole pair is crossed in the reverse direction, and one is increased when one magnetic pole pair is crossed in the forward direction.
7. A system for accurately measuring the displacement of a motor rotor by using a Hall sensor comprises:
the Hall sensor arrangement unit is used for determining the number N and the positions of the arranged Hall sensors so as to fix an array formed by the N Hall sensors on the motor rotor;
the displacement calculation unit is used for acquiring the outputs of the N Hall sensors, judging whether the Hall sensor array works in a relative area with a magnetic pole pair at the current moment, determining the sensor output of the area working in a linear area, and calculating the displacement between the Hall sensor array and a stator, and the displacement calculation unit performs area division on the output of the Hall sensor array, wherein the basic principle of the area division is that only one Hall sensor works in the linear area in each area, for the N Hall sensors, the area is divided into 2N areas, the area where the Hall sensor array is located at the current moment and the Hall sensors working in the linear area in the corresponding area are determined, and the relative positions of the Hall sensor array and the current magnetic pole pair are determined according to the following principle:
pos=Zone_No×Cross_Value×2+sel_h
wherein Zone No is the area number where the hall sensor array is currently located,
Figure 186703DEST_PATH_IMAGE001
the intersection point values of the linear regions of every two Hall sensors,
Figure 103843DEST_PATH_IMAGE002
the Hall sensor working in a linear region is located at the current region;
and resolving the displacement of the motor rotor according to the relative positions of the Hall sensor array and the current magnetic pole pair and the number of the magnetic pole pairs crossed by the Hall sensor array.
CN201911092141.XA 2019-11-11 2019-11-11 Method and system for accurately measuring displacement of motor rotor by using Hall sensor Active CN110579224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911092141.XA CN110579224B (en) 2019-11-11 2019-11-11 Method and system for accurately measuring displacement of motor rotor by using Hall sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911092141.XA CN110579224B (en) 2019-11-11 2019-11-11 Method and system for accurately measuring displacement of motor rotor by using Hall sensor

Publications (2)

Publication Number Publication Date
CN110579224A CN110579224A (en) 2019-12-17
CN110579224B true CN110579224B (en) 2020-03-31

Family

ID=68815610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911092141.XA Active CN110579224B (en) 2019-11-11 2019-11-11 Method and system for accurately measuring displacement of motor rotor by using Hall sensor

Country Status (1)

Country Link
CN (1) CN110579224B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111106765A (en) * 2019-12-30 2020-05-05 中国科学院长春光学精密机械与物理研究所 Brushless motor driving system and method
CN113037019B (en) * 2021-03-10 2023-02-03 北京华能新锐控制技术有限公司 Encoder for detecting position of linear motor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100138163A (en) * 2009-06-24 2010-12-31 계양전기 주식회사 Detecting device for sensing the rotor position and brushless motor having the same
CN102498366A (en) * 2009-07-28 2012-06-13 马勒国际有限公司 Position sensor and linear actuator
CN103557782A (en) * 2013-10-16 2014-02-05 清华大学 Linear motor positioning method based on switch Hall sensor sequential coding
CN103825408A (en) * 2014-02-28 2014-05-28 深圳市大疆创新科技有限公司 Motor, cloud deck using the motor and shooting device using the cloud deck
CN107749724A (en) * 2016-07-05 2018-03-02 舍弗勒技术股份两合公司 For the method and apparatus for the position for determining and/or controlling motor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103940332B (en) * 2014-04-30 2017-01-18 江苏百协精锻机床有限公司 Magnetic grating displacement transducer based on Hall magnetic sensitive element array
US20170353130A1 (en) * 2016-06-05 2017-12-07 Firstec Co., Ltd. Device for correcting hall sensor installation position error of bldc motor having linear hall sensor, and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100138163A (en) * 2009-06-24 2010-12-31 계양전기 주식회사 Detecting device for sensing the rotor position and brushless motor having the same
CN102498366A (en) * 2009-07-28 2012-06-13 马勒国际有限公司 Position sensor and linear actuator
CN103557782A (en) * 2013-10-16 2014-02-05 清华大学 Linear motor positioning method based on switch Hall sensor sequential coding
CN103825408A (en) * 2014-02-28 2014-05-28 深圳市大疆创新科技有限公司 Motor, cloud deck using the motor and shooting device using the cloud deck
CN107749724A (en) * 2016-07-05 2018-03-02 舍弗勒技术股份两合公司 For the method and apparatus for the position for determining and/or controlling motor

Also Published As

Publication number Publication date
CN110579224A (en) 2019-12-17

Similar Documents

Publication Publication Date Title
EP3650816B1 (en) Magnetic position sensor system and method
CN101929834B (en) Rotational angle-measurement apparatus and rotational speed-measurement apparatus
US9455650B2 (en) Two-dimensional locating method of motion platform based on magnetic steel array
Lee et al. Acceleration estimator for low-velocity and low-acceleration regions based on encoder position data
CN110579224B (en) Method and system for accurately measuring displacement of motor rotor by using Hall sensor
US9310782B2 (en) Method for measuring displacement of planar motor rotor
CN102589405B (en) Motor rotor displacement measurement method
CN112504305B (en) Encoder, motor and method for detecting absolute position of encoder
CN212300247U (en) Detection system for dynamic error of grating ruler
CN206989972U (en) It is a kind of to suppress interference and the hall signal sampling magnetism encoder of temperature drift
CN110133316B (en) Precise speed measurement system and method for photoelectric encoder
JP2016186475A (en) Position prediction device and position detection device
JPH0634872A (en) Sampling system position detecting device
RU83133U1 (en) SPINDLE ASSEMBLY
Yi et al. An approach based on AD converted resolver demodulation
JP3009554B2 (en) Linear encoder
CN111121827A (en) TMR magnetic encoder system based on Kalman filtering
JP2010139405A (en) Encoder signal processing method, encoder device, and servomotor
CN208399786U (en) A kind of zoom lens controlled using voice coil motor
CN111600445B (en) Linear motor rotor position signal processing method, device and system and storage medium
US20180106647A1 (en) Method for measuring displacements of object
Li et al. An improved M/T speed algorithm based on RISC-V DSP
EP3907475B1 (en) Magnetic position sensor system and method
CN115586436A (en) Permanent magnet linear motor high-resolution position detection method based on magnetic sensing array
JPH0666681A (en) Dynamic characteristics measuring apparatus for operating tool

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant