A phase calibration and position control method of single-sided permanent magnet linear motor

By introducing a combination of continuous contact measurement components and Hall encoders, high-precision position detection and real-time calibration of a single-sided permanent magnet linear motor are achieved, solving the problems of Hall encoder quantity limitation and count drift, and ensuring the stability and accuracy of the motor.

CN123184553APending Publication Date: 2026-11-27JIANGSU MOTOR & DRIVE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611709827.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-11-02
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The position detection accuracy of existing single-sided permanent magnet linear motors is limited by the number of Hall encoders, and they are prone to counting drift and signal accumulation errors, which affect control accuracy and system stability.

Method used

A continuous contact measurement component (including rollers and a resolver encoder) is used to replace the traditional Hall encoder. Combined with the periodic marker pulse output by the Hall encoder, high-resolution position detection and real-time calibration are achieved. The control unit can instantly identify and correct the accumulated deviation.

Benefits of technology

It significantly improves position detection accuracy, suppresses accumulated errors and count drift, and ensures that the motor maintains consistent positioning accuracy during long-term operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184553A_ABST
    Figure CN123184553A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of single-side permanent magnet linear motor control, and particularly discloses a phase calibration and position control method of a single-side permanent magnet linear motor, which comprises the following steps: defining the linear motor installation structure which needs to be controlled and calibrated and covering the control unit, the signal output unit, the power unit and the mover unit; the continuous contact type measurement component in the signal output unit is tightly attached to the side of the mover unit, and the stroke of one rotation of the continuous contact type measurement component is equal to the physical length of one complete magnetic pole pair of the mover unit; the application introduces a position sensor composed of a roller and a rotary encoder as the continuous contact type measurement component to replace the traditional position detection mode which only relies on a Hall encoder; since the position sensor can output a pulse signal quantity much higher than that of the Hall encoder within the stroke of each complete magnetic pole pair, the control unit can acquire higher-resolution real-time position information, and the position detection precision of the linear motor within the whole stroke range is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of single-sided permanent magnet linear motor control technology, and in particular to a method for phase calibration and position control of a single-sided permanent magnet linear motor. Background Technology

[0002] Single-sided permanent magnet linear motors have the characteristics of contactless transmission, low mechanical loss and high thrust density. Due to their wear-free, low maintenance, low energy consumption and high efficiency, they are widely used in logistics sorting equipment. Their operation depends on the accurate acquisition of the position of the mover and the phase of the magnetic field to realize current commutation and thrust adjustment. In practical applications, position detection usually adopts Hall encoders and other methods to generate pulse signals using the spatial period of the mover magnetic poles to provide position feedback to the control system.

[0003] For example, patent CN222890170U discloses a drive system for a sorting cart that operates in a circular manner. It specifically describes the drive system of the sorting cart, which includes two magnetic force units: an electromagnetic drive device and a magnetic plate. The electromagnetic drive device is the single-sided permanent magnet linear motor described in this invention, the magnetic plate is the magnetic pole guide rail described in this invention, and the encoder for detecting the displacement of the sorting cart is the Hall encoder described in this invention. For example, patent CN222890169U details the principle of the sorting system; the electromagnetic push device and the magnetic plate generate thrust to drive the entire system to a fixed slot for sorting goods; with the development of logistics sorting systems, the precision requirements for sorting equipment are also getting higher and higher. According to existing technology, the position signal of a single-sided permanent magnet linear motor is provided by a Hall encoder. For example, patent CN119022770A describes a structure and method for detecting the position of a linear motor by a Hall encoder. It describes that the position accuracy is related to the number of Hall sensors. However, due to the limitations of hardware size and cost, the accuracy cannot be improved by infinitely increasing the number of Hall sensors. Furthermore, the Hall encoder generates a pulse signal when it passes a pair of N and N magnetic poles. If there is a deviation in the bonding at this time, the linear motor will have poor control accuracy when it uses this signal. Moreover, long-term operation of a single position sensor is prone to counting drift or signal accumulation errors, which will further affect the positioning accuracy and operational stability of the system. Therefore, how to improve the control accuracy of the linear motor by introducing a position sensor, while using the output signal of the Hall sensor to calibrate the current position and phase in real time, is the technical problem to be solved by this invention. To this end, a phase calibration and position control method for a single-sided permanent magnet linear motor is proposed. Summary of the Invention

[0004] To overcome the shortcomings of the prior art, the present invention provides a phase calibration and position control method for a single-sided permanent magnet linear motor, which can effectively solve the problems involved in the prior art.

[0005] The objective of this invention can be achieved through the following technical solution: This invention provides a phase calibration and position control method for a single-sided permanent magnet linear motor, comprising the following steps: S1: Clearly define the linear motor mounting structure that needs to be controlled and calibrated, including the control unit, signal output unit, power unit, and mover unit, to ensure that each unit is laid out in a coordinated manner. This will provide a stable physical mounting foundation for subsequent high-precision position detection and phase calibration, and avoid introducing additional measurement errors due to structural deviations. S2: The continuous contact measurement component in the signal output unit is placed close to the side of the moving subunit, so that the stroke of one rotation is equal to the physical length of a complete magnetic pole pair of the moving subunit, in order to establish a pulse output reference and ensure that each pulse signal maintains a strict one-to-one correspondence with the actual displacement of the moving subunit, thereby eliminating the inherent deviation between the measurement reference and the magnetic pole period. S3: Fix the periodic pulse detection component in the signal output unit directly below the moving subunit and keep it on the same horizontal plane as the power unit, so that when the moving subunit moves a complete pair of magnetic poles, the periodic pulse detection component outputs a periodic flag pulse, so that the control unit obtains an absolute phase reference point that is precisely synchronized with the magnetic pole position of the moving subunit. S4: The pulse signal output by the continuous contact measurement component is used as a position signal and transmitted to the control unit. The control unit adjusts the output current to the power unit according to the position signal to drive the moving subunit to generate displacement, so that the commutation time of the driving current is matched with the actual spatial position of the moving subunit in real time, ensuring the continuity and stability of the motor thrust output. S5: During equipment operation, the control unit simultaneously receives the periodic flag pulse output by the periodic pulse detection component, and uses the periodic flag pulse as the phase reference to calculate the number of pulse signals within the current displacement, and determines whether there is a cumulative position deviation, so that the control unit can independently evaluate the accuracy of the position measurement within each magnetic pole cycle, and realize the real-time identification and quantification of the deviation. S6: When the number of pulse signals detected does not match the theoretical reference value, the control unit performs position and phase correction and compensation based on the trigger time of the periodic flag pulse, and continues to compare and calibrate in subsequent operating cycles to ensure that the displacement accuracy is always maintained within the set range, so that the moving subunit maintains the consistency of positioning accuracy during long-term continuous reciprocating operation and avoids the gradual accumulation and amplification of errors.

[0006] Preferably, the control unit is a frequency converter, and the signal output unit is a Hall encoder and a position sensor. The position sensor and the Hall encoder together provide position signals to the control unit, enabling the control unit to simultaneously obtain two complementary information: continuous position feedback and periodic absolute reference. The periodic pulse detection component is a Hall encoder, which is fixedly installed directly below the moving subunit. The mounting plane of the Hall encoder is at the same level as the mounting plane of the power unit, ensuring the parallelism between the detection surface of the Hall encoder and the bottom surface of the moving subunit, and improving the stability and consistency of magnetic field signal acquisition. The continuous contact measurement component is a position sensor, which includes a bracket, a roller and a resolver encoder, enabling the position detection stage to continuously output high-density position pulse signals, providing sufficient measurement resolution for fine position control. The moving unit is a magnetic pole guide rail, which is arranged parallel to the power unit to form a uniform air gap magnetic field coupling condition between the two, ensuring the balance of thrust output. The power unit is a single-sided permanent magnet linear motor. The single-sided permanent magnet linear motor and the magnetic pole guide rail are arranged parallel to each other along the length direction. The Hall encoder is fixedly installed between the single-sided permanent magnet linear motor and the magnetic pole guide rail, so that the Hall encoder is on the continuous detection path of the magnetic pole sequence, ensuring that each magnetic pole cycle can be effectively captured.

[0007] Preferably, the roller is rotatably mounted on the bracket, and the rotating shaft of the resolver encoder is coaxially and fixedly connected to the wheel axle of the roller, ensuring that the roller outputs a corresponding number of pulse signals for each rotation of a certain angle, thereby realizing the synchronous conversion between mechanical displacement and electrical signals; The position sensor is fixedly mounted on the same bracket as the power unit via the bracket, and the outer peripheral surface of the roller is tangent to the side surface of the moving subunit and maintains rolling contact, so that the roller can rotate synchronously with the movement of the moving subunit, thereby realizing continuous tracking and measurement of the displacement of the moving subunit. The detection surface of the Hall encoder is positioned opposite to the bottom surface of the moving sub-unit, maintaining a non-contact air gap to avoid mechanical contact with the moving sub-unit during movement. At the same time, it ensures that the magnetic field of the magnetic pole can be effectively coupled to the detection surface, thereby improving detection reliability.

[0008] Preferably, the magnetic pole guide rail is composed of multiple magnets sequentially pasted onto the surface of the guide rail along its length. The magnetic poles of adjacent magnets are arranged alternately to form a complete magnetic pole pair, thereby creating a periodically distributed alternating magnetic field on the surface of the magnetic pole guide rail. This provides continuous magnetic field coupling conditions for the motor. Furthermore, an air gap is maintained between the bottom surface of the magnetic pole guide rail and the top surface of the power unit to ensure effective coupling between the traveling wave magnetic field and the permanent magnet magnetic field in the air gap, thus maintaining the stability of the thrust output.

[0009] Preferably, the single-sided permanent magnet linear motor is fixedly installed below the magnetic pole guide rail, and the Hall encoder is located on one side of the single-sided permanent magnet linear motor along the length direction, so as to avoid the magnetic field at the end of the motor from interfering with the detection of the Hall encoder and to ensure the purity of the periodic mark pulse output. The position sensor is fixedly installed on the side of the single-sided permanent magnet linear motor along its width direction. The rolling axis of the roller is perpendicular to the length direction of the magnetic pole guide rail, ensuring that the roller makes pure rolling motion along the side of the guide rail and avoiding measurement errors caused by lateral slippage. The position sensor, the Hall encoder, and the single-sided permanent magnet linear motor are all electrically connected to the control unit through signal lines, so that the position signal and drive control form a complete electrical circuit, ensuring the real-time performance of signal transmission.

[0010] Preferably, S2 specifically includes: The position sensor is fixedly mounted on the same bracket as the single-sided permanent magnet linear motor, so that the outer circumferential surface of the roller is tangent to the side surface of the magnetic pole guide rail, and the rolling axis of the roller is set to be perpendicular to the length direction of the magnetic pole guide rail. This ensures that no lateral force is generated when the roller makes pure rolling motion along the side of the guide rail, and ensures that the pulse signal corresponds to the displacement. Adjust the contact pressure between the roller and the side of the magnetic pole guide rail to ensure that the roller maintains tight rolling contact during the reciprocating cycle of the magnetic pole guide rail. This will eliminate pulse loss or counting interruption caused by poor contact and ensure that the roller maintains continuous contact with the side of the guide rail throughout the entire reciprocating cycle of the moving subunit, thus ensuring the continuity and integrity of the position signal output. The circumference La of the roller is set to be equal to the length Lb of a complete pair of magnetic poles on the magnetic pole guide rail. The resolver encoder outputs a fixed number of pulse signals for each rotation of the roller to establish a position detection pulse output reference based on the mechanical stroke of the roller. Each pulse output by the resolver encoder corresponds to a fixed small displacement, thereby achieving unified calibration of position detection and magnetic pole period.

[0011] S3 specifically includes: The Hall encoder is fixedly installed directly below the magnetic pole guide rail, with its mounting plane coplanar with the mounting plane of the single-sided permanent magnet linear motor. At the same time, the center line of the Hall encoder along the length direction coincides with the center line of the single-sided permanent magnet linear motor along the length direction to avoid interference from the magnetic field at the end of the motor on the detection and ensure that the Hall encoder works in a stable magnetic field environment. The detection surface of the Hall encoder is set opposite to the bottom surface of the magnetic pole guide rail, and a preset non-contact air gap is maintained between them to ensure that the magnetic field changes generated when the magnetic pole guide rail moves can be effectively sensed by the Hall encoder, so that a stable magnetic coupling distance is formed between the detection surface and the bottom surface of the magnetic pole guide rail, ensuring the effective transmission and conversion of the magnetic field signal. A Hall encoder outputs a periodic marker pulse when the magnetic pole guide rail moves a complete pair of magnetic poles. The marker pulse is used as an absolute position reference, so that the control unit can obtain a position reference point that is synchronized with the magnetic pole cycle, providing an absolute reference for deviation judgment.

[0012] Preferably, S4 specifically includes: The pulse signal output by the resolver encoder in the position sensor is used as the real-time position detection signal and transmitted to the frequency converter, which is the control unit, through the signal line. This allows the frequency converter to obtain the pulse count value corresponding to the current displacement of the magnetic pole rail, enabling the control unit to obtain digital information corresponding to the actual displacement of the moving subunit in real time, providing real-time data support for the precise adjustment of the drive current. The inverter analyzes the real-time position information of the magnetic pole guide rail based on the received pulse signal, and adjusts the phase angle of the output current according to the real-time position information to generate a drive current that matches the current position. The various parameters of the drive current are dynamically adjusted synchronously with the change of the position of the moving sub-unit to ensure that the thrust output always matches the operating state. The drive current is output to a single-sided permanent magnet linear motor, which generates a traveling wave magnetic field. The traveling wave magnetic field interacts with the magnetic field of the magnetic pole rail to generate electromagnetic thrust, which drives the magnetic pole rail to move along the length direction. Under the action of continuous electromagnetic thrust, the moving sub-unit runs smoothly along the rail direction, realizing closed-loop drive control of the displacement of the moving sub-unit.

[0013] Preferably, S5 specifically includes: During the continuous operation of the magnetic pole guide rail, the frequency converter simultaneously receives the periodic flag pulse output by the Hall encoder, and uses the periodic flag pulse as the phase reference time to synchronously collect the cumulative pulse count value of the position sensor at the corresponding time, establishes a precise synchronous correlation between the counting system of the position sensor and the actual magnetic pole position of the moving unit, and ensures the consistency of the reference for subsequent deviation judgment. Starting from the trigger time of the current cycle marker pulse, the number of pulse signals output by the position sensor in the corresponding cycle is continuously counted until the next cycle marker pulse is triggered, thus obtaining the actual pulse count within the current complete magnetic pole pair stroke. This enables the control unit to obtain the actual displacement measurement value corresponding to the magnetic pole cycle, providing accurate measured data for deviation calculation. The actual pulse count is compared with the theoretical reference value. Based on the difference, it is determined whether there is an accumulated position deviation in the current position of the magnetic pole guide rail due to roller slippage, magnetic pole adhesion deviation, or count drift. The control unit is used to quantitatively evaluate the operating status of the position measurement system, providing a clear basis for subsequent correction actions.

[0014] Preferably, S6 specifically includes: When the inverter determines that the actual pulse count does not match the theoretical reference value, it resets and corrects the cumulative count value of the position sensor according to the actual trigger time of the current cycle flag pulse, eliminates the accumulated position deviation, realigns the measured value of the position sensor with the actual spatial position of the moving unit, and restores the accuracy of the position feedback. At the same time, based on the deviation between the actual pulse count and the theoretical reference value, the phase angle of the inverter output current is adjusted so that the phase of the traveling wave magnetic field of the single-sided permanent magnet linear motor is rematched with the actual magnetic pole position of the magnetic pole guide rail, and the phase relationship between the traveling wave magnetic field and the permanent magnet magnetic field is restored to the best matching state, ensuring the stability of the motor thrust output. In each subsequent complete magnetic pole pair operation cycle, a comparison calibration process is continuously executed. The position count value is corrected and compensated at the trigger time of each cycle marker pulse to ensure that the displacement accuracy of the magnetic pole guide rail is always maintained within the set range. The position measurement value is calibrated in each magnetic pole cycle to ensure the continuous stability of displacement accuracy during long-term operation.

[0015] Compared with the prior art, the beneficial effects of the present invention are: 1. The phase calibration and position control method of a single-sided permanent magnet linear motor introduces a position sensor composed of a roller and a resolver encoder as a continuous contact measurement component, replacing the traditional position detection method that relies solely on Hall encoders. Since the position sensor can output a much higher number of pulse signals than the Hall encoder within each complete pair of magnetic poles, the control unit can obtain higher resolution real-time position information, which greatly improves the position detection accuracy of the linear motor throughout the entire stroke range.

[0016] 2. The phase calibration and position control method of a single-sided permanent magnet linear motor utilizes the periodic marker pulse output by the Hall encoder when the magnetic pole guide rail moves a complete set of magnetic pole pairs as the absolute position reference. The triggering time of the marker pulse precisely corresponds to the moment when the mover passes through the boundary of the complete magnetic pole period. The control unit uses this moment as the reference to periodically synchronize and compare the cumulative count value of the position sensor, and establishes a definite correspondence between the measurement coordinate system of the position sensor and the actual magnetic pole position coordinate system of the mover, thereby realizing the absolute position self-calibration of the measurement system.

[0017] 3. The phase calibration and position control method of this single-sided permanent magnet linear motor counts the actual pulse output of the position sensor in each magnetic pole pair cycle by the control unit and compares it with the theoretical reference value cycle by cycle. It can identify pulse loss or extra counts caused by factors such as poor roller contact, mechanical slippage or signal jitter in real time. When a deviation is detected, the cumulative count value is immediately reset and corrected, limiting the error to within one magnetic pole pair cycle, effectively suppressing the inevitable cumulative error and count drift problem in the long-term operation of a single position sensor. Attached Figure Description

[0018] Figure 1 This is a schematic diagram of the phase calibration and position control method for a single-sided permanent magnet linear motor according to the present invention. Figure 2 This is a schematic diagram of the position sensor of the present invention; Figure 3 This is a schematic diagram of the Hall encoder of the present invention; Figure 4 This is a schematic diagram of the drive unit of the present invention; Figure 5 This is a flowchart illustrating the overall workflow of the present invention.

[0019] In the diagram: 1. Magnetic pole guide rail; 2. Position sensor; 3. Hall encoder; 4. Single-sided permanent magnet linear motor. Detailed Implementation

[0020] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.

[0021] Example 1, please refer to Figures 1 to 5 This invention provides a technical solution: a method for phase calibration and position control of a single-sided permanent magnet linear motor, comprising the following steps: S1: Clearly define the linear motor mounting structure that needs to be controlled and calibrated, including the control unit, signal output unit, power unit, and mover unit, to ensure that each unit is laid out in a coordinated manner. This will provide a stable physical mounting foundation for subsequent high-precision position detection and phase calibration, and avoid introducing additional measurement errors due to structural deviations.

[0022] S2: The continuous contact measurement component in the signal output unit is placed close to the side of the moving subunit, so that the stroke of one rotation is equal to the physical length of a complete magnetic pole pair of the moving subunit, in order to establish a pulse output reference and ensure that each pulse signal maintains a strict one-to-one correspondence with the actual displacement of the moving subunit, eliminating the inherent deviation between the measurement reference and the magnetic pole period.

[0023] S3: Fix the periodic pulse detection component in the signal output unit directly below the moving subunit and keep it on the same horizontal plane as the power unit. When the moving subunit moves a complete pair of magnetic poles, the periodic pulse detection component outputs a periodic marker pulse, so that the control unit obtains an absolute phase reference point that is precisely synchronized with the magnetic pole position of the moving subunit.

[0024] S4: The pulse signal output by the continuous contact measurement component is used as the position signal and transmitted to the control unit. The control unit adjusts the output current to the power unit according to the position signal, driving the moving sub-unit to generate displacement, so that the commutation time of the drive current is matched with the actual spatial position of the moving sub-unit in real time, ensuring the continuity and stability of the motor thrust output.

[0025] S5: During equipment operation, the control unit simultaneously receives the periodic flag pulse output by the periodic pulse detection component, and uses the periodic flag pulse as the phase reference to calculate the number of pulse signals within the current displacement, and determines whether there is a cumulative position deviation. This enables the control unit to independently evaluate the accuracy of the position measurement within each magnetic pole cycle, and realize the real-time identification and quantification of the deviation.

[0026] S6: When the number of pulse signals detected does not match the theoretical reference value, the control unit performs position and phase correction and compensation based on the trigger time of the periodic flag pulse, and continues to compare and calibrate in subsequent operating cycles to ensure that the displacement accuracy is always maintained within the set range, so that the moving subunit maintains the consistency of positioning accuracy during long-term continuous reciprocating operation and avoids the gradual accumulation and amplification of errors.

[0027] In this embodiment, the control unit is a frequency converter, and the signal output unit is a Hall encoder 3 and a position sensor 2. The frequency converter receives the position signals output by the Hall encoder 3 and the position sensor 2 through its signal input terminal. The position sensor 2 and the Hall encoder 3 together provide position signals to the control unit. The frequency converter internally fuses the two signals. The periodic pulse detection component is the Hall encoder 3. The Hall encoder 3 is fixedly installed directly below the moving subunit. The detection surface of the Hall encoder 3 faces the bottom surface of the moving subunit. The mounting plane of the Hall encoder 3 and the mounting plane of the power unit are on the same horizontal plane. The flatness of the two is calibrated by a level during installation. The continuous contact measurement component is a position sensor 2, which includes a bracket, a roller, and a resolver encoder. The roller is rotatably mounted on the bracket, and the rotating shaft of the resolver encoder is coaxially and fixedly connected to the axle of the roller. The roller can rotate freely around its own axis, and the rotating shaft of the resolver encoder is coaxially and fixedly connected to the axle of the roller. When the roller rotates, it drives the rotating shaft of the resolver encoder to rotate synchronously. The position sensor 2 is fixedly mounted on the same bracket as the power unit. During installation, the position of the bracket is adjusted so that the roller is aligned with the side of the moving subunit, and the outer circumferential surface of the roller is tangent to the side surface of the moving subunit and maintains rolling contact. When the moving subunit moves, the roller rolls along its side surface. The detection surface of the Hall encoder 3 is set opposite to the bottom surface of the moving subunit. The detection surface of the Hall encoder 3 is arranged with the magnetic pole sequence facing the bottom surface of the moving subunit and maintains a non-contact air gap. There is no direct physical contact between the Hall encoder 3 and the moving subunit.

[0028] The moving unit is a magnetic pole guide rail 1, which is set parallel to the power unit. The extension direction of the magnetic pole guide rail 1 is consistent with the length direction of the power unit. The magnetic pole guide rail 1 is composed of multiple magnets that are sequentially pasted on the surface of the guide rail along the length direction. When pasting, the magnets are arranged one by one along the length direction of the guide rail, and the magnetic poles of adjacent magnets are arranged alternately. During installation, it is ensured that the N poles and S poles of adjacent magnets are arranged alternately to form a complete magnetic pole pair. One N pole magnet and one adjacent S pole magnet together form a complete magnetic pole pair. An air gap is maintained between the bottom surface of the magnetic pole guide rail 1 and the top surface of the power unit. During assembly, the height of the air gap between the two is adjusted by using shims.

[0029] The power unit is a single-sided permanent magnet linear motor 4, which is arranged parallel to the magnetic pole guide rail 1 along its length. The primary winding of the single-sided permanent magnet linear motor 4 is laid along its length. A Hall encoder 3 is fixedly installed between the single-sided permanent magnet linear motor 4 and the magnetic pole guide rail 1. The Hall encoder 3 is located in the space between the bottom surface of the magnetic pole guide rail 1 and the top surface of the single-sided permanent magnet linear motor 4. The single-sided permanent magnet linear motor 4 is fixedly installed below the magnetic pole guide rail 1. During installation, the primary winding of the single-sided permanent magnet linear motor 4 is arranged facing the bottom surface of the magnetic pole guide rail 1, and the Hall encoder 3 is located on one side of the single-sided permanent magnet linear motor 4 along its length. The area outside the end of the single-sided permanent magnet linear motor 4; the position sensor 2 is fixedly installed on the side of the single-sided permanent magnet linear motor 4 along the width direction, the bracket of the position sensor 2 is fixed on the side of the single-sided permanent magnet linear motor 4, the rolling axis of the roller is perpendicular to the length direction of the magnetic pole guide rail 1, and the rolling direction of the roller is consistent with the moving direction of the magnetic pole guide rail 1. The position sensor 2, the Hall encoder 3 and the single-sided permanent magnet linear motor 4 are all electrically connected to the control unit through signal lines. The signal lines transmit the pulse signal of the position sensor 2 and the mark pulse signal of the Hall encoder 3 to the control unit, and transmit the drive current signal of the control unit to the single-sided permanent magnet linear motor 4.

[0030] Example 2, as Figures 1 to 5 As shown, based on Embodiment 1, the present invention provides a technical solution: S2 specifically includes: fixing the position sensor 2 to the same bracket as the single-sided permanent magnet linear motor 4 via a bracket, making the outer peripheral surface of the roller tangent to the side surface of the magnetic pole guide rail 1, and setting the rolling axis of the roller to be perpendicular to the length direction of the magnetic pole guide rail 1, ensuring that no lateral force is generated when the roller makes pure rolling motion along the side of the guide rail, ensuring that the pulse signal corresponds to the displacement, and adjusting the contact pressure between the roller and the side of the magnetic pole guide rail 1 so that the roller always maintains a tight rolling contact during the reciprocating cycle of the magnetic pole guide rail 1. To eliminate pulse loss or counting interruption caused by poor contact, the roller is kept in continuous contact with the side of the guide rail during the full reciprocating motion of the moving subunit, ensuring the continuity and integrity of the position signal output. The circumference La of the roller is set to be equal to the length Lb of a complete pair of magnetic poles on the magnetic pole guide rail 1, so that the resolver encoder outputs a fixed number of pulse signals for each rotation of the roller, in order to establish a position detection pulse output reference based on the mechanical stroke of the roller, so that each pulse output by the resolver encoder corresponds to a fixed small displacement, realizing the unified calibration of position detection and magnetic pole period; In this embodiment, the position sensor 2 is fixedly mounted on the same bracket as the single-sided permanent magnet linear motor 4 via its bracket, forming a rigidly connected integral mounting structure between the position sensor 2 and the power unit. During installation, the outer circumferential surface of the roller is set to be tangent to the side surface of the magnetic pole guide rail 1, and the rolling axis of the roller is ensured to be perpendicular to the length direction of the magnetic pole guide rail 1, so that the roller can perform pure rolling motion along the side surface of the magnetic pole guide rail 1. Based on the perpendicular relationship between the roller axis and the length direction of the guide rail, it is ensured that the roller does not slip laterally during rolling, ensuring the accuracy of pulse output. After the initial installation is completed, the contact pressure between the roller and the side of the magnetic pole guide rail 1 is finely adjusted. Since the magnetic pole guide rail 1 is in a reciprocating cycle state driven by the single-sided permanent magnet linear motor 4, if the contact pressure between the roller and the side of the guide rail is insufficient, the roller may momentarily disengage or slip, resulting in the loss of pulse signal output by the resolver encoder or interruption of counting. If the contact pressure is too high, it will increase the wear of the roller and the running resistance. Therefore, by adjusting the elastic clamping mechanism on the bracket, the roller is always tightly pressed against the side surface of the magnetic pole guide rail 1 with appropriate positive pressure, ensuring that the roller and the side of the guide rail maintain a reliable rolling contact state during the full reciprocating operation of the equipment. On this basis, the circumference La of the roller is set to be equal to the length Lb of a complete magnetic pole pair on the magnetic pole guide rail 1. A complete magnetic pole pair refers to a periodic unit composed of an N pole magnet and an S pole magnet arranged adjacent to each other along the length of the guide rail. Its length is the distance between two adjacent magnets of the same polarity. When the roller rolls along the side of the magnetic pole guide rail 1, the mechanical travel of the roller in one rotation is exactly equal to Lb. The rotating shaft of the resolver is coaxially and fixedly connected to the wheel axle of the roller. Therefore, for each rotation of the roller, the resolver outputs a fixed number of pulse signals. These pulse signals directly correspond to the displacement of a complete magnetic pole pair. Thus, based on the pure rolling contact relationship between the roller and the side of the guide rail, a position detection pulse output reference based on the mechanical travel is established.

[0031] S3 specifically includes: fixing the Hall encoder 3 directly below the magnetic pole guide rail 1, making its mounting plane coplanar with the mounting plane of the single-sided permanent magnet linear motor 4, and aligning the center line of the Hall encoder 3 along its length with the center line of the single-sided permanent magnet linear motor 4 along its length to avoid interference from the magnetic field at the motor end to the detection, ensuring that the Hall encoder works in a stable magnetic field environment; setting the detection surface of the Hall encoder 3 opposite to the bottom surface of the magnetic pole guide rail 1, and maintaining a preset non-contact air gap between them to ensure that the magnetic field changes generated when the magnetic pole guide rail 1 moves can be effectively sensed by the Hall encoder 3, forming a stable magnetic coupling distance between the detection surface and the bottom surface of the magnetic pole guide rail, ensuring effective transmission and conversion of the magnetic field signal; and using the Hall encoder 3 to output a periodic marker pulse when the magnetic pole guide rail 1 moves a complete pair of magnetic poles, using the marker pulse as an absolute position reference, so that the control unit obtains a position reference point synchronized with the magnetic pole cycle, providing an absolute reference basis for deviation judgment. In this embodiment, the Hall encoder 3 is fixedly installed directly below the magnetic pole guide rail 1, and the mounting plane of the Hall encoder 3 and the mounting plane of the single-sided permanent magnet linear motor 4 are set to the same horizontal plane to ensure the relative positional accuracy between them. Simultaneously, the Hall encoder 3 is located horizontally at one end of the single-sided permanent magnet linear motor 4 along its length. This layout avoids interference from the end-effect magnetic field of the single-sided permanent magnet linear motor 4 on the detection of the Hall encoder 3. During installation, ensure that the detection surface of the Hall encoder 3 is directly opposite the bottom surface of the magnetic pole guide rail 1, and that a preset non-contact air gap is formed between them. The size of this air gap is set according to the sensitivity parameters of the selected Hall encoder 3 and the surface magnetic field strength of the magnetic pole guide rail 1 to ensure effective coupling of the magnetic field signal. During installation, the height of the mounting bracket of the Hall encoder 3 is adjusted to maintain the distance between the detection surface and the bottom surface of the magnetic pole guide rail 1 within the design tolerance range. If the air gap is too large, the amplitude of the magnetic field change generated when the magnetic pole guide rail 1 moves will be excessively attenuated when it reaches the detection surface, causing the Hall encoder 3 to fail to reliably trigger the pulse. If the air gap is too small, there is a risk that the Hall encoder 3 and the magnetic pole rail 1 may come into physical contact due to mechanical vibration or thermal expansion during operation. After adjusting and determining a suitable air gap, the mounting bracket of the Hall encoder 3 is locked and fixed to ensure that the air gap remains constant during the full stroke reciprocating operation of the equipment, so that the Hall encoder 3 can continuously and effectively sense the alternating magnetic field signal generated when the magnetic pole rail 1 moves. When the magnetic pole rail 1 moves along the length direction under the drive of the single-sided permanent magnet linear motor 4, the magnetic pole sequence on its bottom surface passes through the detection surface of the Hall encoder 3 in sequence. The Hall encoder 3 converts the detected magnetic field polarity change into an electrical signal output. Since a complete magnetic pole pair contains an N pole magnet and an S pole magnet, when the magnetic pole rail 1 moves the length of a complete magnetic pole pair, the Hall encoder 3 outputs a periodic marker pulse. The rising edge or falling edge of the marker pulse corresponds to the moment when the magnetic pole rail 1 passes through a complete magnetic pole cycle. The control unit uses the periodic marker pulse as the absolute position reference reference to periodically compare and correct the cumulative count value of the position sensor 2.

[0032] S4 specifically includes: using the pulse signal output by the resolver encoder in position sensor 2 as a real-time position detection signal, transmitting it to the frequency converter, which is the control unit, through a signal line, so that the frequency converter can obtain the pulse count value corresponding to the current displacement of the magnetic pole rail 1, enabling the control unit to obtain digital information corresponding to the actual displacement of the moving subunit in real time, providing real-time data support for the precise adjustment of the drive current. The frequency converter analyzes the real-time position information of the magnetic pole rail 1 based on the received pulse signal, and adjusts the phase angle of the output current according to the real-time position information to generate a drive current that matches the current position. The various parameters of the drive current are dynamically adjusted synchronously with the change of the position of the moving subunit to ensure that the thrust output and the operating state are always matched. The drive current is output to the single-sided permanent magnet linear motor 4, which generates a traveling wave magnetic field. The traveling wave magnetic field interacts with the magnetic pole magnetic field of the magnetic pole rail 1 to generate electromagnetic thrust, driving the magnetic pole rail 1 to move along the length direction. Under the action of continuous electromagnetic thrust, the moving subunit runs smoothly along the rail direction, realizing closed-loop drive control of the displacement of the moving subunit. In this embodiment, during the position signal detection stage, the pulse signal output by the resolver encoder in position sensor 2 serves as the real-time position detection signal. This signal is transmitted via a signal line to the frequency converter, which acts as the control unit. The frequency converter has a high-speed counting interface internally, used to receive and accumulate the number of pulses output by the resolver encoder, obtaining the pulse count value corresponding to the current displacement of the magnetic pole rail 1. Since the circumference La of the roller is set to be equal to the length Lb of a complete magnetic pole pair, and the resolver encoder outputs a fixed number of pulses per revolution, there is a definite linear correspondence between this pulse count value and the actual displacement of the magnetic pole rail 1. By acquiring this pulse count value in real time, the frequency converter can continuously obtain the current position information of the magnetic pole rail 1. After parsing the real-time position information of the magnetic pole rail 1 from the received pulse signal, the frequency converter performs internal calculations based on this real-time position information, adjusting the amplitude, frequency, and phase of its output current to generate a drive current matching the current displacement. Specifically, the frequency converter compares the current position information with the target position command, calculates the required current vector parameters using a built-in vector control algorithm, and then controls the current. The switching timing of the internal power switching devices of the frequency converter enables precise adjustment of the output current amplitude, frequency, and phase. The parameters of this drive current dynamically change according to the real-time position of the magnetic pole guide 1 to ensure that the thrust output of the motor is adapted to the current operating state, so that the magnetic pole guide 1 runs smoothly according to the preset motion law, meeting the application requirements of high-precision position control. The drive current is output to the single-sided permanent magnet linear motor 4 through the signal line. After the drive current is applied, the primary winding of the single-sided permanent magnet linear motor 4 generates a traveling wave magnetic field that moves along the length of the motor. The magnetic field generated by the wave magnetic field and the permanent magnet on the surface of the magnetic pole rail 1 interacts in the air gap. Based on the principle that like poles repel and unlike poles attract, a continuous electromagnetic thrust is generated. This electromagnetic thrust acts on the magnetic pole rail 1 and drives it to move along its length. As the position of the magnetic pole rail 1 changes continuously, the frequency converter continuously receives the latest pulse signal from the position sensor 2 and updates the output current parameters in real time, forming a position closed-loop control system with the pulse signal from the position sensor 2 as the feedback source, ensuring that the magnetic pole rail 1 moves precisely according to the set motion trajectory.

[0033] S5 specifically includes: During the continuous operation of the magnetic pole guide rail 1, the frequency converter simultaneously receives the periodic marker pulse output by the Hall encoder 3, and uses the periodic marker pulse as the phase reference time to synchronously acquire the cumulative pulse count value of the position sensor 2 at the corresponding time, establishes a precise synchronous association between the counting system of the position sensor and the actual magnetic pole position of the moving sub-unit, and ensures the consistency of the reference for subsequent deviation judgment. Starting from the trigger time of the current periodic marker pulse, the number of pulse signals output by the position sensor 2 in the corresponding period is continuously counted until the next periodic marker pulse is triggered to end the count, and the actual pulse count within the current complete magnetic pole pair stroke is obtained, so that the control unit obtains the actual displacement measurement value corresponding to the magnetic pole period, providing accurate measured data for deviation calculation. The actual pulse count is compared with the theoretical reference value, and the difference between the two is used to determine whether there is a cumulative position deviation of the magnetic pole guide rail 1 at the current position due to roller slippage, magnetic pole adhesion deviation or counting drift. The control unit is used to quantitatively evaluate the operating status of the position measurement system, and provides a clear judgment basis for the execution of subsequent correction actions. In this embodiment, during the continuous operation of the magnetic pole rail 1, the frequency converter, acting as the control unit, continuously receives and accumulates the pulse signals output by the resolver encoder in the position sensor 2 through its internal high-speed counting interface to obtain the real-time position information of the magnetic pole rail 1. Simultaneously, the frequency converter receives the periodic marker pulses output by the Hall encoder 3 in real time through its signal input terminal. Since the Hall encoder 3 outputs a periodic marker pulse every time the magnetic pole rail 1 moves a complete pair of magnetic poles, the rising or falling edge of this marker pulse corresponds to the precise moment when the magnetic pole rail 1 completes one complete pair of magnetic poles. The frequency converter uses the trigger moment of this periodic marker pulse as the phase reference moment, synchronously reading and latching the current accumulated pulse count value of the position sensor 2 at this moment, establishing a synchronous association between the counting system of the position sensor 2 and the actual magnetic pole position of the magnetic pole rail 1. The frequency converter uses the trigger moment of the currently received periodic marker pulse as the starting point and begins to accumulate and count the pulse signals continuously output by the position sensor 2 after that moment until the next periodic marker pulse is triggered, thus obtaining the actual pulse count output by the position sensor 2 within the current complete pair of magnetic poles. Since the circumference of the roller of position sensor 2 is set to be equal to the physical length of a complete magnetic pole pair, theoretically, the number of pulses output by the resolver encoder within a complete magnetic pole pair stroke should be a fixed theoretical reference value. This theoretical reference value is determined and stored in the inverter's memory during the initial system debugging. The inverter compares the actual pulse count obtained from the statistics with this theoretical reference value and calculates the difference between the two. Based on the difference obtained from the above comparison, the inverter determines whether there is an accumulated position deviation in the magnetic pole guide rail 1 at the current position. When the actual pulse count equals the theoretical reference value... When the actual pulse count is less than the theoretical reference value, it indicates that the position sensor 2's measured value is consistent with the actual displacement of the magnetic pole guide rail 1, and it is in a deviation-free operating state. When the actual pulse count is less than the theoretical reference value, it indicates that the position sensor 2 outputs insufficient pulses within the stroke of the magnetic pole pair, that is, there is pulse loss due to momentary slippage or poor contact between the roller and the side of the guide rail, or there is a count value that is too small due to count drift. When the actual pulse count is greater than the theoretical reference value, it indicates that there are extra pulses counted due to abnormal roller slippage or signal jitter. By the magnitude and direction of this difference, the frequency converter can identify the type of deviation.

[0034] S6 specifically includes: when the inverter determines that the actual pulse count does not match the theoretical reference value, the cumulative count value of the position sensor 2 is reset and corrected according to the actual trigger time of the current cycle flag pulse, eliminating the accumulated position deviation, realigning the measured value of the position sensor with the actual spatial position of the moving unit, restoring the accuracy of the position feedback, and adjusting the phase angle of the inverter output current according to the deviation between the actual pulse count and the theoretical reference value, so that the phase of the traveling wave magnetic field of the single-sided permanent magnet linear motor 4 is rematched with the actual magnetic pole position of the magnetic pole guide rail 1, restoring the phase relationship between the traveling wave magnetic field and the permanent magnet magnetic field to the optimal matching state, ensuring the stability of the motor thrust output. In each subsequent complete magnetic pole pair operation cycle, the comparison calibration process is continuously executed, and the position count value is corrected and compensated at the trigger time of each cycle flag pulse, so that the displacement accuracy of the magnetic pole guide rail 1 is maintained within the set range. The position measurement value is calibrated in each magnetic pole cycle to ensure the continuous stability of the displacement accuracy in long-term operation. After deviation detection is completed, when the inverter determines that the actual pulse count does not match the theoretical reference value, it immediately initiates the correction and compensation process. Based on the actual trigger time of the periodic flag pulse output by the Hall encoder 3, the inverter resets and corrects the cumulative count value of the resolver encoder in the position sensor 2. Since the rising or falling edge of this periodic flag pulse precisely corresponds to the moment when the magnetic pole guide rail 1 passes through the boundary of a complete magnetic pole pair, the inverter uses this moment as a reference to forcibly correct the cumulative pulse count value of the position sensor 2 to a standard value that matches the current magnetic pole position, eliminating the previous errors caused by roller slippage or count drift. The inverter adaptively adjusts the phase angle of the drive current output to the single-sided permanent magnet linear motor 4 based on the deviation between the actual pulse count and the theoretical reference value, while completing the count value reset correction. The inverter converts the deviation into the corresponding phase compensation angle and corrects the phase parameters of the current vector through the built-in vector control algorithm, thereby adjusting the spatial phase distribution of the traveling wave magnetic field in the primary winding, so that the traveling wave magnetic field and the actual magnetic pole position of the permanent magnet on the surface of the magnetic pole guide 1 are accurately matched again. After the phase correction is completed, the electromagnetic thrust output by the single-sided permanent magnet linear motor 4 and the magnetic pole guide 1 are... Maintaining optimal phase correspondence at the current position ensures maximum thrust output efficiency of the motor while avoiding thrust fluctuations or speed instability caused by phase mismatch, thus restoring the equipment to a stable and efficient operating state. The correction and compensation process is not executed only once upon initial detection of a deviation, but continuously and repeatedly throughout each complete cycle of the magnetic pole pair in subsequent operation of the magnetic pole guide rail 1. At the trigger moment of each cycle marker pulse output by the Hall encoder 3, the inverter automatically performs a comparison, judgment, and reset correction of the accumulated count value, while dynamically fine-tuning the phase angle of the drive current. Through this cycle-by-cycle, uninterrupted... The continuous comparison calibration mechanism limits the measurement error of position sensor 2 to within one magnetic pole pair cycle, ensuring that the displacement accuracy of magnetic pole guide rail 1 is always maintained within the set allowable range, meeting the requirements of long-term operation stability and repeatability of linear motors in high-precision applications such as logistics sorting. Taking the position sensor 2 with a resolution of 4096 P / R as an example, it can provide 4096 pulse signals when running a pair of magnetic poles. Compared with the traditional Hall encoder 3 which provides one pulse signal per pair of magnetic poles, the control accuracy is greatly improved. In addition, according to the specific needs, a sensor with a higher resolution can be used to further improve the control accuracy.

[0035] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. The scope of protection of the present invention should be determined by the scope of protection of the technical solution.

Claims

1. A method for phase calibration and position control of a single-sided permanent magnet linear motor, characterized in that, Includes the following steps: S1: Clearly define the linear motor mounting structure that needs to be controlled and calibrated, including the control unit, signal output unit, power unit, and actuator unit; S2: Place the continuous contact measurement component in the signal output unit close to the side of the moving subunit, so that the stroke of one rotation of the moving subunit is equal to the physical length of a complete pair of magnetic poles of the moving subunit, in order to establish a pulse output reference; S3: Fix the periodic pulse detection component in the signal output unit directly below the moving subunit and keep it on the same horizontal plane as the power unit, so that the periodic pulse detection component outputs a periodic mark pulse when the moving subunit moves a complete set of magnetic pole pairs. S4: The pulse signal output by the continuous contact measuring component is used as the position signal and transmitted to the control unit. The control unit adjusts the output current to the power unit according to the position signal to drive the drive subunit to generate displacement. S5: During equipment operation, the control unit simultaneously receives the periodic flag pulse output by the periodic pulse detection component, and uses the periodic flag pulse as the phase reference to calculate the number of pulse signals within the current displacement and determine whether there is a cumulative position deviation. S6: When the number of pulse signals detected does not match the theoretical reference value, the control unit performs position and phase correction and compensation based on the trigger time of the period flag pulse, and continues to compare and calibrate in subsequent operating cycles.

2. The phase calibration and position control method for a single-sided permanent magnet linear motor according to claim 1, characterized in that: The control unit is a frequency converter, and the signal output unit is a Hall encoder (3) and a position sensor (2). The position sensor (2) and the Hall encoder (3) together provide position signals to the control unit. The periodic pulse detection component is a Hall encoder (3). The Hall encoder (3) is fixedly installed directly below the moving subunit, and the mounting plane of the Hall encoder (3) is at the same level as the mounting plane of the power unit. The continuous contact measurement component is a position sensor (2), which includes a bracket, a roller and a resolver encoder; The moving part is a magnetic pole guide rail (1), which is arranged parallel to the power unit; The power unit is a single-sided permanent magnet linear motor (4). The single-sided permanent magnet linear motor (4) and the magnetic pole guide rail (1) are arranged parallel to each other along the length direction. The Hall encoder (3) is fixedly installed between the single-sided permanent magnet linear motor (4) and the magnetic pole guide rail (1).

3. The phase calibration and position control method for a single-sided permanent magnet linear motor according to claim 2, characterized in that: The roller is rotatably mounted on the bracket, and the rotating shaft of the resolver encoder is coaxially and fixedly connected to the axle of the roller. The position sensor (2) is fixedly mounted on the same bracket as the power unit by the bracket, and the outer peripheral surface of the roller is tangent to the side surface of the moving sub-unit and maintains rolling contact; The detection surface of the Hall encoder (3) is positioned opposite to the bottom surface of the moving subunit, and maintains a non-contact air gap.

4. The phase calibration and position control method for a single-sided permanent magnet linear motor according to claim 2, characterized in that: The magnetic pole guide rail (1) is composed of multiple magnets that are sequentially pasted on the surface of the guide rail along the length of the guide rail. The magnetic poles of adjacent magnets are arranged alternately to form a complete magnetic pole pair, and an air gap is maintained between the bottom surface of the magnetic pole guide rail (1) and the top surface of the power unit.

5. The phase calibration and position control method for a single-sided permanent magnet linear motor according to claim 2, characterized in that: The single-sided permanent magnet linear motor (4) is fixedly installed below the magnetic pole guide rail (1), and the Hall encoder (3) is located on one side of the single-sided permanent magnet linear motor (4) along the length direction. The position sensor (2) is fixedly installed on the side of the single-sided permanent magnet linear motor (4) along the width direction. The rolling axis of the roller is perpendicular to the length direction of the magnetic pole guide rail (1). The position sensor (2), the Hall encoder (3) and the single-sided permanent magnet linear motor (4) are all electrically connected to the control unit through signal lines.

6. The phase calibration and position control method for a single-sided permanent magnet linear motor according to claim 2, characterized in that: S2 specifically includes: The position sensor (2) is fixedly mounted on the same bracket as the single-sided permanent magnet linear motor (4) by the bracket, so that the outer circumferential surface of the roller is tangent to the side surface of the magnetic pole guide rail (1), and the rolling axis of the roller is set to be perpendicular to the length direction of the magnetic pole guide rail (1); Adjust the contact pressure between the roller and the side of the magnetic pole guide rail (1) so that the roller maintains close rolling contact during the reciprocating cycle of the magnetic pole guide rail (1); The circumference La of the roller is set to be equal to the length Lb of a complete pair of magnetic poles on the magnetic pole guide rail (1), so that the resolver encoder outputs a fixed number of pulse signals for each rotation of the roller, in order to establish a position detection pulse output reference based on the mechanical stroke of the roller.

7. The phase calibration and position control method for a single-sided permanent magnet linear motor according to claim 2, characterized in that: S3 specifically includes: The Hall encoder (3) is fixedly installed directly below the magnetic pole guide rail (1), and its mounting plane is coplanar with the mounting plane of the single-sided permanent magnet linear motor (4). At the same time, the center line of the Hall encoder (3) along the length direction coincides with the center line of the single-sided permanent magnet linear motor (4) along the length direction. The detection surface of the Hall encoder (3) is set opposite to the bottom surface of the magnetic pole guide rail (1), and a preset non-contact air gap is maintained between them. The Hall encoder (3) outputs a periodic flag pulse when the magnetic pole rail (1) moves a complete pair of magnetic poles, and the flag pulse is used as the absolute position reference.

8. The phase calibration and position control method for a single-sided permanent magnet linear motor according to claim 2, characterized in that: S4 specifically includes: The pulse signal output by the resolver encoder in the position sensor (2) is used as the real-time position detection signal and transmitted to the frequency converter, which is the control unit, through the signal line so that the frequency converter can obtain the pulse count value corresponding to the current displacement of the magnetic pole guide rail (1). The inverter analyzes the real-time position information of the magnetic pole rail (1) based on the received pulse signal, and adjusts the phase angle of the output current according to the real-time position information to generate a drive current that matches the current position. The driving current is output to the single-sided permanent magnet linear motor (4), which generates a traveling wave magnetic field. The traveling wave magnetic field interacts with the magnetic field of the magnetic pole rail (1) to generate electromagnetic thrust, which drives the magnetic pole rail (1) to move along the length direction.

9. The phase calibration and position control method for a single-sided permanent magnet linear motor according to claim 2, characterized in that: S5 specifically includes: During the continuous operation of the magnetic pole guide rail (1), the frequency converter simultaneously receives the periodic flag pulse output by the Hall encoder (3) and uses the periodic flag pulse as the phase reference time to synchronously collect the cumulative pulse count value of the position sensor (2) at the corresponding time. Starting from the trigger time of the current cycle marker pulse, the number of pulse signals output by the position sensor (2) in the corresponding cycle is continuously counted until the next cycle marker pulse is triggered, and the count ends to obtain the actual pulse count within the current complete magnetic pole pair stroke. The actual pulse count is compared with the theoretical reference value, and the difference between the two is used to determine whether the magnetic pole guide rail (1) has a cumulative position deviation caused by roller slippage, magnetic pole adhesion deviation or count drift at the current position.

10. The phase calibration and position control method for a single-sided permanent magnet linear motor according to claim 2, characterized in that: S6 specifically includes: When the inverter determines that the actual pulse count does not match the theoretical reference value, it resets and corrects the cumulative count value of the position sensor (2) according to the actual triggering time of the current cycle flag pulse to eliminate the accumulated position deviation. At the same time, based on the deviation between the actual pulse count and the theoretical reference value, the phase angle of the inverter output current is adjusted so that the phase of the traveling wave magnetic field of the single-sided permanent magnet linear motor (4) is rematched with the actual magnetic pole position of the magnetic pole guide rail (1). In each subsequent complete magnetic pole pair operation cycle, the comparison calibration process is continuously executed, and the position count value is corrected and compensated at the trigger time of each cycle mark pulse, so that the displacement accuracy of the magnetic pole guide rail (1) is maintained within the set range.