Magnetic linear displacement sensor and position detection method based on multiple magnetic sensitive elements
By designing multiple linear magnetic sensitive elements arranged equidistantly in the magnetic linear displacement sensor to calculate the absolute position of the magnet, the problem of being unable to detect the absolute position in the existing technology is solved, the detection efficiency and accuracy are improved, and the application is expanded. scope.
Patent Information
- Application Number
- CN202410882951.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-03
AI Technical Summary
It is difficult for the existing magnetic linear displacement sensor to detect the absolute position of the magnet, which requires re-zeroing after the system is powered off, which reduces the detection efficiency and accuracy and limits its application reliability.
Design multiple linear magnetic sensitive elements to be arranged equidistantly in the linear motion direction of the magnet. Calculate the absolute position of the magnet through the output voltage change of each linear magnetic sensitive element, and perform position positioning in the high-level interval. Multiple linear magnetic sensitive elements are used to calculate the absolute position of the magnet. The combination method of magnetic sensitive elements calculates the absolute position of the magnet.
It realizes the absolute position detection of magnets, avoids re-zero adjustment after system restart, improves detection efficiency and accuracy, and makes the application range of magnetic linear displacement sensors wider.
Smart Images

Figure CN118424088B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of production of linear displacement sensors, and specifically relates to a magnetically sensitive linear displacement sensor, and in particular to a magnetically sensitive linear displacement sensor based on multiple magnetically sensitive elements and a position detection method. Background Art
[0002] The main function of the linear displacement sensor is to convert the displacement in the linear direction of mechanical movement into a usable electrical signal output for subsequent measurement, control or monitoring system use. It is often used in automatic production lines, aerospace, intelligent manufacturing, robotics and other automatic control fields.
[0003] With the rise of emerging industries such as new energy vehicles, smart factories, and smart cities, higher requirements are placed on the accuracy, response speed, environmental adaptability, and integration of sensors. The market demand for non-contact sensors, high-precision sensors, and sensors that can work stably in extreme environments is increasing.
[0004] Non-contact linear displacement sensors mainly include linear differential transformer linear displacement sensors, magnetosensitive linear displacement sensors, magnetostrictive sensors, optical encoders, magnetosensitive encoders and capacitive sensors, among which linear differential transformer linear displacement sensors and magnetosensitive linear displacement sensors are the most widely used.
[0005] The linear differential transformer displacement sensor, abbreviated as LVDT, is a linear displacement sensor that uses the movement of the iron core to change the coil voltage to achieve displacement detection. Although it has the advantages of long detection distance, high reliability and good stability, it is large in size, relatively expensive, and the signal modulation and demodulation circuit is relatively complex, which makes the position feedback sensitivity low, limiting its application.
[0006] A magnetic linear displacement sensor is a sensor that uses the magnetic induction principle between a magnetic steel and a linear magnetic sensitive element (such as a linear Hall integrated sensor, a linear magnetic resistance, etc.) to detect linear displacement. Figure 1 As shown in FIG. 1 , the magnetic steel moves from a position far from the linear magnetic sensitive element to a direction close to the linear magnetic sensitive element, and after moving to a position closest to the linear magnetic sensitive element, it continues to move away from the linear magnetic sensitive element, forming a displacement-output voltage curve with the displacement of the magnetic steel as the abscissa and the output voltage of the linear magnetic sensitive element as the ordinate. The curve includes a linear region (i.e. Figure 1 The curve area between BD in the middle), there is a nonlinear area outside the two ends of the linear area (that is, Figure 1 The curve area between AB and the curve area between DE) in Figure 1The position of the magnet closest to the linear magnetic sensitive element during its movement is position C, position C is located at the position corresponding to the midpoint of the linear region, position B is located at the magnet corresponding to the lowest voltage in the linear region, position D is located at the magnet corresponding to the highest voltage in the linear region, position A is located at the magnet when the magnet signal can be detected in the nonlinear region close to position B, and position E is located at the magnet when the magnet signal can be detected in the nonlinear region close to position D.
[0007] like Figure 1 As shown, in the displacement-output voltage curve, the output voltage corresponding to the C position is U0, that is, when the output voltage of the linear magnetosensitive element is U0, it is determined that the signal of the magnetic steel cannot be detected, the output voltage corresponding to the B position is the lowest output voltage UL in the linear region, and the output voltage corresponding to the D position is the highest output voltage UH in the linear region. In practical applications, in order to avoid interference caused by voltage fluctuations, the output voltage U1 slightly smaller than U0 is the output voltage close to UL and just beginning to detect the effective magnetic steel signal, the output voltage corresponding to the A position is U1, the output voltage U2 slightly larger than U0 is the output voltage close to UH and just beginning to detect the effective magnetic steel signal, and the output voltage corresponding to the E position is U2. Any position in the linear region between BD corresponds to a specific voltage output value one by one, while in the region between AC and between CE, the same voltage output value will correspond to two different positions, and because the region between AB and DE is a nonlinear region, the exact position corresponding to the output voltage in this region cannot be determined.
[0008] In practical applications, in order to accurately detect the displacement of the magnetic steel, the corresponding position of the moving range of the magnetic steel is limited to the position range corresponding to the linear region between BD, so that the absolute position of the magnetic steel in the linear region can be detected. The following formula is used for calculation: X1=M*α, X1 is the distance between the magnetic steel in the BD region and the B position, that is, the absolute position of the magnetic steel in the linear region of the displacement-output voltage curve of the coordinate system, M is the absolute output voltage of the linear magnetic sensitive element, α is the position conversion constant (related to the characteristics of the linear magnetic sensitive element and the magnetic flux of the magnetic steel), and the moving part of the device to be detected is connected to the magnetic steel to detect the linear displacement of the moving part.
[0009] However, if a magnet and a linear magnetic sensitive element are used to realize linear displacement detection, there are the following problems: the displacement of the magnet corresponding to the linear region between BD is small (generally about 5 mm), which is difficult to be directly applied in actual engineering.
[0010] In order to achieve linear displacement detection over a larger distance, the current traditional technologies mainly have the following two solutions: one is to connect multiple magnets into a magnetic strip, and the other is to use a spiral structure to enable the magnet to achieve circular motion while moving in a linear motion process, ultimately forming a spiral motion. Both methods can increase the linear displacement detection range.
[0011] However, both of the above-mentioned traditional technologies have a defect, that is, they can only detect the cumulative displacement of the magnet, that is, they can only detect the relative position of the magnet, but not the absolute position of the magnet. Once the system loses power during use, it must use the current magnet position as the starting position after restarting, detect the relative position of the magnet relative to the starting position, and use this as the basis for calculating the linear displacement, which is equivalent to the need to re-zero (i.e. adjust the zero position, the zero position is the starting position) and calculate, which increases the workload, reduces the detection efficiency and detection accuracy, and seriously limits the application reliability of the magnetic linear displacement sensor. Summary of the invention
[0012] The purpose of the present invention is to provide a magnetic linear displacement sensor based on multiple magnetic sensitive elements and a position detection method capable of detecting the absolute position of a magnetic steel in order to solve the above-mentioned problem.
[0013] The present invention achieves the above-mentioned purpose through the following technical solutions:
[0014] A magnetic linear displacement sensor based on multiple magnetic sensitive elements comprises a sensor housing and a guide rod, a slider, a magnetic steel, a linear magnetic sensitive element and a circuit board installed in the sensor housing, wherein the linear magnetic sensitive element is installed on the circuit board, the slider is installed on the guide rod and can slide in the axial direction of the guide rod, the magnetic steel is installed on the slider, the linear magnetic sensitive element is a group and is composed of a plurality of the linear magnetic sensitive elements arranged in sequence and equidistantly in a direction parallel to the axial direction of the guide rod, and the magnetic steel is one and is close to the linear magnetic sensitive element; or, the linear magnetic sensitive element is two groups, each group of the linear magnetic sensitive elements is composed of a plurality of the linear magnetic sensitive elements arranged in sequence and equidistantly in a direction parallel to the axial direction of the guide rod, the two groups of the linear magnetic sensitive elements are respectively located on opposite sides of the guide rod, and the magnetic steel is two and is respectively located on opposite sides of the slider and is respectively close to the two groups of the linear magnetic sensitive elements.
[0015] Preferably, in order to limit the linear motion stroke of the magnet to improve detection accuracy, the inner wall of the sensor housing and the positions corresponding to the two ends of the guide rod are respectively provided with limit columns for limiting the motion stroke of the magnet.
[0016] Preferably, in order to facilitate the connection with the moving parts of the device to be detected, the slider is connected to one end of the pull rod, and the other end of the pull rod passes through the corresponding through hole on the sensor housing and is placed outside the sensor housing; or, the slider is connected to one end of the slide handle, and the other end of the slide handle passes through the corresponding strip through hole on the sensor housing and is placed outside the sensor housing.
[0017] A position detection method used by the magnetic linear displacement sensor based on multiple magnetic sensitive elements comprises the following steps:
[0018] Step 1: Set the displacement-output voltage curves corresponding to all linear magnetic sensitive elements of the same group in the same coordinate system with the displacement of the magnetic steel as the horizontal coordinate and the output voltage of the linear magnetic sensitive element as the vertical coordinate. The number of all linear magnetic sensitive elements in the same group is m. All displacement-output voltage curves are the same and the actual spacing between any two adjacent displacement-output voltage curves is the same and the actual spacing is assumed to be K, that is, the actual spacing between two adjacent linear magnetic sensitive elements is K. Each displacement-output voltage curve includes a linear region, and there is a nonlinear region outside the two ends of the linear region. The output voltage corresponding to the midpoint of the linear region in each displacement-output voltage curve is U0, the lowest output voltage in the linear region is UL, and the highest output voltage in the linear region is UH. The output voltage close to UL in the displacement-output voltage curve and the effective magnetic steel signal is just detected is U1, and the output voltage close to UH in the displacement-output voltage curve and the effective magnetic steel signal is just detected is U2, U1 <U0<U2;
[0019] Step 2, define an output voltage between U2 and UH in each displacement-output voltage curve of the same group as Uh, define an interval including Uh and greater than Uh in each displacement-output voltage curve as a high level interval, and Uh and K satisfy the following conditions: in two adjacent displacement-output voltage curves, let the point in the high level interval of the displacement-output voltage curve corresponding to the previous linear magnetic sensitive element, which is located in the linear region and corresponds to Uh, be point M, let the point in the high level interval of the displacement-output voltage curve corresponding to the previous linear magnetic sensitive element, which is located in the nonlinear region and corresponds to Uh, be point G, let the point in the linear region of the displacement-output voltage curve corresponding to the next linear magnetic sensitive element, which is corresponding to UL, be point N, let the point in the linear region of the displacement-output voltage curve of the next linear magnetic sensitive element, which is corresponding to UH The corresponding point is point P, and the point where the interval in which the output voltage is greater than U2 in the displacement-output voltage curve corresponding to the previous linear magnetic sensor and the interval in which the output voltage is greater than U2 in the displacement-output voltage curve corresponding to the next linear magnetic sensor are intersected is point F. When point M and point N are aligned in the ordinate direction and the output voltage corresponding to point F is not less than the output voltage corresponding to point G, the spacing between two adjacent linear magnetic sensors is K2. When point P and point G are aligned in the ordinate direction and point M is aligned in the abscissa direction or closer to point P than point N, the spacing between two adjacent linear magnetic sensors is K1. When point M and point N are aligned in the ordinate direction and the output voltage corresponding to point F is equal to the output voltage corresponding to point G, the spacing between two adjacent linear magnetic sensors is Kmax, and the K value satisfies the following conditions: K1≤K≤K2≤Kmax.
[0020] Step 3, when it is necessary to detect a certain position of the magnetic steel during the linear motion of the magnetic steel, according to the actual output voltage of each linear magnetic sensitive element of the same group corresponding to the magnetic steel, the linear magnetic sensitive element in the high level interval is used as the nth linear magnetic sensitive element. If the actual output voltages of two linear magnetic sensitive elements are both in the high level interval, one of the linear magnetic sensitive elements is selected as the nth linear magnetic sensitive element, 1≤n≤m-1;
[0021] Step 4: Calculate the horizontal coordinate distance X between the N points in the linear region of the displacement-output voltage curve corresponding to the second linear magnetic sensitive element in the coordinate system according to the following formula:
[0022] X = (n-1) × K + Xa,
[0023] Wherein, Xa is the absolute position of the magnetic steel in the linear region of the displacement-output voltage curve corresponding to the n+1th linear magnetic sensitive element in the coordinate system, and the absolute position of the magnetic steel can be obtained according to X.
[0024] Preferably, in order to ensure that the entire linear motion stroke of the magnetic steel is within an accurately calculated range to further improve detection accuracy and eliminate the possibility of false detection, the end point of one end of the linear motion stroke of the magnetic steel is aligned in the coordinate system with point M in the displacement-output voltage curve corresponding to the first linear magnetic sensitive element in the vertical coordinate direction, and the end point of the other end of the linear motion stroke of the magnetic steel is aligned in the coordinate system with point G in the displacement-output voltage curve corresponding to the m-1th linear magnetic sensitive element in the vertical coordinate direction.
[0025] The beneficial effects of the present invention are:
[0026] The present invention designs a plurality of linear magnetic sensitive elements arranged equidistantly in the direction of the linear motion of the magnetic steel, so that each linear magnetic sensitive element can output a changing voltage signal and use the signal as the basis for calculating the absolute position of the magnetic steel, thereby obtaining the actual absolute position of the magnetic steel. After the system is powered off and restarted, it is not necessary to re-zero and recalculate, thereby improving the detection efficiency and detection accuracy. By adopting a method of positioning the magnetic steel position in the high level interval of a linear magnetic sensitive element and calculating the absolute position of the magnetic steel through the linear area of the next linear magnetic sensitive element, the actual absolute position of the magnetic steel can be calculated at any time according to the output voltage of each linear magnetic sensitive element, and then the linear displacement of the magnetic steel in any time interval can be easily calculated, thereby improving the detection efficiency and detection accuracy of the magnetic linear displacement sensor and making its application range wider. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a schematic diagram of the displacement-output voltage curve of the magnetic linear displacement sensor;
[0028] Figure 2 This is one of the main cross-sectional structural schematic diagrams of the magnetic linear displacement sensor based on multiple magnetic sensitive elements of the present invention, and the internal structure is shown in the figure;
[0029] Figure 3 This is one of the schematic diagrams of the top view and cross-section structure of the magnetic-sensitive linear displacement sensor based on multiple magnetic-sensitive elements of the present invention, showing the internal structure;
[0030] Figure 4 This is the second schematic diagram of the main cross-sectional structure of the magnetic linear displacement sensor based on multiple magnetic sensitive elements of the present invention, which shows the internal structure;
[0031] Figure 5 This is the second schematic diagram of the top view and cross-section structure of the magnetic sensitive linear displacement sensor based on multiple magnetic sensitive elements of the present invention, which shows the internal structure;
[0032] Figure 6This is the third schematic diagram of the main cross-sectional structure of the magnetic linear displacement sensor based on multiple magnetic sensitive elements of the present invention, which shows the internal structure;
[0033] Figure 7 This is the third schematic diagram of the top view and cross-section structure of the magnetic linear displacement sensor based on multiple magnetic sensitive elements of the present invention, which shows the internal structure;
[0034] Figure 8 This is the fourth schematic diagram of the main cross-sectional structure of the magnetic linear displacement sensor based on multiple magnetic sensitive elements of the present invention, which shows the internal structure;
[0035] Fig. 9 This is a fourth schematic diagram of a top view and cross-section structure of a magnetically sensitive linear displacement sensor based on multiple magnetically sensitive elements according to the present invention, and shows the internal structure;
[0036] Fig.10 It is a schematic diagram of a displacement-output voltage curve used to calculate the distance K2 between two adjacent linear magnetic sensitive elements in the position detection method adopted by the magnetic sensitive linear displacement sensor based on multiple magnetic sensitive elements of the present invention;
[0037] Fig.11 It is a schematic diagram of a displacement-output voltage curve used to calculate the distance K1 between two adjacent linear magnetic sensitive elements in the position detection method adopted by the magnetic sensitive linear displacement sensor based on multiple magnetic sensitive elements of the present invention;
[0038] Fig.12 It is a schematic diagram of a displacement-output voltage curve for calculating the spacing Kmax between two adjacent linear magnetic sensitive elements in the position detection method adopted by the magnetic sensitive linear displacement sensor based on multiple magnetic sensitive elements of the present invention.
[0039] Figure 2-Figure 9 In the figure, 1-sensor housing, 2-cover plate, 3-guide rod, 4-slider, 5-magnet, 6-circuit board, 7-linear magnetic sensitive element, 8-pull rod, 9-limiting column, 10-sliding handle. DETAILED DESCRIPTION
[0040] The present invention will be further described below in conjunction with the accompanying drawings:
[0041] like Figure 2-Figure 9As shown, the magnetic linear displacement sensor based on multiple magnetic sensitive elements of the present invention comprises a sensor housing 1 and a guide rod 3, a slider 4, a magnet 5 (in the figure, the N pole and the S pole are sequentially distributed in the axial direction of the guide rod 3), a linear magnetic sensitive element 7 (a linear Hall integrated sensor is shown in the figure), and a circuit board 6. The linear magnetic sensitive element 7 is mounted on the circuit board 6. The slider 4 is mounted on the guide rod 3 and can slide in the axial direction of the guide rod 3. The magnet 5 is mounted on the slider 4. The linear magnetic sensitive element 7 is a group and is composed of a plurality of (8 in the figure) linear magnetic sensitive elements 7 arranged in sequence and equidistantly in a direction parallel to the axial direction of the guide rod 3. The magnet 5 is one and close to the linear magnetic sensitive element 7. Figure 2 , Figure 3 , Figure 6 and Figure 7 As shown, a single redundant magnetic sensitive linear displacement sensor is formed in this way; or, the linear magnetic sensitive elements 7 are two groups, each group of linear magnetic sensitive elements 7 is composed of a plurality of (8 in the figure) linear magnetic sensitive elements 7 arranged in sequence and equidistantly in a direction parallel to the axial direction of the guide rod 3, the two groups of linear magnetic sensitive elements 7 are respectively located on the opposite sides of the guide rod 3, and the number of magnetic steels 5 is two and they are respectively located on the opposite sides of the slider 4 and close to the two groups of linear magnetic sensitive elements 7, as shown in FIG. Figure 4 , Figure 5 , Figure 8 and Fig. 9 As shown, a dual-redundancy magnetically sensitive linear displacement sensor is formed in this way.
[0042] Preferably, in order to limit the linear motion stroke of the magnet 5 to improve detection accuracy, the inner wall of the sensor housing 1 and the positions corresponding to the two ends of the guide rod 3 are respectively provided with limit columns 9 for limiting the motion stroke of the magnet 5.
[0043] Preferably, in order to facilitate connection with a moving part (not shown in the figure) of the device to be detected, the slider 4 is connected to one end of the pull rod 8, and the other end of the pull rod 8 passes through the corresponding through hole on the sensor housing 1 and is placed outside the sensor housing 1. Figure 2-Figure 5 As shown, a pull rod type magnetic linear displacement sensor is formed; or, the slider 4 is connected to one end of the slide handle 10, and the other end of the slide handle 10 passes through the corresponding bar-shaped through hole on the sensor housing 1 and is placed outside the sensor housing 1, as shown in FIG. Figure 6-Figure 9 As shown, a sliding handle type magnetically sensitive linear displacement sensor is formed in this way.
[0044] In order to facilitate processing and assembly, Figure 2 , Figure 4 , Figure 6 and Figure 8 Also shown are a housing base (not separately marked in the figure, and at the same marking position as the sensor housing 1) used to constitute the sensor housing 1 and a cover plate 2 arranged on the housing base, which is a conventional adaptive structure.
[0045] Combination Figure 2-Figure 10 The position detection method adopted by the magnetic linear displacement sensor based on multiple magnetic sensitive elements of the present invention comprises the following steps:
[0046] Step 1: Set the displacement-output voltage curves corresponding to all the linear magnetic sensitive elements 7 in the same group in the same coordinate system with the displacement of the magnetic steel 5 as the horizontal coordinate and the output voltage of the linear magnetic sensitive element 7 as the vertical coordinate. The number of all the linear magnetic sensitive elements 7 in the same group is m, and all the displacement-output voltage curves are the same. The actual spacing between any two adjacent displacement-output voltage curves is the same and the actual spacing is K, that is, the actual spacing between two adjacent linear magnetic sensitive elements 7 is K. Each displacement-output voltage curve includes a linear region (reference Figure 1 The linear region between BD and the linear region has a nonlinear region at both ends (reference Figure 1 The output voltage corresponding to the midpoint of the linear area in each displacement-output voltage curve is U0, the lowest output voltage in the linear area is UL, and the highest output voltage in the linear area is UH. The output voltage close to UL and the effective magnetic steel signal is just detected in the displacement-output voltage curve is U1, and the output voltage close to UH and the effective magnetic steel signal is just detected in the displacement-output voltage curve is U2, U1 <U0<U2;
[0047] Step 2, define an output voltage between U2 and UH in each displacement-output voltage curve of the same group as Uh, define an interval including Uh and greater than Uh in each displacement-output voltage curve as a high level interval, and Uh and K satisfy the following conditions: in two adjacent displacement-output voltage curves, let the point in the high level interval of the displacement-output voltage curve corresponding to the previous linear magnetic sensitive element 7, which is located in the linear region and corresponds to Uh, be point M, let the point in the high level interval of the displacement-output voltage curve corresponding to the previous linear magnetic sensitive element 7, which is located in the nonlinear region and corresponds to Uh, be point G, let the point in the linear region of the displacement-output voltage curve corresponding to the next linear magnetic sensitive element 7, which is corresponding to UL, be point N, let the point in the linear region of the displacement-output voltage curve of the next linear magnetic sensitive element 7, which is corresponding to UH, be point P, let the point where the interval in the displacement-output voltage curve corresponding to the previous linear magnetic sensitive element 7, where the output voltage is greater than U2, and the interval in the displacement-output voltage curve corresponding to the next linear magnetic sensitive element 7, where the output voltage is greater than U2, intersect as point F, as shown in Fig.10 As shown, when point M and point N are aligned in the ordinate direction and the output voltage corresponding to point F is not less than the output voltage corresponding to point G, the spacing between two adjacent linear magnetic sensitive elements is K2, as shown in Fig.11As shown in FIG. 1 , when point P and point G are aligned in the ordinate direction and point M is aligned in the abscissa direction or closer to point P than point N, the spacing between two adjacent linear magnetic sensitive elements is K1, as shown in FIG. Fig.12 As shown, when point M and point N are aligned in the ordinate direction and the output voltage corresponding to point F is equal to the output voltage corresponding to point G, the spacing between two adjacent linear magnetic sensitive elements is Kmax, and the K value satisfies the following conditions: K1≤K≤K2≤Kmax;
[0048] Step 3, connect the pull rod 8 or the sliding handle 10 to the moving part of the device to be detected (not shown in the figure), and the moving part of the device to be detected drives the slider 4 and the magnetic steel 5 to move linearly synchronously through the pull rod 8 or the sliding handle 10. During the linear movement of the magnetic steel 5, when it is necessary to detect a certain position of the magnetic steel 5, according to the actual output voltage of each linear magnetic sensor 7 of the same group corresponding to the magnetic steel 5, the linear magnetic sensor 7 in the high level range is used as the nth linear magnetic sensor 7. If the actual output voltages of two linear magnetic sensors 7 are both in the high level range, one of the linear magnetic sensors 7 is selected as the nth linear magnetic sensor, 1≤n≤m-1;
[0049] Step 4: Calculate the horizontal coordinate distance X between the N points in the linear region of the displacement-output voltage curve corresponding to the second linear magnetic sensitive element 7 and the magnetic steel 5 in the coordinate system according to the following formula:
[0050] X = (n-1) × K + Xa,
[0051] Among them, Xa is the absolute position of the magnet in the linear region of the displacement-output voltage curve corresponding to the n+1th linear magnetic sensitive element 7 in the coordinate system. The specific calculation method refers to X1=M*α in the background technology. Xa can be calculated by replacing X1 with Xa, which is the prior art. Since the point N in the linear region of the displacement-output voltage curve corresponding to the second linear magnetic sensitive element 7 is a certain absolute position, when n, K and Xa are all known, X is a certain absolute position in the coordinate system, and the midpoint of the linear region of the displacement-output voltage curve corresponding to the second linear magnetic sensitive element 7 corresponds to the position of the magnet 5 when it is closest to the second linear magnetic sensitive element 7. Therefore, the absolute position of the magnet 5 in its own linear motion process can be obtained according to X. No matter when the detection is performed and whether the detection is performed after power failure and restart, the absolute position of the magnet 5 at the detection time can be obtained. According to the absolute position of the magnet 5 at different detection times, the linear displacement of the magnet 5 between a certain period of time can be easily calculated to realize the linear displacement detection function. If it is a dual-redundancy magnetic-sensitive linear displacement sensor, the absolute positions of the two magnetic steels 5 are calculated respectively, and the two calculation results are used to achieve the purpose of higher-precision detection or use another set of components when one set of components is damaged.
[0052] Preferably, in order to make the entire linear motion stroke of the magnetic steel 5 within the range that can be accurately calculated and further improve the detection accuracy and eliminate the possibility of false detection, the end point of the linear motion stroke of the magnetic steel 5 at one end (i.e., the end close to the first linear magnetic sensitive element 7) is aligned with the point M in the displacement-output voltage curve corresponding to the first linear magnetic sensitive element 7 in the coordinate system in the vertical coordinate direction, and the end point of the linear motion stroke of the magnetic steel 5 at the other end (i.e., the end close to the m-th linear magnetic sensitive element 7) is aligned with the point G in the displacement-output voltage curve corresponding to the m-1-th linear magnetic sensitive element 7 in the coordinate system in the vertical coordinate direction.
[0053] The above embodiments are only preferred embodiments of the present invention and are not limitations of the technical solutions of the present invention. Any technical solution that can be implemented on the basis of the above embodiments without creative work should be deemed to fall within the scope of protection of the patent of the present invention.
Claims
1. A position detection method used by a magnetic linear displacement sensor based on multiple magnetic sensors, the magnetic linear displacement sensor based on multiple magnetic sensors comprising a sensor housing and a guide rod, a slider, a magnetic steel, a linear magnetic sensor, and a circuit board installed in the sensor housing, the linear magnetic sensor being installed on the circuit board, the slider being installed on the guide rod and being able to slide in the axial direction of the guide rod, the magnetic steel being installed on the slider, the linear magnetic sensor being a group and being composed of a plurality of the linear magnetic sensors being arranged in sequence and equidistantly in a direction parallel to the axial direction of the guide rod, the magnetic steel being one and being close to the linear magnetic sensor; or the linear magnetic sensor being two groups, each group of the linear magnetic sensor being composed of a plurality of the linear magnetic sensors being arranged in sequence and equidistantly in a direction parallel to the axial direction of the guide rod, the two groups of the linear magnetic sensors being located at opposite sides of the guide rod, the magnetic steel being two and being located at opposite sides of the slider and being close to the two groups of the linear magnetic sensor; characterized in that: The position detection method adopted by the magnetic linear displacement sensor based on multiple magnetic sensitive elements comprises the following steps: Step 1: Set the displacement-output voltage curves corresponding to all linear magnetic sensitive elements of the same group in the same coordinate system with the displacement of the magnetic steel as the horizontal coordinate and the output voltage of the linear magnetic sensitive element as the vertical coordinate. The number of all linear magnetic sensitive elements in the same group is m. All displacement-output voltage curves are the same and the actual spacing between any two adjacent displacement-output voltage curves is the same and the actual spacing is assumed to be K, that is, the actual spacing between two adjacent linear magnetic sensitive elements is K. Each displacement-output voltage curve includes a linear region, and there is a nonlinear region outside the two ends of the linear region. The output voltage corresponding to the midpoint of the linear region in each displacement-output voltage curve is U0, the lowest output voltage in the linear region is UL, and the highest output voltage in the linear region is UH. The output voltage close to UL in the displacement-output voltage curve and the effective magnetic steel signal is just detected is U1, and the output voltage close to UH in the displacement-output voltage curve and the effective magnetic steel signal is just detected is U2, U1 <U0<U2; Step 2, define an output voltage between U2 and UH in each displacement-output voltage curve of the same group as Uh, define an interval including Uh and greater than Uh in each displacement-output voltage curve as a high level interval, and Uh and K satisfy the following conditions: in two adjacent displacement-output voltage curves, let the point in the high level interval of the displacement-output voltage curve corresponding to the previous linear magnetic sensitive element, which is located in the linear region and corresponds to Uh, be point M, let the point in the high level interval of the displacement-output voltage curve corresponding to the previous linear magnetic sensitive element, which is located in the nonlinear region and corresponds to Uh, be point G, let the point in the linear region of the displacement-output voltage curve corresponding to the next linear magnetic sensitive element, which is corresponding to UL, be point N, let the point in the linear region of the displacement-output voltage curve of the next linear magnetic sensitive element, which is corresponding to UH The corresponding point is point P, and the point where the interval in which the output voltage is greater than U2 in the displacement-output voltage curve corresponding to the previous linear magnetic sensor and the interval in which the output voltage is greater than U2 in the displacement-output voltage curve corresponding to the next linear magnetic sensor are intersected is point F. When point M and point N are aligned in the ordinate direction and the output voltage corresponding to point F is not less than the output voltage corresponding to point G, the spacing between two adjacent linear magnetic sensors is K2. When point P and point G are aligned in the ordinate direction and point M is aligned in the abscissa direction or closer to point P than point N, the spacing between two adjacent linear magnetic sensors is K1. When point M and point N are aligned in the ordinate direction and the output voltage corresponding to point F is equal to the output voltage corresponding to point G, the spacing between two adjacent linear magnetic sensors is Kmax, and the K value satisfies the following conditions: K1≤K≤K2≤Kmax. Step 3, when it is necessary to detect a certain position of the magnetic steel during the linear motion of the magnetic steel, according to the actual output voltage of each linear magnetic sensitive element of the same group corresponding to the magnetic steel, the linear magnetic sensitive element in the high level interval is used as the nth linear magnetic sensitive element. If the actual output voltages of two linear magnetic sensitive elements are both in the high level interval, one of the linear magnetic sensitive elements is selected as the nth linear magnetic sensitive element, 1≤n≤m-1; Step 4: Calculate the horizontal coordinate distance X between the N points in the linear region of the displacement-output voltage curve corresponding to the second linear magnetic sensitive element in the coordinate system according to the following formula: X = (n-1) × K + Xa, Wherein, Xa is the absolute position of the magnetic steel in the linear region of the displacement-output voltage curve corresponding to the n+1th linear magnetic sensitive element in the coordinate system, and the absolute position of the magnetic steel can be obtained according to X.
2. The position detection method according to claim 1, characterized in that: The end point of one end of the linear motion stroke of the magnetic steel is aligned in the coordinate system with the point M in the displacement-output voltage curve corresponding to the first linear magnetic sensitive element in the vertical coordinate direction, and the end point of the other end of the linear motion stroke of the magnetic steel is aligned in the coordinate system with the point G in the displacement-output voltage curve corresponding to the m-1th linear magnetic sensitive element in the vertical coordinate direction.
