A structure for controlling the position of a linear motor using a magnetic encoder

Through the combination of Hall sensor and magnetic encoder and the use of giant magnetoresistance, the problem of insufficient accuracy and robustness of linear motor position detection is solved, and high-precision and low-cost position detection is achieved, which is suitable for highly dynamic applications.

CN118157402BActive Publication Date: 2024-10-01JIANGSU MOTOR & DRIVE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410572944.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-10-01
Estimated Expiration
2044-05-10

AI Technical Summary

Technical Problem

Among existing linear motor position detection methods, magnetic gratings and gratings have high detection accuracy but are high in cost and large in size. Hall sensors have low resolution and cannot properly control when magnets are missing, resulting in insufficient control accuracy and robustness.

Method used

Using a combination of Hall sensor and magnetic encoder, it detects whether the magnet is missing in real time by detecting the magnetic field signal of the magnetic part, and selects the appropriate magnetic encoder for output. It combines the giant magnetoresistance to realize the angle component measurement, improving the position detection accuracy and the control system. Dynamic performance.

Benefits of technology

High-precision position detection is achieved to ensure the accuracy of position determination of the mover in highly dynamic applications, and maintain the stability of the control system when the magnet is missing, reducing cost and volume.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118157402B_ABST
    Figure CN118157402B_ABST
Patent Text Reader

Abstract

The present invention discloses a structure for controlling the position of a linear motor by a magnetic encoder, wherein the sensor assembly is located adjacent to the linear motor, the linear motor comprises a running track and a mover, the mover is movably arranged on the running track and moves horizontally along the extension direction of the running track, a number of magnetic parts are arranged on the mover, and the linear motor and the sensor assembly correspond to the same running track. The present invention proposes a structure for controlling the position of a linear motor by a magnetic encoder, which performs position detection by using a magnetic encoder, and the magnetic encoder has extremely precise angular resolution (15 bits), fast signal processing capability and short delay / update rate, so as to ensure that the control system can accurately measure the position of the mover in high dynamic applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of logistics sorting, and in particular relates to a structure in which a magnetic encoder controls the position of a linear motor. Background Art

[0002] One of the key links in the research of linear motor control systems is the position detection link, which can directly affect the control cost and performance of the linear motor. Among them, the position detection accuracy is crucial to the control accuracy of the motor; the linear motor magnetic pole position detection method is mainly divided into two categories: position sensor detection method and non-position sensor detection method; the most commonly used position sensors include magnetic gratings, gratings, pull rod displacement sensors and Hall sensors.

[0003] Among them, although the magnetic grating and optical grating have high detection accuracy, they are expensive, large in size, and have high requirements for the working environment, which seriously limits the scope of use of the motor; while the low-resolution switch-type and locking-type Hall sensors have low costs, but their position detection accuracy is limited. They are mostly used in permanent magnet brushless motors under square wave control that do not require high position detection accuracy. When the magnet is missing, it cannot be controlled normally, affecting the quality of linear motor control;

[0004] Furthermore, although there are many types of position sensorless detection technologies, most of them have the problem of high dependence on motor parameters and poor control robustness. Therefore, a solution is needed to solve the above problems.

[0005] It should be noted that the above contents belong to the technical knowledge of the inventor and do not necessarily constitute prior art. Summary of the invention

[0006] In order to solve the above problems, the purpose of the present invention is to provide a linear motor control method based on a magnetic encoder to use a Hall sensor to detect in real time whether a magnet is missing, and select a magnetic encoder at a suitable position for output to improve control accuracy.

[0007] To achieve the above-mentioned purpose, the present invention proposes a sensor combination, including a controller and two position detection units, the two position detection units are arranged side by side on the controller, the position detection unit includes a Hall sensor and a magnetic encoder, the Hall sensor and the magnetic encoder are both fixedly mounted on the controller, and the magnetic encoder is distributed on the side of the Hall sensor.

[0008] In one example, the distance between the two magnetic encoders is the same as the distance between the two Hall sensors.

[0009] A structure for controlling the position of a linear motor with a magnetic encoder, wherein the sensor assembly is located adjacent to the linear motor, the linear motor comprises a running track and a mover, the mover is movably arranged on the running track and moves horizontally along the extension direction of the running track, a number of magnetic parts are arranged on the mover, and the linear motor and the sensor assembly correspond to the same running track.

[0010] In one example, the polarities of the adjacent magnetic members are magnetic poles with opposite polarities, and the total length of the two magnetic members is the same as the pole pitch length of the linear motor.

[0011] In one example, the Hall sensors are located on the mover side of the linear motor and are evenly distributed at intervals of 2 / 3 of the pole pitch along the NS direction.

[0012] In one example, a position detection unit composed of a Hall sensor and a magnetic encoder corresponds to the magnetic member of one polarity.

[0013] In one example, a giant magnetoresistance is disposed in the magnetic encoder.

[0014] In one example, the linear motor is communicatively coupled to a motor driver.

[0015] The structure of controlling the position of a linear motor by a magnetic encoder proposed by the present invention can bring the following beneficial effects:

[0016] 1. The Hall sensor detects the magnetic field signal of the magnetic part to output the corresponding Hall signal, and then obtains the arrangement of the magnetic part. According to the arrangement of the magnetic part, the appropriate magnetic encoder is selected for output; it detects whether the magnet is missing in real time, and selects the magnetic encoder at the appropriate position for output to improve accuracy;

[0017] 2. The giant magnetoresistance (GMR) can change its resistance value according to the direction of the magnetic field. Four separate giant magnetoresistance (GMR) elements are connected to a Wheatstone sensor bridge to measure the sine and cosine angular components.

[0018] 3. By using a magnetic encoder for position detection, the magnetic encoder has extremely precise angular resolution (15bit) as well as fast signal processing capabilities and short delay / update rate, ensuring that the control system can accurately determine the position of the mover in high-dynamic applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0020] Figure 1 The present invention is a schematic diagram of the installation of a structure of a magnetic encoder controlling the position of a linear motor.

[0021] Figure 2 It is a side sectional view of the linear motor of the present invention.

[0022] Figure 3 It is a side cross-sectional view of the sensor assembly of the present invention.

[0023] Figure 4 It is a structural block diagram of the magnetic encoder application of the present invention.

[0024] Figure 5 It is the hardware design diagram of the encoder of the present invention. DETAILED DESCRIPTION

[0025] In order to more clearly illustrate the overall concept of the present invention, a detailed description is given below in an exemplary manner in conjunction with the accompanying drawings.

[0026] In the description of the present invention, it is necessary to understand that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0027] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0028] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or a communication; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0029] In the present invention, unless otherwise clearly specified and limited, the first feature "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. In the description of this specification, the description with reference to the terms "one scheme", "some schemes", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the scheme or example are included in at least one scheme or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same scheme or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more schemes or examples in a suitable manner.

[0030] like Figure 1 to Figure 5 As shown, an embodiment of the present invention proposes a sensor combination, wherein the sensor combination 1 is composed of a controller 11 and two position detection units 12, the two position detection units 12 are arranged side by side on the controller 11, the position detection unit 12 comprises a Hall sensor 121 and a magnetic encoder 122, the Hall sensor 121 and the magnetic encoder 122 are both fixedly mounted on the controller 11, the magnetic encoder 122 is distributed on the side of the Hall sensor 121, and the magnetic encoder 122 is used as a position sensor of the control system of the linear motor 2. With the movement of the motor position, the Hall sensor 121 determines whether the distribution of the magnet is normal, so as to avoid errors in the position information collected when there is a problem with the magnet distribution. The magnetic encoder 122 has an internally integrated angle calculation module, which can output an absolute angle after digital processing of the original value, and can be directly used in the coordinate transformation of the current loop without the need for position resolution and sine and cosine operations, thereby reducing the calculation burden of the current loop and improving the dynamic performance of the current loop;

[0031] The relationship between the spacing between the Hall sensors 121 and the pole pitch is as follows:

[0032] L = 2t / 3;

[0033] Wherein, L represents the distance between the Hall sensors 121;

[0034] t represents the pole length;

[0035] As a preferred solution, the relationship between the spacing between the magnetic encoders 122 and the spacing between the Hall sensors 121 is as follows:

[0036] D = L;

[0037] Wherein, D represents the spacing between the magnetic encoders 122;

[0038] L represents the distance between the Hall sensors 121;

[0039] The sensor combination can also be composed of a controller and a magnetic encoder. The magnetic encoder detects the position of the magnet alone, and outputs the absolute angle after data processing and transmits it to the motor driver to achieve position control of the mover.

[0040] Specifically, the distance between the two magnetic encoders 122 is the same as the distance between the two Hall sensors 121 .

[0041] Based on the above sensor combination, a structure of a magnetic encoder controlling the position of a linear motor is introduced below, which includes the sensor combination 1. The sensor combination 1 is located adjacent to the linear motor 2. The linear motor 2 includes a running track 21 and a mover 22. The mover 22 is movably arranged on the running track 21 and moves horizontally along the extension direction of the running track 21. A number of magnetic parts 23 are arranged on the mover 22. The linear motor 2 and the sensor combination 1 correspond to the same running track 21.

[0042] Specifically, the polarities of adjacent magnetic members 23 are magnetic poles with opposite polarities, and the total length of the two magnetic members 23 is the same as the pole pitch length of the linear motor 2 .

[0043] The Hall sensor 121 outputs a high level signal when the magnetic field of the magnetic member 23 is N, and the Hall sensor 121 outputs a low level signal when the magnetic field of the magnetic member 23 is S.

[0044] Specifically, the Hall sensors 121 are located on the mover 22 side of the linear motor 2 and are evenly distributed at intervals of 2 / 3 of the pole pitch along the NS direction.

[0045] Specifically, the position detection unit 12 composed of a Hall sensor 121 and a magnetic encoder 122 corresponds to a magnetic member 23 of a certain polarity. The Hall sensor 121 detects the magnetic field signal of the magnetic member 23 to output a corresponding Hall signal, thereby obtaining the arrangement of the magnetic member 23. According to the arrangement of the magnetic member 23, a suitable magnetic encoder 122 is selected for output. The Hall sensor 121 is arranged within the pole pitch range of the linear motor 2.

[0046] Specifically, a giant magnetoresistance 111 is provided in the magnetic encoder 122. The giant magnetoresistance 111 (GMR) is implemented using vertical integration technology, and its sensitive area is integrated on the logic part of the magnetic encoder 122, and its resistance value can be changed according to the direction of the magnetic field;

[0047] Four separate giant magnetoresistance (GMR) elements 111 are connected to a Wheatstone sensor bridge; these giant magnetoresistance (GMR) elements 111 sense one of the two components of the applied magnetic field: the X component, Vx (cosine) or the Y component, Vy (sine), thereby measuring the sine and cosine angular components, but without calculating the actual position and the sine residual of the position, the signal output by the magnetic encoder 122 is directly processed to generate a transformation matrix and passed to the motor driver.

[0048] Specifically, the linear motor 2 is communicatively connected to the motor driver 24, and the motor driver 24 is arranged on an external frequency converter;

[0049] The position of the magnetic parts on the linear motor is obtained by the sensor combination. The controller transmits the control command to the motor driver in the inverter according to actual needs, thereby realizing real-time adjustment of the operation of the linear motor.

[0050] As a preferred solution, the magnetic encoder can be TLE5012BE1000. TLE5012BE1000 enables automatic calibration over the entire service life and temperature range, with a maximum angle error of 1.0°. It has extremely precise angle resolution (15bit) and fast signal processing capabilities and short delay / update rate, making it extremely suitable for accurately measuring the rotor position in high-dynamic applications. At the same time, TLE5012BE1000 has advanced diagnostic functions and safety features to ensure high product reliability.

[0051] At the same time, the communication protocol of the magnetic encoder TLE5012BE1000 selects HSM mode, which can simulate three Hall switches for motor block commutation. HSM contains three unidirectional communication interfaces, the default number of pole pairs is 5, and the number of pole pairs and other parameters can be configured through the SSC interface.

[0052] As a preferred solution, the controller can use the STM32G030 series controller to collect and process the output signal of the Hall sensor, and select the subsequent magnetic encoder output. The STM32G0 only requires one set of power pins, which not only reduces the BOM cost but also reduces the PCB area. The internal high-speed clock HSI with an accuracy of 1% can meet the vast majority of applications, further saving costs and reducing the cost and effort caused by different architectures and different development tools, and providing a variety of low-power modes to save energy and extend battery life.

[0053] As a preferred solution, the ST26C31B driver can be used for motor drive. The ST26C31B is a quad differential line driver designed for digital data transmission on balanced lines. It meets all the requirements of the EIA standard RS-422 while maintaining the low power consumption characteristics of CMOS, accepts TTL or CMOS input levels, and converts them to RS-422 output levels. This part uses a special output circuit common to all four drivers. Electrostatic discharge is performed on VCC and ground through diodes to protect all outputs from damage.

[0054] Working principle: During the horizontal displacement of the mover along the moving track, the magnetic part fixedly connected to the mover moves horizontally together. During the displacement process, the magnetic part will pass through the sensor combination arranged adjacent to the linear motor. The Hall sensor detects the magnetic field signal of the passing magnetic part to output the corresponding Hall signal, so that the controller can obtain the arrangement of the magnetic parts. The giant magnetoresistance can change its own resistance value according to the direction of the magnetic field, thereby realizing the measurement of sine and cosine angular components. As the position of the magnetic part moves, the magnetic encoder has an integrated angle calculation module, which can digitally process the original value and output the absolute angle to pass it to the motor driver, thereby realizing the position control of the mover even when the linear motor lacks a magnet.

[0055] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0056] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A structure for controlling the position of a linear motor using a magnetic encoder. It is characterized in that The invention comprises a controller and two position detection units, wherein the two position detection units are arranged side by side on the controller, and the position detection units comprise a Hall sensor and a magnetic encoder, wherein the Hall sensor detects the magnetic field signal of the magnetic parts to output the corresponding Hall signal, thereby obtaining the arrangement of the magnetic parts, and selecting a suitable magnetic encoder for output according to the arrangement of the magnetic parts; detecting in real time whether the magnet is missing, selecting a magnetic encoder at a suitable position for output, thereby improving accuracy; the Hall sensor and the magnetic encoder are both fixedly mounted on the controller, wherein the magnetic encoder is distributed on the side of the Hall sensor, and the sensor assembly is located at an adjacent position of the linear motor, wherein the linear motor comprises a running track and a mover, wherein the mover is movably arranged on the running track and moves horizontally along the extension direction of the running track, wherein a number of magnetic parts are arranged on the mover, and the linear motor and the sensor assembly correspond to the same running track, and a giant magnetoresistance is arranged in the magnetic encoder.

2. A structure for controlling the position of a linear motor using a magnetic encoder according to claim 1, It is characterized in that The distance between the two magnetic encoders is the same as the distance between the two Hall sensors.

3. A structure for controlling the position of a linear motor using a magnetic encoder according to claim 1, It is characterized in that The polarities of the adjacent magnetic components are opposite magnetic poles, and the total length of the two magnetic components is the same as the pole pitch length of the linear motor.

4. A structure for controlling the position of a linear motor using a magnetic encoder according to claim 1, It is characterized in that The Hall sensors are located on the mover side of the linear motor and are evenly distributed at intervals of 2 / 3 of the pole pitch along the NS direction.

5. A structure for controlling the position of a linear motor using a magnetic encoder according to claim 1, It is characterized in that The position detection unit composed of a Hall sensor and a magnetic encoder corresponds to the magnetic member with one polarity.

6. A structure for controlling the position of a linear motor using a magnetic encoder according to claim 1, It is characterized in that The linear motor is communicatively connected to the motor driver.