Background
Along with the development of modern technology and the improvement of automation level, a large number of displacement sensors which truly and reliably reflect the position information of a measured object are required in the fields of aerospace, mechanical manufacturing, high-precision numerical control machine tools and the like, the displacement sensor system is required to be small in size, light in weight and high in response speed, is insensitive to a measuring environment (such as temperature, dust, light rays and electromagnetic interference) and can timely know the position of a target relative to a reference point at any time point of the starting and working processes of the measuring system.
The position detection system based on the magnetic field is insensitive to the factors such as temperature, dust, light and the like in the measuring environment, and electromagnetic interference can be counteracted by adopting redundant magnetic resistance and electric connection relation. The magnetic grating sensor is the most commonly used and basic one in the digital displacement sensor, is suitable for being applied in industrial environments such as water, oil, dust, high temperature and the like due to high vibration resistance and impact resistance, and has the advantages of simple structure, small volume and high precision, thus being widely applied.
The magnetic grating sensor is a displacement sensor for measuring displacement based on a magneto-resistance effect, and can measure displacement by utilizing the action of a magnetic field between a magnetic grating and a magnetic head. However, since the periodic arrangement of the magnetic poles of the magnetic grid causes the output signal of the magnetic head to be also in a periodic waveform, the existing magnetic grid sensing system cannot determine the absolute position (taking the starting point of the magnetic grid as a reference) of the magnetic head facing the magnetic grid at the first time when the detection system is started. To be able to measure absolute position at a first time, it is often necessary to add code channels, and to measure absolute position using the uniqueness of the spatially formed magnetic field between the code channels (e.g., using a multi-code channel position measurement system similar to the vernier caliper principle). But doing so increases the size of the position measurement system, which is unacceptable for application scenarios where the installation space of the position detection system is severely limited.
Disclosure of Invention
Aiming at the existing absolute position measurement system based on the magnetic grating, a plurality of code channels are required to act together with the magnetic head, so that the manufacturing difficulty of the magnetic grating is increased, the absolute position measurement system is oversized, and the specific application scene is difficult to meet. Therefore, the application improves the structure of the magnetic grid, adaptively develops a corresponding position calculation method, and provides an absolute position detection system of a single magnetic pole code channel, wherein the magnetic grid in the absolute position system has small size and low manufacturing difficulty.
The absolute position detection system provided by the application comprises a magnetic grid formed by alternately arranging N-S magnetic poles, a magnetic field sensing module (magnetic head) and a position calculation module.
Wherein, the magnetic poles of the magnetic grid have the same height and the same width in the arrangement direction to form an arithmetic array. The magnetic field sensing module is composed of four magnetic resistances R 1、R2、R3、R4 which are arranged at equal intervals on a plane parallel to the magnetic grid and have equal sensing coefficients. The sense directions of the magnetic resistances R 1、R2、R3、R4 are the same, and are all parallel/antiparallel to the magnetic pole arrangement direction of the magnetic gate. Reluctance R 1、R3 forms a first sensing half bridge, reluctance R 2、R4 forms a second sensing half bridge, and reluctance R 4、R3 is the upper half bridge arm of the corresponding sensing half bridge or the lower half bridge arm of the corresponding sensing half bridge. The type of magneto-resistance is XMR, which includes GMR, TMR, AMR.
The position calculation module is used for calculating (including matching) the absolute position of the magnetic field sensing module, which is opposite to the magnetic grid, according to the leading-out signal V 1 in the middle of the magnetic resistance R 1、R3 and the leading-out signal V 2 in the middle of the magnetic resistance R 2、R4.
Preferably, the distance L between two adjacent magnetic resistances in the magnetic resistances R 1、R2、R3、R4 is smaller than the minimum value of the magnetic pole width in the magnetic gate.
In some embodiments, the position calculation module matches the absolute position of the magnetic field sensing module opposite to the magnetic grid according to the detected extraction signal V 1、V2 and a pre-stored relation curve of the extraction signal V 1、V2 and the absolute position. The advantage of this embodiment is that the position matching process is simple and computationally inexpensive, but requires sufficient memory space to store the relationship of the outgoing signal V 1、V2 to the absolute position points on the magnetic grid.
In another embodiment, the position calculation module is based on the detected extraction signal V 1、V2 and the ratio of the pre-stored spacing L between two adjacent magnetoresistors to the width of each pole on the magnetic gridAnd calculating the absolute position of the magnetic field sensing module, which is opposite to the magnetic grid, wherein W i is the width of the ith magnetic pole of the magnetic grid, and i is a positive integer. The calculating the absolute position of the magnetic field sensing module facing the magnetic grid comprises the following steps of based on a resistance magnetic angle formulaV 1、V2 is obtained:
wherein, the A, B are physical parameters corresponding to the magnetic resistance itself respectively, and θ is a magnetic angle corresponding to the accurate position of the magnetic resistance R 1 closest to the initial side of the magnetic grid in the opposite magnetic resistance. Constructing an intermediate variable V a、Vb and a reference quantity C:
Pre-storing one by one Substituting the value of C into the calculation formula in the reference quantity C to be closest to the value of CCorresponding to (a)As the currentValues to further determine the absolute position of the magnetic field sensing module facing the magnetic grid. Through the steps, at least the magnetic field sensing module is opposite to which magnetic pole or which two magnetic poles of the magnetic grid.
Further, in order to determine the accurate position of the magnetic field sensing module at the opposite magnetic poles, the following process can be performed, namely, the value of C is closest to that of CCorresponding to (a)Respectively substituting each value of the (a) into an inverse trigonometric function: And determining the final value of theta according to the polarities of the two magnetic poles opposite to each other by the magnetic resistance in the magnetic field sensing module, thereby determining the accurate value of the absolute position. When the value of C is closest to Corresponding to (a)When the number of values of theta is two, and the number of values of theta is more than two, the correct value of theta can be screened according to the polarity of the magnetic pole of the magnetic grid opposite to the magnetic field sensing module determined in the previous part, and then the absolute position of the magnetic field sensing module taking the starting point of the magnetic grid as the reference point can be accurately obtained.
The absolute position measurement system provided by the application can realize absolute position detection based on the special arrangement of the magnetic poles in the single code channel and matching with a corresponding algorithm. The magnetic grid of the absolute position measuring system has a simple structure and a small size, and can well meet the application requirements of small installation space and low manufacturing cost of the absolute position measuring system.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present application, it should be noted that, directions or positional relationships indicated by terms such as "inner", "outer", "upper", "lower", "vertical", etc., are directions or positional relationships based on those shown in the drawings, or those that are conventionally put in use for the product of the application, are merely for convenience of describing the present application and simplifying the description, and do not indicate or imply that the apparatus or elements referred to must have a specific direction, be configured and operated in a specific direction, and thus should not be construed as limiting the present application. Furthermore, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. Features of the embodiments described below may be combined with each other without conflict.
In the embodiment shown in fig. 1, the absolute position detection system provided by the present application includes a magnetic grid 1 formed by alternately arranging N-S magnetic poles, a magnetic field sensing module 2 (magnetic head), and a position calculating module 3 (not shown in fig. 1).
Wherein the magnetic poles (pitch) of the magnetic grid 1 have the same height and the same width in the arrangement direction to form an arithmetic array. As shown in fig. 1, the magnetic poles of the magnetic grid 1 have widths of 0.3mm, 0.32mm, 0.34mm, 0.36mm, respectively, from left to right, i.e., in this embodiment, the width difference between adjacent two magnetic poles is 0.02mm.
The magnetic field sensing module 2 (i.e., magnetic head) is located above the magnetic grid, separated from the plane of the magnetic grid 1 by an air gap (air gap). The magnetic field sensing module is composed of four magnetic resistances R 1、R2、R3、R4 which are arranged at equal intervals on a plane parallel to the magnetic grid and have equal sensing coefficients. In the embodiment shown in FIG. 1, the spacing between adjacent ones of the magnetoresistors R 1、R2、R3、R4 is 0.25mm. The sense directions of the magnetic resistances R 1、R2、R3、R4 are the same, and are all parallel/antiparallel to the magnetic pole arrangement direction of the magnetic gate. Reluctance R 1、R3 forms a first sensing half bridge, reluctance R 2、R4 forms a second sensing half bridge, and reluctance R 4、R3 is the upper half bridge arm of the corresponding sensing half bridge or the lower half bridge arm of the corresponding sensing half bridge. The type of magneto-resistance R 1、R2、R3、R4 in the magnetic field sensing module may be XMR, which includes GMR, TMR, AMR.
The position calculating module 3 is configured to calculate (or match) an absolute position of the magnetic field sensing module opposite to the magnetic grid according to the outgoing signal V 1 in the middle of the magnetic resistance R 1、R3 and the outgoing signal V 2 in the middle of the magnetic resistance R 2、R4.
Preferably, the distance L between two adjacent magnetic resistances in the magnetic resistances R 1、R2、R3、R4 is smaller than the minimum value of the magnetic pole width in the magnetic gate.
The waveforms of the outgoing signal V 1 in the middle of the reluctance R 1、R2, the outgoing signal V 2 in the middle of the reluctance R 3、R4 are shown in fig. 2a, corresponding to the embodiment shown in fig. 1. The outgoing signals V 1、V2 are "sine waves" with gradually increasing amplitudes, respectively, but are offset from each other. With the extraction signal V 1、V2 as two-dimensional coordinates of the plane, respectively, the extraction signal V 1、V2 exhibits a curve change as shown in fig. 2b (where the units of the abscissa and the ordinate are volts (V)) when the magnetic field sensing module 2 moves relative to the magnetic grid 1. Therefore, as long as the absolute positions of the coordinate points on the curve and the magnetic grid 1 corresponding to the magnetic field sensing modules 2 corresponding to the coordinate points are stored in advance, the absolute positions of the current magnetic field sensing modules 2 corresponding to the magnetic grid 1 can be directly matched according to the actually measured leading-out signals V 1、V2 by adopting a position calculation module in the follow-up process. Therefore, in some embodiments, the absolute position is obtained by the matching method, the process is simple, and the calculation amount is small.
In another embodiment, a slightly more computationally intensive algorithm may be used, based on the derived signal V 1、V2 in combination with the magnetic angle formulaThe absolute position of the magnetic field sensing module opposite to the magnetic grid is calculated, so that the situation that a large amount of storage space is needed to pre-store the leading-out signal V 1、V2 and the current magnetic field sensing module 2 opposite to the absolute position of the magnetic grid 1 under the condition that the length of the magnetic grid is longer and the number of magnetic poles is relatively large can be avoided.
In the other embodiment, the absolute position of the magnetic field sensing module facing the magnetic grid is calculated (or matched) according to the leading-out signal V 1 in the middle of the magnetic resistance R 1、R2 and the leading-out signal V 2 in the middle of the magnetic resistance R 3、R4, which is specifically implemented as follows:
The position calculation module is based on the detected leading-out signal V 1、V2 and the ratio of the pre-stored distance L between two adjacent magnetic resistances to the width of each magnetic pole on the magnetic grid And calculating the absolute position of the magnetic field sensing module, which is opposite to the magnetic grid. W i is the width of the ith magnetic pole of the magnetic grid, and i is a positive integer. Based on resistance magnetic angleV 1、V2 is obtained:
wherein, the A, B are physical parameters corresponding to the magnetic resistance itself respectively, and θ is a magnetic angle corresponding to the accurate position of the magnetic resistance R 1 closest to the initial side of the magnetic grid in the opposite magnetic resistance.
Then, calculating the absolute position of the magnetic field sensing module, which is opposite to the magnetic grid, by using the constructed intermediate variable V a、Vb and the constructed reference quantity C:
For the embodiment of fig. 2b, with the intermediate variable V a、Vb as two coordinate axes of the two-dimensional plane coordinate, V a、Vb exhibits a curve change as shown in fig. 3 (the coordinate units are volts (V)) when the magnetic field sensing module 2 moves relative to the magnetic grid 1.
Then, pre-stored one by oneSubstituting the value of C into the calculation formula in the reference quantity C to be closest to the value of CCorresponding to (a)As the currentValues to further determine the absolute position of the magnetic field sensing module facing the magnetic grid. At least which magnetic pole or which two magnetic poles of the magnetic grid are opposite to the magnetic field sensing module can be realized through the processing steps.
Further, to determine the exact location of the magnetic field sensing module at its facing pole, the following additional calculations may be performed:
The value of C is closest to Corresponding to (a)Respectively substituting each value of the (a) into an inverse trigonometric function: And determining the final value of theta according to the polarities of the two magnetic poles opposite to each other by the magnetic resistance in the magnetic field sensing module, thereby determining the accurate value of the absolute position. When the value of C is closest to Corresponding to (a)When the number of values of theta is two, and the number of values of theta is more than two, the correct value of theta can be screened according to the polarity of the magnetic pole of the magnetic grid opposite to the magnetic field sensing module determined in the previous part, and then the absolute position of the magnetic field sensing module taking the starting point of the magnetic grid as the reference point can be accurately obtained.
From the above, the absolute position measurement system provided by the application can realize absolute position detection on the premise of not adopting multiple magnetic code channels based on the special arrangement of the magnetic poles in the magnetic grid and the corresponding matching algorithm. The magnetic pole of the magnetic grid of the absolute position measuring system is simple in manufacturing process, the whole size of the magnetic grid is small, and the application requirements of small installation space and low manufacturing cost of the absolute position measuring system can be well met.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application. It should be noted that like reference numerals and letters in the following figures denote like items, once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.