A method and system for calibrating encoder accuracy of actuator

By using calibration devices and databases in the water valve actuator to calculate the calibrated angle value, the sensor error problem is solved, the accuracy and control accuracy of the actuator are improved, and efficient adjustment of the fluid in the valve core is achieved.

CN118392233BActive Publication Date: 2024-11-12HANGZHOU CHENKONG INTELLIGENT CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410845664.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-11-12
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

The commonly used position sensors in water valve actuators have detection errors, which makes it impossible to achieve high-precision control.

Method used

By connecting the actuator to the calibration device, the angle value is collected and the database is established, the current angle value after calibration is calculated, the actual speed is adjusted to match the expected speed, and the accuracy is improved.

Benefits of technology

The position detection and control accuracy of the water valve actuator is improved, errors are reduced, and the control accuracy of the fluid flow and flow direction in the valve core is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118392233B_ABST
    Figure CN118392233B_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the technical field of encoders, and in particular disclose an encoder accuracy calibration method and a calibration system for an actuator, wherein an actuator is connected to an actuator calibration device and the actuator calibration device is driven to rotate; within an angle cycle, each time the encoder of the actuator rotates a preset angle, the angle value of the actuator calibration device is obtained; the actual angle value of the encoder each time it rotates a preset angle is collected to form N first angle intervals, and N second angle intervals are formed based on the angle value of each corresponding actuator calibration device, and a database is established; during the actual use of the actuator, the original current angle value of the encoder is collected, the first angle interval in which the original current angle value is located is searched from the database, and the corresponding second angle interval is searched, and the calibrated current angle value is calculated to improve the accuracy of the actuator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of water valve actuators, and in particular to an encoder accuracy calibration method and calibration system for an actuator. Background Art

[0002] Electronic water valves are mainly used in the thermal management circuit of heating equipment. Their function is to switch the flow direction of the medium in the cooling system or to adjust the ratio. Specifically, through LIN / CAN communication, the controller controls the position of the actuator, and the output shaft of the actuator drives the water valve body to rotate, thereby controlling the flow direction and flow rate of the fluid in the water valve body.

[0003] In the process of realizing the present application, the inventors of the present application found that: currently, the position sensors commonly used in water valve actuators, including potentiometers, magnetic encoders and other encoders, all have certain detection errors, making it impossible to achieve high-precision control of the actuator. Summary of the invention

[0004] The embodiments of the present application provide an encoder accuracy calibration method and a calibration system for an actuator, which can improve the current situation in which there is a certain detection error in the accuracy of position detection and control of a water valve actuator.

[0005] The purpose of the embodiment of the present application is achieved through the following technical solutions:

[0006] In order to solve the above technical problems, a technical solution adopted in the present application is: a method for calibrating the encoder accuracy of an actuator is provided, comprising: connecting the actuator to the actuator calibration device and driving the actuator calibration device to rotate; within an angle cycle, each time the encoder of the actuator rotates a preset angle, the angle value of the actuator calibration device is obtained; the actual angle value of the encoder each time it rotates a preset angle is collected to form N first angle intervals, and N second angle intervals are formed based on the angle value of each corresponding actuator calibration device, and a database is established; when the actuator is in use, the original current angle value of the encoder is collected, the first angle interval in which the original current angle value is located is searched from the database, and the corresponding second angle interval is searched to calculate the calibrated current angle value.

[0007] Optionally, the step of acquiring the actual angle value of the encoder of the actuator each time it rotates through a preset angle includes: performing coordinate transformation on the electrical signal acquired by the encoder to obtain two sine and cosine voltage signals; and calculating the actual angle value of the encoder based on the two sine and cosine voltage signals.

[0008] Optionally, the calculation formula for calculating the actual angle value of the encoder based on the two sine and cosine voltage signals is:

[0009]

[0010] Among them, the is the sinusoidal voltage signal in the two sinusoidal and cosine voltage signals, is the cosine voltage signal in the two sine and cosine voltage signals.

[0011] Optionally, the coordinate transformation of the electrical signal collected by the encoder includes: Clark transformation, table lookup transformation, magnetic cursor transformation or phase-locked loop transformation.

[0012] Optionally, the step of collecting the actual angle value of the encoder each time it rotates through a preset angle to form N first angle intervals includes: the angle period is 360 degrees, and the angle period is evenly divided into N intervals; starting from the actual angle value being zero degrees, each time the actual angle value passes 360 / N degrees, an actual angle value is collected to obtain N first angle intervals.

[0013] Optionally, the steps of collecting the original current angle value of the encoder, searching the database for a first angle interval in which the original current angle value is located, and searching for the corresponding second angle interval include: searching the database for a first angle interval in which the minimum angle is less than the current angle value and the maximum angle is greater than the current angle value, to obtain the first angle interval in which the current angle value is located; and searching the database for a second angle interval corresponding to the obtained first angle interval.

[0014] Optionally, the step of collecting the original current angle value of the encoder, searching the database for the first angle interval in which the original current angle value is located, and searching the corresponding second angle interval, and calculating the calibrated current angle value further comprises: calculating the rotation angle of the encoder according to the first angles at both ends of the first angle interval and the two second angles at both ends of the second angle interval. The calculation formula is:

[0015]

[0016] Among them, the is the current angle value after calibration, is the original current angle value, the and stated are respectively the first angles at both ends of the first angle interval, and stated They are respectively the second angles at two ends of the second angle interval.

[0017] Optionally, the method also includes: receiving a target angle value; obtaining the calibrated current angle value; calculating an expected speed value for the actuator to rotate from the calibrated current angle value to the target angle value based on the calibrated current angle value and the target angle value; obtaining an actual speed value of the actuator; determining whether the actual speed value and the expected speed value are the same; if not, adjusting the actual speed value of the actuator to the expected speed value.

[0018] Optionally, the step of calculating the expected speed value of the actuator rotating from the calibrated current angle value to the target angle value based on the calibrated current angle value and the target angle value includes: calculating the first difference between the calibrated current angle value and the target angle value; performing PID calculation on the first difference to obtain the expected speed value.

[0019] Optionally, the step of adjusting the actual speed value of the actuator to the expected speed value further includes: calculating a second difference between the actual speed value and the expected speed value; performing PID calculation on the second difference to obtain a PWM modulated pulse width; and controlling a pulse signal for driving the actuator according to the PWM modulated pulse width, thereby adjusting the speed of the actuator to the expected speed value.

[0020] In order to solve the above technical problems, the embodiment of the present application also provides the following technical solutions: an encoder precision calibration system for an actuator is provided, which is used to execute the encoder precision calibration method for the above actuator, including: an actuator and an actuator calibration device. The actuator includes a processing unit and an encoder, the processing unit and the encoder are connected in communication or analog quantity, the encoder is used to collect the original current angle value of the actuator rotation, and the processing unit is used to process the collected original current angle value; the actuator calibration device is detachably connected to the encoder, and the actuator calibration device is used to calibrate the encoder.

[0021] Compared with the prior art, the encoder accuracy calibration method for the actuator provided in the embodiment of the present application uses the angle values ​​of N actuators collected and the angle values ​​of N actuator calibration devices to form a one-to-one corresponding database, so that the actuator can directly collect the original current angle value during actual use, and then calculate the calibrated current angle value through the database, thereby improving the accuracy of the actuator. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the drawings without paying creative work.

[0023] Figure 1 It is a structural schematic diagram of an actuator and a water valve provided in one embodiment of the present application;

[0024] Figure 2 It is a structural schematic diagram of an actuator and an actuator calibration device provided in one embodiment of the present application;

[0025] Figure 3 is a method flow chart of an encoder accuracy calibration method for an actuator provided by one embodiment of the present application;

[0026] Figure 4 is a method flow chart of step S02 of a method for calibrating the accuracy of an encoder of an actuator provided in one embodiment of the present application;

[0027] Figure 5 is a method flow chart of step S03 of a method for calibrating the accuracy of an encoder of an actuator provided in one embodiment of the present application;

[0028] Figure 6 is a method flow chart of step S04 of the encoder accuracy calibration method of an actuator provided in one embodiment of the present application;

[0029] Figure 7 is another method flow chart of the encoder accuracy calibration method of the actuator provided by one embodiment of the present application;

[0030] Figure 8 is a method flow chart of step S07 of the encoder accuracy calibration method of the actuator provided by one embodiment of the present application;

[0031] Fig. 9 It is a method flow chart of step S10 of the encoder accuracy calibration method of the actuator provided in one embodiment of the present application.

[0032] Reference numerals:

[0033] 1000, actuator; 2000, valve core; 3000, actuator calibration device; 3001, motor; 3002, photoelectric encoder; 3003, transmission shaft; 3004, tooling. DETAILED DESCRIPTION

[0034] In order to facilitate the understanding of the present application, the present application is described in more detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that when an element is described as "fixed to" another element, it can be directly on the other element, or there can be one or more centered elements therebetween. When an element is described as "connected to" another element, it can be directly connected to the other element, or there can be one or more centered elements therebetween. The terms "vertical", "horizontal", "left", "right" and similar expressions used in this specification are for illustrative purposes only.

[0035] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in this specification and in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0036] In addition, the technical features involved in the various embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.

[0037] See also Figures 1 to 3 , the actuator 1000 provided in the embodiment of the present application includes: a processing unit and an encoder, and the processing unit and the encoder are communicatively connected or analog-connected. The encoder is used to collect the original current angle value of the actuator rotation, and the processing unit is used to process the collected original current angle value. In some application scenarios, the actuator 1000 also includes a driving mechanism and an output shaft, and the driving mechanism drives the output shaft to rotate. Optionally, the output shaft can be connected to the valve core 2000 of the electronic water valve, so as to control the rotation of the valve core 2000 of the electronic water valve, so as to achieve the purpose of controlling the flow rate and flow direction of the fluid in the valve core 2000. In addition, the output shaft can also be connected to other rotatable shafts to control the rotation of the rotatable shafts, such as pumps, CNC machine tools, printing equipment, etc.

[0038] For example, in the thermal management system of an automobile, an electronic water valve is required to adjust the flow direction or flow rate of the medium. Specifically, the position of the actuator 1000 is controlled in real time through LIN / CAN communication, and the actuator 1000 driving mechanism transmits power to the output shaft, so that the output shaft drives the valve core 2000 to rotate, so that the valve core 2000 changes the relationship between the flow channel hole and the flow channel port on the valve core 2000 to change the flow direction or proportional adjustment of the medium.

[0039] See also Figure 3 In an embodiment of the present application, a method for calibrating the accuracy of an actuator 1000 is provided, the method comprising:

[0040] S01: Connect the actuator 1000 to the actuator calibration device 3000 and drive the actuator calibration device 3000 to rotate;

[0041] S02: within an angle cycle, each time the encoder of the actuator 1000 rotates a preset angle, the angle value of the actuator calibration device 3000 is obtained;

[0042] S03: Collecting the actual angle value of the encoder of the actuator 1000 when it rotates through a preset angle to form N first angle intervals, and obtaining the angle value of each corresponding actuator calibration device 3000 to form N second angle intervals, and establishing a database;

[0043] S04: When the actuator 1000 is in use, the original current angle value of the encoder of the actuator 1000 is collected, the first angle interval in which the original current angle value is located is searched from the database, and the corresponding second angle interval is searched, and the calibrated current angle value is calculated.

[0044] Specifically, for step S01, the actuator 1000 is provided with an output shaft, the encoder is connected to the output shaft, and the actuator calibration device is connected to the output shaft of the actuator 1000, so that when the actuator 1000 rotates, the actuator calibration device rotates synchronously without angle deviation, thereby preventing the angle deviation from affecting the calibration accuracy of the above method.

[0045] See also Figure 4 , for the above steps, the step of collecting the actual angle value of the actuator 1000 each time it rotates through a preset angle:

[0046] S021: Perform coordinate transformation on the electrical signal collected by the encoder of the actuator 1000 to obtain two sine and cosine voltage signals.

[0047] S022: Calculate the actual angle value of the actuator 1000 according to the two sine and cosine voltage signals.

[0048] Optionally, in the embodiment of the present application, the structure for collecting the electrical signal of the encoder of the actuator 1000 includes a magnetic ring arranged on the output shaft and a magnetic sensitive element arranged around the magnetic ring. The structure for processing the electrical signal includes but is not limited to a processing unit and a host computer connected to the processing unit, wherein the processing unit includes a single chip microcomputer and the host computer includes a PC.

[0049] Optionally, in some embodiments, the encoder is provided with three magnetic sensitive elements to collect the voltage signals enc_A, enc_B, and enc_C of the output shaft, and obtains two sine and cosine voltage signals through Clark transformation of the three-phase voltage signals. The specific formula is:

[0050]

[0051] Among them, enc_A, enc_B, and enc_C are the three-phase voltage signals collected by the three magnetic sensitive elements of the encoder.

[0052] In some other embodiments, multiple magnetic sensitive elements such as two magnetic sensitive elements, four magnetic sensitive elements, etc. may be provided, and two sine and cosine voltage signals may be obtained by other electrical signal solving methods. It should be noted that the magnetic sensitive element in the present application is a voltage signal obtained by collecting the magnetic ring provided on the output shaft, that is, the magnetic ring in the present application may also be a multi-pair magnetic ring or a multi-code magnetic ring, and the actual angle value of the actuator 1000 may be solved by the corresponding solving method.

[0053] Further, for the two sine and cosine voltage signals obtained, the embodiment of the present application calculates the actual angle value of the actuator 1000 according to the two sine and cosine voltage signals as follows:

[0054]

[0055] in, is the sinusoidal voltage signal in the two sine and cosine voltage signals, It is the cosine voltage signal in the two sine and cosine voltage signals.

[0056] Optionally, the coordinate transformation of the electrical signal collected by the encoder of the actuator 1000 includes: Clark transformation, table lookup transformation, magnetic cursor transformation or phase-locked loop transformation.

[0057] See also Figure 5 The step of collecting the actual angle value of the actuator 1000 when it rotates through a preset angle to form N first angle intervals includes:

[0058] S031: One angle cycle is 360 degrees, and one angle cycle is evenly divided into N intervals;

[0059] S032: Starting from the actual angle value being zero, each time the actual angle value passes through 360 / N degrees, an actual angle value is collected to obtain N first angle intervals.

[0060] Optionally, N is 360, and the N first angle intervals are 0 degrees to , , , ..., , ~360 degrees. In some other embodiments, N can also be other positive integers, for example, N can be set to 12, and the first angle interval can be 0 degrees to 30 degrees, 30 degrees to 60 degrees, 60 degrees to 90 degrees, 90 degrees to 120 degrees, 120 degrees to 150 degrees, 150 degrees to 180 degrees, 180 degrees to 210 degrees, 210 degrees to 240 degrees, 240 degrees to 270 degrees, 270 degrees to 300 degrees, 300 degrees to 330 degrees, 330 degrees to 360 degrees; or, N can be set to other values, and the corresponding first angle interval can be other equally divided intervals. Accordingly, the N second angle intervals are respectively , , , ..., . The first angle interval corresponds to the second angle interval one by one, and the correspondence between the first angle interval and the second angle interval is established as a database, and the upper computer stores the calculated database in the storage of the actuator 1000 through the communication protocol. It can be understood that by storing the database in the actuator 1000, it is convenient to calibrate the current angle value when the actuator 1000 is actually used without connecting to the actuator calibration device 3000 again.

[0061] See also Figure 6 For the above step S04, the steps of acquiring the current angle value of the encoder, searching the database for the first angle interval in which the current angle value is located, and searching the corresponding second angle interval include:

[0062] S041: searching from a database for a first angle interval whose minimum angle is smaller than the current angle value and whose maximum angle is larger than the current angle value, to obtain a first angle interval where the current angle value is located;

[0063] S042: Searching for a second angle interval corresponding to the obtained first angle interval from the database.

[0064] For example, when using actuator 1000, when the value of N is 12, the current angle value of the output shaft collected is 36 degrees, which falls into the interval of 30 degrees to 60 degrees, that is, 30 degrees <36 degrees <60 degrees, and the corresponding interval of the angle value of 35 degrees to 65 degrees corresponding to the second angle interval is found, so as to perform the next step of calculation to obtain the calibrated current angle value. It should be noted that the above example is only for the convenience of understanding how the current angle value obtained falls into the first angle interval and the corresponding relationship between the first angle interval and the second angle interval, and does not limit the current angle value collected and the corresponding relationship between the first angle interval and the second angle interval.

[0065] For the above step S04: collect the original current angle value of the encoder, find the first angle interval where the current angle value is located from the database, and find the corresponding second angle interval, and calculate the calibrated current angle value. The application also calculates the rotation angle of the encoder according to the first angle at both ends of the first angle interval and the two second angles at both ends of the second angle interval. The calculation formula is:

[0066]

[0067] in, is the current angle value after calibration, is the original current angle value, and are the first angles at both ends of the first angle interval, and are the second angles at both ends of the second angle interval. It should still be noted that, and is the endpoint of the first angle interval where the encoder's current angle value is located, which can be any angle interval of 0 degrees~ , , , ..., , ~360 degrees; accordingly, and is the endpoint of the second angle interval, which can be selected from any angle interval among the N second angle intervals , , , ..., That is, the above x and x-1 only indicate the endpoints of any interval and x and x-1 are any adjacent numbers in 0~n, and are not limited to a specific angle interval.

[0068] Through the above steps, the actuator 1000 provided in the embodiment of the present application is first connected to the actuator calibration device 3000. The actuator 1000 drives the actuator calibration device 3000 to rotate, so that the current angle value of the actuator 1000 is collected and recorded to form a first angle interval, and the actuator calibration device 3000 collects and records its own current angle value to form a second angle interval. After a preset cycle of collection is completed, a database with a one-to-one correspondence between the first angle interval and the second angle interval is formed, and the database is stored in the storage of the actuator.

[0069] See also Figure 7For the encoder accuracy calibration method of the actuator 1000, when the actuator 1000 is connected to the valve core 2000 of the electronic water valve, the following method is also provided:

[0070] S05: receiving the target angle value;

[0071] S06: Obtain the current angle value of the actuator 1000 after calibration;

[0072] S07: Calculating the expected speed value of the actuator 1000 rotating from the current angle value after calibration to the target angle value according to the current angle value after calibration and the target angle value;

[0073] S08: Obtaining the actual speed value of the actuator 1000; determining whether the actual speed value is the same as the expected speed value;

[0074] S09: If they are the same, the actual speed value of the actuator 1000 is not adjusted.

[0075] S10: If they are not the same, the actual speed value of the actuator 1000 is adjusted to the expected speed value.

[0076] For further information, see Figure 8 According to the calibrated current angle value and the target angle value, the step of calculating the expected speed value of the actuator 1000 rotating from the calibrated current angle value to the target angle value includes:

[0077] S071: Calculate the current angle value and the target angle value to obtain a first difference;

[0078] SO72: Perform PID calculation on the first difference to obtain a desired speed value, wherein the first difference is an angle difference.

[0079] For further information, see Fig. 9 The step of adjusting the actual speed value of the actuator 1000 to the expected speed value further includes:

[0080] S101: Calculate a second difference between the actual speed value and the expected speed value;

[0081] S102: Perform PID calculation on the second difference to obtain a PWM modulation pulse width;

[0082] S103: According to the PWM modulation pulse width, the pulse signal driving the actuator 1000 is controlled, so as to adjust the speed of the actuator 1000 to the desired speed value. The second difference is the speed difference.

[0083] Through the above method, the actuator 1000 performs PID calculation on the first difference and the second difference, so as to realize double closed-loop PID control of the first difference-the second difference, thereby improving the control accuracy of the actuator 1000 on the valve core 2000.

[0084] In an embodiment of the present application, a precision calibration method for an actuator 1000 is provided. Different from the prior art, the precision calibration method for the actuator 1000 includes: connecting the actuator 1000 to the actuator calibration device 3000 and driving the actuator calibration device 3000 to rotate; within an angle cycle, each time the encoder of the actuator 1000 rotates a preset angle, the angle value of the actuator calibration device 3000 is obtained; the actual angle value of the encoder each time it rotates a preset angle is collected to form N first angle intervals, and N second angle intervals are formed according to the angle value of each corresponding actuator calibration device 3000, and a database is established; when the actuator is in use, the original current angle value of the encoder is collected, the first angle interval in which the original current angle value is located is searched from the database, and the corresponding second angle interval is searched, and the calibrated current angle value is calculated. Through the above method, a one-to-one database is formed by collecting the angle values ​​of N actuators 1000 and corresponding to the angle values ​​of N actuator calibration devices 3000, so that the actuator 1000 can directly collect the original current angle value during actual use, and then calculate the current angle value after calibration through the database, thereby improving the accuracy of the actuator 1000.

[0085] Please refer to Figure 2 Based on the same inventive concept, the present application also provides an actuator encoder accuracy calibration system for executing the above-mentioned actuator encoder accuracy calibration method. The actuator encoder accuracy calibration system includes an actuator 1000 and an actuator calibration device 3000. The actuator 1000 includes a processing unit and an encoder. The processing unit and the encoder are communicatively connected or analog-connected. The encoder is used to collect the original current angle value of the actuator 1000, and the processing unit is used to process the collected original current angle value. The actuator calibration device 3000 is detachably connected to the encoder of the actuator 100. In this embodiment, the encoder of the actuator 100 is illustrated by a magnetic encoder. In some other embodiments, the encoder of the actuator 100 is also replaced by a potentiometer or other encoder, which is not limited here.

[0086] Specifically, the actuator 1000 further includes an output shaft (not shown), and the actuator calibration device 3000 includes a motor 3001 and a photoelectric encoder 3002. One end of the output shaft is connected to the encoder of the actuator 3000, and the other end of the output shaft is connected to the motor shaft of the motor 3001, so that the output shaft 1001 can drive the motor 3001 to rotate, and the encoder of the actuator is calibrated through the photoelectric encoder 3002.

[0087] Furthermore, the actuator calibration device 3000 also includes a transmission shaft 3003 and a fixture 3004. The two ends of the transmission shaft 3003 are respectively connected to the output shaft of the actuator 1000 and the motor shaft of the motor 3001, and the output shaft drives the motor shaft to rotate through the transmission shaft 3003. The fixture 3004 is fixed to the end face of the motor shaft by screws, and the actuator 1000 can be fixed to the fixture by screws, ensuring the stability of the movement of the actuator 1000 and the stability of the calibration system.

[0088] It should be noted that the preferred embodiments of the present application are given in the specification and drawings of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described in the specification. These embodiments are not used as additional limitations on the content of the present application. The purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. In addition, the above-mentioned technical features continue to be combined with each other to form various embodiments not listed above, which are all regarded as the scope of the description of the present application; further, for ordinary technicians in this field, they can be improved or transformed according to the above description, and all these improvements and transformations should belong to the scope of protection of the claims attached to the present application.

Claims

1. A method for calibrating the encoder accuracy of an actuator, characterized in that , the method comprises: Connecting the actuator to the actuator calibration device and driving the actuator calibration device to rotate; In one angle cycle, each time the encoder of the actuator rotates a preset angle, an angle value of the actuator calibration device is obtained; Collecting the actual angle value of the encoder each time it rotates through a preset angle to form N first angle intervals, and acquiring each corresponding angle value of the actuator calibration device to form N second angle intervals, and establishing a database; When the actuator is in use, it collects the original current angle value of the encoder, searches the database for the first angle interval in which the original current angle value is located, and searches the corresponding second angle interval, and calculates the calibrated current angle value based on the first angles at both ends of the first angle interval and the two second angles at both ends of the second angle interval.

2. The method according to claim 1, characterized in that The step of acquiring the actual angle value of the encoder of the actuator each time it rotates through a preset angle includes: Performing coordinate transformation on the electrical signal collected by the encoder to obtain two sine and cosine voltage signals; The actual angle value of the encoder is calculated based on the two sine and cosine voltage signals.

3. The method according to claim 2, characterized in that The calculation formula for calculating the actual angle value of the encoder based on the two sine and cosine voltage signals is: Among them, the sinθ ε is the sinusoidal voltage signal in the two sinusoidal and cosine voltage signals, and the cosθ ε is the cosine voltage signal in the two sine and cosine voltage signals.

4. The method according to claim 2, characterized in that: The coordinate transformation of the electrical signal collected by the encoder includes: Clark transformation, table lookup transformation, magnetic cursor transformation or phase-locked loop transformation.

5. The method according to claim 2, characterized in that: The step of collecting the actual angle value of the encoder each time it rotates through a preset angle to form N first angle intervals includes: The one angular period is 360 degrees, and the one angular period is evenly divided into N intervals; Starting from the actual angle value being zero, each time the actual angle value passes through 360 / N degrees, an actual angle value is collected to obtain N first angle intervals.

6. The method according to claim 1, characterized in that The steps of collecting the original current angle value of the encoder, searching the database for the first angle interval in which the original current angle value is located, and searching the corresponding second angle interval include: Searching the database for a first angle interval whose minimum angle is smaller than the current angle value and whose maximum angle is larger than the current angle value, to obtain the first angle interval in which the current angle value is located; A second angle interval corresponding to the obtained first angle interval is searched from the database.

7. The method according to claim 6, characterized in that The calculation formula for calculating the calibrated current angle value based on the first angles at both ends of the first angle interval and the two second angles at both ends of the second angle interval is: Among them, the θ s is the current angle value after calibration, the θ ε is the original current angle value, the θ x and the θ x+1 are respectively the first angles at both ends of the first angle interval, and stated They are respectively the second angles at two ends of the second angle interval.

8. The method according to any one of claims 1 to 7, characterized in that , the method further comprises: Receive the target angle value; Obtaining the current angle value after calibration; Calculating an expected speed value of the actuator rotating from the calibrated current angle value to the target angle value according to the calibrated current angle value and the target angle value; Obtaining an actual speed value of the actuator; Determining whether the actual speed value is the same as the expected speed value; If they are not the same, the actual speed value of the actuator is adjusted to the expected speed value.

9. The method according to claim 8, characterized in that The step of calculating the expected speed value of the actuator rotating from the current angle value after calibration to the target angle value according to the current angle value after calibration and the target angle value comprises: Calculating the difference between the calibrated current angle value and the target angle value to obtain a first difference; Perform PID calculation on the first difference to obtain the expected speed value.

10. The method according to claim 9, characterized in that The step of adjusting the actual speed value of the actuator to the expected speed value further comprises: Calculating a second difference between the actual speed value and the expected speed value; Performing PID calculation on the second difference to obtain a PWM modulation pulse width; According to the PWM modulation pulse width, the pulse signal driving the actuator is controlled, so that the speed of the actuator is adjusted to a desired speed value.

11. An encoder accuracy calibration system for an actuator, used to execute the method according to any one of claims 1 to 10, characterized in that: include: The actuator comprises a processing unit and an encoder, wherein the processing unit and the encoder are connected in communication or analog quantity, the encoder is used to collect the original current angle value of the actuator, and the processing unit is used to process the collected original current angle value; An actuator calibration device is detachably connected to the encoder, and the actuator calibration device is used to calibrate the encoder.