Control method of indexing mechanism for single-axis rotation modulation inertial navigation system

By adopting the indexing mechanism control method in the single-axis rotation modulation inertial navigation system, calculating the PWM value in real time and using PID calculation to generate the driving voltage, the problem of error divergence of the inertial navigation system is solved, and the navigation accuracy and system reliability are improved.

CN118583191APending Publication Date: 2024-09-03HEBEI HANGUANG HEAVY IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410479308.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing strapdown inertial navigation system's errors will gradually diverge after long-term use, resulting in insufficient navigation accuracy, especially in long-endurance applications, which cannot meet mission requirements.

Method used

The index mechanism control method of the single-axis rotation modulation inertial navigation system is adopted. By determining the modulation mode, setting the rotation and stop time and drive information, the navigation computer is used to calculate the PWM value in real time, accurately control the rotation angle of the IMU, and generate the drive voltage information based on PID calculation. , to realize the single-axis rotation modulation process of inertial navigation.

Benefits of technology

It effectively suppresses the error divergence caused by the constant deviation of the inertial device, improves the long-term navigation accuracy and reliability of the system, ensures that the IMU rotates according to specific rules, and reduces error accumulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0004801569670000011
    Figure HDA0004801569670000011
  • Figure FDA0004801569650000021
    Figure FDA0004801569650000021
  • Figure HDA0004801569670000021
    Figure HDA0004801569670000021
Patent Text Reader

Abstract

The invention discloses a control method of an indexing mechanism for a single-axis rotation modulation inertial navigation system. The method comprises the following steps: determining a modulation mode of the single-axis rotation modulation inertial navigation system; determining a reference angle position according to the modulation mode; setting a target angle position and a next target angle position based on the reference angle position; when the indexing mechanism is in a rotating state, monitoring an interruption signal sent by the navigation computer, determining driving information of the indexing mechanism based on the target angle position, the next target angle position and the reference angle position during interruption, and determining the driving information of the indexing mechanism based on the current rotating angular speed and interruption duration of the indexing mechanism; updating the target angle position and the next target angle position; and after the interruption is finished, driving the indexing mechanism based on the driving information. According to the method provided by the invention, the set target angle position and the actual angle position are calculated in each interruption, and the PWM value is accurately calculated in real time, so that the IMU rotates according to a specific rule.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of inertial navigation, and in particular to a control method for a transfer mechanism of a single-axis rotation modulation inertial navigation system. Background Art

[0002] The strapdown inertial navigation system collects data from gyroscopes and accelerometers, and uses a navigation computer to calculate the carrier's real-time speed, position, attitude, heading and other information. However, its errors accumulate over time, and after a long period of operation, the errors will gradually diverge. Therefore, for long-duration applications, its navigation accuracy often cannot meet mission requirements. Based on the existing cost of inertial devices, the use of a single-axis rotation modulation inertial navigation system can effectively suppress the error divergence problem caused by the constant deviation of inertial devices, thereby improving the system's long-term navigation capability. It has the advantages of relatively simple structure and high reliability, and has been widely used in practice.

[0003] The single-axis rotation modulation inertial navigation system consists of an IMU, a navigation computer, and a transposition mechanism, which includes a DC torque motor, a grating encoder, and a motor driver. The IMU is installed on the transposition mechanism, and the navigation computer reads the angular position information of the grating encoder, calculates the PWM value through the rotation law, and then sends instructions to the motor driver via the FPGA. The motor driver drives the DC torque motor to rotate according to the instructions to realize the single-axis rotation modulation process of the inertial navigation. Among them, how the navigation computer accurately calculates the PWM value in real time in each interrupt to realize the rotation of the IMU according to a specific law is the key to the entire system. Summary of the invention

[0004] In view of this, the present invention provides a control method for an indexing mechanism of a single-axis rotation modulation inertial navigation system, which can solve the technical problem of how to accurately control the rotation angle of the indexing mechanism.

[0005] In order to solve the above technical problems, the present invention is implemented as follows.

[0006] A control method for an indexing mechanism of a single-axis rotation modulation inertial navigation system, comprising:

[0007] Step S1: determining the modulation mode of the single-axis rotation modulation inertial navigation system; setting the rotation and stop time and driving information of the indexing mechanism;

[0008] Step S2: when the modulation mode is the orbiting system mode, the angle of the grating of the single-axis rotating modulated inertial navigation system relative to the grating zero position is set as the reference angle position; when the modulation mode is the orbiting system mode, the current heading angle of the single-axis rotating modulated inertial navigation system is set as the reference angle position; based on the reference angle position, the target angle position and the next target angle position are set;

[0009] Step S3: driving the indexing mechanism based on the driving information, monitoring the interruption signal sent by the navigation computer when the indexing mechanism is in a rotating state, determining the driving information of the indexing mechanism based on the target angle position, the next target angle position, and the reference angle position during the interruption, and updating the target angle position and the next target angle position based on the current rotation angular velocity of the indexing mechanism and the interruption duration; after the interruption ends, driving the indexing mechanism based on the driving information; if an end instruction is received, the method ends; otherwise, entering step S4;

[0010] Step S4: Determine whether the preset exit condition is met. If so, set the rotating mechanism to a stationary state. When the stationary state lasts for a period of time that reaches the stop time, proceed to step S3; otherwise, proceed to step S3.

[0011] Preferably, the step S3, during the interruption period, determines the driving information of the indexing mechanism based on the target angle position, the next target angle position, and the reference angle position, including:

[0012] The difference between the next target angle position and the target angle position is made, and the absolute value of the difference is used as the angle that the indexing mechanism needs to rotate. A proportional-integral-differential (PID) calculation is performed based on the absolute value of the difference between the reference angle position and the target angle position. The obtained value is used as a pulse width modulation (PWM) value, and driving voltage information is generated based on the pulse width modulation value as driving information.

[0013] Preferably, the step S3, based on the current rotation angular velocity and interruption duration of the indexing mechanism, updates the target angular position and the next target angular position, including:

[0014] Multiply the current rotational angular velocity of the transfer mechanism by the duration of this interruption, add the obtained angle value to the target angle position, and use the result to update the target angle position; when the target angle position is consistent with the next target angle position, update the next target angle position according to the rotation law of the transfer mechanism.

[0015] Preferably, in step S4, the preset exit condition is that the angle value calculated by the transfer mechanism is smaller than the absolute value of the difference between the next target angle position and the target angle position or the current rotation angular velocity of the transfer mechanism is smaller than a preset threshold, wherein the angle value calculated by the transfer mechanism is the angle value obtained by multiplying the current rotation angular velocity of the transfer mechanism by the duration of this interruption.

[0016] Preferably, step S3 further comprises: after driving the indexing mechanism, during the process of the indexing mechanism switching from a stationary state to a rotating state, the first stage is an accelerated motion, in which the rotational acceleration of the indexing mechanism is a set angular acceleration, so that the rotational angular velocity gradually increases to a maximum rotational angular velocity; the second stage is a uniform motion, in which the rotational angular velocity of the indexing mechanism is the maximum rotational angular velocity, and the rotational acceleration is 0; after the indexing mechanism is in the second stage for a first preset time, the rotational angular velocity and the rotational acceleration are adjusted, and the kinematic formula is used to calculate the rotational angular velocity and the rotational acceleration. Make real-time judgment, where v t is the target speed, the value is 0, v0 is the adjusted rotational angular velocity, a is the adjusted rotational acceleration, s is the angle through which the transfer mechanism can rotate, and the judgment condition is to perform uniform deceleration rotation with the adjusted rotational angular velocity and the adjusted rotational acceleration, and when the angle through which the transfer mechanism can rotate is not less than the absolute value of the difference between the next target angle position and the target angle position, enter the third stage; in the third stage, the rotational acceleration of the transfer mechanism is the opposite of the set angular acceleration, so that the rotation mechanism uses the adjusted rotational angular velocity as the initial rotational angular velocity and the adjusted rotational acceleration as the rotational acceleration, and performs uniform deceleration rotation, so that the rotation mechanism stops rotating.

[0017] Preferably, the rotation stop time is the length of time that the indexing mechanism maintains a stationary state, and when the rotation stop time is reached, the indexing mechanism switches from a stationary state to a rotating state.

[0018] Beneficial effects:

[0019] (1) The present invention considers the working mode of the indexing mechanism, that is, the IMU orbiting load system modulation or orbiting geostationary system modulation;

[0020] (2) The present invention calculates the set target angle position and obtains the actual angle position in each interrupt, and accurately calculates the PWM value in real time to realize the IMU rotating according to a specific rule;

[0021] (3) The present invention further reduces the error divergence caused by the constant value deviation;

[0022] (4) The present invention improves the long-duration navigation accuracy of inertial navigation. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a schematic flow chart of a control method for a transfer mechanism of a single-axis rotation modulation inertial navigation system according to the present invention;

[0024] Figure 2 It is another flow chart of the control method of the indexing mechanism of the single-axis rotation modulation inertial navigation system of the present invention;

[0025] Figure 3 It is a schematic diagram of the PWM calculation and fault judgment process of the present invention. DETAILED DESCRIPTION

[0026] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments.

[0027] The present invention proposes a control method for a transposition mechanism of a single-axis rotation modulation inertial navigation system. The present invention considers two modulation modes, namely, modulation around a load system or modulation around a ground system, and uses the execution method to accurately and real-time calculate the PWM value in each interruption to realize the rotation of the IMU according to a specific rule.

[0028] like Figure 1 As shown, the control method of the indexing mechanism for the single-axis rotation modulation inertial navigation system provided by the present invention comprises:

[0029] Step S1: determining the modulation mode of the single-axis rotation modulation inertial navigation system; setting the rotation and stop time and driving information of the indexing mechanism;

[0030] Step S2: when the modulation mode is the orbiting system mode, the angle of the grating of the single-axis rotating modulated inertial navigation system relative to the grating zero position is set as the reference angle position; when the modulation mode is the orbiting system mode, the current heading angle of the single-axis rotating modulated inertial navigation system is set as the reference angle position; based on the reference angle position, the target angle position and the next target angle position are set;

[0031] Step S3: driving the indexing mechanism based on the driving information, monitoring the interruption signal sent by the navigation computer when the indexing mechanism is in a rotating state, determining the driving information of the indexing mechanism based on the target angle position, the next target angle position, and the reference angle position during the interruption, and updating the target angle position and the next target angle position based on the current rotation angular velocity of the indexing mechanism and the interruption duration; after the interruption ends, driving the indexing mechanism based on the driving information; if an end instruction is received, the method ends; otherwise, entering step S4;

[0032] Step S4: Determine whether the preset exit condition is met. If so, set the rotating mechanism to a stationary state. When the stationary state lasts for a period of time that reaches the stop time, proceed to step S3; otherwise, proceed to step S3.

[0033] The rotation stop time is the length of time that the indexing mechanism remains in a stationary state. When the rotation stop time is reached, the indexing mechanism switches from a stationary state to a rotating state.

[0034] The orbiting system mode means that the gyroscope or accelerometer (IMU) of the single-axis rotation modulation inertial navigation system is modulated relative to the carrier system with the carrier system as the reference standard. The orbiting system mode means that the IMU is modulated relative to the geographic system with the geographic system as the reference standard.

[0035] The step S1 also includes setting the rotation acceleration and the maximum rotation angular velocity of the indexing mechanism.

[0036] In step S2, based on the reference angle position, the target angle position and the next target angle position are set, wherein when the single-axis rotation modulation inertial navigation system is used for the first time, the target angle position and the next target angle position are both set as the reference angle position, and the reference angle position is updated in real time.

[0037] The step S3, during the interruption period, determines the driving information of the indexing mechanism based on the target angle position, the next target angle position, and the reference angle position, including:

[0038] The difference between the next target angle position and the target angle position is made, and the absolute value of the difference is used as the angle that the indexing mechanism needs to rotate. A proportional-integral-differential (PID) calculation is performed based on the absolute value of the difference between the reference angle position and the target angle position. The obtained value is used as a pulse width modulation (PWM) value, and driving voltage information is generated based on the PWM value as driving information.

[0039] The step S3, based on the current rotation angular velocity and interruption duration of the indexing mechanism, updates the target angular position and the next target angular position, including:

[0040] Multiply the current rotational angular velocity of the transfer mechanism by the duration of this interruption, add the obtained angle value to the target angle position, and use the result to update the target angle position; when the target angle position is consistent with the next target angle position, update the next target angle position according to the rotation law of the transfer mechanism.

[0041] Furthermore, the step S3 further comprises: after the indexing mechanism is driven, the indexing mechanism is in a process of switching from a stationary state to a rotating state, and the first stage is an accelerated motion, and the rotational acceleration of the indexing mechanism in the first stage is a set angular acceleration (for example, 5 to 10° / s 2 ), so that the rotational angular velocity gradually increases to the maximum rotational angular velocity; the second stage is uniform motion, in which the rotational angular velocity of the indexing mechanism is the maximum rotational angular velocity, and the rotational acceleration is 0; after the indexing mechanism is in the second stage for a first preset time, the rotational angular velocity and the rotational acceleration are adjusted, and the kinematic formula is used Make real-time judgment, where v tis the target speed, the value is 0, v0 is the adjusted rotational angular velocity, a is the adjusted rotational acceleration, s is the angle through which the transfer mechanism can rotate, and the judgment condition is to perform uniform deceleration rotation with the adjusted rotational angular velocity and the adjusted rotational acceleration, and when the angle through which the transfer mechanism can rotate is not less than the absolute value of the difference between the next target angle position and the target angle position, enter the third stage; in the third stage, the rotational acceleration of the transfer mechanism is the opposite of the set angular acceleration, so that the rotation mechanism uses the adjusted rotational angular velocity as the initial rotational angular velocity and the adjusted rotational acceleration as the rotational acceleration, and performs uniform deceleration rotation, so that the rotation mechanism stops rotating.

[0042] When the transfer mechanism is in the first stage, the second stage, and the third stage, the target angle position is updated in real time.

[0043] In step S4, the preset exit condition is that the angle value calculated by the transfer mechanism is smaller than the absolute value of the difference between the next target angle position and the target angle position or the current rotation angular velocity of the transfer mechanism is smaller than a preset threshold value, wherein the angle value calculated by the transfer mechanism is the angle value obtained by multiplying the current rotation angular velocity of the transfer mechanism by the duration of this interruption.

[0044] Furthermore, when the modulation mode of the single-axis rotation modulation inertial navigation system is the orbiting system mode, when the transfer mechanism is in a stationary state, the interrupt signal sent by the navigation computer is monitored, and during the interruption, the absolute value of the difference between the reference angle position (i.e., the current heading angle) of the single-axis rotation modulation inertial navigation system and the target angle position is determined, and a proportional-integral-differential (PID) calculation is performed based on the absolute value of the difference, and the obtained value is used as a pulse width modulation (PWM) value, and drive voltage information is generated based on the PWM value as drive information.

[0045] When the modulation mode of the single-axis rotation modulation inertial navigation system is the mode of orbiting the carrier system, when the indexing mechanism is in a stationary state, the IMU is stationary relative to the carrier system and no interrupt signal is sent.

[0046] Furthermore, there are problems of fault judgment and fault elimination during the operation of the indexing mechanism. When the absolute value of the difference between the reference angle position and the target angle position exceeds a given threshold (i.e., position error), or the PWM value calculated by PID exceeds a given threshold for a long time (i.e., motor stall brake), the PID related variables are cleared and the target angle position is set to the reference angle position, and the fault count is increased by one. Thereafter, if the indexing mechanism has no fault within a second preset time (e.g., 10s), the fault count is cleared.

[0047] When the fault count reaches a set threshold, the operation of the indexing mechanism is stopped and the cause of the fault is checked.

[0048] In addition, during the operation of the transfer mechanism, if IMU data abnormalities appear continuously within a second preset time (for example, 2 seconds), the operation of the transfer mechanism is stopped.

[0049] This embodiment provides an execution method for a transfer mechanism of a single-axis modulated inertial navigation system, comprising the following steps:

[0050] First, initialize and enable the indexing mechanism, set the modulation mode to load-carrying system modulation or geostationary system modulation, set the rotation stop time, the acceleration and maximum speed of the indexing mechanism, obtain the reference angle position of the indexing mechanism, and set

[0051] The target angle position and the next target angle position are initialized to the currently acquired angle position.

[0052] The modulation process of the transfer mechanism is divided into a rotating state and a stationary state. When it is set to the modulation of the winding system, the angle of the grating encoder at the current moment is obtained, and it is set to the set target angle position and the next target angle position. After the initialization is completed, it is in a stationary state. Timing is performed in each interrupt. When the time reaches the stop time, it enters the rotating state, and updates the next target angle position according to the rotation law. When the transfer mechanism is in the rotating state, the next target angle position and the set target angle position are subtracted in each interrupt, and the angle to be rotated from the next target angle position is calculated. At the same time, the set target angle position is updated. When the set conditions are met, the transfer mechanism exits the rotating state and enters the stationary state, and waits for the next time to reach the stop time to re-enter the rotating state, and the cycle is repeated. During the operation of the transfer mechanism, the difference between the current grating encoder angle and the set target angle position is calculated in each interrupt, and the PID PWM value is calculated through the difference to send instructions to the motor driver, driving the motor to rotate during the rotation period and keeping the system stationary during the stationary period.

[0053] Different from the modulation of the orbiting system, when it is set to the modulation of the orbiting system, the inertial navigation heading angle at the current moment is obtained and set to the set target angle position and the next target angle position, and the transfer mechanism is initialized to the static state. The process of updating the set target angle position and the next target angle position in the rotating state and the static state is consistent with the modulation of the orbiting system. During the operation of the transfer mechanism, whether in the rotating state or the static state, the difference between the current inertial navigation heading angle and the set target angle position is calculated in each interrupt, and the PID calculation PWM value is performed to send instructions to the motor driver to drive the motor to rotate, thereby realizing the isolation of the carrier heading.

[0054] This embodiment provides an execution method for a transfer mechanism of a single-axis modulated inertial navigation system, comprising the following steps:

[0055] First, initialize and enable the indexing mechanism, and set the modulation mode to the load-bearing system modulation or the geostationary system modulation. In practice, when the inertial navigation is in a laboratory static test or a horizontal swing test, the load-bearing system modulation can be selected. Compared with the geostationary system modulation, it can avoid frequent braking of the indexing mechanism, thereby improving the system reliability and extending the service life of the indexing mechanism. When the inertial navigation is in a vehicle-mounted or lake test, if the load-bearing system modulation is used, the horizontal inertial device error cannot be completely offset when the heading of the vehicle changes, affecting the navigation accuracy. In order to completely offset the error during the inertial period, it is necessary to achieve the isolation of the vehicle heading, that is, the geostationary system modulation is selected.

[0056] Usually the interrupt frequency of the navigation computer is 200 or 400Hz, the rotation and stop time of the transfer mechanism can be set to 20-60s, the angular acceleration of the transfer mechanism is set to 5-10° / s2, the maximum angular velocity is set to 20-30° / s, and the reference angle position of the transfer mechanism is obtained, wherein the reference angle position under the modulation of the load system is the grating encoder angle, and the reference angle position under the modulation of the geographic system is the heading angle of the inertial navigation, and the target angle position and the next target angle position are set to be initialized as the reference angle position.

[0057] The modulation process of the indexing mechanism is divided into a rotating state and a stationary state. When set to the winding system modulation, the grating encoder angle at the current moment is obtained and set to the set target angle position and the next target angle position. After the initialization is completed, it is in a stationary state. Timing is performed at each interrupt, and the indexing mechanism enters a rotating state whenever the time reaches the stop time. The starting speed is set to 0, and the next target angle position is updated according to the rotation law when entering the rotating state. Generally, the indexing law of the single-axis modulation inertial navigation system is set to a cycle of 0°~180°~360°~180°~0°.

[0058] When the indexing mechanism is in the rotating state, the difference between the next target angle position and the set target angle position is made in each interrupt, and the difference is the angle required to rotate to the next target position. At the same time, the set target angle position is updated with the angle obtained by multiplying the current rotation angular velocity and the interrupt time. When the indexing mechanism is in the rotating state, it is divided into three stages. The initial stage is the accelerated motion. In this stage, the angular velocity is judged. When the angular velocity does not reach the maximum angular velocity, the accelerated rotation is performed according to the given angular acceleration; the middle stage is the uniform motion, which rotates according to the maximum angular velocity. In this stage, the kinematic formula is used for real-time judgment. When the angle that can be rotated is not less than the angle required to rotate to the next target position with the current angular velocity and angular acceleration, the deceleration rotation is started with the given angular acceleration. The last stage is the deceleration motion. In this stage, the judgment is made according to the following conditions, that is, the angle rotated in an interrupt time according to the current angular velocity is not less than the angle required to rotate to the next target position, or the angular velocity is less than the set threshold, the set target angle position is set to the next target angle position, and the indexing mechanism exits the rotating state and enters the static state. In each interrupt, the counting starts and waits for the next rotation stop time to be reached before re-entering the rotating state, and the cycle repeats.

[0059] When the indexing mechanism is in a rotating state, the set target angle position is constantly updated, and the difference between the current angle position of the indexing mechanism and the set target angle position is calculated in each interrupt. The PID is used to calculate the PWM value through the difference, and a command is sent to the motor driver to drive the motor to rotate; when the indexing mechanism is in a stationary state, the set target angle position remains unchanged, and it is also necessary to calculate the difference between the current angle position of the indexing mechanism and the set target angle position in each interrupt, and the PID is used to calculate the PWM value through the difference, and a command is sent to the motor driver to drive the motor to keep the indexing mechanism stationary during the stationary period.

[0060] When set to orbiting system modulation, the inertial navigation heading angle at the current moment is obtained, and it is set to the set target angle position and the next target angle position, and the transfer mechanism is initialized to a stationary state. The process of updating the set target angle position and the next target angle position in the rotating state and the stationary state is consistent with the orbiting system modulation. Different from the orbiting system modulation, regardless of whether the transfer mechanism is in a rotating state or a stationary state, the inertial navigation heading angle at this time is obtained in each interrupt, and the difference between the current inertial navigation heading angle and the set target angle position is calculated. The PID is used to calculate the PWM value and send instructions to the motor driver to drive the motor to rotate, thereby realizing the carrier heading isolation.

[0061] There are problems with fault judgment and troubleshooting during the operation of the transfer mechanism. When the reference angle position and the set target angle position are too large and exceed the given threshold (i.e., position error), or the PWM value calculated by PID exceeds the set maximum value for a long time (i.e., the motor is blocked and braked), it is necessary to clear the PID related variables and set the set target angle position to the current reference angle position. The normal process will continue to be executed, and the number of transfer mechanism faults will be increased by one. If there is no fault in the transfer mechanism within a period of time (e.g., 10s), the number of transfer mechanism faults will be cleared. When the number of transfer mechanism faults reaches a certain number (e.g., 5 times) within this period of time, the transfer mechanism will be stopped and the cause of the fault will be checked. In addition, when the IMU data is abnormal for a period of time (e.g., 2s) during the operation of the transfer mechanism, the transfer mechanism will be stopped.

[0062] The present invention does not elaborate on some of the well-known technologies that belong to those skilled in the art.

[0063] The above specific embodiments only describe the design principle of the present invention. The shapes and names of the components in the description may be different and are not limited. Therefore, those skilled in the art in the field of the present invention may modify or replace the technical solutions recorded in the above embodiments; and these modifications and replacements do not deviate from the creative purpose and technical solutions of the present invention and should all fall within the protection scope of the present invention.

Claims

1. Control method for indexing mechanism of single-axis rotation modulation inertial navigation system, It is characterized in that include: Step S1: determining a modulation mode of a single-axis rotation modulation inertial navigation system; Set the transfer mechanism's transfer stop time and drive information; Step S2: when the modulation mode is the orbiting system mode, the angle of the grating of the single-axis rotating modulated inertial navigation system relative to the grating zero position is set as the reference angle position; when the modulation mode is the orbiting system mode, the current heading angle of the single-axis rotating modulated inertial navigation system is set as the reference angle position; based on the reference angle position, the target angle position and the next target angle position are set; Step S3: driving the indexing mechanism based on the driving information, monitoring the interruption signal sent by the navigation computer when the indexing mechanism is in a rotating state, determining the driving information of the indexing mechanism based on the target angle position, the next target angle position, and the reference angle position during the interruption, and updating the target angle position and the next target angle position based on the current rotation angular velocity of the indexing mechanism and the interruption duration; after the interruption ends, driving the indexing mechanism based on the driving information; If an end instruction is received, the method ends; otherwise, proceed to step S4; Step S4: Determine whether the preset exit condition is met. If so, set the rotating mechanism to a stationary state. When the stationary state lasts for a period of time that reaches the stop time, proceed to step S3; otherwise, proceed to step S3.

2. The method according to claim 1, It is characterized in that The step S3, during the interruption period, determines the driving information of the indexing mechanism based on the target angle position, the next target angle position, and the reference angle position, including: The difference between the next target angle position and the target angle position is made, and the absolute value of the difference is used as the angle that the indexing mechanism needs to rotate. A proportional-integral-differential (PID) calculation is performed based on the absolute value of the difference between the reference angle position and the target angle position. The obtained value is used as a pulse width modulation (PWM) value, and driving voltage information is generated based on the pulse width modulation value as driving information.

3. The method according to claim 2, It is characterized in that The step S3, based on the current rotation angular velocity and interruption duration of the indexing mechanism, updates the target angular position and the next target angular position, including: Multiply the current rotational angular velocity of the transfer mechanism by the duration of this interruption, add the obtained angle value to the target angle position, and use the result to update the target angle position; when the target angle position is consistent with the next target angle position, update the next target angle position according to the rotation law of the transfer mechanism.

4. The method according to claim 3, It is characterized in that In step S4, the preset exit condition is that the angle value calculated by the transfer mechanism is smaller than the absolute value of the difference between the next target angle position and the target angle position or the current rotation angular velocity of the transfer mechanism is smaller than a preset threshold value, wherein the angle value calculated by the transfer mechanism is the angle value obtained by multiplying the current rotation angular velocity of the transfer mechanism by the duration of this interruption.

5. The method according to claim 1, It is characterized in that The step S3 also includes: after driving the indexing mechanism, during the process of the indexing mechanism switching from a stationary state to a rotating state, the first stage is an accelerated motion, in which the rotation acceleration of the indexing mechanism is a set angular acceleration, so that the rotation angular velocity gradually increases to a maximum rotation angular velocity; the second stage is a uniform motion, in which the rotation angular velocity of the indexing mechanism is the maximum rotation angular velocity, and the rotation acceleration is 0; after the indexing mechanism is in the second stage for a first preset time, the rotation angular velocity and the rotation acceleration are adjusted, and the kinematic formula is used to calculate the rotation angular velocity and the rotation acceleration. Make real-time judgment, where v t is the target speed, value is 0, v 0 is the adjusted angular velocity of rotation, a is the adjusted rotation acceleration, s is the angle through which the transfer mechanism can rotate, and the judgment condition is to perform uniform deceleration rotation with the adjusted angular velocity of rotation and the adjusted rotation acceleration, and when the angle through which the transfer mechanism can rotate is not less than the absolute value of the difference between the next target angular position and the target angular position, enter the third stage; in the third stage, the rotation acceleration of the transfer mechanism is the negative number of the set angular acceleration, so that the rotation mechanism uses the adjusted angular velocity of rotation as the initial angular velocity of rotation and the adjusted rotation acceleration as the rotation acceleration, and performs uniform deceleration rotation, so that the rotation mechanism stops rotating.

6. The method according to any one of claims 1 to 5, It is characterized in that The rotation stop time is the length of time that the indexing mechanism remains in a stationary state. When the rotation stop time is reached, the indexing mechanism switches from a stationary state to a rotating state.